/*! For license information please see main.js.LICENSE.txt */
!function(){var e,t,n,r,i={"./node_modules/classnames/index.js":function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var s=i.apply(null,n);s&&e.push(s)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var a in n)r.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},"./node_modules/decode-uri-component/index.js":function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var i=o(n[0]);i!==n[0]&&(t[n[0]]=i)}n=r.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),a=0;a<s.length;a++){var l=s[a];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},"./node_modules/element-closest-polyfill/index.js":function(){"undefined"!=typeof Element&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}))},"./node_modules/filter-obj/index.js":function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var s=r[o],a=e[s];(i?-1!==t.indexOf(s):t(s,a,e))&&(n[s]=a)}return n}},"./node_modules/fuse.js/dist/fuse.esm.js":function(e,t,n){"use strict";function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===u(e)}n.d(t,{Z:function(){return Y}});function i(e){return"string"==typeof e}function o(e){return"number"==typeof e}function s(e){return!0===e||!1===e||function(e){return a(e)&&null!==e}(e)&&"[object Boolean]"==u(e)}function a(e){return"object"==typeof e}function l(e){return null!=e}function c(e){return!e.trim().length}function u(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const d=Object.prototype.hasOwnProperty;class p{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=f(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function f(e){let t=null,n=null,o=null,s=1,a=null;if(i(e)||r(e))o=e,t=h(e),n=v(e);else{if(!d.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const r=e.name;if(o=r,d.call(e,"weight")&&(s=e.weight,s<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(r));t=h(r),n=v(r),a=e.getFn}return{path:t,id:n,weight:s,src:o,getFn:a}}function h(e){return r(e)?e:e.split(".")}function v(e){return r(e)?e.join("."):e}var m={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],a=!1;const c=(e,t,u)=>{if(l(e))if(t[u]){const d=e[t[u]];if(!l(d))return;if(u===t.length-1&&(i(d)||o(d)||s(d)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(d));else if(r(d)){a=!0;for(let e=0,n=d.length;e<n;e+=1)c(d[e],t,u+1)}else t.length&&c(d,t,u+1)}else n.push(e)};return c(e,i(t)?t.split("."):t,0),a?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const g=/[^ ]+/g;class _{constructor({getFn:e=m.getFn,fieldNormWeight:t=m.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const i=t.match(g).length;if(n.has(i))return n.get(i);const o=1/Math.pow(i,.5*e),s=parseFloat(Math.round(o*r)/r);return n.set(i,s),s},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,i(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();i(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!l(e)||c(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,o)=>{let s=t.getFn?t.getFn(e):this.getFn(e,t.path);if(l(s))if(r(s)){let e=[];const t=[{nestedArrIndex:-1,value:s}];for(;t.length;){const{nestedArrIndex:n,value:o}=t.pop();if(l(o))if(i(o)&&!c(o)){let t={v:o,i:n,n:this.norm.get(o)};e.push(t)}else r(o)&&o.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[o]=e}else if(i(s)&&!c(s)){let e={v:s,n:this.norm.get(s)};n.$[o]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function y(e,t,{getFn:n=m.getFn,fieldNormWeight:r=m.fieldNormWeight}={}){const i=new _({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(f)),i.setSources(t),i.create(),i}function w(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=m.distance,ignoreLocation:o=m.ignoreLocation}={}){const s=t/e.length;if(o)return s;const a=Math.abs(r-n);return i?s+a/i:a?1:s}const b=32;function x(e,t,n,{location:r=m.location,distance:i=m.distance,threshold:o=m.threshold,findAllMatches:s=m.findAllMatches,minMatchCharLength:a=m.minMatchCharLength,includeMatches:l=m.includeMatches,ignoreLocation:c=m.ignoreLocation}={}){if(t.length>b)throw new Error(`Pattern length exceeds max of ${b}.`);const u=t.length,d=e.length,p=Math.max(0,Math.min(r,d));let f=o,h=p;const v=a>1||l,g=v?Array(d):[];let _;for(;(_=e.indexOf(t,h))>-1;){let e=w(t,{currentLocation:_,expectedLocation:p,distance:i,ignoreLocation:c});if(f=Math.min(e,f),h=_+u,v){let e=0;for(;e<u;)g[_+e]=1,e+=1}}h=-1;let y=[],x=1,C=u+d;const E=1<<u-1;for(let r=0;r<u;r+=1){let o=0,a=C;for(;o<a;){w(t,{errors:r,currentLocation:p+a,expectedLocation:p,distance:i,ignoreLocation:c})<=f?o=a:C=a,a=Math.floor((C-o)/2+o)}C=a;let l=Math.max(1,p-a+1),m=s?d:Math.min(p+a,d)+u,_=Array(m+2);_[m+1]=(1<<r)-1;for(let o=m;o>=l;o-=1){let s=o-1,a=n[e.charAt(s)];if(v&&(g[s]=+!!a),_[o]=(_[o+1]<<1|1)&a,r&&(_[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),_[o]&E&&(x=w(t,{errors:r,currentLocation:s,expectedLocation:p,distance:i,ignoreLocation:c}),x<=f)){if(f=x,h=s,h<=p)break;l=Math.max(1,2*p-h)}}if(w(t,{errors:r+1,currentLocation:p,expectedLocation:p,distance:i,ignoreLocation:c})>f)break;y=_}const S={isMatch:h>=0,score:Math.max(.001,x)};if(v){const e=function(e=[],t=m.minMatchCharLength){let n=[],r=-1,i=-1,o=0;for(let s=e.length;o<s;o+=1){let s=e[o];s&&-1===r?r=o:s||-1===r||(i=o-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(g,a);e.length?l&&(S.indices=e):S.isMatch=!1}return S}function C(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}class E{constructor(e,{location:t=m.location,threshold:n=m.threshold,distance:r=m.distance,includeMatches:i=m.includeMatches,findAllMatches:o=m.findAllMatches,minMatchCharLength:s=m.minMatchCharLength,isCaseSensitive:a=m.isCaseSensitive,ignoreLocation:l=m.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:a,ignoreLocation:l},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:C(e),startIndex:t})},u=this.pattern.length;if(u>b){let e=0;const t=u%b,n=u-t;for(;e<n;)c(this.pattern.substr(e,b),e),e+=b;if(t){const e=u-b;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:i,threshold:o,findAllMatches:s,minMatchCharLength:a,ignoreLocation:l}=this.options;let c=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:p,startIndex:f})=>{const{isMatch:h,score:v,indices:m}=x(e,t,p,{location:r+f,distance:i,threshold:o,findAllMatches:s,minMatchCharLength:a,includeMatches:n,ignoreLocation:l});h&&(d=!0),u+=v,h&&m&&(c=[...c,...m])}));let p={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(p.indices=c),p}}class S{constructor(e){this.pattern=e}static isMultiMatch(e){return k(e,this.multiRegex)}static isSingleMatch(e){return k(e,this.singleRegex)}search(){}}function k(e,t){const n=e.match(t);return n?n[1]:null}class T extends S{constructor(e,{location:t=m.location,threshold:n=m.threshold,distance:r=m.distance,includeMatches:i=m.includeMatches,findAllMatches:o=m.findAllMatches,minMatchCharLength:s=m.minMatchCharLength,isCaseSensitive:a=m.isCaseSensitive,ignoreLocation:l=m.ignoreLocation}={}){super(e),this._bitapSearch=new E(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:a,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class M extends S{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],i=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const A=[class extends S{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},M,class extends S{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},T],O=A.length,L=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const P=new Set([T.type,M.type]);class j{constructor(e,{isCaseSensitive:t=m.isCaseSensitive,includeMatches:n=m.includeMatches,minMatchCharLength:r=m.minMatchCharLength,ignoreLocation:i=m.ignoreLocation,findAllMatches:o=m.findAllMatches,location:s=m.location,threshold:a=m.threshold,distance:l=m.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:i,location:s,threshold:a,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(L).filter((e=>e&&!!e.trim())),r=[];for(let e=0,i=n.length;e<i;e+=1){const i=n[e];let o=!1,s=-1;for(;!o&&++s<O;){const e=A[s];let n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(s=-1;++s<O;){const e=A[s];let n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let i=0,o=[],s=0;for(let r=0,a=t.length;r<a;r+=1){const a=t[r];o.length=0,i=0;for(let t=0,r=a.length;t<r;t+=1){const r=a[t],{isMatch:l,indices:c,score:u}=r.search(e);if(!l){s=0,i=0,o.length=0;break}if(i+=1,s+=u,n){const e=r.constructor.type;P.has(e)?o=[...o,...c]:o.push(c)}}if(i){let e={isMatch:!0,score:s/i};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const I=[];function N(e,t){for(let n=0,r=I.length;n<r;n+=1){let r=I[n];if(r.condition(e,t))return new r(e,t)}return new E(e,t)}const D="$and",B="$or",R="$path",F="$val",$=e=>!(!e[D]&&!e[B]),H=e=>({[D]:Object.keys(e).map((t=>({[t]:e[t]})))});function q(e,t,{auto:n=!0}={}){const o=e=>{let s=Object.keys(e);const l=(e=>!!e[R])(e);if(!l&&s.length>1&&!$(e))return o(H(e));if((e=>!r(e)&&a(e)&&!$(e))(e)){const r=l?e[R]:s[0],o=l?e[F]:e[r];if(!i(o))throw new Error((e=>`Invalid value for key ${e}`)(r));const a={keyId:v(r),pattern:o};return n&&(a.searcher=N(o,t)),a}let c={children:[],operator:s[0]};return s.forEach((t=>{const n=e[t];r(n)&&n.forEach((e=>{c.children.push(o(e))}))})),c};return $(e)||(e=H(e)),o(e)}function V(e,t){const n=e.matches;t.matches=[],l(n)&&n.forEach((e=>{if(!l(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)}))}function z(e,t){t.score=e.score}class Y{constructor(e,t={},n){this.options={...m,...t},this.options.useExtendedSearch,this._keyStore=new p(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof _))throw new Error("Incorrect 'index' type");this._myIndex=t||y(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){l(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const i=this._docs[n];e(i,n)&&(this.removeAt(n),n-=1,r-=1,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:s,sortFn:a,ignoreFieldNorm:l}=this.options;let c=i(e)?i(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=m.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:i})=>{const o=e?e.weight:null;n*=Math.pow(0===i&&o?Number.EPSILON:i,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:l}),s&&c.sort(a),o(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=m.includeMatches,includeScore:r=m.includeScore}={}){const i=[];return n&&i.push(V),r&&i.push(z),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=N(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:i})=>{if(!l(e))return;const{isMatch:o,score:s,indices:a}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:s,value:e,norm:i,indices:a}]})})),r}_searchLogical(e){const t=q(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:i}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const i=[];for(let o=0,s=e.children.length;o<s;o+=1){const s=e.children[o],a=n(s,t,r);if(a.length)i.push(...a);else if(e.operator===D)return[]}return i},r=this._myIndex.records,i={},o=[];return r.forEach((({$:e,i:r})=>{if(l(e)){let s=n(t,e,r);s.length&&(i[r]||(i[r]={idx:r,item:e,matches:[]},o.push(i[r])),s.forEach((({matches:e})=>{i[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=N(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach((({$:e,i:r})=>{if(!l(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&i.push({idx:r,item:e,matches:o})})),i}_findMatches({key:e,value:t,searcher:n}){if(!l(t))return[];let i=[];if(r(t))t.forEach((({v:t,i:r,n:o})=>{if(!l(t))return;const{isMatch:s,score:a,indices:c}=n.searchIn(t);s&&i.push({score:a,key:e,value:t,idx:r,norm:o,indices:c})}));else{const{v:r,n:o}=t,{isMatch:s,score:a,indices:l}=n.searchIn(r);s&&i.push({score:a,key:e,value:r,norm:o,indices:l})}return i}}Y.version="6.6.2",Y.createIndex=y,Y.parseIndex=function(e,{getFn:t=m.getFn,fieldNormWeight:n=m.fieldNormWeight}={}){const{keys:r,records:i}=e,o=new _({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o},Y.config=m,Y.parseQuery=q,function(...e){I.push(...e)}(j)},"./node_modules/preact/compat/dist/compat.module.js":function(e,t,n){"use strict";n.r(t),n.d(t,{Children:function(){return h},Component:function(){return r.wA},Fragment:function(){return r.HY},PureComponent:function(){return l},StrictMode:function(){return Z},Suspense:function(){return y},SuspenseList:function(){return x},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:function(){return H},cloneElement:function(){return Y},createContext:function(){return r.kr},createElement:function(){return r.az},createFactory:function(){return V},createPortal:function(){return k},createRef:function(){return r.Vf},default:function(){return ne},findDOMNode:function(){return U},flushSync:function(){return G},forwardRef:function(){return p},hydrate:function(){return P},isValidElement:function(){return z},lazy:function(){return b},memo:function(){return c},render:function(){return L},startTransition:function(){return K},unmountComponentAtNode:function(){return W},unstable_batchedUpdates:function(){return X},useCallback:function(){return i.I4},useContext:function(){return i.qp},useDebugValue:function(){return i.Qb},useDeferredValue:function(){return J},useEffect:function(){return i.d4},useErrorBoundary:function(){return i.cO},useId:function(){return i.Me},useImperativeHandle:function(){return i.aP},useInsertionEffect:function(){return ee},useLayoutEffect:function(){return i.bt},useMemo:function(){return i.Ye},useReducer:function(){return i._Y},useRef:function(){return i.sO},useState:function(){return i.eJ},useSyncExternalStore:function(){return te},useTransition:function(){return Q},version:function(){return q}});var r=n("./node_modules/preact/dist/preact.module.js"),i=n("./node_modules/preact/hooks/dist/hooks.module.js");function o(e,t){for(var n in t)e[n]=t[n];return e}function s(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function a(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function l(e){this.props=e}function c(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:s(this.props,e)}function i(t){return this.shouldComponentUpdate=n,(0,r.az)(e,t)}return i.displayName="Memo("+(e.displayName||e.name)+")",i.prototype.isReactComponent=!0,i.__f=!0,i}(l.prototype=new r.wA).isPureReactComponent=!0,l.prototype.shouldComponentUpdate=function(e,t){return s(this.props,e)||s(this.state,t)};var u=r.YM.__b;r.YM.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),u&&u(e)};var d="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function p(e){function t(t){var n=o({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=d,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var f=function(e,t){return null==e?null:(0,r.bR)((0,r.bR)(e).map(t))},h={map:f,forEach:f,count:function(e){return e?(0,r.bR)(e).length:0},only:function(e){var t=(0,r.bR)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:r.bR},v=r.YM.__e;r.YM.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);v(e,t,n,r)};var m=r.YM.unmount;function g(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=o({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return g(e,t,n)}))),e}function _(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return _(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function y(){this.__u=0,this.t=null,this.__b=null}function w(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function b(e){var t,n,i;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){i=e})),i)throw i;if(!n)throw t;return(0,r.az)(n,o)}return o.displayName="Lazy",o.__f=!0,o}function x(){this.u=null,this.o=null}r.YM.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),m&&m(e)},(y.prototype=new r.wA).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=w(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=_(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},y.prototype.componentWillUnmount=function(){this.t=[]},y.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=g(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__a&&(0,r.az)(r.HY,null,e.fallback);return o&&(o.__h=null),[(0,r.az)(r.HY,null,t.__a?null:e.children),o]};var C=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function E(e){return this.getChildContext=function(){return e.context},e.children}function S(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,r.sY)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,r.sY)((0,r.az)(E,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function k(e,t){var n=(0,r.az)(S,{__v:e,i:t});return n.containerInfo=t,n}(x.prototype=new r.wA).__a=function(e){var t=this,n=w(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),C(t,e,r)):i()};n?n(o):o()}},x.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,r.bR)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},x.prototype.componentDidUpdate=x.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){C(e,n,t)}))};var T="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,M=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,A="undefined"!=typeof document,O=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function L(e,t,n){return null==t.__k&&(t.textContent=""),(0,r.sY)(e,t),"function"==typeof n&&n(),e?e.__c:null}function P(e,t,n){return(0,r.ZB)(e,t),"function"==typeof n&&n(),e?e.__c:null}r.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.wA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var j=r.YM.event;function I(){}function N(){return this.cancelBubble}function D(){return this.defaultPrevented}r.YM.event=function(e){return j&&(e=j(e)),e.persist=I,e.isPropagationStopped=N,e.isDefaultPrevented=D,e.nativeEvent=e};var B,R={configurable:!0,get:function(){return this.class}},F=r.YM.vnode;r.YM.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var s in i={},n){var a=n[s];A&&"children"===s&&"noscript"===t||"value"===s&&"defaultValue"in n&&null==a||("defaultValue"===s&&"value"in n&&null==n.value?s="value":"download"===s&&!0===a?a="":/ondoubleclick/i.test(s)?s="ondblclick":/^onchange(textarea|input)/i.test(s+t)&&!O(n.type)?s="oninput":/^onfocus$/i.test(s)?s="onfocusin":/^onblur$/i.test(s)?s="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(s)?s=s.toLowerCase():o&&M.test(s)?s=s.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(s)&&(s=s.toLowerCase(),i[s]&&(s="oninputCapture")),i[s]=a)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=(0,r.bR)(n.children).forEach((function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)}))),"select"==t&&null!=i.defaultValue&&(i.value=(0,r.bR)(n.children).forEach((function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value}))),e.props=i,n.class!=n.className&&(R.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",R))}e.$$typeof=T,F&&F(e)};var $=r.YM.__r;r.YM.__r=function(e){$&&$(e),B=e.__c};var H={ReactCurrentDispatcher:{current:{readContext:function(e){return B.__n[e.__c].props.value}}}},q="17.0.2";function V(e){return r.az.bind(null,e)}function z(e){return!!e&&e.$$typeof===T}function Y(e){return z(e)?r.Tm.apply(null,arguments):e}function W(e){return!!e.__k&&((0,r.sY)(null,e),!0)}function U(e){return e&&(e.base||1===e.nodeType&&e)||null}var X=function(e,t){return e(t)},G=function(e,t){return e(t)},Z=r.HY;function K(e){e()}function J(e){return e}function Q(){return[!1,K]}var ee=i.bt;function te(e,t){var n=t(),r=(0,i.eJ)({h:{__:n,v:t}}),o=r[0].h,s=r[1];return(0,i.bt)((function(){o.__=n,o.v=t,a(o.__,t())||s({h:o})}),[e,n,t]),(0,i.d4)((function(){return a(o.__,o.v())||s({h:o}),e((function(){a(o.__,o.v())||s({h:o})}))}),[e]),n}var ne={useState:i.eJ,useId:i.Me,useReducer:i._Y,useEffect:i.d4,useLayoutEffect:i.bt,useInsertionEffect:ee,useTransition:Q,useDeferredValue:J,useSyncExternalStore:te,startTransition:K,useRef:i.sO,useImperativeHandle:i.aP,useMemo:i.Ye,useCallback:i.I4,useContext:i.qp,useDebugValue:i.Qb,version:"17.0.2",Children:h,render:L,hydrate:P,unmountComponentAtNode:W,createPortal:k,createElement:r.az,createContext:r.kr,createFactory:V,cloneElement:Y,createRef:r.Vf,Fragment:r.HY,isValidElement:z,findDOMNode:U,Component:r.wA,PureComponent:l,memo:c,forwardRef:p,flushSync:G,unstable_batchedUpdates:X,StrictMode:Z,Suspense:y,SuspenseList:x,lazy:b,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:H}},"./node_modules/preact/dist/preact.module.js":function(e,t,n){"use strict";n.d(t,{HY:function(){return g},Tm:function(){return F},Vf:function(){return m},YM:function(){return i},ZB:function(){return R},az:function(){return h},bR:function(){return S},h:function(){return h},kr:function(){return $},sY:function(){return B},wA:function(){return _}});var r,i,o,s,a,l,c={},u=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var i,o,s,a={};for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return v(e,a,i,o,null)}function v(e,t,n,r,s){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++o:s};return null==s&&null!=i.vnode&&i.vnode(a),a}function m(){return{current:null}}function g(e){return e.children}function _(e,t){this.props=e,this.context=t}function y(e,t){if(null==t)return e.__?y(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?y(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function b(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!x.__r++||a!==i.debounceRendering)&&((a=i.debounceRendering)||setTimeout)(x)}function x(){for(var e;x.__r=s.length;)e=s.sort((function(e,t){return e.__v.__b-t.__v.__b})),s=[],e.some((function(e){var t,n,r,i,o,s;e.__d&&(o=(i=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=p({},i)).__v=i.__v+1,L(s,i,r,t.__n,void 0!==s.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?y(i):o,i.__h),P(n,i),i.__e!=o&&w(i)))}))}function C(e,t,n,r,i,o,s,a,l,d){var p,f,h,m,_,w,b,x=r&&r.__k||u,C=x.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(m=n.__k[p]=null==(m=t[p])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?v(null,m,null,null,m):Array.isArray(m)?v(g,{children:m},null,null,null):m.__b>0?v(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(h=x[p])||h&&m.key==h.key&&m.type===h.type)x[p]=void 0;else for(f=0;f<C;f++){if((h=x[f])&&m.key==h.key&&m.type===h.type){x[f]=void 0;break}h=null}L(e,m,h=h||c,i,o,s,a,l,d),_=m.__e,(f=m.ref)&&h.ref!=f&&(b||(b=[]),h.ref&&b.push(h.ref,null,m),b.push(f,m.__c||_,m)),null!=_?(null==w&&(w=_),"function"==typeof m.type&&m.__k===h.__k?m.__d=l=E(m,l,e):l=k(e,m,h,x,_,l),"function"==typeof n.type&&(n.__d=l)):l&&h.__e==l&&l.parentNode!=e&&(l=y(h))}for(n.__e=w,p=C;p--;)null!=x[p]&&N(x[p],x[p]);if(b)for(p=0;p<b.length;p++)I(b[p],b[++p],b[++p])}function E(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):k(n,r,r,i,r.__e,t));return t}function S(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){S(e,t)})):t.push(e)),t}function k(e,t,n,r,i,o){var s,a,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),s=null;else{for(a=o,l=0;(a=a.nextSibling)&&l<r.length;l+=1)if(a==i)break e;e.insertBefore(i,o),s=o}return void 0!==s?s:i.nextSibling}function T(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function M(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||T(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||T(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?O:A,o):e.removeEventListener(t,o?O:A,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function A(e){this.l[e.type+!1](i.event?i.event(e):e)}function O(e){this.l[e.type+!0](i.event?i.event(e):e)}function L(e,t,n,r,o,s,a,l,c){var u,d,f,h,v,m,y,w,b,x,E,S,k,T,M,A=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,s=[l]),(u=i.__b)&&u(t);try{e:if("function"==typeof A){if(w=t.props,b=(u=A.contextType)&&r[u.__c],x=u?b?b.props.value:u.__:r,n.__c?y=(d=t.__c=n.__c).__=d.__E:("prototype"in A&&A.prototype.render?t.__c=d=new A(w,x):(t.__c=d=new _(w,x),d.constructor=A,d.render=D),b&&b.sub(d),d.props=w,d.state||(d.state={}),d.context=x,d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=A.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=p({},d.__s)),p(d.__s,A.getDerivedStateFromProps(w,d.__s))),h=d.props,v=d.state,f)null==A.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==A.getDerivedStateFromProps&&w!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(w,x),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(w,d.__s,x)||t.__v===n.__v){for(d.props=w,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<d._sb.length;E++)d.__h.push(d._sb[E]);d._sb=[],d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(w,d.__s,x),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,v,m)}))}if(d.context=x,d.props=w,d.__v=t,d.__P=e,S=i.__r,k=0,"prototype"in A&&A.prototype.render){for(d.state=d.__s,d.__d=!1,S&&S(t),u=d.render(d.props,d.state,d.context),T=0;T<d._sb.length;T++)d.__h.push(d._sb[T]);d._sb=[]}else do{d.__d=!1,S&&S(t),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(r=p(p({},r),d.getChildContext())),f||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(h,v)),M=null!=u&&u.type===g&&null==u.key?u.props.children:u,C(e,Array.isArray(M)?M:[M],t,n,r,o,s,a,l,c),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=j(n.__e,t,n,r,o,s,a,c);(u=i.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=s)&&(t.__e=l,t.__h=!!c,s[s.indexOf(l)]=null),i.__e(e,t,n)}}function P(e,t){i.__c&&i.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){i.__e(e,t.__v)}}))}function j(e,t,n,i,o,s,a,l){var u,d,p,h=n.props,v=t.props,m=t.type,g=0;if("svg"===m&&(o=!0),null!=s)for(;g<s.length;g++)if((u=s[g])&&"setAttribute"in u==!!m&&(m?u.localName===m:3===u.nodeType)){e=u,s[g]=null;break}if(null==e){if(null===m)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,v.is&&v),s=null,l=!1}if(null===m)h===v||l&&e.data===v||(e.data=v);else{if(s=s&&r.call(e.childNodes),d=(h=n.props||c).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!l){if(null!=s)for(h={},g=0;g<e.attributes.length;g++)h[e.attributes[g].name]=e.attributes[g].value;(p||d)&&(p&&(d&&p.__html==d.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||M(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||M(e,o,t[o],n[o],r)}(e,v,h,o,l),p)t.__k=[];else if(g=t.props.children,C(e,Array.isArray(g)?g:[g],t,n,i,o&&"foreignObject"!==m,s,a,s?s[0]:n.__k&&y(n,0),l),null!=s)for(g=s.length;g--;)null!=s[g]&&f(s[g]);l||("value"in v&&void 0!==(g=v.value)&&(g!==e.value||"progress"===m&&!g||"option"===m&&g!==h.value)&&M(e,"value",g,h.value,!1),"checked"in v&&void 0!==(g=v.checked)&&g!==e.checked&&M(e,"checked",g,h.checked,!1))}return e}function I(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){i.__e(e,n)}}function N(e,t,n){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||I(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&N(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||f(e.__e),e.__=e.__e=e.__d=void 0}function D(e,t,n){return this.constructor(e,n)}function B(e,t,n){var o,s,a;i.__&&i.__(e,t),s=(o="function"==typeof n)?null:n&&n.__k||t.__k,a=[],L(t,e=(!o&&n||t).__k=h(g,null,[e]),s||c,c,void 0!==t.ownerSVGElement,!o&&n?[n]:s?null:t.firstChild?r.call(t.childNodes):null,a,!o&&n?n:s?s.__e:t.firstChild,o),P(a,e)}function R(e,t){B(e,t,R)}function F(e,t,n){var i,o,s,a=p({},e.props);for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];return arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),v(e.type,a,i||e.key,o||e.ref,null)}function $(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(b)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=u.slice,i={__e:function(e,t,n,r){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),s=i.__d),s)return i.__E=i}catch(t){e=t}throw e}},o=0,_.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),b(this))},_.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},_.prototype.render=g,s=[],x.__r=0,l=0},"./node_modules/preact/hooks/dist/hooks.module.js":function(e,t,n){"use strict";n.d(t,{I4:function(){return E},Me:function(){return M},Qb:function(){return k},Ye:function(){return C},_Y:function(){return _},aP:function(){return x},bt:function(){return w},cO:function(){return T},d4:function(){return y},eJ:function(){return g},qp:function(){return S},sO:function(){return b}});var r,i,o,s,a=n("./node_modules/preact/dist/preact.module.js"),l=0,c=[],u=[],d=a.YM.__b,p=a.YM.__r,f=a.YM.diffed,h=a.YM.__c,v=a.YM.unmount;function m(e,t){a.YM.__h&&a.YM.__h(i,e,l||t),l=0;var n=i.__H||(i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:u}),n.__[e]}function g(e){return l=1,_(N,e)}function _(e,t,n){var o=m(r++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):N(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=i,!i.u)){i.u=!0;var s=i.shouldComponentUpdate;i.shouldComponentUpdate=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return e.__c}));if(r.every((function(e){return!e.__N})))return!s||s.call(this,e,t,n);var i=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}})),!(!i&&o.__c.props===e)&&(!s||s.call(this,e,t,n))}}return o.__N||o.__}function y(e,t){var n=m(r++,3);!a.YM.__s&&I(n.__H,t)&&(n.__=e,n.i=t,i.__H.__h.push(n))}function w(e,t){var n=m(r++,4);!a.YM.__s&&I(n.__H,t)&&(n.__=e,n.i=t,i.__h.push(n))}function b(e){return l=5,C((function(){return{current:e}}),[])}function x(e,t,n){l=6,w((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function C(e,t){var n=m(r++,7);return I(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function E(e,t){return l=8,C((function(){return e}),t)}function S(e){var t=i.context[e.__c],n=m(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__}function k(e,t){a.YM.useDebugValue&&a.YM.useDebugValue(t?t(e):e)}function T(e){var t=m(r++,10),n=g();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function M(){var e=m(r++,11);if(!e.__){for(var t=i.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function A(){for(var e;e=c.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(P),e.__H.__h.forEach(j),e.__H.__h=[]}catch(t){e.__H.__h=[],a.YM.__e(t,e.__v)}}a.YM.__b=function(e){i=null,d&&d(e)},a.YM.__r=function(e){p&&p(e),r=0;var t=(i=e.__c).__H;t&&(o===i?(t.__h=[],i.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=u,e.__N=e.i=void 0}))):(t.__h.forEach(P),t.__h.forEach(j),t.__h=[])),o=i},a.YM.diffed=function(e){f&&f(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&s===a.YM.requestAnimationFrame||((s=a.YM.requestAnimationFrame)||L)(A)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==u&&(e.__=e.__V),e.i=void 0,e.__V=u}))),o=i=null},a.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(P),e.__h=e.__h.filter((function(e){return!e.__||j(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.YM.__e(n,e.__v)}})),h&&h(e,t)},a.YM.unmount=function(e){v&&v(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{P(e)}catch(e){t=e}})),n.__H=void 0,t&&a.YM.__e(t,n.__v))};var O="function"==typeof requestAnimationFrame;function L(e){var t,n=function(){clearTimeout(r),O&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);O&&(t=requestAnimationFrame(n))}function P(e){var t=i,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),i=t}function j(e){var t=i;e.__c=e.__(),i=t}function I(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function N(e,t){return"function"==typeof t?t(e):t}},"./node_modules/prop-types/factoryWithThrowingShims.js":function(e,t,n){"use strict";var r=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":function(e,t,n){e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/query-string/index.js":function(e,t,n){"use strict";const r=n("./node_modules/strict-uri-encode/index.js"),i=n("./node_modules/decode-uri-component/index.js"),o=n("./node_modules/split-on-first/index.js"),s=n("./node_modules/filter-obj/index.js"),a=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function v(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const s=i||o?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=s};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,s]=o(t.decode?i.replace(/\+/g," "):i,"=");s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:u(s,t),n(u(e,t),s,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=v,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:v(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[a]:!0},n);const r=p(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),s=Object.assign(o,e.query);let l=t.stringify(s,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[a]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[a]:!1},r);const{url:i,query:o,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:s(o,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},"./node_modules/rbush/rbush.min.js":function(e){e.exports=function(){"use strict";function e(e,r,i,o,s){!function e(n,r,i,o,s){for(;o>i;){if(o-i>600){var a=o-i+1,l=r-i+1,c=Math.log(a),u=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*u*(a-u)/a)*(l-a/2<0?-1:1);e(n,r,Math.max(i,Math.floor(r-l*u/a+d)),Math.min(o,Math.floor(r+(a-l)*u/a+d)),s)}var p=n[r],f=i,h=o;for(t(n,i,r),s(n[o],p)>0&&t(n,i,o);f<h;){for(t(n,f,h),f++,h--;s(n[f],p)<0;)f++;for(;s(n[h],p)>0;)h--}0===s(n[i],p)?t(n,i,h):t(n,++h,o),h<=r&&(i=h+1),r<=h&&(o=h-1)}}(e,r,i||0,o||e.length-1,s||n)}function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return e<t?-1:e>t?1:0}var r=function(e){void 0===e&&(e=9),this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function i(e,t,n){if(!n)return t.indexOf(e);for(var r=0;r<t.length;r++)if(n(e,t[r]))return r;return-1}function o(e,t){s(e,0,e.children.length,t,e)}function s(e,t,n,r,i){i||(i=h(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var o=t;o<n;o++){var s=e.children[o];a(i,e.leaf?r(s):s)}return i}function a(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function c(e,t){return e.minY-t.minY}function u(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function d(e){return e.maxX-e.minX+(e.maxY-e.minY)}function p(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function f(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function h(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function v(t,n,r,i,o){for(var s=[n,r];s.length;)if(!((r=s.pop())-(n=s.pop())<=i)){var a=n+Math.ceil((r-n)/i/2)*i;e(t,a,n,r,o),s.push(n,a,a,r)}}return r.prototype.all=function(){return this._all(this.data,[])},r.prototype.search=function(e){var t=this.data,n=[];if(!f(e,t))return n;for(var r=this.toBBox,i=[];t;){for(var o=0;o<t.children.length;o++){var s=t.children[o],a=t.leaf?r(s):s;f(e,a)&&(t.leaf?n.push(s):p(e,a)?this._all(s,n):i.push(s))}t=i.pop()}return n},r.prototype.collides=function(e){var t=this.data;if(!f(e,t))return!1;for(var n=[];t;){for(var r=0;r<t.children.length;r++){var i=t.children[r],o=t.leaf?this.toBBox(i):i;if(f(e,o)){if(t.leaf||p(e,o))return!0;n.push(i)}}t=n.pop()}return!1},r.prototype.load=function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0;t<e.length;t++)this.insert(e[t]);return this}var n=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var r=this.data;this.data=n,n=r}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},r.prototype.insert=function(e){return e&&this._insert(e,this.data.height-1),this},r.prototype.clear=function(){return this.data=h([]),this},r.prototype.remove=function(e,t){if(!e)return this;for(var n,r,o,s=this.data,a=this.toBBox(e),l=[],c=[];s||l.length;){if(s||(s=l.pop(),r=l[l.length-1],n=c.pop(),o=!0),s.leaf){var u=i(e,s.children,t);if(-1!==u)return s.children.splice(u,1),l.push(s),this._condense(l),this}o||s.leaf||!p(s,a)?r?(n++,s=r.children[n],o=!1):s=null:(l.push(s),c.push(n),n=0,r=s,s=s.children[0])}return this},r.prototype.toBBox=function(e){return e},r.prototype.compareMinX=function(e,t){return e.minX-t.minX},r.prototype.compareMinY=function(e,t){return e.minY-t.minY},r.prototype.toJSON=function(){return this.data},r.prototype.fromJSON=function(e){return this.data=e,this},r.prototype._all=function(e,t){for(var n=[];e;)e.leaf?t.push.apply(t,e.children):n.push.apply(n,e.children),e=n.pop();return t},r.prototype._build=function(e,t,n,r){var i,s=n-t+1,a=this._maxEntries;if(s<=a)return o(i=h(e.slice(t,n+1)),this.toBBox),i;r||(r=Math.ceil(Math.log(s)/Math.log(a)),a=Math.ceil(s/Math.pow(a,r-1))),(i=h([])).leaf=!1,i.height=r;var l=Math.ceil(s/a),c=l*Math.ceil(Math.sqrt(a));v(e,t,n,c,this.compareMinX);for(var u=t;u<=n;u+=c){var d=Math.min(u+c-1,n);v(e,u,d,l,this.compareMinY);for(var p=u;p<=d;p+=l){var f=Math.min(p+l-1,d);i.children.push(this._build(e,p,f,r-1))}}return o(i,this.toBBox),i},r.prototype._chooseSubtree=function(e,t,n,r){for(;r.push(t),!t.leaf&&r.length-1!==n;){for(var i=1/0,o=1/0,s=void 0,a=0;a<t.children.length;a++){var l=t.children[a],c=u(l),d=(p=e,f=l,(Math.max(f.maxX,p.maxX)-Math.min(f.minX,p.minX))*(Math.max(f.maxY,p.maxY)-Math.min(f.minY,p.minY))-c);d<o?(o=d,i=c<i?c:i,s=l):d===o&&c<i&&(i=c,s=l)}t=s||t.children[0]}var p,f;return t},r.prototype._insert=function(e,t,n){var r=n?e:this.toBBox(e),i=[],o=this._chooseSubtree(r,this.data,t,i);for(o.children.push(e),a(o,r);t>=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(r,i,t)},r.prototype._split=function(e,t){var n=e[t],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);var s=this._chooseSplitIndex(n,i,r),a=h(n.children.splice(s,n.children.length-s));a.height=n.height,a.leaf=n.leaf,o(n,this.toBBox),o(a,this.toBBox),t?e[t-1].children.push(a):this._splitRoot(n,a)},r.prototype._splitRoot=function(e,t){this.data=h([e,t]),this.data.height=e.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},r.prototype._chooseSplitIndex=function(e,t,n){for(var r,i,o,a,l,c,d,p=1/0,f=1/0,h=t;h<=n-t;h++){var v=s(e,0,h,this.toBBox),m=s(e,h,n,this.toBBox),g=(i=v,o=m,a=void 0,l=void 0,c=void 0,d=void 0,a=Math.max(i.minX,o.minX),l=Math.max(i.minY,o.minY),c=Math.min(i.maxX,o.maxX),d=Math.min(i.maxY,o.maxY),Math.max(0,c-a)*Math.max(0,d-l)),_=u(v)+u(m);g<p?(p=g,r=h,f=_<f?_:f):g===p&&_<f&&(f=_,r=h)}return r||n-t},r.prototype._chooseSplitAxis=function(e,t,n){var r=e.leaf?this.compareMinX:l,i=e.leaf?this.compareMinY:c;this._allDistMargin(e,t,n,r)<this._allDistMargin(e,t,n,i)&&e.children.sort(r)},r.prototype._allDistMargin=function(e,t,n,r){e.children.sort(r);for(var i=this.toBBox,o=s(e,0,t,i),l=s(e,n-t,n,i),c=d(o)+d(l),u=t;u<n-t;u++){var p=e.children[u];a(o,e.leaf?i(p):p),c+=d(o)}for(var f=n-t-1;f>=t;f--){var h=e.children[f];a(l,e.leaf?i(h):h),c+=d(l)}return c},r.prototype._adjustParentBBoxes=function(e,t,n){for(var r=n;r>=0;r--)a(t[r],e)},r.prototype._condense=function(e){for(var t=e.length-1,n=void 0;t>=0;t--)0===e[t].children.length?t>0?(n=e[t-1].children).splice(n.indexOf(e[t]),1):this.clear():o(e[t],this.toBBox)},r}()},"./node_modules/react-toggle/dist/component/check.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n("./node_modules/preact/compat/dist/compat.module.js"),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(){return o.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},o.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},"./node_modules/react-toggle/dist/component/index.js":function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n("./node_modules/preact/compat/dist/compat.module.js"),s=p(o),a=p(n("./node_modules/classnames/index.js")),l=p(n("./node_modules/prop-types/index.js")),c=p(n("./node_modules/react-toggle/dist/component/check.js")),u=p(n("./node_modules/react-toggle/dist/component/x.js")),d=n("./node_modules/react-toggle/dist/component/util.js");function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=n.handleClick.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleFocus=n.handleFocus.bind(n),n.handleBlur=n.handleBlur.bind(n),n.previouslyChecked=!(!e.checked&&!e.defaultChecked),n.state={checked:!(!e.checked&&!e.defaultChecked),hasFocus:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidUpdate",value:function(e){e.checked!==this.props.checked&&this.setState({checked:!!this.props.checked})}},{key:"handleClick",value:function(e){if(!this.props.disabled){var t=this.input;if(e.target!==t&&!this.moved)return this.previouslyChecked=t.checked,e.preventDefault(),t.focus(),void t.click();var n=this.props.hasOwnProperty("checked")?this.props.checked:t.checked;this.setState({checked:n})}}},{key:"handleTouchStart",value:function(e){this.props.disabled||(this.startX=(0,d.pointerCoord)(e).x,this.activated=!0)}},{key:"handleTouchMove",value:function(e){if(this.activated&&(this.moved=!0,this.startX)){var t=(0,d.pointerCoord)(e).x;this.state.checked&&t+15<this.startX?(this.setState({checked:!1}),this.startX=t,this.activated=!0):t-15>this.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=t<this.startX+5)}}},{key:"handleTouchEnd",value:function(e){if(this.moved){var t=this.input;if(e.preventDefault(),this.startX){var n=(0,d.pointerCoord)(e).x;!0===this.previouslyChecked&&this.startX+4>n?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-4<n&&this.previouslyChecked!==this.state.checked&&(this.setState({checked:!0}),this.previouslyChecked=this.state.checked,t.click()),this.activated=!1,this.startX=null,this.moved=!1}}}},{key:"handleFocus",value:function(e){var t=this.props.onFocus;t&&t(e),this.setState({hasFocus:!0})}},{key:"handleBlur",value:function(e){var t=this.props.onBlur;t&&t(e),this.setState({hasFocus:!1})}},{key:"getIcon",value:function(e){var n=this.props.icons;return n?void 0===n[e]?t.defaultProps.icons[e]:n[e]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,i=(t.icons,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["className","icons"])),o=(0,a.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},n);return s.default.createElement("div",{className:o,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},s.default.createElement("div",{className:"react-toggle-track"},s.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),s.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),s.default.createElement("div",{className:"react-toggle-thumb"}),s.default.createElement("input",r({},i,{ref:function(t){e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),t}(o.PureComponent);t.Z=f,f.displayName="Toggle",f.defaultProps={icons:{checked:s.default.createElement(c.default,null),unchecked:s.default.createElement(u.default,null)}},f.propTypes={checked:l.default.bool,disabled:l.default.bool,defaultChecked:l.default.bool,onChange:l.default.func,onFocus:l.default.func,onBlur:l.default.func,className:l.default.string,name:l.default.string,value:l.default.string,id:l.default.string,"aria-labelledby":l.default.string,"aria-label":l.default.string,icons:l.default.oneOfType([l.default.bool,l.default.shape({checked:l.default.node,unchecked:l.default.node})])}},"./node_modules/react-toggle/dist/component/util.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointerCoord=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var n=t[0];return{x:n.clientX,y:n.clientY}}var r=e.pageX;if(void 0!==r)return{x:r,y:e.pageY}}return{x:0,y:0}}},"./node_modules/react-toggle/dist/component/x.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n("./node_modules/preact/compat/dist/compat.module.js"),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(){return o.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},o.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},"./node_modules/sal.js/dist/sal.js":function(e){e.exports=(()=>{"use strict";var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.d(t,{default:()=>b});var o="Your browser does not support IntersectionObserver!\nGet a polyfill from here:\nhttps://github.com/w3c/IntersectionObserver/tree/master/polyfill",s={root:null,rootMargin:"0% 50%",threshold:.5,animateClassName:"sal-animate",disabledClassName:"sal-disabled",enterEventName:"sal:in",exitEventName:"sal:out",selector:"[data-sal]",once:!0,disabled:!1},a=[],l=null,c=function(e){e&&e!==s&&(s=r(r({},s),e))},u=function(e){e.classList.remove(s.animateClassName)},d=function(e,t){var n=new CustomEvent(e,{bubbles:!0,detail:t});t.target.dispatchEvent(n)},p=function(){document.body.classList.add(s.disabledClassName)},f=function(){l.disconnect(),l=null},h=function(){return s.disabled||"function"==typeof s.disabled&&s.disabled()},v=function(e,t){e.forEach((function(e){var n=e.target,r=void 0!==n.dataset.salRepeat,i=void 0!==n.dataset.salOnce,o=r||!(i||s.once);e.intersectionRatio>=s.threshold?(function(e){e.target.classList.add(s.animateClassName),d(s.enterEventName,e)}(e),o||t.unobserve(n)):o&&function(e){u(e.target),d(s.exitEventName,e)}(e)}))},m=function(){var e=[].filter.call(document.querySelectorAll(s.selector),(function(e){return!function(e){return e.classList.contains(s.animateClassName)}(e,s.animateClassName)}));return e.forEach((function(e){return l.observe(e)})),e},g=function(){p(),f()},_=function(){document.body.classList.remove(s.disabledClassName),l=new IntersectionObserver(v,{root:s.root,rootMargin:s.rootMargin,threshold:s.threshold}),a=m()},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f(),Array.from(document.querySelectorAll(s.selector)).forEach(u),c(e),_()},w=function(){var e=m();a.push(e)};const b=function(){if(c(arguments.length>0&&void 0!==arguments[0]?arguments[0]:s),"undefined"==typeof window)return{elements:a,disable:g,enable:_,reset:y,update:w};if(!window.IntersectionObserver)throw p(),Error(o);return h()?p():_(),{elements:a,disable:g,enable:_,reset:y,update:w}};return t.default})()},"./node_modules/split-on-first/index.js":function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},"./node_modules/strict-uri-encode/index.js":function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},"./src/js/home.ts":function(e,t,n){"use strict";n.d(t,{j:function(){return xe}});var r=n("./node_modules/tslib/tslib.es6.js"),i=n("./node_modules/fuse.js/dist/fuse.esm.js");function o(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e={},t={}){Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:o(t[n])&&o(e[n])&&Object.keys(t[n]).length>0&&s(e[n],t[n])}))}const a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function l(){const e="undefined"!=typeof document?document:{};return s(e,a),e}const c={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function u(){const e="undefined"!=typeof window?window:{};return s(e,c),e}class d extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get(){return t},set(e){t.__proto__=e}})}(this))}}function p(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...p(e)):t.push(e)})),t}function f(e,t){return Array.prototype.filter.call(e,t)}function h(e,t){const n=u(),r=l();let i=[];if(!t&&e instanceof d)return e;if(!e)return new d(i);if("string"==typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("<li")&&(e="ul"),0===n.indexOf("<tr")&&(e="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(e="tr"),0===n.indexOf("<tbody")&&(e="table"),0===n.indexOf("<option")&&(e="select");const t=r.createElement(e);t.innerHTML=n;for(let e=0;e<t.childNodes.length;e+=1)i.push(t.childNodes[e])}else i=function(e,t){if("string"!=typeof e)return[e];const n=[],r=t.querySelectorAll(e);for(let e=0;e<r.length;e+=1)n.push(r[e]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof d)return e;i=e}return new d(function(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(i))}h.fn=d.prototype;const v="resize scroll".split(" ");function m(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)v.indexOf(e)<0&&(e in this[t]?this[t][e]():h(this[t]).trigger(e));return this}return this.on(e,...t)}}m("click"),m("blur"),m("focus"),m("focusin"),m("focusout"),m("keyup"),m("keydown"),m("keypress"),m("submit"),m("change"),m("mousedown"),m("mousemove"),m("mouseup"),m("mouseenter"),m("mouseleave"),m("mouseout"),m("mouseover"),m("touchstart"),m("touchend"),m("touchmove"),m("resize"),m("scroll");const g={addClass:function(...e){const t=p(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=p(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=p(e.map((e=>e.split(" "))));return f(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=p(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,n,r,i]=e;function o(e){const t=e.target;if(!t)return;const i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),h(t).is(n))r.apply(t,i);else{const e=h(t).parents();for(let t=0;t<e.length;t+=1)h(e[t]).is(n)&&r.apply(e[t],i)}}function s(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const a=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(n)for(l=0;l<a.length;l+=1){const e=a[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:r,proxyListener:o}),t.addEventListener(e,o,i)}else for(l=0;l<a.length;l+=1){const e=a[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:r,proxyListener:s}),t.addEventListener(e,s,i)}}return this},off:function(...e){let[t,n,r,i]=e;"function"==typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const o=t.split(" ");for(let e=0;e<o.length;e+=1){const t=o[e];for(let e=0;e<this.length;e+=1){const o=this[e];let s;if(!n&&o.dom7Listeners?s=o.dom7Listeners[t]:n&&o.dom7LiveListeners&&(s=o.dom7LiveListeners[t]),s&&s.length)for(let e=s.length-1;e>=0;e-=1){const n=s[e];r&&n.listener===r||r&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===r?(o.removeEventListener(t,n.proxyListener,i),s.splice(e,1)):r||(o.removeEventListener(t,n.proxyListener,i),s.splice(e,1))}}}return this},trigger:function(...e){const t=u(),n=e[0].split(" "),r=e[1];for(let i=0;i<n.length;i+=1){const o=n[i];for(let n=0;n<this.length;n+=1){const i=this[n];if(t.CustomEvent){const n=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});i.dom7EventData=e.filter(((e,t)=>t>0)),i.dispatchEvent(n),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=u();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=u(),t=l(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,s=n.clientLeft||i.clientLeft||0,a=n===e?e.scrollY:n.scrollTop,c=n===e?e.scrollX:n.scrollLeft;return{top:r.top+a-o,left:r.left+c-s}}return null},css:function(e,t){const n=u();let r;if(1===arguments.length){if("string"!=typeof e){for(r=0;r<this.length;r+=1)for(const t in e)this[r].style[t]=e[t];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(r=0;r<this.length;r+=1)this[r].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,n)=>{e.apply(t,[t,n])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=u(),n=l(),r=this[0];let i,o;if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(i=h(e),o=0;o<i.length;o+=1)if(i[o]===r)return!0;return!1}if(e===n)return r===n;if(e===t)return r===t;if(e.nodeType||e instanceof d){for(i=e.nodeType?[e]:e,o=0;o<i.length;o+=1)if(i[o]===r)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return h([]);if(e<0){const n=t+e;return h(n<0?[]:[this[n]])}return h([this[e]])},append:function(...e){let t;const n=l();for(let r=0;r<e.length;r+=1){t=e[r];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const r=n.createElement("div");for(r.innerHTML=t;r.firstChild;)this[e].appendChild(r.firstChild)}else if(t instanceof d)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){const t=l();let n,r;for(n=0;n<this.length;n+=1)if("string"==typeof e){const i=t.createElement("div");for(i.innerHTML=e,r=i.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(e instanceof d)for(r=0;r<e.length;r+=1)this[n].insertBefore(e[r],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&h(this[0].nextElementSibling).is(e)?h([this[0].nextElementSibling]):h([]):this[0].nextElementSibling?h([this[0].nextElementSibling]):h([]):h([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return h([]);for(;n.nextElementSibling;){const r=n.nextElementSibling;e?h(r).is(e)&&t.push(r):t.push(r),n=r}return h(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&h(t.previousElementSibling).is(e)?h([t.previousElementSibling]):h([]):t.previousElementSibling?h([t.previousElementSibling]):h([])}return h([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return h([]);for(;n.previousElementSibling;){const r=n.previousElementSibling;e?h(r).is(e)&&t.push(r):t.push(r),n=r}return h(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?h(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return h(t)},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let r=this[n].parentNode;for(;r;)e?h(r).is(e)&&t.push(r):t.push(r),r=r.parentNode}return h(t)},closest:function(e){let t=this;return void 0===e?h([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].querySelectorAll(e);for(let e=0;e<r.length;e+=1)t.push(r[e])}return h(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].children;for(let n=0;n<r.length;n+=1)e&&!h(r[n]).is(e)||t.push(r[n])}return h(t)},filter:function(e){return h(f(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(g).forEach((e=>{Object.defineProperty(h.fn,e,{value:g[e],writable:!0})}));var _=h;function y(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function w(){return Date.now()}function b(e,t){void 0===t&&(t="x");const n=u();let r,i,o;const s=function(e){const t=u();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===i?"":i)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===t&&(i=n.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=n.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function x(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function C(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function E(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(null!=r&&!C(r)){const n=Object.keys(Object(r)).filter((e=>t.indexOf(e)<0));for(let t=0,i=n.length;t<i;t+=1){const i=n[t],o=Object.getOwnPropertyDescriptor(r,i);void 0!==o&&o.enumerable&&(x(e[i])&&x(r[i])?r[i].__swiper__?e[i]=r[i]:E(e[i],r[i]):!x(e[i])&&x(r[i])?(e[i]={},r[i].__swiper__?e[i]=r[i]:E(e[i],r[i])):e[i]=r[i])}}}return e}function S(e,t,n){e.style.setProperty(t,n)}function k(e){let{swiper:t,targetPosition:n,side:r}=e;const i=u(),o=-t.translate;let s,a=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const c=n>o?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{s=(new Date).getTime(),null===a&&(a=s);const e=Math.max(Math.min((s-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let u=o+c*(n-o);if(d(u,n)&&(u=n),t.wrapperEl.scrollTo({[r]:u}),d(u,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:u})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(p)};p()}let T,M,A;function O(){return T||(T=function(){const e=u(),t=l();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),T}function L(e){return void 0===e&&(e={}),M||(M=function(e){let{userAgent:t}=void 0===e?{}:e;const n=O(),r=u(),i=r.navigator.platform,o=t||r.navigator.userAgent,s={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let d=o.match(/(iPad).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===i;let v="MacIntel"===i;return!d&&v&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(d=o.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),v=!1),c&&!h&&(s.os="android",s.android=!0),(d||f||p)&&(s.os="ios",s.ios=!0),s}(e)),M}function P(){return A||(A=function(){const e=u();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),A}var j={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];t.apply(r,o)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];"string"==typeof o[0]||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),r=e):(t=o[0].events,n=o[0].data,r=o[0].context||e),n.unshift(r);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(r,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(r,n)}))})),e}};var I={updateSize:function(){const e=this;let t,n;const r=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r[0].clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),n=n-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const r=e.params,{$wrapperEl:i,size:o,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&r.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=i.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let p=[];const f=[],h=[];let v=r.slidesOffsetBefore;"function"==typeof v&&(v=r.slidesOffsetBefore.call(e));let m=r.slidesOffsetAfter;"function"==typeof m&&(m=r.slidesOffsetAfter.call(e));const g=e.snapGrid.length,_=e.slidesGrid.length;let y=r.spaceBetween,w=-v,b=0,x=0;if(void 0===o)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*o),e.virtualSize=-y,s?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),r.centeredSlides&&r.cssMode&&(S(e.wrapperEl,"--swiper-centered-offset-before",""),S(e.wrapperEl,"--swiper-centered-offset-after",""));const C=r.grid&&r.grid.rows>1&&e.grid;let E;C&&e.grid.initSlides(d);const k="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>void 0!==r.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<d;i+=1){E=0;const s=u.eq(i);if(C&&e.grid.updateSlide(i,s,d,t),"none"!==s.css("display")){if("auto"===r.slidesPerView){k&&(u[i].style[t("width")]="");const o=getComputedStyle(s[0]),a=s[0].style.transform,l=s[0].style.webkitTransform;if(a&&(s[0].style.transform="none"),l&&(s[0].style.webkitTransform="none"),r.roundLengths)E=e.isHorizontal()?s.outerWidth(!0):s.outerHeight(!0);else{const e=n(o,"width"),t=n(o,"padding-left"),r=n(o,"padding-right"),i=n(o,"margin-left"),a=n(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)E=e+i+a;else{const{clientWidth:n,offsetWidth:o}=s[0];E=e+t+r+i+a+(o-n)}}a&&(s[0].style.transform=a),l&&(s[0].style.webkitTransform=l),r.roundLengths&&(E=Math.floor(E))}else E=(o-(r.slidesPerView-1)*y)/r.slidesPerView,r.roundLengths&&(E=Math.floor(E)),u[i]&&(u[i].style[t("width")]=`${E}px`);u[i]&&(u[i].swiperSlideSize=E),h.push(E),r.centeredSlides?(w=w+E/2+b/2+y,0===b&&0!==i&&(w=w-o/2-y),0===i&&(w=w-o/2-y),Math.abs(w)<.001&&(w=0),r.roundLengths&&(w=Math.floor(w)),x%r.slidesPerGroup==0&&p.push(w),f.push(w)):(r.roundLengths&&(w=Math.floor(w)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&p.push(w),f.push(w),w=w+E+y),e.virtualSize+=E+y,b=E,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+m,s&&a&&("slide"===r.effect||"coverflow"===r.effect)&&i.css({width:`${e.virtualSize+r.spaceBetween}px`}),r.setWrapperSize&&i.css({[t("width")]:`${e.virtualSize+r.spaceBetween}px`}),C&&e.grid.updateWrapperSize(E,p,t),!r.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let i=p[n];r.roundLengths&&(i=Math.floor(i)),p[n]<=e.virtualSize-o&&t.push(i)}p=t,Math.floor(e.virtualSize-o)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-o)}if(0===p.length&&(p=[0]),0!==r.spaceBetween){const n=e.isHorizontal()&&s?"marginLeft":t("marginRight");u.filter(((e,t)=>!r.cssMode||t!==u.length-1)).css({[n]:`${y}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween;const t=e-o;p=p.map((e=>e<0?-v:e>t?t+m:e))}if(r.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween,e<o){const t=(o-e)/2;p.forEach(((e,n)=>{p[n]=e-t})),f.forEach(((e,n)=>{f[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){S(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),S(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==_&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!(l||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.$el.hasClass(t);d<=r.maxBackfaceHiddenSlides?n||e.$el.addClass(t):n&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const s=e=>r?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||_([])).each((e=>{n.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(s(e))}else n.push(s(t.activeIndex));for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;o=e>o?e:o}(o||0===o)&&t.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:o}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;i&&(s=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<r.length;e+=1){const a=r[e];let l=a.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=r[0].swiperSlideOffset);const c=(s+(n.centeredSlides?t.minTranslate():0)-l)/(a.swiperSlideSize+n.spaceBetween),u=(s-o[0]+(n.centeredSlides?t.minTranslate():0)-l)/(a.swiperSlideSize+n.spaceBetween),d=-(s-l),p=d+t.slidesSizesGrid[e];(d>=0&&d<t.size-1||p>1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),r.eq(e).addClass(n.slideVisibleClass)),a.progress=i?-c:c,a.originalProgress=i?-u:u}t.visibleSlides=_(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s}=t;const a=o,l=s;0===r?(i=0,o=!0,s=!0):(i=(e-t.minTranslate())/r,o=i<=0,s=i>=1),Object.assign(t,{progress:i,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!a&&t.emit("reachBeginning toEdge"),s&&!l&&t.emit("reachEnd toEdge"),(a&&!o||l&&!s)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:r,activeIndex:i,realIndex:o}=e,s=e.virtual&&n.virtual.enabled;let a;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),a=s?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),a.addClass(n.slideActiveClass),n.loop&&(a.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=a.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=a.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:r,snapGrid:i,params:o,activeIndex:s,realIndex:a,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?n>=r[e]&&n<r[e+1]-(r[e+1]-r[e])/2?u=e:n>=r[e]&&n<r[e+1]&&(u=e+1):n>=r[e]&&(u=e);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(i.indexOf(n)>=0)c=i.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/o.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),u===s)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:s,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,r=_(e).closest(`.${n.slideClass}`)[0];let i,o=!1;if(r)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===r){o=!0,i=e;break}if(!r||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(_(r).attr("data-swiper-slide-index"),10):t.clickedIndex=i,n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var N={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:r,$wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let o=b(i[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,$wrapperEl:o,wrapperEl:s,progress:a}=n;let l,c=0,u=0;n.isHorizontal()?c=r?-e:e:u=e,i.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),i.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:i.virtualTranslate||o.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);const o=this,{params:s,wrapperEl:a}=o;if(o.animating&&s.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=r&&e>l?l:r&&e<c?c:e,o.updateProgress(u),s.cssMode){const e=o.isHorizontal();if(0===t)a[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return k({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;a.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}};function D(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e;const{activeIndex:o,previousIndex:s}=t;let a=r;if(a||(a=o>s?"next":o<s?"prev":"reset"),t.emit(`transition${i}`),n&&o!==s){if("reset"===a)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===a?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}var B={slideTo:function(e,t,n,r,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const o=this;let s=e;s<0&&(s=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:f,enabled:h}=o;if(o.animating&&a.preventInteractionOnTransition||!h&&!r&&!i)return!1;const v=Math.min(o.params.slidesPerGroupSkip,s);let m=v+Math.floor((s-v)/o.params.slidesPerGroup);m>=l.length&&(m=l.length-1),(d||a.initialSlide||0)===(u||0)&&n&&o.emit("beforeSlideChangeStart");const g=-l[m];if(o.updateProgress(g),a.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*g),n=Math.floor(100*c[e]),r=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<r-(r-n)/2?s=e:t>=n&&t<r&&(s=e+1):t>=n&&(s=e)}if(o.initialized&&s!==d){if(!o.allowSlideNext&&g<o.translate&&g<o.minTranslate())return!1;if(!o.allowSlidePrev&&g>o.translate&&g>o.maxTranslate()&&(d||0)!==s)return!1}let _;if(_=s>d?"next":s<d?"prev":"reset",p&&-g===o.translate||!p&&g===o.translate)return o.updateActiveIndex(s),a.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==a.effect&&o.setTranslate(g),"reset"!==_&&(o.transitionStart(n,_),o.transitionEnd(n,_)),!1;if(a.cssMode){const e=o.isHorizontal(),n=p?g:-g;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),f[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return k({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(g),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,_),0===t?o.transitionEnd(n,_):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,_))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,n,r)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const r=this,{animating:i,enabled:o,params:s}=r;if(!o)return r;let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<s.slidesPerGroupSkip?1:a;if(s.loop){if(i&&s.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const r=this,{params:i,animating:o,snapGrid:s,slidesGrid:a,rtlTranslate:l,enabled:c}=r;if(!c)return r;if(i.loop){if(o&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=u(l?r.translate:-r.translate),p=s.map((e=>u(e)));let f=s[p.indexOf(d)-1];if(void 0===f&&i.cssMode){let e;s.forEach(((t,n)=>{d>=t&&(e=n)})),void 0!==e&&(f=s[e>0?e-1:e])}let h=0;if(void 0!==f&&(h=a.indexOf(f),h<0&&(h=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(h=h-r.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return r.slideTo(h,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===r&&(r=.5);const i=this;let o=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const e=i.snapGrid[a];l-e>(i.snapGrid[a+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[a-1];l-e<=(i.snapGrid[a]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(_(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-r/2||o>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),y((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),y((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};var R={loopCreate:function(){const e=this,t=l(),{params:n,$wrapperEl:r}=e,i=r.children().length>0?_(r.children()[0].parentNode):r;i.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=i.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-o.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let r=0;r<e;r+=1){const e=_(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);i.append(e)}o=i.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>o.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const s=[],a=[];o.each(((e,t)=>{_(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/o.length)*o.length;a.push(o.eq(e)[0]),s.unshift(o.eq(o.length-e-1)[0])}for(let e=0;e<a.length;e+=1)i.append(_(a[e].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let e=s.length-1;e>=0;e-=1)i.prepend(_(s[e].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:r,allowSlidePrev:i,allowSlideNext:o,snapGrid:s,rtlTranslate:a}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-s[t]-e.getTranslate();if(t<r){l=n.length-3*r+t,l+=r;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)}else if(t>=n.length-r){l=-n.length+t+r,l+=r;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)}e.allowSlidePrev=i,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function F(e){const t=this,n=l(),r=u(),i=t.touchEventsData,{params:o,touches:s,enabled:a}=t;if(!a)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let c=e;c.originalEvent&&(c=c.originalEvent);let d=_(c.target);if("wrapper"===o.touchEventsTarget&&!d.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===c.type,!i.isTouchEvent&&"which"in c&&3===c.which)return;if(!i.isTouchEvent&&"button"in c&&c.button>0)return;if(i.isTouched&&i.isMoved)return;!!o.noSwipingClass&&""!==o.noSwipingClass&&c.target&&c.target.shadowRoot&&e.path&&e.path[0]&&(d=_(e.path[0]));const p=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!(!c.target||!c.target.shadowRoot);if(o.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===l()||n===u())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(p,d[0]):d.closest(p)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!d.closest(o.swipeHandler)[0])return;s.currentX="touchstart"===c.type?c.targetTouches[0].pageX:c.pageX,s.currentY="touchstart"===c.type?c.targetTouches[0].pageY:c.pageY;const h=s.currentX,v=s.currentY,m=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,g=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(m&&(h<=g||h>=r.innerWidth-g)){if("prevent"!==m)return;e.preventDefault()}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=h,s.startY=v,i.touchStartTime=w(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==c.type){let e=!0;d.is(i.focusableElements)&&(e=!1,"SELECT"===d[0].nodeName&&(i.isTouched=!1)),n.activeElement&&_(n.activeElement).is(i.focusableElements)&&n.activeElement!==d[0]&&n.activeElement.blur();const r=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!r||d[0].isContentEditable||c.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",c)}function $(e){const t=l(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:a}=n;if(!a)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c));if(r.isTouchEvent&&"touchmove"!==c.type)return;const u="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),d="touchmove"===c.type?u.pageX:c.pageX,p="touchmove"===c.type?u.pageY:c.pageY;if(c.preventedByNestedSwiper)return o.startX=d,void(o.startY=p);if(!n.allowTouchMove)return _(c.target).is(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),r.touchStartTime=w()));if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(p<o.startY&&n.translate<=n.maxTranslate()||p>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(d<o.startX&&n.translate<=n.maxTranslate()||d>o.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&_(c.target).is(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;o.currentX=d,o.currentY=p;const f=o.currentX-o.startX,h=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(f**2+h**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation(),r.isMoved||(i.loop&&!i.cssMode&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)),n.emit("sliderMove",c),r.isMoved=!0;let v=n.isHorizontal()?f:h;o.diff=v,v*=i.touchRatio,s&&(v=-v),n.swipeDirection=v>0?"prev":"next",r.currentTranslate=v+r.startTranslate;let m=!0,g=i.resistanceRatio;if(i.touchReleaseOnEdges&&(g=0),v>0&&r.currentTranslate>n.minTranslate()?(m=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**g)):v<0&&r.currentTranslate<n.maxTranslate()&&(m=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-v)**g)),m&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(v)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function H(e){const t=this,n=t.touchEventsData,{params:r,touches:i,rtlTranslate:o,slidesGrid:s,enabled:a}=t;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=w(),u=c-n.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=w(),y((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(t.params.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let p=0,f=t.slidesSizesGrid[0];for(let e=0;e<s.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==s[e+t]?d>=s[e]&&d<s[e+t]&&(p=e,f=s[e+t]-s[e]):d>=s[e]&&(p=e,f=s[s.length-1]-s[s.length-2])}let h=null,v=null;r.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0));const m=(d-s[p])/f,g=p<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(m>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?h:p+g):t.slideTo(p)),"prev"===t.swipeDirection&&(m>1-r.longSwipesRatio?t.slideTo(p+g):null!==v&&m<0&&Math.abs(m)>r.longSwipesRatio?t.slideTo(v):t.slideTo(p))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(p+g):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==h?h:p+g),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:p))}}function q(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function V(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function z(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let Y=!1;function W(){}const U=(e,t)=>{const n=l(),{params:r,touchEvents:i,el:o,wrapperEl:s,device:a,support:c}=e,u=!!r.nested,d="on"===t?"addEventListener":"removeEventListener",p=t;if(c.touch){const t=!("touchstart"!==i.start||!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o[d](i.start,e.onTouchStart,t),o[d](i.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:u}:u),o[d](i.end,e.onTouchEnd,t),i.cancel&&o[d](i.cancel,e.onTouchEnd,t)}else o[d](i.start,e.onTouchStart,!1),n[d](i.move,e.onTouchMove,u),n[d](i.end,e.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&o[d]("click",e.onClick,!0),r.cssMode&&s[d]("scroll",e.onScroll),r.updateOnWindowResize?e[p](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",q,!0):e[p]("observerUpdate",q,!0)};var X={attachEvents:function(){const e=this,t=l(),{params:n,support:r}=e;e.onTouchStart=F.bind(e),e.onTouchMove=$.bind(e),e.onTouchEnd=H.bind(e),n.cssMode&&(e.onScroll=z.bind(e)),e.onClick=V.bind(e),r.touch&&!Y&&(t.addEventListener("touchstart",W),Y=!0),U(e,"on")},detachEvents:function(){U(this,"off")}};const G=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Z={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:r=0,params:i,$el:o}=e,s=i.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const a=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const l=(a in s?s[a]:void 0)||e.originalParams,c=G(e,i),u=G(e,l),d=i.enabled;c&&!u?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(o.addClass(`${i.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const n=i[t]&&i[t].enabled,r=l[t]&&l[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()}));const p=l.direction&&l.direction!==i.direction,f=i.loop&&(l.slidesPerView!==i.slidesPerView||p);p&&n&&e.changeDirection(),E(e.params,l);const h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!h?e.disable():!d&&h&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",l),f&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1;const i=u(),o="window"===t?i.innerHeight:n.clientHeight,s=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));s.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<s.length;e+=1){const{point:o,value:a}=s[e];"window"===t?i.matchMedia(`(min-width: ${a}px)`).matches&&(r=o):a<=n.clientWidth&&(r=o)}return r||"max"}};var K={addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,$el:i,device:o,support:s}=e,a=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!s.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};var J={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Q(e,t){return function(n){void 0===n&&(n={});const r=Object.keys(n)[0],i=n[r];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in i?(!0===e[r]&&(e[r]={enabled:!0}),"object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),E(t,n)):E(t,n)):E(t,n)}}const ee={eventsEmitter:j,update:I,translate:N,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),D({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),D({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:B,loop:R,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:X,breakpoints:Z,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:K,images:{loadImage:function(e,t,n,r,i,o){const s=u();let a;function l(){o&&o()}_(e).parent("picture")[0]||e.complete&&i?l():t?(a=new s.Image,a.onload=l,a.onerror=l,r&&(a.sizes=r),n&&(a.srcset=n),t&&(a.src=t)):l()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}}},te={};class ne{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];if(1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=E({},t),e&&!t.el&&(t.el=e),t.el&&_(t.el).length>1){const e=[];return _(t.el).each((n=>{const r=E({},t,{el:n});e.push(new ne(r))})),e}const o=this;o.__swiper__=!0,o.support=O(),o.device=L({userAgent:t.userAgent}),o.browser=P(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const s={};o.modules.forEach((e=>{e({swiper:o,extendParams:Q(t,s),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const a=E({},J,s);return o.params=E({},a,te,t),o.originalParams=E({},o.params),o.passedParams=E({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=_,Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:_(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===o.params.direction},isVertical(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return o.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},o.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:w(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:s,activeIndex:a}=this;let l=1;if(n.centeredSlides){let e,t=r[a].swiperSlideSize;for(let n=a+1;n<r.length;n+=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>s&&(e=!0));for(let n=a-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>s&&(e=!0))}else if("current"===e)for(let e=a+1;e<r.length;e+=1){(t?i[e]+o[e]-i[a]<s:i[e]-i[a]<s)&&(l+=1)}else for(let e=a-1;e>=0;e-=1){i[a]-i[e]<s&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(r(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||r()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${r}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const n=_(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=_(e.shadowRoot.querySelector(r()));return t.children=e=>n.children(e),t}return n.children?n.children(r()):_(n).children(r())})();if(0===i.length&&t.params.createElements){const e=l().createElement("div");i=_(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:r,$el:i,$wrapperEl:o,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),s&&s.length&&s.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){E(te,e)}static get extendedDefaults(){return te}static get defaults(){return J}static installModule(e){ne.prototype.__modules__||(ne.prototype.__modules__=[]);const t=ne.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>ne.installModule(e))),ne):(ne.installModule(e),ne)}}Object.keys(ee).forEach((e=>{Object.keys(ee[e]).forEach((t=>{ne.prototype[t]=ee[e][t]}))})),ne.use([function(e){let{swiper:t,on:n,emit:r}=e;const i=u();let o=null,s=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(()=>{t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver((e=>{s=i.requestAnimationFrame((()=>{const{width:n,height:r}=t;let i=n,o=r;e.forEach((e=>{let{contentBoxSize:n,contentRect:r,target:s}=e;s&&s!==t.el||(i=r?r.width:(n[0]||n).inlineSize,o=r?r.height:(n[0]||n).blockSize)})),i===n&&o===r||a()}))})),o.observe(t.el)):(i.addEventListener("resize",a),i.addEventListener("orientationchange",l))})),n("destroy",(()=>{s&&i.cancelAnimationFrame(s),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o=[],s=u(),a=function(e,t){void 0===t&&(t={});const n=new(s.MutationObserver||s.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),o.push(n)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t<e.length;t+=1)a(e[t])}a(t.$el[0],{childList:t.params.observeSlideChildren}),a(t.$wrapperEl[0],{attributes:!1})}})),r("destroy",(()=>{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}]);var re=ne;var ie,oe,se=n("./src/js/utils.ts");e=n.hmd(e),re.use([function(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;function o(e){let n;return e&&(n=_(e),t.params.uniqueNavElements&&"string"==typeof e&&n.length>1&&1===t.$el.find(e).length&&(n=t.$el.find(e))),n}function s(e,n){const r=t.params.navigation;e&&e.length>0&&(e[n?"addClass":"removeClass"](r.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=n),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](r.lockClass))}function a(){if(t.params.loop)return;const{$nextEl:e,$prevEl:n}=t.navigation;s(n,t.isBeginning&&!t.params.rewind),s(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function d(){const e=t.params.navigation;if(t.params.navigation=function(e,t,n,r){const i=l();return e.params.createElements&&Object.keys(r).forEach((o=>{if(!n[o]&&!0===n.auto){let s=e.$el.children(`.${r[o]}`)[0];s||(s=i.createElement("div"),s.className=r[o],e.$el.append(s)),n[o]=s,t[o]=s}})),n}(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const n=o(e.nextEl),r=o(e.prevEl);n&&n.length>0&&n.on("click",u),r&&r.length>0&&r.on("click",c),Object.assign(t.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:r,prevEl:r&&r[0]}),t.enabled||(n&&n.addClass(e.lockClass),r&&r.addClass(e.lockClass))}function p(){const{$nextEl:e,$prevEl:n}=t.navigation;e&&e.length&&(e.off("click",u),e.removeClass(t.params.navigation.disabledClass)),n&&n.length&&(n.off("click",c),n.removeClass(t.params.navigation.disabledClass))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},r("init",(()=>{!1===t.params.navigation.enabled?f():(d(),a())})),r("toEdge fromEdge lock unlock",(()=>{a()})),r("destroy",(()=>{p()})),r("enable disable",(()=>{const{$nextEl:e,$prevEl:n}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),n&&n[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),r("click",((e,n)=>{const{$nextEl:r,$prevEl:o}=t.navigation,s=n.target;if(t.params.navigation.hideOnClick&&!_(s).is(o)&&!_(s).is(r)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;let e;r?e=r.hasClass(t.params.navigation.hiddenClass):o&&(e=o.hasClass(t.params.navigation.hiddenClass)),i(!0===e?"navigationShow":"navigationHide"),r&&r.toggleClass(t.params.navigation.hiddenClass),o&&o.toggleClass(t.params.navigation.hiddenClass)}}));const f=()=>{t.$el.addClass(t.params.navigation.navigationDisabledClass),p()};Object.assign(t.navigation,{enable:()=>{t.$el.removeClass(t.params.navigation.navigationDisabledClass),d(),a()},disable:f,update:a,init:d,destroy:p})}]),function(e){e[e.AND=1]="AND",e[e.OR=2]="OR",e[e.EXCLUSIVE=3]="EXCLUSIVE"}(oe||(oe={}));var ae,le=oe.EXCLUSIVE,ce="ep-home__featured--hidden",ue=(new Set,new Set),de=null,pe=null,fe=se.Z.getParamsFromWindowHash(),he=function(e){return new Set(e.map((function(e){return e.item.node})))},ve=function(){var e=document.querySelector(".home .ep-search__query__text");e&&e.addEventListener("keyup",(function(e){ge(we()),function(){var e,t=document.querySelector(".ep-search__actions__start"),n=null===(e=document.querySelector(".ep-search__query__text").value)||void 0===e?void 0:e.trim();(null==n?void 0:n.length)>0?null==t||t.classList.add("ep-search__actions__start--active"):null==t||t.classList.remove("ep-search__actions__start--active")}()}));for(var t=document.querySelectorAll(".ep-home__classification__item > input"),n=0;n<t.length;n++)t[n].addEventListener("change",(function(e){be(e)}))},me=function(e){var t=se.Z.getParamsFromWindowHash();ue="object"!=typeof t.c?void 0!==t.c?new Set([t.c]):new Set:new Set(t.c),ye(ue),ge(we())},ge=function(e){var t,n=[],r=[],i=he(e);i.forEach((function(e){de.has(e)||n.push(e)})),de.forEach((function(e){i.has(e)||r.push(e)}));for(var o=0;o<n.length;o++)n[o].setAttribute("style","");for(o=0;o<r.length;o++)r[o].setAttribute("style","display:none");de=i;var s=document.querySelector(".ep-home__featured"),a="";if(de.size==pe.length||0===ue.size)se.Z.removeClass(s,ce),a=(window.t||{}).homeAllJournals;else{var l=0;ue.forEach((function(e){var t;a+=null===(t=document.querySelector('label[for="ep-home__classification--'+e+'"] > .ep-home__classification__title'))||void 0===t?void 0:t.textContent,l++<ue.size-1&&(a+=" + ")}))}de.size!==pe.length&&se.Z.addClass(s,ce);var c=null===(t=document.querySelector(".ep-search__query__text").value)||void 0===t?void 0:t.trim();c&&(a+=": ".concat(c)),a+='<span class="ep-home__main__title-count>'.concat(de.size,"</span>"),document.querySelector(".ep-home__main__actions > h2").innerHTML=a;var u=document.querySelector(".ep-home__no-results");0===(null==de?void 0:de.size)?u.classList.remove("ep-home__no-results--hidden"):u.classList.add("ep-home__no-results--hidden")},_e=function(e){var t,n,r,i,o,s,a,l;"text"==e.target.value?(null===(n=null===(t=document.querySelector(".ep-home__journals"))||void 0===t?void 0:t.classList)||void 0===n||n.remove("ep-home__journals--thumbs"),null===(i=null===(r=document.querySelector(".ep-home__journals"))||void 0===r?void 0:r.classList)||void 0===i||i.add("ep-home__journals--text")):(null===(s=null===(o=document.querySelector(".ep-home__journals"))||void 0===o?void 0:o.classList)||void 0===s||s.remove("ep-home__journals--text"),null===(l=null===(a=document.querySelector(".ep-home__journals"))||void 0===a?void 0:a.classList)||void 0===l||l.add("ep-home__journals--thumbs"))},ye=function(e){for(var t=0;t<=9;t++){var n=document.getElementById("ep-class-filter--".concat(100*t));n&&e.has(100*t)?n.querySelector("input").checked=!0:n&&(n.querySelector("input").checked=!1)}},we=function(){var e=document.querySelector(".ep-search__query__text");se.Z.updateInputValue(e,se.Z.replaceSpecialChars(e.value));var t=e.value.trim();if(0===ue.size&&0===t.length)return pe;var n={$and:[]};if(t.length>0&&n.$and.push({title:t}),ue.size>0){var i=(0,r.ev)([],Array.from(ue),!0).map((function(e){return{classes:"^".concat(e)}}));n.$and.push({$or:i})}return ae.search(n)},be=function(e){var t=+e.target.value;if(void 0!==t&&(ue.has(t)?ue.delete(t):(le===oe.EXCLUSIVE&&ue.clear(),ue.add(t))),se.Z.updateWindowHash((0,r.pi)((0,r.pi)({},se.Z.getParamsFromWindowHash()),{c:(0,r.ev)([],Array.from(ue),!0)})),ue.size>0){var n=Array.from(ue).map((function(e){return"col/".concat(e>0?e:"000")})).join(",");document.getElementById("ep-search__query__facet").setAttribute("value",n)}},xe=function(e){document.documentElement.classList.contains("ep-page--home")&&(function(){var e={caseSensitive:!1,includeScore:!1,shouldSort:!1,useExtendedSearch:!0,threshold:.2,location:0,distance:500,maxPatternLength:128,matchAllTokens:!0,includeMatches:!0,tokenize:!0,keys:["title","classes"],id:"id"},t=[],n=document.querySelectorAll(".ep-home__journal ");n.length,performance.now(),n.forEach((function(e){var n=e.getAttribute("id");n&&t.push({id:n,title:e.querySelector(".ep-home__journal__title").textContent,classes:e.getAttribute("data-ep-cls").split(","),node:e})})),pe=t.map((function(e){return{item:e}}));var r=i.Z.createIndex(e.keys,t);ae=new i.Z(t,e,r),de=he(we())}(),window.location.hash.length>1&&me(),window.addEventListener("hashchange",me),function(){for(var e,t=document.querySelectorAll('input[name="ep-home__display-mode__radio"]'),n=0;n<t.length;n++)t[n].addEventListener("change",_e);var i=function(e){var t=document.querySelector("input.ep-home__display-mode--text").checked;se.Z.updateWindowHash((0,r.pi)((0,r.pi)({},se.Z.getParamsFromWindowHash()),{view:t?"text":null}))},o=document.querySelectorAll("input.ep-home__display-mode--text,input.ep-home__display-mode--thumbnails");for(n=0;n<o.length;n++)o[n].addEventListener("change",i);"text"==(null==fe?void 0:fe.view)&&(null===(e=document.querySelector(".ep-home__display-mode--text"))||void 0===e||e.click())}(),ve(),function(){var e=".ep-home__classification",t=document.querySelector("".concat(e," .swiper-container"));if(t){var n={direction:"horizontal",slidesPerView:"auto",spaceBetween:0,freeMode:!1,grabCursor:!0,uniqueNavElements:!0,roundLengths:!0,centeredSlides:!0,watchOverflow:!0,keyboard:{enabled:!0,onlyInViewport:!0},mousewheel:!1,breakpoints:{320:{centeredSlides:!1,freeMode:!0},1100:{centeredSlides:!1,freeMode:!1,simulateTouch:!0}},navigation:{nextEl:document.querySelector("".concat(e," .ep-home__classification__next")),prevEl:document.querySelector("".concat(e," .ep-home__classification__prev"))}};new re(t,n)}var r=".ep-home__featured",i=document.querySelector("".concat(r," .swiper-container"));i&&(n={slidesPerView:"auto",spaceBetween:0,direction:"horizontal",freeMode:!1,grabCursor:!0,uniqueNavElements:!0,roundLengths:!0,centeredSlides:!1,watchOverflow:!0,keyboard:{enabled:!0,onlyInViewport:!0},mousewheel:!1,updateOnWindowResize:!0,breakpoints:{320:{centeredSlides:!1,freeMode:!0},1100:{centeredSlides:!1,freeMode:!1,simulateTouch:!0}},navigation:{nextEl:document.querySelector("".concat(r," .ep-home__featured__next")),prevEl:document.querySelector("".concat(r," .ep-home__featured__prev"))}},new re(i,n))}())};null===(ie=e.hot)||void 0===ie||ie.dispose((function(){}))},"./src/js/lib/cart.ts":function(e,t,n){"use strict";n.d(t,{H_:function(){return i},Hz:function(){return o},ru:function(){return r}});var r=function(e){var t={items:[{pid:e.pid}]};return fetch("/cart",{headers:{Accept:"application/json","Content-Type":"application/json"},method:"PUT",body:JSON.stringify(t)})},i=function(e){return fetch("/cart/order",{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify(e)})},o=function(e){fetch("/cart").then((function(e){return e.json()})).then((function(t){var n;e(null!==(n=t.items)&&void 0!==n?n:[])}))}},"./src/js/utils.ts":function(e,t,n){"use strict";var r=n("./node_modules/tslib/tslib.es6.js"),i=n("./node_modules/query-string/index.js"),o={baseUrl:"",getPidFromUrl:function(e){return e.replace(/.*pid=(.*?)/,"$1")},getPartFromUri:function(e){return e.replace(/.*::(.*)$/,"$1")},replacePid:function(e,t){return e.match(/::/)?e.replace(/(.*::)(.*?)$/,"$1"+t):e+"::"+t},getURLParameter:function(e){return decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[null,""])[1].replace(/\+/g,"%20"))||null},flatten:function(e){for(var t;(t=e.findIndex((function(e){return Array.isArray(e)})))>-1;)e.splice.apply(e,(0,r.ev)([t,1],e[t],!1));return e},simulateClick:function(e){var t=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});return e.dispatchEvent(t)},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},removeClass:function(e,t){var n;e.classList?(n=e.classList).remove.apply(n,t.split(" ")):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")},removeAllChildren:function(e){for(;e.hasChildNodes();)e.removeChild(e.firstChild)},toggleClass:function(e,t){if(e.classList)e.classList.toggle(t);else{var n=e.className.split(" "),r=n.indexOf(t);r>=0?n.splice(r,1):n.push(t),e.className=n.join(" ")}},hasClass:function(e,t){return new RegExp("(^| )"+t+"( |$)").test(e.classList)},closest:function(e,t){var n,r;if(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some((function(e){return"function"==typeof document.body[e]&&(n=e,!0)})),e[n](t))return e;for(;e;){if((r=e.parentElement)&&r[n](t))return r;e=r}return null},golden:function(e){return e*(.5*(3-Math.sqrt(5)))},navigate:function(e,t,n){return e.ctrlKey||e.metaKey||n?(n=n||"_blank",!1):(document.location.href=t,!1)},testFullscreenSupport:function(){return document.exitFullscreen||["webkit","ms","moz",""].filter((function(e){if(document[e+"ExitFullscreen"]||document[e+"ExitFullScreen"]||document[e+"CancelFullScreen"])return e})).length>0},isTouchDevice:function(){return"ontouchstart"in document.documentElement},replaceSpecialChars:function(e){var t,n,r,i,o,s,a,l,c,u,d,p,f;return null===(f=null===(p=null===(d=null===(u=null===(c=null===(l=null===(a=null===(s=null===(o=null===(i=null===(r=null===(n=null===(t=null==e?void 0:e.replace("‘","'"))||void 0===t?void 0:t.replace("’","'"))||void 0===n?void 0:n.replace("‚","'"))||void 0===r?void 0:r.replace("’","'"))||void 0===i?void 0:i.replace("‹","'"))||void 0===o?void 0:o.replace("›","'"))||void 0===s?void 0:s.replace("“",'"'))||void 0===a?void 0:a.replace("”",'"'))||void 0===l?void 0:l.replace("„",'"'))||void 0===c?void 0:c.replace("«",'"'))||void 0===u?void 0:u.replace("»",'"'))||void 0===d?void 0:d.replace("—","-"))||void 0===p?void 0:p.replace("«","?"))||void 0===f?void 0:f.replace("¡","!")},updateInputValue:function(e,t){var n=e.selectionStart,r=e.selectionEnd;e.value=t,e.setSelectionRange(n,r)},getParamsFromWindowHash:function(){return i.parse(window.location.hash.substr(1),{arrayFormat:"comma",parseNumbers:!0})},updateWindowHash:function(e){window.location.hash=i.stringify(e,{arrayFormat:"comma",encode:!0,skipNull:!0})},matomoTrackCustomDimension:function(e,t){window._paq&&window._paq.push(["setCustomDimension",e,t])},matomoTrackEvent:function(e,t,n,r){var i,o,s,a,l,c,u,d;void 0===e&&(e="Content"),void 0===t&&(t="Copy fulltext"),null===(i=window._paq)||void 0===i||i.push(["setCustomDimension",null!==(s=null===(o=window.epdata)||void 0===o?void 0:o.matomoCdJournalTitle)&&void 0!==s?s:1,null===(a=window.epdata)||void 0===a?void 0:a.journalTitleShort]),null===(l=window._paq)||void 0===l||l.push(["setCustomDimension",null!==(u=null===(c=window.epdata)||void 0===c?void 0:c.matomoCdJournalPrefix)&&void 0!==u?u:2,null===(d=window.epdata)||void 0===d?void 0:d.journalPrefix]),window._paq&&window._paq.push(["trackEvent",e,t,n,r])},matomoTrackLink:function(e,t,n,r,i){void 0===i&&(i="");for(var s=0,a=Object.entries(null!=n?n:{});s<a.length;s++){var l=a[s],c=l[0],u=l[1];window._paq.push(["setCustomDimension",+c.replace("dimension",""),u])}if(!e&&r.target){var d=o.closest(r.target,"a".concat(i));e=null==d?void 0:d.getAttribute("href")}var p;e&&(e=(null==(p=e)?void 0:p.match(/^https?/))?p:document.location.protocol+"//"+document.location.host+((null==p?void 0:p.match(/^\//))?p:document.location.pathname+"/"+p),window._paq&&window._paq.push(["trackLink",e,t]))}};t.Z=o},"./node_modules/tslib/tslib.es6.js":function(e,t,n){"use strict";n.d(t,{Jh:function(){return a},ZT:function(){return i},ev:function(){return l},mG:function(){return s},pi:function(){return o}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function s(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}Object.create;function l(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=i,s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},s.d(i,o),i},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,n){return s.f[n](e,t),t}),[]))},s.u=function(e){return"js/"+e+"."+{nouislider:"54e6651e",choices:"d39c9bbd",openseadragon:"c31c1b80","vendors-node_modules_react-uid_dist_es2015_hooks_js-node_modules_react-hook-form_dist_index_esm_mjs":"a135dd4a",cart:"b1f6313b"}[e]+".js"},s.miniCssF=function(e){},s.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="eperiodica-theme:",s.l=function(e,t,i,o){if(n[e])n[e].push(t);else{var a,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+i){a=d;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",r+i),a.src=e),n[e]=[t];var p=function(t,r){a.onerror=a.onload=null,clearTimeout(f);var i=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((function(e){return e(r)})),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),l&&document.head.appendChild(a)}},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="/dist/",function(){var e={"js/main":0};s.f.j=function(t,n){var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,i){r=e[t]=[n,i]}));n.push(r[2]=i);var o=s.p+s.u(t),a=new Error;s.l(o,(function(n){if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}}),"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],a=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(l)l(s)}for(t&&t(n);c<o.length;c++)i=o[c],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkeperiodica_theme=self.webpackChunkeperiodica_theme||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var a={};!function(){"use strict";s.d(a,{Z:function(){return fo},Hy:function(){return uo},S6:function(){return po}});var e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==e&&e,t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,r="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,o="ArrayBuffer"in e;if(o)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&l.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function v(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=v(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(e){var n;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:t&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():o&&r&&((n=e)&&DataView.prototype.isPrototypeOf(n))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=h(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(m)}),this.text=function(){var e,t,n,r=h(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=v(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=u(e),t=d(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[u(e)]},f.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},f.prototype.set=function(e,t){this.map[u(e)]=d(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},n&&(f.prototype[Symbol.iterator]=f.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),y.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},_.call(w.prototype),_.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];x.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})};var E=e.DOMException;try{new E}catch(e){(E=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),E.prototype.constructor=E}function S(t,n){return new Promise((function(i,s){var a=new w(t,n);if(a.signal&&a.signal.aborted)return s(new E("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var e,t,n={status:l.status,statusText:l.statusText,headers:(e=l.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};n.url="responseURL"in l?l.responseURL:n.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;setTimeout((function(){i(new x(r,n))}),0)},l.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},l.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},l.onabort=function(){setTimeout((function(){s(new E("Aborted","AbortError"))}),0)},l.open(a.method,function(t){try{return""===t&&e.location.href?e.location.href:t}catch(e){return t}}(a.url),!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&(r?l.responseType="blob":o&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(l.responseType="arraybuffer")),!n||"object"!=typeof n.headers||n.headers instanceof f?a.headers.forEach((function(e,t){l.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){l.setRequestHeader(e,d(n.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=f,e.Request=w,e.Response=x);s("./node_modules/element-closest-polyfill/index.js");var k=s("./src/js/utils.ts"),T=function(e){for(var t=e.getAttribute("data-accordion-toggle")||"ep-accordion__toggle",n=e.querySelectorAll(".".concat(t)),r=function(e){e.preventDefault();var t=e.currentTarget,n=document.getElementById(t.getAttribute("aria-controls"));n.style.cssText="",setTimeout((function(){"true"===t.getAttribute("aria-expanded")?(t.setAttribute("aria-expanded","false"),n.setAttribute("aria-hidden","true"),k.Z.addClass(n,"ep-accordion__content--collapsed"),k.Z.addClass(t,"ep-accordion__toggle--collapsed")):(t.setAttribute("aria-expanded","true"),n.setAttribute("aria-hidden","false"),k.Z.removeClass(n,"ep-accordion__content--collapsed"),k.Z.removeClass(t,"ep-accordion__toggle--collapsed"))}),0)},i=0;i<n.length;i++)n[i].removeEventListener("click",r),n[i].addEventListener("click",r)};document.addEventListener("DOMContentLoaded",(function(e){for(var t=document.querySelectorAll(".ep-accordion"),n=0;n<t.length;n++)T(t[n])}));var M=s("./src/js/home.ts"),A={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},O={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},L=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],P={CSS:{},springs:{}};function j(e,t,n){return Math.min(Math.max(e,t),n)}function I(e,t){return e.indexOf(t)>-1}function N(e,t){return e.apply(null,t)}var D={arr:function(e){return Array.isArray(e)},obj:function(e){return I(Object.prototype.toString.call(e),"Object")},pth:function(e){return D.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||D.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return D.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return D.hex(e)||D.rgb(e)||D.hsl(e)},key:function(e){return!A.hasOwnProperty(e)&&!O.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function B(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function R(e,t){var n=B(e),r=j(D.und(n[0])?1:n[0],.1,100),i=j(D.und(n[1])?100:n[1],.1,100),o=j(D.und(n[2])?10:n[2],.1,100),s=j(D.und(n[3])?0:n[3],.1,100),a=Math.sqrt(i/r),l=o/(2*Math.sqrt(i*r)),c=l<1?a*Math.sqrt(1-l*l):0,u=l<1?(l*a-s)/c:-s+a;function d(e){var n=t?t*e/1e3:e;return n=l<1?Math.exp(-n*l*a)*(1*Math.cos(c*n)+u*Math.sin(c*n)):(1+u*n)*Math.exp(-n*a),0===e||1===e?e:1-n}return t?d:function(){var t=P.springs[e];if(t)return t;for(var n=1/6,r=0,i=0;;)if(1===d(r+=n)){if(++i>=16)break}else i=0;var o=r*n*1e3;return P.springs[e]=o,o}}function F(e){return void 0===e&&(e=10),function(t){return Math.ceil(j(t,1e-6,1)*e)*(1/e)}}var $,H,q=function(){var e=.1;function t(e,t){return 1-3*t+3*e}function n(e,t){return 3*t-6*e}function r(e){return 3*e}function i(e,i,o){return((t(i,o)*e+n(i,o))*e+r(i))*e}function o(e,i,o){return 3*t(i,o)*e*e+2*n(i,o)*e+r(i)}return function(t,n,r,s){if(0<=t&&t<=1&&0<=r&&r<=1){var a=new Float32Array(11);if(t!==n||r!==s)for(var l=0;l<11;++l)a[l]=i(l*e,t,r);return function(e){return t===n&&r===s||0===e||1===e?e:i(c(e),n,s)}}function c(n){for(var s=0,l=1;10!==l&&a[l]<=n;++l)s+=e;--l;var c=s+(n-a[l])/(a[l+1]-a[l])*e,u=o(c,t,r);return u>=.001?function(e,t,n,r){for(var s=0;s<4;++s){var a=o(t,n,r);if(0===a)return t;t-=(i(t,n,r)-e)/a}return t}(n,c,t,r):0===u?c:function(e,t,n,r,o){var s,a,l=0;do{(s=i(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(s)>1e-7&&++l<10);return a}(n,s,s+e,t,r)}}}(),V=($={linear:function(){return function(e){return e}}},H={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var n=j(e,1,10),r=j(t,.1,2);return function(e){return 0===e||1===e?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){H[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(H).forEach((function(e){var t=H[e];$["easeIn"+e]=t,$["easeOut"+e]=function(e,n){return function(r){return 1-t(e,n)(1-r)}},$["easeInOut"+e]=function(e,n){return function(r){return r<.5?t(e,n)(2*r)/2:1-t(e,n)(-2*r+2)/2}},$["easeOutIn"+e]=function(e,n){return function(r){return r<.5?(1-t(e,n)(1-2*r))/2:(t(e,n)(2*r-1)+1)/2}}})),$);function z(e,t){if(D.fnc(e))return e;var n=e.split("(")[0],r=V[n],i=B(e);switch(n){case"spring":return R(e,t);case"cubicBezier":return N(q,i);case"steps":return N(F,i);default:return N(r,i)}}function Y(e){try{return document.querySelectorAll(e)}catch(e){return}}function W(e,t){for(var n=e.length,r=arguments.length>=2?arguments[1]:void 0,i=[],o=0;o<n;o++)if(o in e){var s=e[o];t.call(r,s,o,e)&&i.push(s)}return i}function U(e){return e.reduce((function(e,t){return e.concat(D.arr(t)?U(t):t)}),[])}function X(e){return D.arr(e)?e:(D.str(e)&&(e=Y(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function G(e,t){return e.some((function(e){return e===t}))}function Z(e){var t={};for(var n in e)t[n]=e[n];return t}function K(e,t){var n=Z(e);for(var r in e)n[r]=t.hasOwnProperty(r)?t[r]:e[r];return n}function J(e,t){var n=Z(e);for(var r in t)n[r]=D.und(e[r])?t[r]:e[r];return n}function Q(e){return D.rgb(e)?(n=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t=e))?"rgba("+n[1]+",1)":t:D.hex(e)?function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+parseInt(n[1],16)+","+parseInt(n[2],16)+","+parseInt(n[3],16)+",1)"}(e):D.hsl(e)?function(e){var t,n,r,i=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),o=parseInt(i[1],10)/360,s=parseInt(i[2],10)/100,a=parseInt(i[3],10)/100,l=i[4]||1;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0==s)t=n=r=a;else{var u=a<.5?a*(1+s):a+s-a*s,d=2*a-u;t=c(d,u,o+1/3),n=c(d,u,o),r=c(d,u,o-1/3)}return"rgba("+255*t+","+255*n+","+255*r+","+l+")"}(e):void 0;var t,n}function ee(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function te(e,t){return D.fnc(e)?e(t.target,t.id,t.total):e}function ne(e,t){return e.getAttribute(t)}function re(e,t,n){if(G([n,"deg","rad","turn"],ee(t)))return t;var r=P.CSS[t+n];if(!D.und(r))return r;var i=document.createElement(e.tagName),o=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;o.appendChild(i),i.style.position="absolute",i.style.width=100+n;var s=100/i.offsetWidth;o.removeChild(i);var a=s*parseFloat(t);return P.CSS[t+n]=a,a}function ie(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?re(e,i,n):i}}function oe(e,t){return D.dom(e)&&!D.inp(e)&&(!D.nil(ne(e,t))||D.svg(e)&&e[t])?"attribute":D.dom(e)&&G(L,t)?"transform":D.dom(e)&&"transform"!==t&&ie(e,t)?"css":null!=e[t]?"object":void 0}function se(e){if(D.dom(e)){for(var t,n=e.style.transform||"",r=/(\w+)\(([^)]*)\)/g,i=new Map;t=r.exec(n);)i.set(t[1],t[2]);return i}}function ae(e,t,n,r){var i=I(t,"scale")?1:0+function(e){return I(e,"translate")||"perspective"===e?"px":I(e,"rotate")||I(e,"skew")?"deg":void 0}(t),o=se(e).get(t)||i;return n&&(n.transforms.list.set(t,o),n.transforms.last=t),r?re(e,o,r):o}function le(e,t,n,r){switch(oe(e,t)){case"transform":return ae(e,t,r,n);case"css":return ie(e,t,n);case"attribute":return ne(e,t);default:return e[t]||0}}function ce(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=ee(e)||0,i=parseFloat(t),o=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return i+o+r;case"-":return i-o+r;case"*":return i*o+r}}function ue(e,t){if(D.col(e))return Q(e);if(/\s/g.test(e))return e;var n=ee(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function de(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function pe(e){for(var t,n=e.points,r=0,i=0;i<n.numberOfItems;i++){var o=n.getItem(i);i>0&&(r+=de(t,o)),t=o}return r}function fe(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*ne(e,"r")}(e);case"rect":return function(e){return 2*ne(e,"width")+2*ne(e,"height")}(e);case"line":return function(e){return de({x:ne(e,"x1"),y:ne(e,"y1")},{x:ne(e,"x2"),y:ne(e,"y2")})}(e);case"polyline":return pe(e);case"polygon":return function(e){var t=e.points;return pe(e)+de(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function he(e,t){var n=t||{},r=n.el||function(e){for(var t=e.parentNode;D.svg(t)&&D.svg(t.parentNode);)t=t.parentNode;return t}(e),i=r.getBoundingClientRect(),o=ne(r,"viewBox"),s=i.width,a=i.height,l=n.viewBox||(o?o.split(" "):[0,0,s,a]);return{el:r,viewBox:l,x:l[0]/1,y:l[1]/1,w:s,h:a,vW:l[2],vH:l[3]}}function ve(e,t,n){function r(n){void 0===n&&(n=0);var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var i=he(e.el,e.svg),o=r(),s=r(-1),a=r(1),l=n?1:i.w/i.vW,c=n?1:i.h/i.vH;switch(e.property){case"x":return(o.x-i.x)*l;case"y":return(o.y-i.y)*c;case"angle":return 180*Math.atan2(a.y-s.y,a.x-s.x)/Math.PI}}function me(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=ue(D.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:D.str(e)||t?r.split(n):[]}}function ge(e){return W(e?U(D.arr(e)?e.map(X):X(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function _e(e){var t=ge(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:se(e)}}}))}function ye(e,t){var n=Z(t);if(/^spring/.test(n.easing)&&(n.duration=R(n.easing)),D.arr(e)){var r=e.length;2===r&&!D.obj(e[0])?e={value:e}:D.fnc(t.duration)||(n.duration=t.duration/r)}var i=D.arr(e)?e:[e];return i.map((function(e,n){var r=D.obj(e)&&!D.pth(e)?e:{value:e};return D.und(r.delay)&&(r.delay=n?0:t.delay),D.und(r.endDelay)&&(r.endDelay=n===i.length-1?t.endDelay:0),r})).map((function(e){return J(e,n)}))}function we(e,t){var n=[],r=t.keyframes;for(var i in r&&(t=J(function(e){for(var t=W(U(e.map((function(e){return Object.keys(e)}))),(function(e){return D.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),n={},r=function(r){var i=t[r];n[i]=e.map((function(e){var t={};for(var n in e)D.key(n)?n==i&&(t.value=e[n]):t[n]=e[n];return t}))},i=0;i<t.length;i++)r(i);return n}(r),t)),t)D.key(i)&&n.push({name:i,tweens:ye(t[i],e)});return n}function be(e,t){var n;return e.tweens.map((function(r){var i=function(e,t){var n={};for(var r in e){var i=te(e[r],t);D.arr(i)&&(i=i.map((function(e){return te(e,t)})),1===i.length&&(i=i[0])),n[r]=i}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}(r,t),o=i.value,s=D.arr(o)?o[1]:o,a=ee(s),l=le(t.target,e.name,a,t),c=n?n.to.original:l,u=D.arr(o)?o[0]:c,d=ee(u)||ee(l),p=a||d;return D.und(s)&&(s=c),i.from=me(u,p),i.to=me(ce(s,u),p),i.start=n?n.end:0,i.end=i.start+i.delay+i.duration+i.endDelay,i.easing=z(i.easing,i.duration),i.isPath=D.pth(o),i.isPathTargetInsideSVG=i.isPath&&D.svg(t.target),i.isColor=D.col(i.from.original),i.isColor&&(i.round=1),n=i,i}))}var xe={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,i){if(r.list.set(t,n),t===r.last||i){var o="";r.list.forEach((function(e,t){o+=t+"("+e+") "})),e.style.transform=o}}};function Ce(e,t){_e(e).forEach((function(e){for(var n in t){var r=te(t[n],e),i=e.target,o=ee(r),s=le(i,n,o,e),a=ce(ue(r,o||ee(s)),s),l=oe(i,n);xe[l](i,n,a,e.transforms,!0)}}))}function Ee(e,t){return W(U(e.map((function(e){return t.map((function(t){return function(e,t){var n=oe(e.target,t.name);if(n){var r=be(t,e),i=r[r.length-1];return{type:n,property:t.name,animatable:e,tweens:r,duration:i.end,delay:r[0].delay,endDelay:i.endDelay}}}(e,t)}))}))),(function(e){return!D.und(e)}))}function Se(e,t){var n=e.length,r=function(e){return e.timelineOffset?e.timelineOffset:0},i={};return i.duration=n?Math.max.apply(Math,e.map((function(e){return r(e)+e.duration}))):t.duration,i.delay=n?Math.min.apply(Math,e.map((function(e){return r(e)+e.delay}))):t.delay,i.endDelay=n?i.duration-Math.max.apply(Math,e.map((function(e){return r(e)+e.duration-e.endDelay}))):t.endDelay,i}var ke=0;var Te=[],Me=function(){var e;function t(n){for(var r=Te.length,i=0;i<r;){var o=Te[i];o.paused?(Te.splice(i,1),r--):(o.tick(n),i++)}e=i>0?requestAnimationFrame(t):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){Oe.suspendWhenDocumentHidden&&(Ae()?e=cancelAnimationFrame(e):(Te.forEach((function(e){return e._onDocumentVisibility()})),Me()))})),function(){e||Ae()&&Oe.suspendWhenDocumentHidden||!(Te.length>0)||(e=requestAnimationFrame(t))}}();function Ae(){return!!document&&document.hidden}function Oe(e){void 0===e&&(e={});var t,n=0,r=0,i=0,o=0,s=null;function a(e){var t=window.Promise&&new Promise((function(e){return s=e}));return e.finished=t,t}var l=function(e){var t=K(A,e),n=K(O,e),r=we(n,e),i=_e(e.targets),o=Ee(i,r),s=Se(o,n),a=ke;return ke++,J(t,{id:a,children:[],animatables:i,animations:o,duration:s.duration,delay:s.delay,endDelay:s.endDelay})}(e);a(l);function c(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function u(e){return l.reversed?l.duration-e:e}function d(){n=0,r=u(l.currentTime)*(1/Oe.speed)}function p(e,t){t&&t.seek(e-t.timelineOffset)}function f(e){for(var t=0,n=l.animations,r=n.length;t<r;){var i=n[t],o=i.animatable,s=i.tweens,a=s.length-1,c=s[a];a&&(c=W(s,(function(t){return e<t.end}))[0]||c);for(var u=j(e-c.start-c.delay,0,c.duration)/c.duration,d=isNaN(u)?1:c.easing(u),p=c.to.strings,f=c.round,h=[],v=c.to.numbers.length,m=void 0,g=0;g<v;g++){var _=void 0,y=c.to.numbers[g],w=c.from.numbers[g]||0;_=c.isPath?ve(c.value,d*y,c.isPathTargetInsideSVG):w+d*(y-w),f&&(c.isColor&&g>2||(_=Math.round(_*f)/f)),h.push(_)}var b=p.length;if(b){m=p[0];for(var x=0;x<b;x++){p[x];var C=p[x+1],E=h[x];isNaN(E)||(m+=C?E+C:E+" ")}}else m=h[0];xe[i.type](o.target,i.property,m,o.transforms),i.currentValue=m,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function v(e){var d=l.duration,v=l.delay,m=d-l.endDelay,g=u(e);l.progress=j(g/d*100,0,100),l.reversePlayback=g<l.currentTime,t&&function(e){if(l.reversePlayback)for(var n=o;n--;)p(e,t[n]);else for(var r=0;r<o;r++)p(e,t[r])}(g),!l.began&&l.currentTime>0&&(l.began=!0,h("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,h("loopBegin")),g<=v&&0!==l.currentTime&&f(0),(g>=m&&l.currentTime!==d||!d)&&f(d),g>v&&g<m?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,h("changeBegin")),h("change"),f(g)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,h("changeComplete")),l.currentTime=j(g,0,d),l.began&&h("update"),e>=d&&(r=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(n=i,h("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&c()):(l.paused=!0,l.completed||(l.completed=!0,h("loopComplete"),h("complete"),!l.passThrough&&"Promise"in window&&(s(),a(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var n=o=t.length;n--;)l.children[n].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,f(l.reversed?l.duration:0)},l._onDocumentVisibility=d,l.set=function(e,t){return Ce(e,t),l},l.tick=function(e){i=e,n||(n=i),v((i+(r-n))*Oe.speed)},l.seek=function(e){v(u(e))},l.pause=function(){l.paused=!0,d()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Te.push(l),d(),Me())},l.reverse=function(){c(),l.completed=!l.reversed,d()},l.restart=function(){l.reset(),l.play()},l.remove=function(e){Pe(ge(e),l)},l.reset(),l.autoplay&&l.play(),l}function Le(e,t){for(var n=t.length;n--;)G(e,t[n].animatable.target)&&t.splice(n,1)}function Pe(e,t){var n=t.animations,r=t.children;Le(e,n);for(var i=r.length;i--;){var o=r[i],s=o.animations;Le(e,s),s.length||o.children.length||r.splice(i,1)}n.length||r.length||t.pause()}Oe.version="3.2.1",Oe.speed=1,Oe.suspendWhenDocumentHidden=!0,Oe.running=Te,Oe.remove=function(e){for(var t=ge(e),n=Te.length;n--;){Pe(t,Te[n])}},Oe.get=le,Oe.set=Ce,Oe.convertPx=re,Oe.path=function(e,t){var n=D.str(e)?Y(e)[0]:e,r=t||100;return function(e){return{property:e,el:n,svg:he(n),totalLength:fe(n)*(r/100)}}},Oe.setDashoffset=function(e){var t=fe(e);return e.setAttribute("stroke-dasharray",t),t},Oe.stagger=function(e,t){void 0===t&&(t={});var n=t.direction||"normal",r=t.easing?z(t.easing):null,i=t.grid,o=t.axis,s=t.from||0,a="first"===s,l="center"===s,c="last"===s,u=D.arr(e),d=u?parseFloat(e[0]):parseFloat(e),p=u?parseFloat(e[1]):0,f=ee(u?e[1]:e)||0,h=t.start||0+(u?d:0),v=[],m=0;return function(e,t,g){if(a&&(s=0),l&&(s=(g-1)/2),c&&(s=g-1),!v.length){for(var _=0;_<g;_++){if(i){var y=l?(i[0]-1)/2:s%i[0],w=l?(i[1]-1)/2:Math.floor(s/i[0]),b=y-_%i[0],x=w-Math.floor(_/i[0]),C=Math.sqrt(b*b+x*x);"x"===o&&(C=-b),"y"===o&&(C=-x),v.push(C)}else v.push(Math.abs(s-_));m=Math.max.apply(Math,v)}r&&(v=v.map((function(e){return r(e/m)*m}))),"reverse"===n&&(v=v.map((function(e){return o?e<0?-1*e:-e:Math.abs(m-e)})))}return h+(u?(p-d)/m:d)*(Math.round(100*v[t])/100)+f}},Oe.timeline=function(e){void 0===e&&(e={});var t=Oe(e);return t.duration=0,t.add=function(n,r){var i=Te.indexOf(t),o=t.children;function s(e){e.passThrough=!0}i>-1&&Te.splice(i,1);for(var a=0;a<o.length;a++)s(o[a]);var l=J(n,K(O,e));l.targets=l.targets||e.targets;var c=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=D.und(r)?c:ce(r,c),s(t),t.seek(l.timelineOffset);var u=Oe(l);s(u),o.push(u);var d=Se(o,e);return t.delay=d.delay,t.endDelay=d.endDelay,t.duration=d.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Oe.easing=z,Oe.penner=V,Oe.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var je=Oe,Ie=function(e){var t=k.Z.closest(e,"button");return{btn:t,overlay:document.querySelector(".ep-overlay"),menu:t?document.getElementById(t.getAttribute("aria-controls")):null}},Ne=function(e){"Escape"===e.key&&De(e)},De=function(e){var t=Ie(document.querySelector(".ep-header__menu__button")),n=t.btn,r=t.overlay,i=t.menu;n.removeAttribute("aria-expanded"),i.classList.remove("ep-menu--active"),n.focus(),document.removeEventListener("keydown",Ne),je({targets:r,opacity:0,translateZ:0,duration:250,easing:"easeOutCubic",complete:function(){r.style.transform="translate3d(100%,0,0)"}})},Be=function(e){var t=Ie(e.target),n=t.btn,r=t.overlay,i=t.menu;if(null!==n.getAttribute("aria-expanded"))return De(e);i.style.cssText="",setTimeout((function(){n.setAttribute("aria-expanded","true"),i.classList.add("ep-menu--active"),i.focus(),r.style.transform="translate3d(0,0,0)",document.addEventListener("keydown",Ne),je({targets:".ep-menu__link",delay:je.stagger(20),opacity:[0,1],translateX:["100%","0%"],translateZ:0,duration:800,easing:"easeOutCubic"}),je({targets:".ep-overlay",opacity:1,translateZ:0,duration:250,easing:"easeOutCubic"})}),0)};document.addEventListener("DOMContentLoaded",(function(e){!function(){var e,t,n,r;null===(e=document.querySelector(".ep-header__menu__button"))||void 0===e||e.removeEventListener("click",Be),null===(t=document.querySelector(".ep-menu__close"))||void 0===t||t.removeEventListener("click",De),null===(n=document.querySelector(".ep-header__menu__button"))||void 0===n||n.addEventListener("click",Be),null===(r=document.querySelector(".ep-menu__close"))||void 0===r||r.addEventListener("click",De)}()}));var Re=s("./node_modules/tslib/tslib.es6.js");function Fe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $e(e){return e instanceof Fe(e).Element||e instanceof Element}function He(e){return e instanceof Fe(e).HTMLElement||e instanceof HTMLElement}function qe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Fe(e).ShadowRoot||e instanceof ShadowRoot)}var Ve=Math.max,ze=Math.min,Ye=Math.round;function We(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(He(e)&&t){var o=e.offsetHeight,s=e.offsetWidth;s>0&&(r=Ye(n.width)/s||1),o>0&&(i=Ye(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function Ue(e){var t=Fe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(e){return e?(e.nodeName||"").toLowerCase():null}function Ge(e){return(($e(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ze(e){return We(Ge(e)).left+Ue(e).scrollLeft}function Ke(e){return Fe(e).getComputedStyle(e)}function Je(e){var t=Ke(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Qe(e,t,n){void 0===n&&(n=!1);var r,i,o=He(t),s=He(t)&&function(e){var t=e.getBoundingClientRect(),n=Ye(t.width)/e.offsetWidth||1,r=Ye(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Ge(t),l=We(e,s),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Xe(t)||Je(a))&&(c=(r=t)!==Fe(r)&&He(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Ue(r)),He(t)?((u=We(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Ze(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function et(e){var t=We(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function tt(e){return"html"===Xe(e)?e:e.assignedSlot||e.parentNode||(qe(e)?e.host:null)||Ge(e)}function nt(e){return["html","body","#document"].indexOf(Xe(e))>=0?e.ownerDocument.body:He(e)&&Je(e)?e:nt(tt(e))}function rt(e,t){var n;void 0===t&&(t=[]);var r=nt(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=Fe(r),s=i?[o].concat(o.visualViewport||[],Je(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(rt(tt(s)))}function it(e){return["table","td","th"].indexOf(Xe(e))>=0}function ot(e){return He(e)&&"fixed"!==Ke(e).position?e.offsetParent:null}function st(e){for(var t=Fe(e),n=ot(e);n&&it(n)&&"static"===Ke(n).position;)n=ot(n);return n&&("html"===Xe(n)||"body"===Xe(n)&&"static"===Ke(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&He(e)&&"fixed"===Ke(e).position)return null;var n=tt(e);for(qe(n)&&(n=n.host);He(n)&&["html","body"].indexOf(Xe(n))<0;){var r=Ke(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var at="top",lt="bottom",ct="right",ut="left",dt="auto",pt=[at,lt,ct,ut],ft="start",ht="end",vt="viewport",mt="popper",gt=pt.reduce((function(e,t){return e.concat([t+"-"+ft,t+"-"+ht])}),[]),_t=[].concat(pt,[dt]).reduce((function(e,t){return e.concat([t,t+"-"+ft,t+"-"+ht])}),[]),yt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function wt(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var bt={placement:"bottom",modifiers:[],strategy:"absolute"};function xt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ct(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?bt:i;return function(e,t,n){void 0===n&&(n=o);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},bt,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:$e(e)?rt(e):e.contextElement?rt(e.contextElement):[],popper:rt(t)};var s=function(e){var t=wt(e);return yt.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,a.options.modifiers)));return a.orderedModifiers=s.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:a,name:t,instance:u,options:r}),s=function(){};l.push(o||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(xt(t,n)){a.rects={reference:Qe(t,st(n),"fixed"===a.options.strategy),popper:et(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var i=a.orderedModifiers[r],o=i.fn,s=i.options,l=void 0===s?{}:s,d=i.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){d(),c=!0}};if(!xt(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Et={passive:!0};function St(e){return e.split("-")[0]}function kt(e){return e.split("-")[1]}function Tt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mt(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?St(i):null,s=i?kt(i):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case at:t={x:a,y:n.y-r.height};break;case lt:t={x:a,y:n.y+n.height};break;case ct:t={x:n.x+n.width,y:l};break;case ut:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?Tt(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case ft:t[c]=t[c]-(n[u]/2-r[u]/2);break;case ht:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var At={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ot(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=s.x,f=void 0===p?0:p,h=s.y,v=void 0===h?0:h,m="function"==typeof u?u({x:f,y:v}):{x:f,y:v};f=m.x,v=m.y;var g=s.hasOwnProperty("x"),_=s.hasOwnProperty("y"),y=ut,w=at,b=window;if(c){var x=st(n),C="clientHeight",E="clientWidth";if(x===Fe(n)&&"static"!==Ke(x=Ge(n)).position&&"absolute"===a&&(C="scrollHeight",E="scrollWidth"),i===at||(i===ut||i===ct)&&o===ht)w=lt,v-=(d&&x===b&&b.visualViewport?b.visualViewport.height:x[C])-r.height,v*=l?1:-1;if(i===ut||(i===at||i===lt)&&o===ht)y=ct,f-=(d&&x===b&&b.visualViewport?b.visualViewport.width:x[E])-r.width,f*=l?1:-1}var S,k=Object.assign({position:a},c&&At),T=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Ye(t*r)/r||0,y:Ye(n*r)/r||0}}({x:f,y:v}):{x:f,y:v};return f=T.x,v=T.y,l?Object.assign({},k,((S={})[w]=_?"0":"",S[y]=g?"0":"",S.transform=(b.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",S)):Object.assign({},k,((t={})[w]=_?v+"px":"",t[y]=g?f+"px":"",t.transform="",t))}var Lt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];He(i)&&Xe(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});He(r)&&Xe(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Pt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,s=_t.reduce((function(e,n){return e[n]=function(e,t,n){var r=St(e),i=[ut,at].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[ut,ct].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}},jt={left:"right",right:"left",bottom:"top",top:"bottom"};function It(e){return e.replace(/left|right|bottom|top/g,(function(e){return jt[e]}))}var Nt={start:"end",end:"start"};function Dt(e){return e.replace(/start|end/g,(function(e){return Nt[e]}))}function Bt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qe(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Rt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ft(e,t){return t===vt?Rt(function(e){var t=Fe(e),n=Ge(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,a=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,a=r.offsetTop)),{width:i,height:o,x:s+Ze(e),y:a}}(e)):$e(t)?function(e){var t=We(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Rt(function(e){var t,n=Ge(e),r=Ue(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=Ve(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Ve(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Ze(e),l=-r.scrollTop;return"rtl"===Ke(i||n).direction&&(a+=Ve(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(Ge(e)))}function $t(e,t,n){var r="clippingParents"===t?function(e){var t=rt(tt(e)),n=["absolute","fixed"].indexOf(Ke(e).position)>=0&&He(e)?st(e):e;return $e(n)?t.filter((function(e){return $e(e)&&Bt(e,n)&&"body"!==Xe(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],s=i.reduce((function(t,n){var r=Ft(e,n);return t.top=Ve(r.top,t.top),t.right=ze(r.right,t.right),t.bottom=ze(r.bottom,t.bottom),t.left=Ve(r.left,t.left),t}),Ft(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ht(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function qt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Vt(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,s=void 0===o?"clippingParents":o,a=n.rootBoundary,l=void 0===a?vt:a,c=n.elementContext,u=void 0===c?mt:c,d=n.altBoundary,p=void 0!==d&&d,f=n.padding,h=void 0===f?0:f,v=Ht("number"!=typeof h?h:qt(h,pt)),m=u===mt?"reference":mt,g=e.rects.popper,_=e.elements[p?m:u],y=$t($e(_)?_:_.contextElement||Ge(e.elements.popper),s,l),w=We(e.elements.reference),b=Mt({reference:w,element:g,strategy:"absolute",placement:i}),x=Rt(Object.assign({},g,b)),C=u===mt?x:w,E={top:y.top-C.top+v.top,bottom:C.bottom-y.bottom+v.bottom,left:y.left-C.left+v.left,right:C.right-y.right+v.right},S=e.modifiersData.offset;if(u===mt&&S){var k=S[i];Object.keys(E).forEach((function(e){var t=[ct,lt].indexOf(e)>=0?1:-1,n=[at,lt].indexOf(e)>=0?"y":"x";E[e]+=k[n]*t}))}return E}var zt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,v=n.allowedAutoPlacements,m=t.options.placement,g=St(m),_=l||(g===m||!h?[It(m)]:function(e){if(St(e)===dt)return[];var t=It(e);return[Dt(e),t,Dt(t)]}(m)),y=[m].concat(_).reduce((function(e,n){return e.concat(St(n)===dt?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?_t:l,u=kt(r),d=u?a?gt:gt.filter((function(e){return kt(e)===u})):pt,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Vt(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[St(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,b=t.rects.popper,x=new Map,C=!0,E=y[0],S=0;S<y.length;S++){var k=y[S],T=St(k),M=kt(k)===ft,A=[at,lt].indexOf(T)>=0,O=A?"width":"height",L=Vt(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),P=A?M?ct:ut:M?lt:at;w[O]>b[O]&&(P=It(P));var j=It(P),I=[];if(o&&I.push(L[T]<=0),a&&I.push(L[P]<=0,L[j]<=0),I.every((function(e){return e}))){E=k,C=!1;break}x.set(k,I)}if(C)for(var N=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},D=h?3:1;D>0;D--){if("break"===N(D))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Yt(e,t,n){return Ve(e,ze(t,n))}var Wt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=Vt(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=St(t.placement),_=kt(t.placement),y=!_,w=Tt(g),b="x"===w?"y":"x",x=t.modifiersData.popperOffsets,C=t.rects.reference,E=t.rects.popper,S="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,k="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(x){if(o){var A,O="y"===w?at:ut,L="y"===w?lt:ct,P="y"===w?"height":"width",j=x[w],I=j+m[O],N=j-m[L],D=f?-E[P]/2:0,B=_===ft?C[P]:E[P],R=_===ft?-E[P]:-C[P],F=t.elements.arrow,$=f&&F?et(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=H[O],V=H[L],z=Yt(0,C[P],$[P]),Y=y?C[P]/2-D-z-q-k.mainAxis:B-z-q-k.mainAxis,W=y?-C[P]/2+D+z+V+k.mainAxis:R+z+V+k.mainAxis,U=t.elements.arrow&&st(t.elements.arrow),X=U?"y"===w?U.clientTop||0:U.clientLeft||0:0,G=null!=(A=null==T?void 0:T[w])?A:0,Z=j+W-G,K=Yt(f?ze(I,j+Y-G-X):I,j,f?Ve(N,Z):N);x[w]=K,M[w]=K-j}if(a){var J,Q="x"===w?at:ut,ee="x"===w?lt:ct,te=x[b],ne="y"===b?"height":"width",re=te+m[Q],ie=te-m[ee],oe=-1!==[at,ut].indexOf(g),se=null!=(J=null==T?void 0:T[b])?J:0,ae=oe?re:te-C[ne]-E[ne]-se+k.altAxis,le=oe?te+C[ne]+E[ne]-se-k.altAxis:ie,ce=f&&oe?function(e,t,n){var r=Yt(e,t,n);return r>n?n:r}(ae,te,le):Yt(f?ae:re,te,f?le:ie);x[b]=ce,M[b]=ce-te}t.modifiersData[r]=M}},requiresIfExists:["offset"]};var Ut={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=St(n.placement),l=Tt(a),c=[ut,ct].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(e,t){return Ht("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:qt(e,pt))}(i.padding,n),d=et(o),p="y"===l?at:ut,f="y"===l?lt:ct,h=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],v=s[l]-n.rects.reference[l],m=st(o),g=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,_=h/2-v/2,y=u[p],w=g-d[c]-u[f],b=g/2-d[c]/2+_,x=Yt(y,b,w),C=l;n.modifiersData[r]=((t={})[C]=x,t.centerOffset=x-b,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Bt(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Gt(e){return[at,ct,lt,ut].some((function(t){return e[t]>=0}))}var Zt=Ct({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,l=Fe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,Et)})),a&&l.addEventListener("resize",n.update,Et),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Et)})),a&&l.removeEventListener("resize",n.update,Et)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Mt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:St(t.placement),variation:kt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ot(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ot(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Lt,Pt,zt,Wt,Ut,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=Vt(t,{elementContext:"reference"}),a=Vt(t,{altBoundary:!0}),l=Xt(s,r),c=Xt(a,i,o),u=Gt(l),d=Gt(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Kt="tippy-content",Jt="tippy-backdrop",Qt="tippy-arrow",en="tippy-svg-arrow",tn={passive:!0,capture:!0},nn=function(){return document.body};function rn(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function on(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function sn(e,t){return"function"==typeof e?e.apply(void 0,t):e}function an(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function ln(e){return[].concat(e)}function cn(e,t){-1===e.indexOf(t)&&e.push(t)}function un(e){return e.split("-")[0]}function dn(e){return[].slice.call(e)}function pn(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function fn(){return document.createElement("div")}function hn(e){return["Element","Fragment"].some((function(t){return on(e,t)}))}function vn(e){return on(e,"MouseEvent")}function mn(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function gn(e){return hn(e)?[e]:function(e){return on(e,"NodeList")}(e)?dn(e):Array.isArray(e)?e:dn(document.querySelectorAll(e))}function _n(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function yn(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function wn(e){var t,n=ln(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function bn(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function xn(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Cn={isTouch:!1},En=0;function Sn(){Cn.isTouch||(Cn.isTouch=!0,window.performance&&document.addEventListener("mousemove",kn))}function kn(){var e=performance.now();e-En<20&&(Cn.isTouch=!1,document.removeEventListener("mousemove",kn)),En=e}function Tn(){var e=document.activeElement;if(mn(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Mn=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var An={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},On=Object.assign({appendTo:nn,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},An,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Ln=Object.keys(On);function Pn(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=On[i])?r:o);return t}),{});return Object.assign({},e,t)}function jn(e,t){var n=Object.assign({},t,{content:sn(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Pn(Object.assign({},On,{plugins:t}))):Ln).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},On.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function In(e,t){e.innerHTML=t}function Nn(e){var t=fn();return!0===e?t.className=Qt:(t.className=en,hn(e)?t.appendChild(e):In(t,e)),t}function Dn(e,t){hn(t.content)?(In(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?In(e,t.content):e.textContent=t.content)}function Bn(e){var t=e.firstElementChild,n=dn(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Kt)})),arrow:n.find((function(e){return e.classList.contains(Qt)||e.classList.contains(en)})),backdrop:n.find((function(e){return e.classList.contains(Jt)}))}}function Rn(e){var t=fn(),n=fn();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=fn();function i(n,r){var i=Bn(t),o=i.box,s=i.content,a=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Dn(s,e.props),r.arrow?a?n.arrow!==r.arrow&&(o.removeChild(a),o.appendChild(Nn(r.arrow))):o.appendChild(Nn(r.arrow)):a&&o.removeChild(a)}return r.className=Kt,r.setAttribute("data-state","hidden"),Dn(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Rn.$$tippy=!0;var Fn=1,$n=[],Hn=[];function qn(e,t){var n,r,i,o,s,a,l,c,u=jn(e,Object.assign({},On,Pn(pn(t)))),d=!1,p=!1,f=!1,h=!1,v=[],m=an(U,u.interactiveDebounce),g=Fn++,_=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),y={id:g,reference:e,popper:fn(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:_,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){0;if(y.state.isDestroyed)return;j("onBeforeUpdate",[y,t]),Y();var n=y.props,r=jn(e,Object.assign({},n,pn(t),{ignoreAttributes:!0}));y.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(D(),m=an(U,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?ln(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");N(),P(),x&&x(n,r);y.popperInstance&&(K(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));j("onAfterUpdate",[y,t])},setContent:function(e){y.setProps({content:e})},show:function(){0;var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=Cn.isTouch&&!y.props.touch,i=rn(y.props.duration,0,On.duration);if(e||t||n||r)return;if(M().hasAttribute("disabled"))return;if(j("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,T()&&(b.style.visibility="visible");P(),$(),y.state.isMounted||(b.style.transition="none");if(T()){var o=O(),s=o.box,l=o.content;_n([s,l],0)}a=function(){var e;if(y.state.isVisible&&!h){if(h=!0,b.offsetHeight,b.style.transition=y.props.moveTransition,T()&&y.props.animation){var t=O(),n=t.box,r=t.content;_n([n,r],i),yn([n,r],"visible")}I(),N(),cn(Hn,y),null==(e=y.popperInstance)||e.forceUpdate(),j("onMount",[y]),y.props.animation&&T()&&function(e,t){q(e,t)}(i,(function(){y.state.isShown=!0,j("onShown",[y])}))}},function(){var e,t=y.props.appendTo,n=M();e=y.props.interactive&&t===nn||"parent"===t?n.parentNode:sn(t,[n]);e.contains(b)||e.appendChild(b);y.state.isMounted=!0,K(),!1}()},hide:function(){0;var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=rn(y.props.duration,1,On.duration);if(e||t||n)return;if(j("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,h=!1,d=!1,T()&&(b.style.visibility="hidden");if(D(),H(),P(!0),T()){var i=O(),o=i.box,s=i.content;y.props.animation&&(_n([o,s],r),yn([o,s],"hidden"))}I(),N(),y.props.animation?T()&&function(e,t){q(e,(function(){!y.state.isVisible&&b.parentNode&&b.parentNode.contains(b)&&t()}))}(r,y.unmount):y.unmount()},hideWithInteractivity:function(e){0;A().addEventListener("mousemove",m),cn($n,m),m(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){0;y.state.isVisible&&y.hide();if(!y.state.isMounted)return;J(),Q().forEach((function(e){e._tippy.unmount()})),b.parentNode&&b.parentNode.removeChild(b);Hn=Hn.filter((function(e){return e!==y})),y.state.isMounted=!1,j("onHidden",[y])},destroy:function(){0;if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),Y(),delete e._tippy,y.state.isDestroyed=!0,j("onDestroy",[y])}};if(!u.render)return y;var w=u.render(y),b=w.popper,x=w.onUpdate;b.setAttribute("data-tippy-root",""),b.id="tippy-"+y.id,y.popper=b,e._tippy=y,b._tippy=y;var C=_.map((function(e){return e.fn(y)})),E=e.hasAttribute("aria-expanded");return z(),N(),P(),j("onCreate",[y]),u.showOnCreate&&ee(),b.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),b.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&A().addEventListener("mousemove",m)})),y;function S(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===S()[0]}function T(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function M(){return l||e}function A(){var e=M().parentNode;return e?wn(e):document}function O(){return Bn(b)}function L(e){return y.state.isMounted&&!y.state.isVisible||Cn.isTouch||o&&"focus"===o.type?0:rn(y.props.delay,e?0:1,On.delay)}function P(e){void 0===e&&(e=!1),b.style.pointerEvents=y.props.interactive&&!e?"":"none",b.style.zIndex=""+y.props.zIndex}function j(e,t,n){var r;(void 0===n&&(n=!0),C.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=y.props)[e].apply(r,t)}function I(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,r=b.id;ln(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function N(){!E&&y.props.aria.expanded&&ln(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===M()?"true":"false"):e.removeAttribute("aria-expanded")}))}function D(){A().removeEventListener("mousemove",m),$n=$n.filter((function(e){return e!==m}))}function B(t){if(!Cn.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!xn(b,n)){if(ln(y.props.triggerTarget||e).some((function(e){return xn(e,n)}))){if(Cn.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),p=!0,setTimeout((function(){p=!1})),y.state.isMounted||H())}}}function R(){f=!0}function F(){f=!1}function $(){var e=A();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,tn),e.addEventListener("touchstart",F,tn),e.addEventListener("touchmove",R,tn)}function H(){var e=A();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,tn),e.removeEventListener("touchstart",F,tn),e.removeEventListener("touchmove",R,tn)}function q(e,t){var n=O().box;function r(e){e.target===n&&(bn(n,"remove",r),t())}if(0===e)return t();bn(n,"remove",s),bn(n,"add",r),s=r}function V(t,n,r){void 0===r&&(r=!1),ln(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function z(){var e;k()&&(V("touchstart",W,{passive:!0}),V("touchend",X,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(V(e,W),e){case"mouseenter":V("mouseleave",X);break;case"focus":V(Mn?"focusout":"blur",G);break;case"focusin":V("focusout",G)}}))}function Y(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),v=[]}function W(e){var t,n=!1;if(y.state.isEnabled&&!Z(e)&&!p){var r="focus"===(null==(t=o)?void 0:t.type);o=e,l=e.currentTarget,N(),!y.state.isVisible&&vn(e)&&$n.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!r&&te(e)}}function U(e){var t=e.target,n=M().contains(t)||b.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(b).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,s=un(i.placement),a=i.modifiersData.offset;if(!a)return!0;var l="bottom"===s?a.top.y:0,c="top"===s?a.bottom.y:0,u="right"===s?a.left.x:0,d="left"===s?a.right.x:0,p=t.top-r+l>o,f=r-t.bottom-c>o,h=t.left-n+u>o,v=n-t.right-d>o;return p||f||h||v}))})(r,e)&&(D(),te(e))}}function X(e){Z(e)||y.props.trigger.indexOf("click")>=0&&d||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function G(e){y.props.trigger.indexOf("focusin")<0&&e.target!==M()||y.props.interactive&&e.relatedTarget&&b.contains(e.relatedTarget)||te(e)}function Z(e){return!!Cn.isTouch&&k()!==e.type.indexOf("touch")>=0}function K(){J();var t=y.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,s=t.moveTransition,l=T()?Bn(b).arrow:null,c=o?{getBoundingClientRect:o,contextElement:o.contextElement||M()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(T()){var n=O().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},u];T()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),y.popperInstance=Zt(c,b,Object.assign({},n,{placement:r,onFirstUpdate:a,modifiers:d}))}function J(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Q(){return dn(b.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&j("onTrigger",[y,e]),$();var t=L(!0),r=S(),i=r[0],o=r[1];Cn.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){y.show()}),t):y.show()}function te(e){if(y.clearDelayTimeouts(),j("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=L(!1);t?r=setTimeout((function(){y.state.isVisible&&y.hide()}),t):i=requestAnimationFrame((function(){y.hide()}))}}else H()}}function Vn(e,t){void 0===t&&(t={});var n=On.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Sn,tn),window.addEventListener("blur",Tn);var r=Object.assign({},t,{plugins:n}),i=gn(e).reduce((function(e,t){var n=t&&qn(t,r);return n&&e.push(n),e}),[]);return hn(e)?i[0]:i}Vn.defaultProps=On,Vn.setDefaultProps=function(e){Object.keys(e).forEach((function(t){On[t]=e[t]}))},Vn.currentInput=Cn;Object.assign({},Lt,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});Vn.setDefaultProps({render:Rn});var zn=Vn,Yn=s("./node_modules/sal.js/dist/sal.js"),Wn=s.n(Yn),Un=s("./src/js/lib/cart.ts"),Xn=function(e){var t,n,r;document.documentElement.classList.contains("results-page")&&(s.e("nouislider").then(s.t.bind(s,"./node_modules/nouislider/dist/nouislider.js",23)).then((function(e){!function(e){var t,n,r=document.querySelector(".ep-results__timerange__slider"),i=null===(n=null===(t=window.epdata)||void 0===t?void 0:t.results)||void 0===n?void 0:n.slider;i&&i.items&&0!==i.items.length&&r&&e.create(r,{cssPrefix:"noui-",start:[i.from>0?i.from:i.min,i.to>0?i.to:i.max],step:10,connect:!0,margin:10,tooltips:!0,format:{to:function(e){return Math.floor(e)},from:function(e){return e-1}},range:{min:i.min,max:i.max}}).on("end",(function(e,t,n,r,i){document.location.href="/digbib/hitlist?p=yr".concat(e[0],"-").concat(e[1]-1)}))}(e.default)})),null===(t=document.querySelector(".ep-results__facets__close"))||void 0===t||t.addEventListener("click",(function(e){var t=document.querySelector(".ep-results__toolbar__toggle-filter");t.setAttribute("aria-expanded","true"==t.getAttribute("aria-expanded")?"false":"true")})),null===(n=document.querySelector(".ep-results__toolbar__toggle-filter"))||void 0===n||n.addEventListener("click",(function(e){var t=document.querySelector(".ep-results__facets__close");null==t||t.setAttribute("aria-expanded","true"==t.getAttribute("aria-expanded")?"false":"true")})),null===(r=document.querySelector(".ep-results"))||void 0===r||r.addEventListener("click",(function(e){return(0,Re.mG)(void 0,void 0,void 0,(function(){var t,n;return(0,Re.Jh)(this,(function(r){switch(r.label){case 0:return(t=(null==e?void 0:e.target).closest("button"))&&t.classList.contains("ep-result__collect")&&(n=null==t?void 0:t.getAttribute("data-pid"))?[4,(0,Un.ru)({pid:n})]:[3,2];case 1:r.sent(),window.postMessage({type:"cart-update-count"}),r.label=2;case 2:return[2]}}))}))})),window.matchMedia("(max-width: 68.74em)").matches&&k.Z.simulateClick(document.querySelector(".ep-results__toolbar__toggle-filter")),zn(".ep-results__timerange__stats-container > span",{placement:"top"}),Wn()({threshold:.01,once:!0}),zn(".ep-result__page--lock-info",{placement:"top"}))},Gn=k.Z.getParamsFromWindowHash(),Zn=function(e){var t=document.querySelector(".ep-advanced__magazines"),n=new e(t,{searchEnabled:!0,removeItems:!0,removeItemButton:!0,searchResultLimit:999,duplicateItemsAllowed:!1,placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,position:"below"});t.addEventListener("addItem",(function(e){var t=function(e){return e.label.match(/Alle|Toutes|All|Tutti/)};t(e.detail)?n.removeActiveItems(e.detail.id):n.getValue().filter(t).forEach((function(e){return n.removeActiveItemsByValue(e.value)}))})),t.addEventListener("removeItem",(function(e){0===n.getValue().length&&n.setChoiceByValue("*")}))},Kn=function(e){var t,n;!function(){var e,t=document.querySelector(".ep-search__advanced__toggle");null==t||t.addEventListener("click",(function(e){var n="true"!=t.getAttribute("aria-expanded");n?(k.Z.addClass(document.querySelector(".ep-header"),"ep-header--advanced-search-open"),s.e("choices").then(s.bind(s,"./node_modules/choices.js/src/scripts/choices.ts")).then((function(e){Zn(e.default)}))):k.Z.removeClass(document.querySelector(".ep-header"),"ep-header--advanced-search-open"),k.Z.updateWindowHash((0,Re.pi)((0,Re.pi)({},k.Z.getParamsFromWindowHash()),{search:n?"advanced":null}))})),"advanced"==(null==Gn?void 0:Gn.search)&&(null===(e=document.querySelector(".ep-search__advanced__toggle"))||void 0===e||e.click())}(),null===(t=document.querySelector(".ep-search__quick"))||void 0===t||t.addEventListener("submit",(function(e){var t,n=document.querySelector(".ep-search__query__text"),r=n?null===(t=n.value)||void 0===t?void 0:t.trim():"";r&&0!==r.length||e.preventDefault()}));null===(n=document.querySelector(".ep-advanced__reset"))||void 0===n||n.addEventListener("click",(function(e){var t,n=document.querySelector(".ep-advanced__form");if(n){n.reset(),n.querySelector(".ep-advanced__magazines").value="*";for(var r=0;r<3;r++){var i=n.querySelector(".ep-advanced__meta--".concat(r));i.querySelector(".ep-advanced__field").value=["Title","Author","ISSN"][r],i.querySelector(".ep-advanced__field-mode").value="mode3",i.querySelector(".ep-advanced__field-text").value=""}n.querySelector(".ep-advanced__fulltext-mode").value="mode3",n.querySelector(".ep-advanced__fulltext-text").value="",n.querySelector(".ep-advanced__fulltext-match").value="mode2",e.target.removeAttribute("disabled"),fetch("/digbib/resetasearch",{redirect:"manual"}).finally((function(){e.target.removeAttribute("disabled")})),null===(t=document.querySelector(".ep-search__advanced__active"))||void 0===t||t.classList.remove("ep-search__advanced__active")}}))},Jn=function(e){var t,n;null!=document.querySelector(".ep-volumes")&&(document.addEventListener("click",(function(e){var t,n=e.target.closest(".ep-volumes__volume__cart, .ep-issue__cart");if(null!==n){var r=null===(t=null==n?void 0:n.closest("[data-pid]"))||void 0===t?void 0:t.getAttribute("data-pid");return r&&function(e){(0,Un.ru)({pid:e}).then((function(){window.postMessage({type:"cart-update-count"})}))}(r),e.stopPropagation(),e.preventDefault(),!1}var i=e.target.closest(".ep-volumes__list__item, .ep-issues");if((null==i||!i.classList.contains("ep-issues"))&&null!=i&&i.classList.contains("ep-volumes__list__item--stacked")){for(var o=document.querySelectorAll(".ep-volumes__list__item--expanded"),s=0;s<o.length;s++)if(o[s]!=i){o[s].classList.remove("ep-volumes__list__item--expanded");var a=o[s].querySelector(".ep-volumes__volume__issues");null==a||a.setAttribute("aria-hidden","true")}i.classList.toggle("ep-volumes__list__item--expanded");var l=i.querySelector(".ep-volumes__volume__issues"),c=i.classList.contains("ep-volumes__list__item--expanded");null==l||l.setAttribute("aria-hidden",c?"false":"true"),c||("function"==typeof i.scrollIntoView?i.scrollIntoView({block:"start",behavior:"smooth"}):window.scrollTo({top:i.getBoundingClientRect().top,behavior:"smooth"})),e.stopPropagation(),e.preventDefault()}})),null===(t=document.querySelector(".ep-volumes__info__close"))||void 0===t||t.addEventListener("click",(function(e){var t;null===(t=document.querySelector(".ep-volumes__info__toggle"))||void 0===t||t.click()})),null===(n=document.querySelector(".ep-volumes__info__toggle"))||void 0===n||n.addEventListener("click",(function(e){var t=document.querySelector(".ep-volumes__info__toggle");"true"==(null==t?void 0:t.getAttribute("aria-expanded"))&&window.scrollTo({top:0,behavior:"smooth"})})),zn(".ep-volumes__volume--locked, .ep-issue__locked",{placement:"top"}))},Qn=s("./node_modules/preact/dist/preact.module.js"),er=s("./node_modules/preact/compat/dist/compat.module.js"),tr=s("./node_modules/preact/hooks/dist/hooks.module.js"),nr=s("./node_modules/rbush/rbush.min.js"),rr=s.n(nr);function ir(e,t,n){var r,i=n||{},o=i.noTrailing,s=void 0!==o&&o,a=i.noLeading,l=void 0!==a&&a,c=i.debounceMode,u=void 0===c?void 0:c,d=!1,p=0;function f(){r&&clearTimeout(r)}function h(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=this,c=Date.now()-p;function h(){p=Date.now(),t.apply(a,i)}function v(){r=void 0}d||(l||!u||r||h(),f(),void 0===u&&c>e?l?(p=Date.now(),s||(r=setTimeout(u?v:h,e))):h():!0!==s&&(r=setTimeout(u?v:h,void 0===u?e-c:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;f(),d=!n},h}var or=s("./node_modules/query-string/index.js");function sr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 23"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M1479.36359,155.000424 C1477.36191,155.000424 1475.7272,156.632948 1475.7272,158.631955 C1475.7272,159.107171 1475.8148,159.568224 1475.98289,159.984337 L1469.07011,163.814392 C1468.4238,163.230411 1467.57152,162.868681 1466.63639,162.868681 C1464.63471,162.868681 1463,164.501205 1463,166.500212 C1463,168.499218 1464.63471,170.131743 1466.63639,170.131743 C1467.57628,170.131743 1468.43328,169.774733 1469.07959,169.186032 L1475.99237,173.016087 C1475.82192,173.43574 1475.72722,173.889682 1475.72722,174.368469 C1475.72722,176.367475 1477.36193,178 1479.36361,178 C1481.36529,178 1483,176.367475 1483,174.368469 C1483,172.369462 1481.36529,170.736938 1479.36361,170.736938 C1478.27457,170.736938 1477.29447,171.221626 1476.62686,171.985277 L1469.83711,168.221194 C1470.11529,167.70815 1470.27272,167.121809 1470.27272,166.5 C1470.27272,165.875831 1470.11765,165.29303 1469.83711,164.778806 L1476.62686,161.014723 C1477.29447,161.779554 1478.27342,162.263062 1479.36361,162.263062 C1481.36529,162.263062 1483,160.630538 1483,158.631531 C1483,156.632525 1481.36529,155 1479.36361,155 L1479.36359,155.000424 Z M1479.36359,156.210934 C1480.70948,156.210934 1481.78785,157.287865 1481.78785,158.631955 C1481.78785,159.976045 1480.70948,161.052976 1479.36359,161.052976 C1478.0177,161.052976 1476.93933,159.976045 1476.93933,158.631955 C1476.93933,157.287865 1478.0177,156.210934 1479.36359,156.210934 Z M1466.63622,164.079252 C1467.98211,164.079252 1469.06049,165.156182 1469.06049,166.500272 C1469.06049,167.844363 1467.98211,168.921293 1466.63622,168.921293 C1465.29034,168.921293 1464.21196,167.844363 1464.21196,166.500272 C1464.21196,165.156182 1465.29034,164.079252 1466.63622,164.079252 Z M1479.36359,171.947569 C1480.70948,171.947569 1481.78785,173.0245 1481.78785,174.36859 C1481.78785,175.71268 1480.70948,176.789611 1479.36359,176.789611 C1478.0177,176.789611 1476.93933,175.71268 1476.93933,174.36859 C1476.93933,173.0245 1478.0177,171.947569 1479.36359,171.947569 Z",transform:"translate(-1463 -155)"},[])])}function ar(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),[(0,Qn.h)("path",{"fill-rule":"evenodd",d:"M22.675392,0 L1.324608,0 C0.592944,0 0,0.592944 0,1.324608 L0,22.675392 C0,23.406912 0.592944,24 1.324608,24 L12.81912,24 L12.81912,14.705952 L9.691488,14.705952 L9.691488,11.083872 L12.81912,11.083872 L12.81912,8.412672 C12.81912,5.312832 14.712432,3.624864 17.47776,3.624864 C18.802368,3.624864 19.940784,3.723456 20.27256,3.767568 L20.27256,7.007088 L18.354672,7.008 C16.850736,7.008 16.559568,7.722624 16.559568,8.771328 L16.559568,11.083872 L20.14632,11.083872 L19.67928,14.705952 L16.559568,14.705952 L16.559568,24 L22.675392,24 C23.406864,24 24,23.406912 24,22.675392 L24,1.324608 C24,0.592944 23.406864,0 22.675392,0"},[])])}function lr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),[(0,Qn.h)("path",{"fill-rule":"evenodd",d:"M12,0 C5.37264198,0 0,5.37254321 0,11.9999012 C0,17.0837531 3.16296296,21.4297284 7.62696296,23.1781728 C7.52197531,22.2287407 7.42725926,20.7685926 7.66864198,19.7321481 C7.88661728,18.7955556 9.07575309,13.7673086 9.07575309,13.7673086 C9.07575309,13.7673086 8.71674074,13.0484938 8.71674074,11.985679 C8.71674074,10.3171358 9.68385185,9.07140741 10.8880988,9.07140741 C11.9118025,9.07140741 12.4064198,9.84009877 12.4064198,10.7617778 C12.4064198,11.7914074 11.7509136,13.3306667 11.4125432,14.7571358 C11.1297778,15.9516049 12.0115556,16.9257284 13.1895309,16.9257284 C15.3223704,16.9257284 16.9617778,14.6767407 16.9617778,11.4305185 C16.9617778,8.5574321 14.897284,6.54844444 11.9493333,6.54844444 C8.53501235,6.54844444 6.5308642,9.1094321 6.5308642,11.7561481 C6.5308642,12.7875556 6.92809877,13.8934321 7.42390123,14.4946173 C7.52187654,14.6134321 7.5362963,14.7176296 7.50716049,14.8388148 C7.416,15.2179753 7.21362963,16.0328889 7.17382716,16.1997037 C7.12148148,16.4194568 6.99990123,16.4659753 6.77254321,16.3601975 C5.27367901,15.6625185 4.33679012,13.4714074 4.33679012,11.7114074 C4.33679012,7.92592593 7.08701235,4.44967901 12.2655802,4.44967901 C16.4283457,4.44967901 19.6634074,7.416 19.6634074,11.3803457 C19.6634074,15.5159506 17.0557037,18.8442469 13.4363457,18.8442469 C12.2204444,18.8442469 11.0773333,18.2125432 10.6860247,17.4663704 C10.6860247,17.4663704 10.0843457,19.7575309 9.93846914,20.3190123 C9.66745679,21.3613827 8.93619753,22.6678519 8.44701235,23.4648889 C9.56987654,23.8124444 10.762963,24 12,24 C18.6274568,24 24,18.6274568 24,11.9999012 C24,5.37254321 18.6274568,0 12,0"},[])])}function cr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),[(0,Qn.h)("path",{"fill-rule":"evenodd",d:"M23.1332846,4.23040044 C22.2838884,4.60871274 21.3711768,4.86442924 20.4130528,4.9794237 C21.3909235,4.39075925 22.1418776,3.4585732 22.4954733,2.34780465 C21.5804329,2.89290764 20.5668534,3.28876146 19.4879693,3.50213466 C18.6240663,2.5776474 17.3931283,1.99999513 16.0309504,1.99999513 C13.4152253,1.99999513 11.2946216,4.12973156 11.2946216,6.75647796 C11.2946216,7.12933289 11.3365407,7.49229635 11.4172739,7.84044695 C7.48109596,7.64213023 3.99123073,5.74842481 1.65525768,2.87063965 C1.24756496,3.57317785 1.01405013,4.39022326 1.01405013,5.26193976 C1.01405013,6.91215903 1.85020108,8.36810587 3.12097197,9.22106268 C2.34464313,9.19640709 1.61435741,8.98240044 0.975818329,8.62611251 C0.975478706,8.64599291 0.975381671,8.66587331 0.975381671,8.68589989 C0.975381671,10.9905643 2.60794771,12.9130671 4.77459461,13.3500461 C4.37713908,13.4586574 3.95872399,13.5168368 3.52682102,13.5168368 C3.22164582,13.5168368 2.92491267,13.4869674 2.63569973,13.4315167 C3.23843288,15.3212266 4.98753801,16.6964337 7.0600124,16.7348788 C5.43909057,18.0105865 3.39693962,18.7710117 1.17799084,18.7710117 C0.795721294,18.7710117 0.418691644,18.7485001 0.0481633423,18.7045488 C2.14421725,20.0541745 4.63369973,20.8415942 7.30832507,20.8415942 C16.0199369,20.8415942 20.7836782,13.5936784 20.7836782,7.30801285 C20.7836782,7.10180244 20.7791175,6.89666401 20.7699962,6.69269502 C21.6952739,6.02207265 22.4983358,5.18426977 23.1332846,4.23040044"},[])])}function ur(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M442.98609,166.776312 L437.884257,171.526019 L437.884257,158.723342 C437.884257,158.324009 437.53802,158 437.111291,158 C436.684563,158 436.338325,158.324009 436.338325,158.723342 L436.338325,171.526019 L431.236493,166.776312 C430.928517,166.560628 430.498748,166.588884 430.225994,166.844125 C429.954245,167.098428 429.924048,167.501547 430.154536,167.78881 L436.569638,173.793034 C436.870579,174.068989 437.351673,174.068989 437.652589,173.793034 L444.067691,167.78881 C444.298171,167.501547 444.267977,167.098428 443.996233,166.844125 C443.723479,166.588882 443.29371,166.560623 442.985734,166.776312 L442.98609,166.776312 Z",transform:"rotate(-180 222.111 87)"},[])])}function dr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M1.00559976,10.1133216 C-0.336245948,11.4560247 -0.336245948,13.6447056 1.01188695,14.9929727 C2.35373266,16.3356758 4.54337451,16.3356758 5.88524321,14.9929727 L9.14012555,11.7381859 C10.4191085,10.4592405 10.4882713,8.4089041 9.31885896,7.05442902 C9.16347719,6.87570085 8.85182611,6.85324659 8.67397563,7.0086238 C8.48985266,7.17028711 8.46650102,7.48104613 8.62188279,7.65976511 C9.48591196,8.66209046 9.44011,10.1367232 8.48895594,11.086994 L5.2340736,14.3417808 C4.23712218,15.338703 2.65909286,15.338703 1.66211845,14.3417808 C0.665167026,13.3448587 0.659763682,11.7604378 1.65672936,10.7644124 L4.74997124,7.67126125 C4.92331741,7.50959794 4.92870466,7.19256202 4.75625821,7.02011994 C4.58291204,6.84767786 4.26676124,6.85306725 4.09969445,7.02011994 L1.00559976,10.1133216 Z M6.85891565,4.26017751 C5.57993267,5.53912296 5.51076987,7.58945932 6.68018223,8.9439344 C6.84185028,9.12805196 7.14721508,9.14511683 7.32506556,8.98973961 C7.5154748,8.8343624 7.53792972,8.52272047 7.3771584,8.33859831 C6.51940631,7.34257284 6.55893119,5.86233 7.51008525,4.9113694 L10.7649676,1.65658258 C11.761919,0.659660408 13.3463864,0.6659373 14.3424411,1.66197151 C15.3393925,2.65889367 15.3393925,4.23687668 14.3424411,5.23382184 L11.2544875,8.32168473 C11.0820404,8.49412681 11.0757541,8.81116733 11.2490985,8.98450611 C11.4161561,9.1515588 11.7332151,9.14616941 11.9056622,8.9728304 L14.9936157,5.88496751 C16.3354614,4.54316118 16.3354614,2.35358359 14.9936157,1.01175426 C13.6454699,-0.336351955 11.4556901,-0.336351955 10.1138214,1.00636556 L6.8589391,4.26115239 L6.85891565,4.26017751 Z"},[])])}function pr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 19"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M28.5,172 C29.8546632,172 30.9740836,173.094504 31,174.5 C31,175.88059 29.879569,177 28.5,177 C27.1194102,177 26,175.879569 26,174.5 C26,173.11941 27.120431,172 28.5,172 Z M46.144297,173 C46.6289113,173 47,173.433665 47,174 C47,174.566335 46.6289113,175 46.144297,175 L46.144297,175 L33.855703,175 C33.3710887,175 33,174.566335 33,174 C33,173.433665 33.3710887,173 33.855703,173 L33.855703,173 Z M28.5,165 C29.8546632,165 30.9740836,166.120431 31,167.5 C31,168.88059 29.879569,170 28.5,170 C27.1194102,170 26,168.879569 26,167.5 C26,166.11941 27.120431,165 28.5,165 Z M46.144297,167 C46.6289113,167 47,167.433665 47,168 C47,168.566335 46.6289113,169 46.144297,169 L46.144297,169 L33.855703,169 C33.3710887,169 33,168.566335 33,168 C33,167.433665 33.3710887,167 33.855703,167 L33.855703,167 Z M28.5,158 C29.8546632,158 30.9740836,159.11941 31,160.5 C31,161.88059 29.879569,163 28.5,163 C27.1194102,163 26,161.879569 26,160.5 C26,159.11941 27.120431,158 28.5,158 Z M46.144297,160 C46.6289113,160 47,160.433665 47,161 C47,161.566335 46.6289113,162 46.144297,162 L46.144297,162 L33.855703,162 C33.3710887,162 33,161.566335 33,161 C33,160.433665 33.3710887,160 33.855703,160 L33.855703,160 Z",transform:"translate(-26 -158)"},[])])}var fr=void 0,hr=(0,er.forwardRef)((function(e,t){var n,r,i=e.epdata,o=e.overlayId,s=e.meta,a=e.isExpanded,l=e.setExpanded,c=e.toggleNav,u=e.isNavVisible;return(0,Qn.h)("section",{class:"".concat(o,"__share"),ref:t},(0,Qn.h)("header",null,!u&&(0,Qn.h)("button",{class:"ep-view__share__nav-toggle",onClick:c.bind(fr,!0),"aria-controls":"ep-view__navigation","aria-expanded":u},(0,Qn.h)(pr,null),(0,Qn.h)("span",{class:"visually-hidden"},null===(n=null==i?void 0:i.t)||void 0===n?void 0:n.viewer_button_toc)),(0,Qn.h)("h2",null,(0,Qn.h)("a",{href:null==i?void 0:i.journalLink},(0,Qn.h)("span",{class:"ep-view__share__title-up"},(0,Qn.h)(ur,null)),null==i?void 0:i.journalTitle)),(0,Qn.h)("button",{class:"ep-view__share__button","aria-controls":"".concat(o,"__share__content"),"aria-expanded":a,onClick:function(){return l(!a)}},(0,Qn.h)("span",null,i.t.viewer_share_label),(0,Qn.h)(sr,null))),(0,Qn.h)("main",{id:"".concat(o,"__share__content"),"aria-hidden":!a},(null==s?void 0:s.journalEditor)&&(0,Qn.h)("p",{class:"ep-view__meta__editor"},s.journalEditor," (",i.t.viewer_info_editor,")"),((null==s?void 0:s.volumeTitle)||(null==s?void 0:s.issueNumber))&&(0,Qn.h)("p",{class:"ep-view__meta__title"},(null==s?void 0:s.volumeTitle)&&(0,Qn.h)("span",null,null==s?void 0:s.volumeTitle)),(null==s?void 0:s.issueNumber)&&(0,Qn.h)("p",{class:"ep-view__meta__issue-title"},i.t.viewer_info_issue," ",null==s?void 0:s.issueNumber,(null==s?void 0:s.issueTitle)&&(0,Qn.h)("span",null,": ",null==s?void 0:s.issueTitle)),(null===(r=null==s?void 0:s.articles)||void 0===r?void 0:r.length)>0&&(0,Qn.h)("ul",{class:"ep-view__share__articles"},s.articles.map((function(e){var t,n=e.doiLink;return(0,Qn.h)("li",{class:"ep-view__share__item"},(0,Qn.h)("article",{class:"ep-view__share__article"},(0,Qn.h)("div",{class:"ep-view__share__article-meta"},e.authors&&(0,Qn.h)("p",{class:"ep-view__share__authors"},(0,Qn.h)("em",{class:"visually-hidden"},i.t.viewer_info_author,":")," ",e.authors),(0,Qn.h)("h3",null,(0,Qn.h)("span",{class:"ep-view__share__articletitle"},e.title),null===(t=e.chapterTitles)||void 0===t?void 0:t.map((function(e){return(0,Qn.h)("span",{class:"ep-view__share__chaptertitle"},e)})))),(0,Qn.h)("div",{class:"ep-view__share__links"},e.doi&&(0,Qn.h)("a",{class:"ep-view__share__doi",href:e.doiLink,onClick:k.Z.matomoTrackLink.bind(fr,null,"link"),target:"_blank",rel:"nofollow,noreferrer,noopener"},(0,Qn.h)(dr,null),(0,Qn.h)("span",{class:"visually-hidden"},i.t.viewer_info_doi),(0,Qn.h)("span",{class:"ep-view__share__doi-link"},n)),s.available&&(0,Qn.h)("div",{class:"ep-view__share__downloads"},(0,Qn.h)("a",{href:e.pdfLink,target:"_blank",rel:"noopener noreferer",onClick:k.Z.matomoTrackLink.bind(fr,e.pdfLink,"download",{dimension1:i.journalTitleShort})},(0,Qn.h)("svg",null,(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,i.t.viewer_info_download))),e.risLink&&(0,Qn.h)("div",{class:"ep-view__share__ris"},(0,Qn.h)("a",{href:e.risLink,target:"_blank",rel:"noopener noreferer",onClick:k.Z.matomoTrackLink.bind(fr,e.risLink,"download",{dimension1:i.journalTitleShort})},(0,Qn.h)("svg",null,(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,i.t.viewer_info_ris))),n&&(0,Qn.h)("div",{class:"ep-view__share__social"},(0,Qn.h)("a",{onClick:k.Z.matomoTrackLink.bind(fr,null,"link"),target:"_blank",rel:"nofollow,noreferrer,noopener",href:"https://www.facebook.com/sharer/sharer.php?"+or.stringify({u:n})},(0,Qn.h)("span",{class:"visually-hidden"},"Facebook"),(0,Qn.h)(ar,null)),(0,Qn.h)("a",{onClick:k.Z.matomoTrackLink.bind(fr,null,"link"),target:"_blank",rel:"nofollow,noreferrer,noopener",href:"https://twitter.com/intent/tweet?"+or.stringify({url:n,text:e.title,related:"@ETHBibliothek",hashtags:"eperiodica"})},(0,Qn.h)("span",{class:"visually-hidden"},"Twitter"),(0,Qn.h)(cr,null)),(0,Qn.h)("a",{onClick:k.Z.matomoTrackLink.bind(fr,null,"link"),target:"_blank",rel:"nofollow,noreferrer,noopener",href:"https://pinterest.com/pin/create/link/?"+or.stringify({url:n,media:n,description:e.title})},(0,Qn.h)("span",{class:"visually-hidden"},"Pinterest"),(0,Qn.h)(lr,null))))))})))))}));function vr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-image-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M1.40774 19.2391C0.625662 19.2391 0 18.6037 0 17.8314V1.40774C0 0.635438 0.635438 0 1.40774 0H22.5825C23.3646 0 23.9902 0.635438 23.9902 1.40774V17.8216C23.9902 18.6037 23.3548 19.2293 22.5825 19.2293H1.40774V19.2391ZM22.8367 18.0758V1.15356H1.15356V18.0758H22.8367Z"},[]),(0,Qn.h)("path",{d:"M0.439474 15.0159L6.71564 9.84443L10.8509 13.6864L16.5209 6.48149L23.8431 15.5438L22.934 16.2672L16.5307 8.33893L10.9584 15.3972L6.64721 11.3988L0.419922 16.5116L0.439474 15.0159ZM8.11361 7.19514C7.31198 7.19514 6.66676 6.54992 6.66676 5.7483C6.66676 4.94667 7.32175 4.30145 8.11361 4.30145C8.51442 4.30145 8.88591 4.45787 9.15964 4.74137C9.42359 5.0151 9.57023 5.36703 9.56045 5.7483C9.56045 6.54015 8.91524 7.19514 8.11361 7.19514Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-image-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",d:"M0 0H24V19.239H0z"},[])])])])}function mr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({version:"1.2",baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 9.402 9.481",overflow:"auto","xml:space":"preserve"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M9.402.901 8.594.078 4.67 3.926.822 0 0 .808 3.846 4.732-.079 8.58.728 9.402 4.652 5.556 8.5 9.481 9.322 8.675 5.477 4.749z"},[])])}var gr=(0,er.forwardRef)((function(e,t){var n=e.isExpanded,r=e.setExpanded,i=e.activePagePid,o=e.meta,s=e.pagesByPid,a=e.overlayId,l=e.iiifEndpointUri,c=e.iiifSystemId,u=e.bearerToken,d=e.t,p=s[i],f=null==p?void 0:p.id,h=null==f?void 0:f.replace(/.*!(.*?)\.(jpg|jpeg|tif)$/,"$1"),v=u;if(!(null==o?void 0:o.available))return(0,Qn.h)("div",{class:"".concat(a,"__download ep-view__download--notavailable"),ref:t});var m=function(e,t,n){var r="".concat(null==o?void 0:o.elementPid," [").concat(null==t?void 0:t.replace(/.*!(.*?)\.jpg/,"$1"),"]");k.Z.matomoTrackEvent("Page","Download image",r,e)};return(0,Qn.h)("div",{class:"".concat(a,"__download ").concat(n?"ep-view__download--open":""),ref:t},n?(0,Qn.h)("aside",{class:"ep-view__download__details"},(0,Qn.h)("header",null,(0,Qn.h)("h3",null,d.viewer_download_title.replace("%",(null==o?void 0:o.label)?o.label:"")),(0,Qn.h)("button",{id:"".concat(a,"__btn-close"),class:"ep-view__btn-close",onClick:function(){return r(!1)}},(0,Qn.h)("span",null,d.viewer_download_close),(0,Qn.h)(mr,null))),o?(0,Qn.h)("main",null,(0,Qn.h)("ul",null,(0,Qn.h)("li",null,(0,Qn.h)("a",{className:"ep-matomo-ignore",onClick:function(e){return r(!1),m("Small",f)},href:"".concat(l,"/").concat(c,"!").concat(f,"/full/!1024,1024/0/default.jpg?response-content-disposition=attachment%3B%20filename%3D").concat(h,"-1024.jpg").concat(v?"&token="+v:"")},(0,Qn.h)("svg",{viewBox:"0 0 24 24"},(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,d.viewer_download_small))),(0,Qn.h)("li",null,(0,Qn.h)("a",{className:"ep-matomo-ignore",onClick:function(e){return r(!1),m("Medium",f)},href:"".concat(l,"/").concat(c,"!").concat(f,"/full/!2048,2048/0/default.jpg?response-content-disposition=attachment%3B%20filename%3D").concat(h,"-2048.jpg").concat(v?"&token="+v:"")},(0,Qn.h)("svg",{viewBox:"0 0 24 24"},(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,d.viewer_download_medium))),(0,Qn.h)("li",null,(0,Qn.h)("a",{className:"ep-matomo-ignore",onClick:function(e){return r(!1),m("Large",f)},href:"".concat(l,"/").concat(c,"!").concat(f,"/full/full/0/default.jpg?response-content-disposition=attachment%3B%20filename%3D").concat(h,".jpg").concat(v?"&token="+v:"")},(0,Qn.h)("svg",{viewBox:"0 0 24 24"},(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,d.viewer_download_full))))):(0,Qn.h)("main",null,(0,Qn.h)("p",null,d.viewer_download_not_available)),(0,Qn.h)("footer",null)):(0,Qn.h)("aside",{class:"ep-view__download__container"},(0,Qn.h)("button",{id:"".concat(a,"__btn-download"),class:"ep-view__btn-download",onClick:function(){return r(!n)}},(0,Qn.h)("span",null,d.viewer_download),(0,Qn.h)(vr,null))))})),_r=gr;function yr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 31 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-text-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M.835758 1.68399C.261954 1.68399 0 1.18503 0 .835759 0 .486487.261954 0 .835758 0H29.7256C30.0624 0 30.5613.274428 30.5613.848233 30.5613 1.37214 30.2495 1.69647 29.7256 1.69647H.835758V1.68399ZM.835758 9.16839C.49896 9.16839 0 8.89396 0 8.32016 0 7.79625.31185 7.47192.835758 7.47192H29.7256C30.0624 7.47192 30.5613 7.74635 30.5613 8.32016 30.5613 8.84406 30.2495 9.16839 29.7256 9.16839H.835758ZM1.16008 16.6404C.598753 16.6404 0 16.3036 0 15.7921 0 15.1684.598753 14.9439 1.16008 14.9439H29.3888C29.9501 14.9439 30.5489 15.2807 30.5489 15.7921 30.5489 16.4158 29.9501 16.6404 29.3888 16.6404H1.16008ZM1.16008 24C.598753 24 0 23.6632 0 23.1518 0 22.5281.598753 22.3035 1.16008 22.3035H18.6611C19.2225 22.3035 19.8212 22.6403 19.8212 23.1518 19.8212 23.7755 19.2225 24 18.6611 24H1.16008Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-text-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",d:"M0 0H30.549V24H0z"},[])])])])}function wr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 18 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-copy-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M2.04713 20.0737C1.14527 20.0737 0.417969 19.3463 0.417969 18.4445V4.53841C0.417969 3.63655 1.14527 2.90924 2.04713 2.90924H13.044C13.9458 2.90924 14.6732 3.63655 14.6732 4.53841V18.4445C14.6732 19.3463 13.9458 20.0737 13.044 20.0737H2.04713ZM2.04713 4.36385C1.95986 4.36385 1.87258 4.45113 1.87258 4.53841V18.4445C1.87258 18.5318 1.95986 18.619 2.04713 18.619H13.044C13.1313 18.619 13.2185 18.5318 13.2185 18.4445V4.53841C13.2185 4.45113 13.1313 4.36385 13.044 4.36385H2.04713Z"},[]),(0,Qn.h)("path",{d:"M15.9541 17.1644C15.5469 17.1644 15.2268 16.8444 15.2268 16.4371C15.2268 16.0298 15.5469 15.7098 15.9541 15.7098C16.0414 15.7098 16.1287 15.6225 16.1287 15.5352V1.62916C16.1287 1.54189 16.0414 1.45461 15.9541 1.45461H4.95729C4.87001 1.45461 4.78274 1.54189 4.78274 1.62916C4.78274 2.03646 4.46272 2.35647 4.05543 2.35647C3.64814 2.35647 3.32812 2.03646 3.32812 1.62916C3.32812 0.727305 4.05543 0 4.95729 0H15.9541C16.856 0 17.5833 0.727305 17.5833 1.62916V15.5352C17.5833 16.4371 16.856 17.1644 15.9541 17.1644Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-copy-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",transform:"translate(.418)",d:"M0 0H17.164V20.074H0z"},[])])])])}function br(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function xr(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}var Cr=function(e){};function Er(e){Cr(e)}(function(){(console.warn||console.log).apply(console,arguments)}).bind("[clipboard-polyfill]");var Sr,kr,Tr,Mr,Ar="undefined"==typeof navigator?void 0:navigator,Or=null==Ar?void 0:Ar.clipboard,Lr=(null===(Sr=null==Or?void 0:Or.read)||void 0===Sr||Sr.bind(Or),null===(kr=null==Or?void 0:Or.readText)||void 0===kr||kr.bind(Or),null===(Tr=null==Or?void 0:Or.write)||void 0===Tr||Tr.bind(Or),null===(Mr=null==Or?void 0:Or.writeText)||void 0===Mr?void 0:Mr.bind(Or)),Pr="undefined"==typeof window?void 0:window,jr=(null==Pr||Pr.ClipboardItem,Pr);function Ir(){return"undefined"==typeof ClipboardEvent&&void 0!==jr.clipboardData&&void 0!==jr.clipboardData.setData}var Nr=function(){this.success=!1};function Dr(e,t,n){for(var r in Er("listener called"),e.success=!0,t){var i=t[r],o=n.clipboardData;o.setData(r,i),"text/plain"===r&&o.getData(r)!==i&&(Er("setting text/plain failed"),e.success=!1)}n.preventDefault()}function Br(e){var t=new Nr,n=Dr.bind(this,t,e);document.addEventListener("copy",n);try{document.execCommand("copy")}finally{document.removeEventListener("copy",n)}return t.success}function Rr(e,t){Fr(e);var n=Br(t);return $r(),n}function Fr(e){var t=document.getSelection();if(t){var n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}}function $r(){var e=document.getSelection();e&&e.removeAllRanges()}function Hr(e){return br(this,void 0,void 0,(function(){var t;return xr(this,(function(n){if(t="text/plain"in e,Ir()){if(!t)throw new Error("No `text/plain` value was specified.");if(r=e["text/plain"],jr.clipboardData.setData("Text",r))return[2,!0];throw new Error("Copying failed, possibly because the user rejected it.")}var r;return Br(e)?(Er("regular execCopy worked"),[2,!0]):navigator.userAgent.indexOf("Edge")>-1?(Er('UA "Edge" => assuming success'),[2,!0]):Rr(document.body,e)?(Er("copyUsingTempSelection worked"),[2,!0]):function(e){var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important"),t.textContent="temporary element",document.body.appendChild(t);var n=Rr(t,e);return document.body.removeChild(t),n}(e)?(Er("copyUsingTempElem worked"),[2,!0]):function(e){Er("copyTextUsingDOM");var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important");var n=t;t.attachShadow&&(Er("Using shadow DOM."),n=t.attachShadow({mode:"open"}));var r=document.createElement("span");r.innerText=e,n.appendChild(r),document.body.appendChild(t),Fr(r);var i=document.execCommand("copy");return $r(),document.body.removeChild(t),i}(e["text/plain"])?(Er("copyTextUsingDOM worked"),[2,!0]):[2,!1]}))}))}function qr(e){return br(this,void 0,void 0,(function(){return xr(this,(function(t){if(Lr)return Er("Using `navigator.clipboard.writeText()`."),[2,Lr(e)];if(!Hr(function(e){var t={};return t["text/plain"]=e,t}(e)))throw new Error("writeText() failed");return[2]}))}))}var Vr=(0,er.forwardRef)((function(e,t){var n,r=e.isExpanded,i=e.setExpanded,o=e.activePage,s=e.meta,a=e.textData,l=e.setTextData,c=e.pagesByPid,u=e.overlayId,d=(e.iiifEndpointUri,e.iiifSystemId,e.bearerToken,e.t),p=(0,er.useState)(null),f=p[0],h=p[1],v=c[o],m=!1;if(!(null==s?void 0:s.available))return(0,Qn.h)("div",{class:"".concat(u,"__text ep-view__text--notavailable"),ref:t});var g=function(e){m=!0,function(e){return fetch("/digbib/ajax/pageinfo?pid=".concat(e)).then((function(e){return e.json()})).then((function(t){return{fulltext:t.fulltext,pid:e}}))}(e).then((function(e){l(e)}))};return r&&(null==a?void 0:a.pid)!=(null==v?void 0:v.pid)&&(g(v.pid),m=!0),(0,Qn.h)("div",{class:"".concat(u,"__text ").concat(r?"ep-view__text--open":""),ref:t},r?(0,Qn.h)("aside",{class:"ep-view__text__details"},(0,Qn.h)("header",null,(0,Qn.h)("h3",null,null===(n=d.viewer_fulltext_title)||void 0===n?void 0:n.replace("%",(null==s?void 0:s.label)?s.label:"")),(null==a?void 0:a.fulltext)&&(0,Qn.h)(Qn.HY,null,f&&(0,Qn.h)("span",{class:"ep-view__text__cbstate"},f),(0,Qn.h)("button",{class:"ep-view__btn-copy",onClick:function(){return function(e,t,n,r,i){var o,s,a=decodeURIComponent(null!==(o=null==i?void 0:i.viewerLink)&&void 0!==o?o:""),l=null===(s=null==i?void 0:i.imageId)||void 0===s?void 0:s.replace(/.*!(.*?)\.jpg$/,"$1"),c=(null==i?void 0:i.elementPid)?"".concat(null==i?void 0:i.elementPid," ").concat(l?"["+l+"]":""):a;k.Z.matomoTrackEvent("Page","Copy fulltext",null!=c?c:a),qr(e).then((function(){t(r.viewer_fulltext_copied),setTimeout((function(){t(null)}),2e3)}),(function(e){}))}(null==a?void 0:a.fulltext,h,0,d,s)}},(0,Qn.h)("span",null,d.viewer_fulltext_copy),(0,Qn.h)(wr,null))),(0,Qn.h)("button",{id:"".concat(u,"__btn-text-close"),class:"ep-view__btn-close",onClick:function(){return i(!1)}},(0,Qn.h)("span",null,d.viewer_text_close),(0,Qn.h)(mr,null))),s?(0,Qn.h)("main",null,m?(0,Qn.h)("p",{class:"ep-view__text__fulltext ep-view__text__fulltext--loading"},d.viewer_fulltext_loading):(0,Qn.h)("p",{class:"ep-view__text__fulltext"},null==a?void 0:a.fulltext)):(0,Qn.h)("main",null,(0,Qn.h)("p",null,d.viewer_text_not_available)),(0,Qn.h)("footer",null)):(0,Qn.h)("aside",{class:"ep-view__text__container"},(0,Qn.h)("button",{id:"".concat(u,"__btn-text"),class:"ep-view__btn-text",onClick:function(){i(!r),g(v.pid)}},(0,Qn.h)("span",null,d.misc_fulltext),(0,Qn.h)(yr,null))))})),zr=Vr;function Yr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("circle",{cx:"256",cy:"256",r:"256",fill:"#888"},[]),(0,Qn.h)("path",{d:"M190.379 382.784C191.581 377.506 193.386 370.458 195.79 361.639L228.225 243.124C228.559 241.754 228.893 240.384 229.127 239.015C229.394 237.646 229.528 236.343 229.528 235.14C229.528 228.092 227.29 223.716 222.847 221.979C218.371 220.276 210.254 219.139 198.395 218.639V204.709C208.283 204.008 222.68 202.638 241.519 200.466C260.359 198.329 273.72 196.458 281.571 194.921L304.051 190.545L263.065 340.761C259.624 353.688 257.319 362.607 256.117 367.584C253.043 380.311 251.474 388.528 251.474 392.303C251.474 396.078 252.342 398.583 254.045 399.685C255.749 400.787 257.653 401.388 259.724 401.388C265.068 401.388 271.682 396.812 279.633 387.692C287.55 378.64 294.531 369.019 300.543 359.133L312.134 366.581C294.932 391.835 281.77 408.87 272.651 417.589C257.686 432.086 241.685 439.234 224.65 439.234C215.029 439.234 206.378 436.294 198.728 430.349C191.079 424.403 187.238 415.35 187.238 403.158C187.273 398.817 188.308 392.037 190.379 382.784ZM314.474 83.0873C321.321 89.9681 324.762 98.3194 324.762 108.107C324.762 117.894 321.321 126.278 314.474 133.227C307.626 140.174 299.275 143.648 289.454 143.648C279.667 143.648 271.317 140.174 264.335 133.227C257.354 126.279 253.913 117.894 253.913 108.107C253.913 98.3194 257.387 89.969 264.335 83.0873C271.316 76.2398 279.667 72.7655 289.454 72.7655C299.275 72.7655 307.592 76.2389 314.474 83.0873Z",fill:"#EEE"},[])])}var Wr,Ur,Xr=s("./node_modules/react-toggle/dist/component/index.js"),Gr=(0,er.forwardRef)((function(e,t){var n,r,i=e.isExpanded,o=e.setExpanded,s=e.activePage,a=e.meta,l=e.isNlaActive,c=e.toggleNla,u=e.pageIndex,d=e.overlayId,p=(e.iiifEndpointUri,e.iiifSystemId,e.bearerToken,e.t),f=(null==u||u[s],(0,er.useCallback)((function(e){zn(e,{placement:"bottom"})}),[]));return(0,Qn.h)("div",{class:"".concat(d,"__nla ").concat(i?"ep-view__nla--open":""),ref:t},i?(0,Qn.h)("aside",{class:"ep-view__nla__details"},(0,Qn.h)("header",null,(0,Qn.h)("h3",null,null===(r=p.viewer_fulltext_title)||void 0===r?void 0:r.replace("%",(null==a?void 0:a.label)?a.label:"")),(0,Qn.h)("button",{id:"".concat(d,"__btn-text-close"),class:"ep-view__btn-close",onClick:function(){return o(!1)}},(0,Qn.h)("span",null,p.viewer_text_close),(0,Qn.h)(mr,null))),a?(0,Qn.h)("main",null):(0,Qn.h)("main",null,(0,Qn.h)("p",null,p.viewer_text_not_available)),(0,Qn.h)("footer",null)):(0,Qn.h)("aside",{class:"ep-view__nla__container"},(0,Qn.h)(Xr.Z,{id:"".concat(d,"__btn-nla"),checked:l,onChange:c}),(0,Qn.h)("label",{for:"".concat(d,"__btn-nla"),"data-tippy-offset":"[0, 24]","data-tippy-content":null!==(n=p.nla_viewer_info)&&void 0!==n?n:"",ref:f},(0,Qn.h)("span",null,p.nla_viewer_toggle),(0,Qn.h)(Yr,null))))})),Zr=Gr;function Kr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-fullscreen-up-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M.674157 7.07252C.306435 7.07252 0 6.76609 0 6.39837V1.43412C0 .637385.637385 0 1.43412 0H6.39837C6.76609 0 7.07252.306435 7.07252.674157 7.07252 1.04188 6.76609 1.34831 6.39837 1.34831H1.43412C1.38509 1.34831 1.34831 1.38509 1.34831 1.43412V6.39837C1.34831 6.76609 1.04188 7.07252.674157 7.07252ZM1.43412 24C.649642 24 0 23.3626 0 22.5659V17.7242C0 17.3565.306435 17.05.674157 17.05 1.04188 17.05 1.34831 17.3565 1.34831 17.7242V22.5659C1.34831 22.6149 1.38509 22.6517 1.43412 22.6517H6.39837C6.76609 22.6517 7.07252 22.9581 7.07252 23.3258 7.07252 23.6936 6.76609 24 6.39837 24H1.43412ZM17.7249 24C17.3572 24 17.0508 23.6936 17.0508 23.3258 17.0508 22.9581 17.3572 22.6517 17.7249 22.6517H22.5666C22.5911 22.6517 22.6034 22.6394 22.6279 22.6272 22.6402 22.6149 22.6524 22.5904 22.6524 22.5659V17.7242C22.6524 17.3565 22.9588 17.05 23.3266 17.05 23.6943 17.05 24.0007 17.3565 24.0007 17.7242V22.5659C24.0007 22.9459 23.8536 23.3013 23.584 23.571 23.3143 23.8407 22.9588 23.9877 22.5789 23.9877H17.7249V24ZM23.3266 7.07252C22.9589 7.07252 22.6524 6.76609 22.6524 6.39837V1.43412C22.6524 1.4096 22.6402 1.39734 22.6279 1.37283 22.6156 1.36057 22.5911 1.34831 22.5666 1.34831H17.7249C17.3572 1.34831 17.0508 1.04188 17.0508.674157 17.0508.306435 17.3572 0 17.7249 0H22.5666C22.9466 0 23.3021.147089 23.5717.416752 23.8414.686415 23.9885 1.04188 23.9885 1.42186V6.38611C24.0007 6.76609 23.6943 7.07252 23.3266 7.07252Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-fullscreen-up-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",d:"M0 0H24V24H0z"},[])])])])}function Jr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-fullscreen-exit-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M.673469 8.16735C.306122 8.16735 0 7.86123 0 7.49388 0 7.12653.306122 6.82041.673469 6.82041H6.85714V.673469C6.85714.306122 7.16327 0 7.53061 0 7.71429 0 7.87347.0734694 8.00816.195918 8.13061.318367 8.20408.489796 8.20408.673469V7.49388C8.20408 7.86123 7.89796 8.16735 7.53061 8.16735H.673469ZM16.4703 8.16735C16.103 8.16735 15.7969 7.86123 15.7969 7.49388V.673469C15.7969.306122 16.103 0 16.4703 0 16.8377 0 17.1438.306122 17.1438.673469V6.82041H23.3275C23.6948 6.82041 24.001 7.12653 24.001 7.49388 24.001 7.86123 23.6948 8.16735 23.3275 8.16735H16.4703ZM16.4703 24C16.103 24 15.7969 23.6938 15.7969 23.3265V16.4326C15.7969 16.0653 16.103 15.7592 16.4703 15.7592H23.3275C23.5112 15.7592 23.6703 15.8326 23.805 15.9551 23.9275 16.0775 24.001 16.249 24.001 16.4326 24.001 16.8 23.6948 17.1061 23.3275 17.1061H17.1438V23.3387C17.1438 23.6938 16.8377 24 16.4703 24ZM7.53061 24C7.16327 24 6.85714 23.6939 6.85714 23.3265V17.0939H.673469C.306122 17.0939 0 16.7878 0 16.4204 0 16.0531.306122 15.7469.673469 15.7469H7.53061C7.89796 15.7469 8.20408 16.0531 8.20408 16.4204V23.3143C8.20408 23.6939 7.89796 24 7.53061 24Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-fullscreen-exit-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",d:"M0 0H24V24H0z"},[])])])])}function Qr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M18.9296943,15 C23.8623468,15 27.8605228,19.0449676 27.8605228,24.0353482 C27.8605228,26.243702 27.0675786,28.2808144 25.7629405,29.8584149 L25.7629405,29.8584149 L31.8297231,36.0240791 C32.056759,36.2537778 32.056759,36.5977578 31.8297231,36.8274507 C31.7167694,36.9428564 31.5749989,37 31.433251,37 C31.2915032,37 31.149744,36.9417378 31.036779,36.8274507 L31.036779,36.8274507 L24.9700531,30.6897243 C23.3817832,32.1530491 21.2554522,33.0706963 18.9308284,33.0706963 C13.9981759,33.0706963 10,29.0257287 10,24.0353482 C10,19.0438203 13.9970419,15 18.9296943,15 Z M18.930715,16.1474032 C14.6215194,16.1474032 11.13396,19.6757783 11.13396,24.0354055 C11.13396,28.3950327 14.6215194,31.9234079 18.930715,31.9234079 C23.2399106,31.9234079 26.72747,28.3950327 26.72747,24.0354055 C26.72747,19.6757783 23.2399106,16.1474032 18.930715,16.1474032 Z M19,20 C19.3147314,20 19.5714286,20.2478345 19.5714286,20.5517241 L19.5714286,20.5517241 L19.5714286,23.3103448 L22.4285714,23.3103448 C22.7433029,23.3103448 23,23.5581903 23,23.862069 C23,24.1659476 22.7433143,24.4137931 22.4285714,24.4137931 L22.4285714,24.4137931 L19.5714286,24.4137931 L19.5714286,27.4482759 C19.5714286,27.7521545 19.3147314,28 19,28 C18.6852686,28 18.4285714,27.7521655 18.4285714,27.4482759 L18.4285714,27.4482759 L18.4285714,24.4137931 L15.5714286,24.4137931 C15.2566971,24.4137931 15,24.1659476 15,23.862069 C15,23.5581903 15.2566857,23.3103448 15.5714286,23.3103448 L15.5714286,23.3103448 L18.4285714,23.3103448 L18.4285714,20.5517241 C18.4285714,20.2478455 18.6852686,20 19,20 Z",transform:"translate(-10 -15)"},[])])}function ei(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"},t),[(0,Qn.h)("g",{fill:"#FFF"},[(0,Qn.h)("path",{d:"M15.7629405,14.8584149 C17.0675786,13.2808144 17.8605228,11.243702 17.8605228,9.03534816 C17.8605228,4.04496761 13.8623468,0 8.92969434,0 C3.99704187,0 0,4.04382027 0,9.03534816 C0,14.0257287 3.99817595,18.0706963 8.93082841,18.0706963 C11.2554522,18.0706963 13.3817832,17.1530491 14.9700531,15.6897243 L21.036779,21.8274507 C21.149744,21.9417378 21.2915032,22 21.433251,22 C21.5749989,22 21.7167694,21.9428564 21.8297231,21.8274507 C22.056759,21.5977578 22.056759,21.2537778 21.8297231,21.0240791 L15.7629405,14.8584149 Z M8.93071501,16.9234079 C4.62151942,16.9234079 1.13396004,13.3950327 1.13396004,9.03540553 C1.13396004,4.67577833 4.62151942,1.14740317 8.93071501,1.14740317 C13.2399106,1.14740317 16.72747,4.67577833 16.72747,9.03540553 C16.72747,13.3950327 13.2399106,16.9234079 8.93071501,16.9234079 Z"},[]),(0,Qn.h)("path",{d:"M9.56,12.91 L8.61204461,12.91 L8.61204461,7.89448519 L6.56,7.89448519 L6.56,7.22311707 C6.82765933,7.22311707 7.08787978,7.20501664 7.34066914,7.16881523 C7.59345851,7.13261383 7.82208076,7.06514859 8.02654275,6.96641749 C8.23100474,6.86768639 8.40386546,6.73275591 8.54513011,6.561622 C8.68639476,6.3904881 8.78304807,6.17328293 8.83509294,5.91 L9.56,5.91 L9.56,12.91 Z"},[])])])}function ti(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M19.9296943,20 C24.8623468,20 28.8605228,24.0449676 28.8605228,29.0353482 C28.8605228,31.243702 28.0675786,33.2808144 26.7629405,34.8584149 L26.7629405,34.8584149 L32.8297231,41.0240791 C33.056759,41.2537778 33.056759,41.5977578 32.8297231,41.8274507 C32.7167694,41.9428564 32.5749989,42 32.433251,42 C32.2915032,42 32.149744,41.9417378 32.036779,41.8274507 L32.036779,41.8274507 L25.9700531,35.6897243 C24.3817832,37.1530491 22.2554522,38.0706963 19.9308284,38.0706963 C14.9981759,38.0706963 11,34.0257287 11,29.0353482 C11,24.0438203 14.9970419,20 19.9296943,20 Z M19.930715,21.1474032 C15.6215194,21.1474032 12.13396,24.6757783 12.13396,29.0354055 C12.13396,33.3950327 15.6215194,36.9234079 19.930715,36.9234079 C24.2399106,36.9234079 27.72747,33.3950327 27.72747,29.0354055 C27.72747,24.6757783 24.2399106,21.1474032 19.930715,21.1474032 Z M23.4285714,29 C23.7433029,29 24,29.22461 24,29.5 C24,29.77539 23.7433143,30 23.4285714,30 L23.4285714,30 L16.5714286,30 C16.2566971,30 16,29.77539 16,29.5 C16,29.22461 16.2566857,29 16.5714286,29 L16.5714286,29 Z",transform:"translate(-11 -20)"},[])])}function ni(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({version:"1.2",baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",viewBox:"15.198 12.938 7.75 13.875","xml:space":"preserve"},t),[(0,Qn.h)("path",{fill:"none",stroke:"#FFF","stroke-miterlimit":"10",d:"M22.383 26.469 15.96 20.045 22.573 13.432"},[])])}var ri,ii,oi,si,ai,li,ci,ui,di,pi,fi,hi,vi,mi=null!==(Ur=null===(Wr=window.epdata)||void 0===Wr?void 0:Wr.t)&&void 0!==Ur?Ur:{},gi=(0,er.forwardRef)((function(e,t){var n=e.isFullscreen,r=e.overlayId;e.pageIndex;return(0,Qn.h)("div",{class:"".concat(r,"__zoom"),ref:t},(0,Qn.h)("div",{class:"ep-view__zoom__container"},(0,Qn.h)("button",{id:"".concat(r,"__btn-fullpage"),class:"ep-view__btn-fullpage"},(0,Qn.h)("span",null,mi.viewer_zoom_full),n?(0,Qn.h)(Jr,null):(0,Qn.h)(Kr,null)),(0,Qn.h)("button",{id:"".concat(r,"__btn-zoom-in"),class:"ep-view__btn-zoom-in"},(0,Qn.h)("span",null,mi.viewer_zoom_in),(0,Qn.h)(Qr,null)),(0,Qn.h)("button",{id:"".concat(r,"__btn-home"),class:"ep-view__btn-home"},(0,Qn.h)("span",null,mi.viewer_zoom_one),(0,Qn.h)(ei,null)),(0,Qn.h)("button",{id:"".concat(r,"__btn-zoom-out"),class:"ep-view__btn-zoom-out"},(0,Qn.h)("span",null,mi.viewer_zoom_out),(0,Qn.h)(ti,null))))})),_i=(0,er.forwardRef)((function(e,t){var n,r,i,o,s=e.activePage,a=e.setActivePage,l=e.overlayId,c=e.pageIndex,u=e.pagesByPid,d=c,p=null!==(i=null===(r=null===(n=u[s])||void 0===n?void 0:n.item)||void 0===r?void 0:r.index)&&void 0!==i?i:0;return(0,Qn.h)("div",{class:"".concat(l,"__paging"),ref:t},(0,Qn.h)("button",{id:"".concat(l,"__btn-page-prev"),class:"ep-view__btn-page-prev",onClick:function(){for(var e=p-1;e>0&&(null==d?void 0:d[e].pid)===s;)e--;e>=0&&a(null==d?void 0:d[e].pid)},disabled:p<=0},(0,Qn.h)(ni,null),(0,Qn.h)("span",null,mi.viewer_prev_page)),(0,Qn.h)("div",{id:"".concat(l,"__page-cur"),class:"ep-view__page-cur"},(0,Qn.h)("span",{class:"ep-view__page-cur__label"},mi.viewer_page_label),(0,Qn.h)("span",null,null===(o=u[s])||void 0===o?void 0:o.label)),(0,Qn.h)("button",{id:"".concat(l,"__btn-page-next"),class:"ep-view__btn-page-next",onClick:function(){for(var e=p+1;e<(null==d?void 0:d.length)&&c[e].pid===s;)e++;e<c.length&&a(c[e].pid)},disabled:p>=(null==d?void 0:d.length)},(0,Qn.h)("span",null,mi.viewer_next_page),(0,Qn.h)(ni,null)))})),yi="http://www.w3.org/2000/svg",wi=void 0,bi={},xi=new(rr()),Ci=.05,Ei=[],Si="ep-view__osd",ki=(ii=null===(ri=window.epdata)||void 0===ri?void 0:ri.t,-1),Ti=0,Mi=null===(oi=null===window||void 0===window?void 0:window.epdata)||void 0===oi?void 0:oi.iiifTilesEndpointUri,Ai=null===(si=null===window||void 0===window?void 0:window.epdata)||void 0===si?void 0:si.iiifDownloadsEndpointUri,Oi=(null===(ai=null===window||void 0===window?void 0:window.epdata)||void 0===ai||ai.iiifEndpointUri,null===(li=null===window||void 0===window?void 0:window.epdata)||void 0===li?void 0:li.iiifSystemId),Li=null===(ci=null===window||void 0===window?void 0:window.epdata)||void 0===ci?void 0:ci.nlaEndpointUri,Pi=null===(ui=null===window||void 0===window?void 0:window.epdata)||void 0===ui?void 0:ui.nlaEndpointAuth,ji=null===(di=null===window||void 0===window?void 0:window.epdata)||void 0===di?void 0:di.nlaEnabled,Ii=ji&&JSON.parse(null!==(fi=null===(pi=window.sessionStorage)||void 0===pi?void 0:pi.getItem("nla.active"))&&void 0!==fi?fi:"false"),Ni=function(e,t,n,r,i,o,s){t.forEach((function(t,a){var l=bi[t.pid],c=l.w>0&&l.h>0,u=new r.Rect(t.minX,t.minY,t.maxX-t.minX,t.maxY-t.minY);if(t.visible&&l.available&&c&&l.state===po){l.state=uo;var d=new r.IIIFTileSource((0,Re.pi)({"@id":"".concat(Mi,"/").concat(Oi,"!").concat(l.id),"@context":"http://iiif.io/api/image/2/context.json",profile:["http://iiif.io/api/image/2/level2.json"],protocol:"http://iiif.io/api/image",width:Math.round(20*l.w),height:Math.round(20*l.h),tiles:[{scaleFactors:[1,2,4,8,16],width:512}]},i));try{e.addTiledImage({tileSource:d,fitBounds:u,placeholderFillStyle:"#000",success:function(e){l.state=fo,e.item.index=a,e.item.pageWidth=l.w,e.item.pageHeight=l.h,l.image=e.item,n&&l.pid===window.epdata.pages[ki].pid&&(o(n),Di(n))}})}catch(e){}}else if(!l.available&&t.visible&&l.state===po){var p=l.pid===window.epdata.pages[ki].pid;l.item.index;l.state=uo,e.addSimpleImage({url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+ip1sAAAAASUVORK5CYII=",fitBounds:new r.Rect(u.x,u.y,Math.max(u.height,1),Math.max(u.height,1)),clip:new r.Rect(0,0,Math.max(u.width,1)/Math.max(u.height,1),1),fitBoundsPlacement:r.Placement.TOP_LEFT,placeholderFillStyle:"#000"}),e.addSimpleImage({url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHPSURBVHgBzVXLTStBEKwe+/BuzyEsAeA3+0gAMoALElyACIAIjCOADIAThgsQAXYEDBAAJgNz47JTdK8tsMDGsxZIlLRaza+re7qrRzADZ94viyu2hLJKoCHAgMIrxlp7I4T+rPPuq8XOUnNXJN4gOhR0O44uj3RrjKKIj+f/my3MgGCq54vbTuRQ6FbWQwgf1y+891TygmhvhvsjVI1AXWxFcn+ScYPNW1Q1QevY+0YlAvPe/hvh4QRfYDOEK4LhD4rVaXvqkyYF4kFcIwWUO71nP215YgRWLfoNkGK/3Cd/KxF8J36c4K1MVVCZCmpY15RlTd6zCG5nGSCRi12RsKujZ8b60bgA35I8ElRXDT/p8NS49XAKnjh0yqxkpR1g4ROBIiNE5X/Xx5ywWwDi4/hcpRwMDVRDPWVTmZ8y9Jh18maf2j5SGp0hLQIpDvSOgxpe0Lz0BHEPiUi9okYEe+a1JlR7E/8lnksjIGsn1tTKA4JdllX2jQRagMHax2iYAbUuEvE7WsWLNjR7Kjv5oomo/5LYCJMJdkIY6FOZk9KzErUxEpGkA8Oo7g9QEe+9SMOOKLyKCvNCC8HLNAIVUFsf+UtVK+aFMyfVzvjcK9BCwV89ocouAAAAAElFTkSuQmCC",fitBounds:new r.Rect(u.x+.4375*u.width,u.y+.4375*u.height,Math.max(u.width/8,1),Math.max(u.height/8,1)),fitBoundsPlacement:r.Placement.CENTER,placeholderFillStyle:"#fff"}),e.addSimpleImage({url:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",fitBoundsPlacement:r.Placement.TOP_LEFT,fitBounds:new r.Rect(u.x,u.y,u.height,u.height),clip:new r.Rect(0,0,u.width/u.height,1),placeholderFillStyle:"#000",success:function(e){e.item._worldWidthTarget=u.width,e.item._worldHeightTarget=u.height,e.item.index=a,l.image=e.item,l.state=fo,n&&p&&(o(n),Di(n))}}),function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1),e.setAttribute("id","ep-view__osd__movingwall");var i=document.createElementNS(yi,"g"),o=document.createElementNS(yi,"rect");o.setAttribute("x","".concat(n*t.x)),o.setAttribute("y","".concat(n*t.y)),o.setAttribute("width","".concat(n*t.width)),o.setAttribute("height","".concat(n*t.height)),o.setAttribute("fill","#fff"),o.setAttribute("class","overlay-bg"),i.appendChild(o);var s=document.createElementNS(yi,"foreignObject");s.setAttribute("x","".concat(n*t.x)),s.setAttribute("y","".concat(n*t.y)),s.setAttribute("width","".concat(n*t.width)),s.setAttribute("height","".concat(n*t.height));var a=document.createElement("div");a.setAttribute("class","ep-view__movingwall"),a.setAttribute("style","font-size:".concat(.0025*t.height*n,"em"));var l=document.createElement("img");l.setAttribute("src","/dist/images/locked.svg"),a.appendChild(l);var c=document.createElement("div");c.setAttribute("class","ep-view__movingwall__text"),c.innerHTML=window.epdata.movingWallText,a.appendChild(c),s.appendChild(a),i.appendChild(s),e.appendChild(i)}(e.svgOverlay().node(),u,s,Ci)}}))},Di=function(e){var t,n,r=null!==(n=null===(t=bi[e])||void 0===t?void 0:t.item)&&void 0!==n?n:Ei[0],i=new OpenSeadragon.Rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),o=hi.viewport.getBounds();return hi.viewport.fitBoundsWithConstraints(i,!(Math.abs(o.x-i.x)<3*o.width)),{page:(null==r?void 0:r.pid)?bi[null==r?void 0:r.pid]:void 0,bounds:i}},Bi=function(e,t){var n,r,i=hi.viewport.getBoundsWithMargins(),o=xi.search({minX:i.x,minY:i.y,maxX:i.x+i.width,maxY:i.y+i.height});Ni(hi,o,null!=vi?vi:"",t.OpenSeadragon,t.authOptions,t.setActivePage,t.overlayScale);for(var s=function(i){if(0===o[i].visible)return"continue";if(o[i].pageInfo||o[i].isRequestingHits)o[i].pid==vi&&e(o[i].pageInfo);else{o[i].isRequestingHits=!0;window.epdata.docPid;var s=null===(r=null===(n=bi[o[i].pid])||void 0===n?void 0:n.id)||void 0===r?void 0:r.replace(/.*!(.*).jpe?g$/,"$1"),a=[fetch("/digbib/ajax/pageinfo?pid="+o[i].pid).then((function(e){return e.json()})).then((function(t){return delete t.fulltext,o[i].pageInfo=t,o[i].isRequestingHits=!1,t.words&&t.words.length>0&&function(e){for(var t=e.pageInfo,n=e.maxX-e.minX,r=e.maxY-e.minY,i=0;i<t.words.length;i++){var o=t.words[i],s=o.widthOriginal/o.heightOriginal,a=r/o.heightOriginal,l=n/o.widthOriginal,c=0,u=0,d=1;l<a?(u=.5*(r-o.heightOriginal*l),d=l):l>a&&(c=.5*(n-o.heightOriginal*a*s),d=a);var p="".concat(e.pid.replace(/:/g,"!"),"-kw-").concat(i);hi.addOverlay({id:p,x:e.minX+c+o.left*d,y:e.minY+u+o.top*d,width:o.width*d,height:o.height*d,className:"ep-view__osd__keyword"}),hi.addOverlay({id:p+"-page",x:e.minX,y:e.minY-.05*(e.maxY-e.minY),width:n,height:.01*(e.maxY-e.minY),className:"ep-view__osd__keyword-page"})}}(o[i]),o[i].pid==vi&&e(t),o[i]}))];ji&&Ii&&null!=Li&&bi[o[i].pid].available&&a.push(fetch("".concat(Li,"/search/references/").concat(encodeURIComponent(s)),{credentials:"include",headers:new Headers({Authorization:"Basic "+window.btoa(Pi)})}).then((function(e){return e.ok?e.json():null}))),Promise.all(a).then((function(e){var n=e[0],r=e[1];r&&function(e,t,n){var r=bi[t.pid],i=null==r?void 0:r.image;if(i){var o=i.getBounds();null==n||n.forEach((function(n){var r=n.id;n.ref.forEach((function(i){var s,a=i.id;null===(s=i.c[r])||void 0===s||s.forEach((function(i,s){i.split(";").forEach((function(l){var c=i.split(",").map((function(e){return void 0!==e?+e:e})),u=c[0],d=c[1],p=c[2],f=c[3],h=o.width/t.pageInfo.width,v=document.createElement("a"),m=new URLSearchParams;m.append("f","journal:".concat(n.journal)),m.append("f","max_confidence:".concat(n.max_confidence,"-5")),m.append("f","type:".concat(n.type)),v.setAttribute("href","https://nla.e-periodica.ch/".concat(a,"?").concat(m.toString())),v.setAttribute("target","_blank"),v.setAttribute("id","".concat(r,"-").concat(a,"-").concat(s)),v.classList.add("ep-view__osd__entity"),hi.addOverlay({element:v,x:o.x+u*h,y:o.y+d*h,width:p*h,height:f*h,className:""}),new e.OpenSeadragon.MouseTracker({element:"".concat(r,"-").concat(a,"-").concat(s),clickHandler:function(e){var t=e.originalEvent.target;"A"===t.tagName&&("_blank"===t.getAttribute("target")?window.open(t.getAttribute("href")):location.href=t.getAttribute("href"))}})}))}))}))}))}}(t,n,r)}))}},a=0;a<(null==o?void 0:o.length);a++)s(a)},Ri=function(e,t,n){Bi(e,t)},Fi=ir(250,(function(e,t){Bi(e,t)})),$i=function(e,t,n){Fi(e,t)},Hi=function(e,t,n){var r;if(!1!==n.quick){var i=hi.viewport.getBoundsWithMargins(!1),o=hi.viewport.deltaPointsFromPixels(n.position),s={minX:i.x+o.x,minY:i.y+o.y,maxX:i.x+o.x,maxY:i.y+o.y},a=null===(r=xi.search(s)[0])||void 0===r?void 0:r.pid;a&&e(a)}},qi=function(e){var t=document.querySelector(".ep-view__toc");t.getAttribute("data-pid");t.addEventListener("click",(function(t){var n,r,i=t.target;if(!(null===(n=null==i?void 0:i.classList)||void 0===n?void 0:n.contains("ep-view__toc__pdf"))&&!(null===(r=null==i?void 0:i.parentElement.classList)||void 0===r?void 0:r.contains("ep-view__toc__pdf"))){t.preventDefault(),t.stopPropagation();var o=k.Z.closest(t.target,"tr"),s=o?o.getAttribute("data-pid"):null;e("".concat(window.epdata.docPid,"::").concat(s))}}))},Vi=function(e){var t,n,r,i,o,s,a,l,c,u,d=e.pid,p=e.OpenSeadragon,f=e.isNavigationVisible,h=e.toggleNavigation,v=e.overlayScale,m=(0,er.useState)(d),g=m[0],_=m[1],y=(0,er.useState)({}),w=y[0],b=y[1],x=(0,er.useState)(!1),C=x[0],E=x[1],S=(0,er.useState)(!1),T=S[0],M=S[1],A=(0,er.useState)(!1),O=A[0],L=A[1],P=(0,er.useState)(null),j=P[0],I=P[1],N=(0,er.useState)(null!=(document.fullscreenElement||document.webkitFullscreenElement)),D=N[0],B=N[1],R=(0,er.useState)(!1),F=R[0],$=R[1],H=(0,tr.sO)(null),q=(0,tr.sO)(null),V=(0,tr.sO)(null),z=(0,tr.sO)(null),Y=(0,tr.sO)(null),W=(0,tr.sO)(null),U=(0,tr.sO)(null),X=(0,tr.sO)(null);(0,er.useEffect)((function(){return function(e){var t,n,r,i,o,s,a,l,c=e.pid,u=e.OpenSeadragon,d=e.osdRef,p=e.osdContainerRef,f=e.downloadControlsRef,h=e.viewerControlsRef,v=e.pagingControlsRef,m=(e.shareControlsRef,e.nlaControlsRef),g=e.textControlsRef,_=e.setMeta,y=e.setActivePage,w=e.setFullscreen,b=e.overlayScale,x=(0,Re.pi)({loadTilesWithAjax:!0,ajaxWithCredentials:!1},(null===(t=window.epdata)||void 0===t?void 0:t.bearerToken)&&{ajaxHeaders:{Authorization:"Bearer ".concat(window.epdata.bearerToken)}}),C=(0,Re.pi)({element:d.current,container:p.current,debugMode:!1,autoHideControls:!1,visibilityRatio:1,showZoomControl:!1,showHomeControl:!1,fullPageButton:"".concat(Si,"__btn-fullpage"),showFullPageControl:!0,autoResize:!0,constrainDuringPan:!0,constrainDuringZoom:!0},x);k.Z.testFullscreenSupport()&&(C.fullPageButton=Si+"__btn-fullpage",C.showFullPageControl=!0),(hi=new u(C)).zoomPerClick=1,hi.viewport.setMargins({top:80,left:80,bottom:80,right:80}),hi.addControl(h.current,{anchor:u.ControlAnchor.RIGHT}),hi.addControl(v.current,{anchor:u.ControlAnchor.NONE}),hi.addControl(f.current,{anchor:u.ControlAnchor.RIGHT}),hi.addControl(g.current,{anchor:u.ControlAnchor.RIGHT}),ji&&hi.addControl(m.current,{anchor:u.ControlAnchor.LEFT}),new u.MouseTracker({element:document.getElementById(Si+"__btn-zoom-in"),clickHandler:function(){hi.viewport.zoomBy(1.25),hi.viewport.applyConstraints()}}).setTracking(!0),new u.MouseTracker({element:document.getElementById(Si+"__btn-zoom-out"),clickHandler:function(){hi.viewport.zoomBy(.75),hi.viewport.applyConstraints()}}).setTracking(!0),new u.MouseTracker({element:document.getElementById(Si+"__btn-home"),clickHandler:function(){Di(vi)}}).setTracking(!0),hi.addHandler("animation",$i.bind(wi,_,{OpenSeadragon:u,authOptions:x,setActivePage:y,overlayScale:b})),hi.addHandler("animation-finish",Ri.bind(wi,_,{OpenSeadragon:u,authOptions:x,setActivePage:y,overlayScale:b})),hi.addHandler("canvas-click",Hi.bind(wi,y,u));var E=function(e,t){return e-(e-t&e-t>>31)},S=window.epdata.pagesMinified,T=window.epdata.docPid,M=0,A=0,O=0,L=-1,P=0,j=0,I=Ci,N=(null===(n=window.epdata)||void 0===n||n.minPageWidth,null===(r=window.epdata)||void 0===r||r.maxPageWidth,(null===(i=window.epdata)||void 0===i?void 0:i.maxPageHeight)*I),D=S.length>0?.075*S[0][2]*I:0,B=-1,R=-1,F=1;ki=-1;var $=S.map((function(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],s=e[4],a=e[5],l=e[6],c=e[7];F=N/I/E(o,1);var u=i*I,d=o*I,p="".concat(T,"::").concat(r),f=E(u,60)*F,h={pid:p,visible:(j=L-(M+=O*((R+=-1*(B-l>>31))-A))>>31)*j,minX:P=M+D*R,minY:0,maxX:P+f,maxY:0+N,index:t},v={id:n,pid:p,x:P,w:u,h:d,label:s,available:1===a,seq:R,nid:c,state:po,item:h};return bi[p]=v,A=R,B=l,O=u*F,L=M,ki=E(ki,t*j*j),Ei.push(h),v}));0===N&&(N=2048),window.epdata.pages=$,xi.load(Ei),Ti=M+(null!==(s=null===(o=$[ki])||void 0===o?void 0:o.w)&&void 0!==s?s:0),hi.viewport.minZoomLevel=.08*($.length||10)*(1/Ti),(null===(a=$[0])||void 0===a?void 0:a.available)||(hi.viewport.maxZoomLevel=1),hi.viewport.homeZoomLevel=hi.viewport.minZoomLevel,qi(y);var H=function(){w(null!=(document.fullscreenElement||document.webkitFullscreenElement))};window.addEventListener("webkitfullscreenchange",H),window.addEventListener("fullscreenchange",H),Ni(hi,[Ei[0],Ei[ki]],null!=c?c:null===(l=$[0])||void 0===l?void 0:l.pid,u,x,y,b)}({pid:d,OpenSeadragon:p,osdRef:H,osdContainerRef:q,viewerControlsRef:V,downloadControlsRef:W,textControlsRef:U,pagingControlsRef:z,shareControlsRef:Y,nlaControlsRef:X,setMeta:b,setActivePage:_,setFullscreen:B,overlayScale:v})}),[]),(0,er.useEffect)((function(){return function(e){var t,n,r=e.activePagePid,i=(e.meta,e.setMeta),o=Di(vi=r),s=o.page;o.bounds,i(null===(n=null===(t=bi[r])||void 0===t?void 0:t.item)||void 0===n?void 0:n.pageInfo),window.location.hash=(null==s?void 0:s.pid)?k.Z.getPartFromUri(null==s?void 0:s.pid):""}({activePagePid:g,meta:w,setMeta:b})}),[g]),(0,er.useEffect)((function(){return function(e){var t=e.meta;if(t){var n=t.pid,r=null,i=document.querySelector(".ep-view__navigation");if(i){do{r=i.querySelector("[data-pid='".concat(n,"']")),n--}while(!r&&n>=0);for(var o="ep-toc__node--active",s=i.querySelectorAll(".".concat(o)),a=0;a<s.length;a++)s[a].classList.remove(o);var l=i.querySelectorAll("[data-pid='".concat(n+1,"']"));if(l.length>0){for(a=0;a<l.length;a++)l[a].classList.add(o);"function"==typeof i.scrollTo?i.scrollTo({left:0,top:l[0].getBoundingClientRect().top-i.getBoundingClientRect().top+i.scrollTop-64,behavior:"smooth"}):i.scrollIntoView({behavior:"smooth"})}}}}({meta:w})}),[w]);return(0,Qn.h)("div",{id:"ep-view__osd",ref:H},(0,Qn.h)("div",{ref:q,onKeyDown:function(e){var t,n,r,i,o,s;"ArrowLeft"===e.key||37===e.keyCode?g&&(null===(t=bi[g])||void 0===t?void 0:t.item.index)>0&&_(Ei[(null===(n=bi[g])||void 0===n?void 0:n.item.index)-1].pid):"ArrowRight"!==e.key&&39!==e.keyCode||g&&(null===(r=bi[g])||void 0===r?void 0:r.item.index)<(null===(o=null===(i=null===window||void 0===window?void 0:window.epdata)||void 0===i?void 0:i.pages)||void 0===o?void 0:o.length)-1&&_(Ei[(null===(s=bi[g])||void 0===s?void 0:s.item.index)+1].pid)}},(0,Qn.h)(_r,{isExpanded:T,setExpanded:M,activePagePid:g,meta:w,t:null===(t=null===window||void 0===window?void 0:window.epdata)||void 0===t?void 0:t.t,bearerToken:null===(n=null===window||void 0===window?void 0:window.epdata)||void 0===n?void 0:n.bearerToken,iiifEndpointUri:Ai,iiifSystemId:Oi,pagesByPid:bi,overlayId:Si,ref:W}),(0,Qn.h)(zr,{isExpanded:O,setExpanded:L,activePage:g,meta:w,t:null===(r=null===window||void 0===window?void 0:window.epdata)||void 0===r?void 0:r.t,bearerToken:null===(i=null===window||void 0===window?void 0:window.epdata)||void 0===i?void 0:i.bearerToken,iiifEndpointUri:Ai,iiifSystemId:Oi,pagesByPid:bi,overlayId:Si,textData:j,setTextData:I,ref:U}),(0,Qn.h)(gi,{ref:V,isFullscreen:D,overlayId:Si,pageIndex:null!==(s=null===(o=window.epdata)||void 0===o?void 0:o.pages)&&void 0!==s?s:[]}),ji&&(0,Qn.h)(Zr,{ref:X,isExpanded:F,setExpanded:$,overlayId:Si,activePage:g,meta:w,toggleNla:function(){var e;null===(e=window.sessionStorage)||void 0===e||e.setItem("nla.active",JSON.stringify(!Ii)),document.location.reload()},isNlaActive:Ii,t:null===(a=null===window||void 0===window?void 0:window.epdata)||void 0===a?void 0:a.t,bearerToken:null===(l=null===window||void 0===window?void 0:window.epdata)||void 0===l?void 0:l.bearerToken,iiifEndpointUri:Ai,iiifSystemId:Oi}),(0,Qn.h)(_i,{ref:z,setActivePage:_,activePage:g,pageIndex:null!==(u=null===(c=window.epdata)||void 0===c?void 0:c.pages)&&void 0!==u?u:[],pagesByPid:bi,overlayId:Si})),(0,Qn.h)(hr,{ref:Y,meta:w,epdata:window.epdata,overlayId:Si,isExpanded:C,setExpanded:E,toggleNav:h,isNavVisible:f}))};var zi,Yi="http://www.w3.org/2000/svg",Wi=function(){function e(e,t){void 0===t&&(t=1);var n=this;this._scale=1,this._viewer=e,this._containerWidth=0,this._containerHeight=0,this._svg=document.createElementNS(Yi,"svg"),this._svg.style.position="absolute",this._svg.style.left="0",this._svg.style.top="0",this._svg.style.width="100%",this._svg.style.height="100%",this._viewer.canvas.appendChild(this._svg),this._scale=t,this._node=document.createElementNS(Yi,"g"),this._svg.appendChild(this._node),this._viewer.addHandler("animation",(function(){n.resize()})),this._viewer.addHandler("open",(function(){n.resize()})),this._viewer.addHandler("rotate",(function(e){n.resize()})),this._viewer.addHandler("resize",(function(){n.resize()})),this.resize()}return e.prototype.node=function(){return this._node},e.prototype.onClick=function(e,t){new zi.MouseTracker({element:e,clickHandler:t}).setTracking(!0)},e.prototype.resize=function(){this._containerWidth!==this._viewer.container.clientWidth&&(this._containerWidth=this._viewer.container.clientWidth,this._svg.setAttribute("width","".concat(this._containerWidth))),this._containerHeight!==this._viewer.container.clientHeight&&(this._containerHeight=this._viewer.container.clientHeight,this._svg.setAttribute("height","".concat(this._containerHeight)));var e=this._viewer.viewport.pixelFromPoint(new zi.Point(0,0),!0),t=this._viewer.viewport.getZoom(!0),n=this._viewer.viewport.getRotation(),r=this._viewer.viewport._containerInnerSize.x*t,i=1/this._scale;this._node.setAttribute("transform","translate("+e.x+","+e.y+") scale("+r*i+") rotate("+n+")")},e}();var Ui,Xi=document.getElementById("ep-view"),Gi=!window.matchMedia("screen and (max-width: 68.74em)").matches,Zi=function(){var e,t,n,r=new URLSearchParams(document.location.search.substring(1));return window.location.hash.length>1?k.Z.replacePid(r.get("pid"),null===(e=window.location.hash)||void 0===e?void 0:e.substring(1)):(null===(t=window.epdata)||void 0===t?void 0:t.initialPagePid)?null===(n=window.epdata)||void 0===n?void 0:n.initialPagePid:r.get("pid")},Ki=function(e){var t=document.getElementById("ep-view__navigation");t.querySelector(".ep-view__navigation__close").setAttribute("aria-expanded",Gi?"true":"false"),Gi?(t.classList.remove("ep-accordion__content--collapsed"),t.removeAttribute("aria-hidden")):(t.classList.add("ep-accordion__content--collapsed"),t.setAttribute("aria-hidden","true"))},Ji=function(e){Gi=!Gi,!0===e&&Ki(),Qi(Ui,Zi(),Gi,Ji,1)},Qi=function(e,t,n,r,i){(0,Qn.sY)((0,Qn.h)(Vi,{pid:t,OpenSeadragon:e,isNavigationVisible:n,toggleNavigation:r,overlayScale:i}),Xi)},eo=function(e){!function(){var e,t,n,r,i,o;k.Z.matomoTrackCustomDimension(null!==(t=null===(e=window.epdata)||void 0===e?void 0:e.matomoCdJournalTitle)&&void 0!==t?t:1,null===(n=window.epdata)||void 0===n?void 0:n.journalTitleShort),k.Z.matomoTrackCustomDimension(null!==(i=null===(r=window.epdata)||void 0===r?void 0:r.matomoCdJournalPrefix)&&void 0!==i?i:2,null===(o=window.epdata)||void 0===o?void 0:o.journalPrefix)}(),k.Z.matomoTrackLink(null,"download",e,".ep-view__toc__pdf")},to=function(e){var t,n;document.documentElement.classList.contains("viewer-page")&&(Ki(),s.e("openseadragon").then(s.t.bind(s,"./node_modules/openseadragon/build/openseadragon/openseadragon.js",23)).then((function(e){Ui=e.default,window.OpenSeadragon=Ui,function(e){if(void 0===e&&(e=1),!(zi=window.OpenSeadragon))throw new Error("OpenSeadragon is missing.");zi.Viewer.prototype.svgOverlay=function(){return this._svgOverlayInfo||(this._svgOverlayInfo=new Wi(this,e)),this._svgOverlayInfo}}(1),Qi(Ui,Zi(),Gi,Ji,1)})),null===(t=document.querySelector(".ep-view__navigation__close"))||void 0===t||t.addEventListener("click",Ji),null===(n=document.querySelector(".ep-view__toc__table"))||void 0===n||n.addEventListener("click",eo),zn(".ep-view__toc__node--locked",{placement:"top"}))};var no=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'];function ro(e){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=e,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}function io(e,t){return n=(t||document).querySelectorAll(e),Array.prototype.slice.call(n);var n}function oo(e){(e.querySelector("[autofocus]")||e).focus()}function so(){io("[data-a11y-dialog]").forEach((function(e){new ro(e)}))}ro.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=io('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(e){e.addEventListener("click",this._show)}.bind(this));const e=this.$el;return this._closers=io("[data-a11y-dialog-hide]",this.$el).filter((function(t){return t.closest('[aria-modal="true"], [data-a11y-dialog]')===e})).concat(io('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(e){e.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},ro.prototype.show=function(e){return this.shown||(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,oo(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",e)),this},ro.prototype.hide=function(e){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",e),this):this},ro.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(e){e.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(e){e.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},ro.prototype.on=function(e,t){return void 0===this._listeners[e]&&(this._listeners[e]=[]),this._listeners[e].push(t),this},ro.prototype.off=function(e,t){var n=(this._listeners[e]||[]).indexOf(t);return n>-1&&this._listeners[e].splice(n,1),this},ro.prototype._fire=function(e,t){var n=this._listeners[e]||[],r=new CustomEvent(e,{detail:t});this.$el.dispatchEvent(r),n.forEach(function(e){e(this.$el,t)}.bind(this))},ro.prototype._bindKeypress=function(e){const t=document.activeElement;t&&t.closest('[aria-modal="true"]')!==this.$el||(this.shown&&"Escape"===e.key&&"alertdialog"!==this.$el.getAttribute("role")&&(e.preventDefault(),this.hide(e)),this.shown&&"Tab"===e.key&&function(e,t){var n=function(e){return io(no.join(","),e).filter((function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}))}(e),r=n.indexOf(document.activeElement);t.shiftKey&&0===r?(n[n.length-1].focus(),t.preventDefault()):t.shiftKey||r!==n.length-1||(n[0].focus(),t.preventDefault())}(this.$el,e))},ro.prototype._maintainFocus=function(e){!this.shown||e.target.closest('[aria-modal="true"]')||e.target.closest("[data-a11y-dialog-ignore-focus-trap]")||oo(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",so):window.requestAnimationFrame?window.requestAnimationFrame(so):window.setTimeout(so,16));var ao=function(e){return(0,Re.mG)(void 0,void 0,void 0,(function(){var t,n,r,i;return(0,Re.Jh)(this,(function(o){return t=document.documentElement,(n=document.querySelector("#ep-cart-dialog__container"))?(r=new ro(n),i=function(e){var t;"cart-close"===(null===(t=e.data)||void 0===t?void 0:t.type)&&r.hide()},r.on("show",(function(){t.style.overflowY="hidden",window.addEventListener("message",i)})).on("hide",(function(){t.style.overflowY="",window.removeEventListener("message",i)})),r.show(e),Promise.all([s.e("vendors-node_modules_react-uid_dist_es2015_hooks_js-node_modules_react-hook-form_dist_index_esm_mjs"),s.e("cart")]).then(s.bind(s,"./src/js/components/Cart.tsx")).then((function(e){var t=null==n?void 0:n.querySelector('div[role="document"] > main');(0,Qn.sY)(e.default({refresh:""+Date.now()}),t)})),[2]):[2]}))}))},lo=function(e){var t;"cart-update-count"===(null===(t=e.data)||void 0===t?void 0:t.type)&&(0,Re.mG)(void 0,void 0,void 0,(function(){var e;return(0,Re.Jh)(this,(function(t){return(null==(e=document.querySelector(".ep-header__cart__badge"))?void 0:e.classList.contains("ep-header__cart__badge--unknown"))||null==e||e.classList.add("ep-header__cart__badge--pending"),fetch("/cart/count").then((function(e){var t,n;return+(null===(n=null!==(t=e.headers.get("Content-Range"))&&void 0!==t?t:"/0")||void 0===n?void 0:n.replace(/.*\/(\d*)$/,"$1"))})).then((function(t){var n,r,i=document.querySelector(".ep-header__cart__count");i&&(t>0?(i.textContent="".concat(t),null===(n=i.parentNode)||void 0===n||n.classList.remove("ep-header__cart__badge--empty")):(i&&(i.textContent=""),null===(r=i.parentNode)||void 0===r||r.classList.add("ep-header__cart__badge--empty")),null==e||e.classList.remove("ep-header__cart__badge--unknown","ep-header__cart__badge--pending"))})),[2]}))}))},co=function(){var e,t;null===(e=document.querySelector(".ep-header__cart__button"))||void 0===e||e.removeEventListener("click",ao),null===(t=document.querySelector(".ep-header__cart__button"))||void 0===t||t.addEventListener("click",ao),window.removeEventListener("message",lo),window.addEventListener("message",lo)};document.addEventListener("DOMContentLoaded",(function(e){co(),window.postMessage({type:"cart-update-count"})}));var uo=Symbol("PAGE_STATE_LOADING"),po=Symbol("PAGE_STATE_UNLOADED"),fo=Symbol("PAGE_STATE_LOADED");document.addEventListener("DOMContentLoaded",(function(e){(0,M.j)(e),Kn(),Xn(),Jn(),to(),co()}));try{document.documentElement.classList.remove("no-js")}catch(Wr){}}()}();