-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.min.f438aa1441f336e157a1120795c9dd953c923fbc2e864b737589c0aec17ec44250d550c308a8bada8c1ce223d751a2461a59877b5665ef635fa5c9bf3448f38c.js
1 lines (1 loc) · 27.5 KB
/
main.min.f438aa1441f336e157a1120795c9dd953c923fbc2e864b737589c0aec17ec44250d550c308a8bada8c1ce223d751a2461a59877b5665ef635fa5c9bf3448f38c.js
1
(()=>{var n=Object.create,e=Object.defineProperty,s=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,a=(e,n)=>function(){return n||(0,e[t(e)[0]])((n={exports:{}}).exports,n),n.exports},r=(n,o,a,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of t(o))!i.call(n,c)&&c!==a&&e(n,c,{get:()=>o[c],enumerable:!(r=s(o,c))||r.enumerable});return n},c=(t,s,i)=>(i=t!=null?n(o(t)):{},r(s||!t||!t.__esModule?e(i,"default",{value:t,enumerable:!0}):i,t)),l=a({"node_modules/lazysizes/lazysizes.js"(e,t){(function(e,n){var s=n(e,e.document,Date);e.lazySizes=s,typeof t=="object"&&t.exports&&(t.exports=s)})(typeof window!="undefined"?window:{},function(t,n,s){"use strict";if(function(){var e,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};o=t.lazySizesConfig||t.lazysizesConfig||{};for(e in n)e in o||(o[e]=n[e])}(),!n||!n.getElementsByClassName)return{init:function(){},cfg:o,noSupport:!0};var o,r,l=n.documentElement,T=t.HTMLPictureElement,d="addEventListener",i="getAttribute",c=t[d].bind(t),a=t.setTimeout,E=t.requestAnimationFrame||a,j=t.requestIdleCallback,C=/^picture$/i,F=["load","error","lazyincluded","_lazyloaded"],b={},S=Array.prototype.forEach,u=function(e,t){return b[t]||(b[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),b[t].test(e[i]("class")||"")&&b[t]},h=function(e,t){u(e,t)||e.setAttribute("class",(e[i]("class")||"").trim()+" "+t)},y=function(e,t){var n;(n=u(e,t))&&e.setAttribute("class",(e[i]("class")||"").replace(n," "))},_=function(e,t,n){var s=n?d:"removeEventListener";n&&_(e,t),F.forEach(function(n){e[s](n,t)})},p=function(e,t,s,o,i){var a=n.createEvent("Event");return s||(s={}),s.instance=r,a.initEvent(t,!o,!i),a.detail=s,e.dispatchEvent(a),a},O=function(e,n){var s;!T&&(s=t.picturefill||o.pf)?(n&&n.src&&!e[i]("srcset")&&e.setAttribute("srcset",n.src),s({reevaluate:!0,elements:[e]})):n&&n.src&&(e.src=n.src)},f=function(e,t){return(getComputedStyle(e,null)||{})[t]},x=function(e,t,n){for(n=n||e.offsetWidth;n<o.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},m=function(){var e,t,s=[],c=[],o=s,i=function(){var n=o;for(o=s.length?c:s,e=!0,t=!1;n.length;)n.shift()();e=!1},r=function(s,r){e&&!r?s.apply(this,arguments):(o.push(s),t||(t=!0,(n.hidden?a:E)(i)))};return r._lsFlush=i,r}(),g=function(e,t){return t?function(){m(e)}:function(){var t=this,n=arguments;m(function(){e.apply(t,n)})}},M=function(e){var n,i=0,l=o.throttleDelay,t=o.ricTimeout,r=function(){n=!1,i=s.now(),e()},c=j&&t>49?function(){j(r,{timeout:t}),t!==o.ricTimeout&&(t=o.ricTimeout)}:g(function(){a(r)},!0);return function(e){var o;if((e=e===!0)&&(t=33),n)return;n=!0,o=l-(s.now()-i),o<0&&(o=0),e||o<9?c():a(c,o)}},k=function(e){var t,o,n=99,i=function(){t=null,e()},r=function(){var e=s.now()-o;e<n?a(r,n-e):(j||i)(i)};return function(){o=s.now(),t||(t=a(r,n))}},A=function(){var x,A,T,z,D,N,R,P,B,V,W,q,te=/^img$/i,G=/^iframe$/i,oe="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),Q=0,j=0,v=0,b=-1,$=function(e){v--,(!e||v<0||!e.target)&&(v=0)},U=function(e){return P==null&&(P=f(n.body,"visibility")=="hidden"),P||f(e.parentNode,"visibility")!="hidden"||f(e,"visibility")!="hidden"},se=function(e,t){var o,s=e,i=U(e);for(T-=t,N+=t,z-=t,D+=t;i&&(s=s.offsetParent)&&s!=n.body&&s!=l;)i=(f(s,"opacity")||1)>0,i&&f(s,"overflow")!="visible"&&(o=s.getBoundingClientRect(),i=D>o.left&&z<o.right&&N>o.top-1&&T<o.bottom+1);return i},H=function(){var e,s,a,c,d,u,h,m,f,p,g,y,t=r.elements;if((A=o.loadMode)&&v<8&&(y=t.length)){for(e=0,b++;e<y;e++){if(!t[e]||t[e]._lazyRace)continue;if(!oe||r.prematureUnveil&&r.prematureUnveil(t[e])){F(t[e]);continue}if((!(u=t[e][i]("data-expand"))||!(s=u*1))&&(s=j),c||(c=!o.expand||o.expand<1?l.clientHeight>500&&l.clientWidth>500?500:370:o.expand,r._defEx=c,f=c*o.expFactor,p=o.hFac,P=null,j<f&&v<1&&b>2&&A>2&&!n.hidden?(j=f,b=0):A>1&&b>1&&v<6?j=c:j=Q),g!==s&&(V=innerWidth+s*p,q=innerHeight+s,h=s*-1,g=s),a=t[e].getBoundingClientRect(),(N=a.bottom)>=h&&(T=a.top)<=q&&(D=a.right)>=h*p&&(z=a.left)<=V&&(N||D||z||T)&&(o.loadHidden||U(t[e]))&&(x&&v<3&&!u&&(A<3||b<4)||se(t[e],s))){if(F(t[e]),m=!0,v>9)break}else!m&&x&&!d&&v<4&&b<4&&A>2&&(R[0]||o.preloadAfterLoad)&&(R[0]||!u&&(N||D||z||T||t[e][i](o.sizesAttr)!="auto"))&&(d=R[0]||t[e])}d&&!m&&F(d)}},e=M(H),I=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}$(e),h(t,o.loadedClass),y(t,o.loadingClass),_(t,Y),p(t,"lazyloaded")},X=g(I),Y=function(e){X({target:e.target})},Z=function(e,t){var n=e.getAttribute("data-load-mode")||o.iframeLoadMode;n==0?e.contentWindow.location.replace(t):n==1&&(e.src=t)},J=function(e){var t,n=e[i](o.srcsetAttr);(t=o.customMedia[e[i]("data-media")||e[i]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},ee=g(function(e,t,n,s,r){var c,l,d,u,f,g;(f=p(e,"lazybeforeunveil",t)).defaultPrevented||(s&&(n?h(e,o.autosizesClass):e.setAttribute("sizes",s)),l=e[i](o.srcsetAttr),c=e[i](o.srcAttr),r&&(u=e.parentNode,d=u&&C.test(u.nodeName||"")),g=t.firesLoad||"src"in e&&(l||c||d),f={target:e},h(e,o.loadingClass),g&&(clearTimeout(B),B=a($,2500),_(e,Y,!0)),d&&S.call(u.getElementsByTagName("source"),J),l?e.setAttribute("srcset",l):c&&!d&&(G.test(e.nodeName)?Z(e,c):e.src=c),r&&(l||d)&&O(e,{src:c})),e._lazyRace&&delete e._lazyRace,y(e,o.lazyClass),m(function(){var t=e.complete&&e.naturalWidth>1;(!g||t)&&(t&&h(e,o.fastLoadedClass),I(f),e._lazyCache=!0,a(function(){"_lazyCache"in e&&delete e._lazyCache},9)),e.loading=="lazy"&&v--},!0)}),F=function(e){if(e._lazyRace)return;var s,t=te.test(e.nodeName),a=t&&(e[i](o.sizesAttr)||e[i]("sizes")),n=a=="auto";if((n||!x)&&t&&(e[i]("src")||e.srcset)&&!e.complete&&!u(e,o.errorClass)&&u(e,o.lazyClass))return;s=p(e,"lazyunveilread").detail,n&&w.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,v++,ee(e,s,n,a,t)},ne=k(function(){o.loadMode=3,e()}),K=function(){o.loadMode==3&&(o.loadMode=2),ne()},L=function(){if(x)return;if(s.now()-W<999){a(L,999);return}x=!0,o.loadMode=3,e(),c("scroll",K,!0)};return{_:function(){W=s.now(),r.elements=n.getElementsByClassName(o.lazyClass),R=n.getElementsByClassName(o.lazyClass+" "+o.preloadClass),c("scroll",e,!0),c("resize",e,!0),c("pageshow",function(e){if(e.persisted){var t=n.querySelectorAll("."+o.loadingClass);t.length&&t.forEach&&E(function(){t.forEach(function(e){e.complete&&F(e)})})}}),t.MutationObserver?new MutationObserver(e).observe(l,{childList:!0,subtree:!0,attributes:!0}):(l[d]("DOMNodeInserted",e,!0),l[d]("DOMAttrModified",e,!0),setInterval(e,999)),c("hashchange",e,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(t){n[d](t,e,!0)}),/d$|^c/.test(n.readyState)?L():(c("load",L),n[d]("DOMContentLoaded",e),a(L,2e4)),r.elements.length?(H(),m._lsFlush()):e()},checkElems:e,unveil:F,_aLSL:K}}(),w=function(){var e,i=g(function(e,t,n,s){var o,i,a;if(e._lazysizesWidth=s,s+="px",e.setAttribute("sizes",s),C.test(t.nodeName||"")){i=t.getElementsByTagName("source");for(o=0,a=i.length;o<a;o++)i[o].setAttribute("sizes",s)}n.detail.dataAttr||O(e,n.detail)}),t=function(e,t,n){var s,o=e.parentNode;o&&(n=x(e,o,n),s=p(e,"lazybeforesizes",{width:n,dataAttr:!!t}),s.defaultPrevented||(n=s.detail.width,n&&n!==e._lazysizesWidth&&i(e,o,s,n)))},a=function(){var n,s=e.length;if(s)for(n=0;n<s;n++)t(e[n])},s=k(a);return{_:function(){e=n.getElementsByClassName(o.autosizesClass),c("resize",s)},checkElems:s,updateElem:t}}(),v=function(){!v.i&&n.getElementsByClassName&&(v.i=!0,w._(),A._())};return a(function(){o.init&&v()}),r={cfg:o,autoSizer:w,loader:A,init:v,uP:O,aC:h,rC:y,hC:u,fire:p,gW:x,rAF:m},r})}}),d=c(l())})(),(()=>{var e,t=document.getElementsByTagName("pre");for(e=0;e<t.length;++e){const s=t[e],o=s.textContent,n=document.createElement("button");n.className="btn btn-copy",n.addEventListener("click",()=>{navigator.clipboard.writeText(o).then(()=>{console.log("copied")},()=>{console.log("copying to clipboard failed")})}),s.prepend(n)}})(),(()=>{var e,o,c,l,d,s=null,a=65,r=new Set,i=1111;u();function u(){const v=document.createElement("link").relList.supports("prefetch");if(!v)return;const b="instantVaryAccept"in document.body.dataset||"Shopify"in window,i=navigator.userAgent.indexOf("Chrome/");if(i>-1&&(s=parseInt(navigator.userAgent.substring(i+"Chrome/".length))),b&&s&&s<110)return;const r="instantMousedownShortcut"in document.body.dataset;d="instantAllowQueryString"in document.body.dataset,l="instantAllowExternalLinks"in document.body.dataset,c="instantWhitelist"in document.body.dataset;const e={capture:!0,passive:!0};let u=!1,p=!1,o=!1;if("instantIntensity"in document.body.dataset){const e=document.body.dataset.instantIntensity;if(e.startsWith("mousedown"))u=!0,e=="mousedown-only"&&(p=!0);else if(e.startsWith("viewport")){const t=navigator.connection&&navigator.connection.saveData,n=navigator.connection&&navigator.connection.effectiveType&&navigator.connection.effectiveType.includes("2g");!t&&!n&&(e=="viewport"?document.documentElement.clientWidth*document.documentElement.clientHeight<45e4&&(o=!0):e=="viewport-all"&&(o=!0))}else{const t=parseInt(e);isNaN(t)||(a=t)}}if(p||document.addEventListener("touchstart",h,e),u?r||document.addEventListener("mousedown",f,e):document.addEventListener("mouseover",m,e),r&&document.addEventListener("mousedown",g,e),o){let e=window.requestIdleCallback;e||(e=e=>{e()}),e(function(){const s=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){const n=e.target;s.unobserve(n),t(n.href)}})});document.querySelectorAll("a").forEach(e=>{n(e)&&s.observe(e)})},{timeout:1500})}}function h(e){o=performance.now();const s=e.target.closest("a");if(!n(s))return;t(s.href,"high")}function m(s){if(performance.now()-o<i)return;if(!("closest"in s.target))return;const r=s.target.closest("a");if(!n(r))return;r.addEventListener("mouseout",p,{passive:!0}),e=setTimeout(()=>{t(r.href,"high"),e=void 0},a)}function f(e){const s=e.target.closest("a");if(!n(s))return;t(s.href,"high")}function p(t){if(t.relatedTarget&&t.target.closest("a")==t.relatedTarget.closest("a"))return;e&&(clearTimeout(e),e=void 0)}function g(e){if(performance.now()-o<i)return;const t=e.target.closest("a");if(e.which>1||e.metaKey||e.ctrlKey)return;if(!t)return;t.addEventListener("click",function(e){if(e.detail==1337)return;e.preventDefault()},{capture:!0,passive:!1,once:!0});const n=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1,detail:1337});t.dispatchEvent(n)}function n(e){if(!e||!e.href)return;if(c&&!("instant"in e.dataset))return;if(e.origin!=location.origin){let t=l||"instant"in e.dataset;if(!t||!s)return}if(!["http:","https:"].includes(e.protocol))return;if(e.protocol=="http:"&&location.protocol=="https:")return;if(!d&&e.search&&!("instant"in e.dataset))return;if(e.hash&&e.pathname+e.search==location.pathname+location.search)return;if("noInstant"in e.dataset)return;return!0}function t(e,t="auto"){if(r.has(e))return;const n=document.createElement("link");n.rel="prefetch",n.href=e,n.fetchPriority=t,n.as="document",document.head.appendChild(n),r.add(e)}})(),function e(t){"use strict";try{module&&(t=module)}catch{}t._factory=e;function b(e){return"undefined"==typeof e||e}function S(e){const t=Array(e);for(let s=0;s<e;s++)t[s]=n();return t}function n(){return Object.create(null)}function ce(e,t){return t.length-e.length}function i(e){return"string"==typeof e}function a(e){return"object"==typeof e}function E(e){return"function"==typeof e}function F(e,t){var n=J;if(e&&(t&&(e=p(e,t)),this.H&&(e=p(e,this.H)),this.J&&1<e.length&&(e=p(e,this.J)),n||""===n)){if(e=e.split(n),this.filter){t=this.filter,n=e.length;const s=[];for(let o=0,a=0;o<n;o++){const i=e[o];i&&!t[i]&&(s[a++]=i)}e=s}return e}return e}const J=/[\p{Z}\p{S}\p{P}\p{C}]+/u,ee=/[\u0300-\u036f]/g;function $(e,t){const a=Object.keys(e),r=a.length,n=[];let s="",i=0;for(let l=0,c,d;l<r;l++)c=a[l],(d=e[c])?(n[i++]=o(t?"(?!\\b)"+c+"(\\b|_)":c),n[i++]=d):s+=(s?"|":"")+c;return s&&(n[i++]=o(t?"(?!\\b)("+s+")(\\b|_)":"("+s+")"),n[i]=""),n}function p(e,t){for(let n=0,s=t.length;n<s&&(e=e.replace(t[n],t[n+1]),e);n+=2);return e}function o(e){return new RegExp(e,"g")}function V(e){let t="",n="";for(let s=0,i=e.length,o;s<i;s++)(o=e[s])!==n&&(t+=n=o);return t}var s,A,L,K,Y,te={encode:H,F:!1,G:""};function H(e){return F.call(this,(""+e).toLowerCase(),!1)}const P={},r={};function N(e){h(e,"add"),h(e,"append"),h(e,"search"),h(e,"update"),h(e,"remove")}function h(e,t){e[t+"Async"]=function(){const s=this,e=arguments;var n=e[e.length-1];let o;return E(n)&&(o=n,delete e[e.length-1]),n=new Promise(function(n){setTimeout(function(){s.async=!0;const o=s[t].apply(s,e);s.async=!1,n(o)})}),o?(n.then(o),this):n}}function T(e,t,s,o){const l=e.length;let a=[],i,c,r=0;o&&(o=[]);for(let d=l-1;0<=d;d--){const h=e[d],f=h.length,u=n();let m=!i;for(let e=0;e<f;e++){const n=h[e],p=n.length;if(p)for(let f=0,h,e;f<p;f++)if(e=n[f],i){{if(i[e]){if(!d)if(s)s--;else if(a[r++]=e,r===t)return a;(d||o)&&(u[e]=1),m=!0}if(o&&(h=(c[e]||0)+1,c[e]=h,h<l)){const t=o[h-2]||(o[h-2]=[]);t[t.length]=e}}}else u[e]=1}if(o)i||(c=u);else if(!m)return[];i=u}if(o)for(let e=o.length-1,n,c;0<=e;e--){n=o[e],c=n.length;for(let o=0,e;o<c;o++)if(e=n[o],!i[e]){if(s)s--;else if(a[r++]=e,r===t)return a;i[e]=1}}return a}function re(e,t){const o=n(),i=n(),s=[];for(let t=0;t<e.length;t++)o[e[t]]=1;for(let e=0,n;e<t.length;e++){n=t[e];for(let t=0,e;t<n.length;t++)e=n[t],o[e]&&!i[e]&&(i[e]=1,s[s.length]=e)}return s}function j(e){this.l=!0!==e&&e,this.cache=n(),this.h=[]}function M(e,t,n){a(e)&&(e=e.query);let s=this.cache.get(e);return s||(s=this.search(e,t,n),this.cache.set(e,s)),s}j.prototype.set=function(e,t){if(!this.cache[e]){var n=this.h.length;n===this.l?delete this.cache[this.h[n-1]]:n++;for(--n;0<n;n--)this.h[n]=this.h[n-1];this.h[0]=e}this.cache[e]=t},j.prototype.get=function(e){const t=this.cache[e];if(this.l&&t&&(e=this.h.indexOf(e))){const t=this.h[e-1];this.h[e-1]=this.h[e],this.h[e]=t}return t};const le={memory:{charset:"latin:extra",D:3,B:4,m:!1},performance:{D:3,B:3,s:!1,context:{depth:2,D:1}},match:{charset:"latin:extra",G:"reverse"},score:{charset:"latin:advanced",D:20,B:3,context:{depth:3,D:9}},default:{}};function B(e,t,n,s,o,i,a){setTimeout(function(){const r=e(n?n+"."+s:s,JSON.stringify(a));r&&r.then?r.then(function(){t.export(e,t,n,o,i+1)}):t.export(e,t,n,o,i+1)})}function c(e,t){if(!(this instanceof c))return new c(e);if(e){i(e)?e=le[e]:(s=e.preset)&&(e=Object.assign({},s[s],e)),s=e.charset;var s,o=e.lang;i(s)&&(-1===s.indexOf(":")&&(s+=":default"),s=r[s]),i(o)&&(o=P[o])}else e={};let a,l,d=e.context||{};if(this.encode=e.encode||s&&s.encode||H,this.register=t||n(),this.D=a=e.resolution||9,this.G=t=s&&s.G||e.tokenize||"strict",this.depth="strict"===t&&d.depth,this.l=b(d.bidirectional),this.s=l=b(e.optimize),this.m=b(e.fastupdate),this.B=e.minlength||1,this.C=e.boost,this.map=l?S(a):n(),this.A=a=d.resolution||1,this.h=l?S(a):n(),this.F=s&&s.F||e.rtl,this.H=(t=e.matcher||o&&o.H)&&$(t,!1),this.J=(t=e.stemmer||o&&o.J)&&$(t,!0),s=t=e.filter||o&&o.filter){s=t,o=n();for(let e=0,t=s.length;e<t;e++)o[s[e]]=1;s=o}this.filter=s,this.cache=(t=e.cache)&&new j(t)}s=c.prototype,s.append=function(e,t){return this.add(e,t,!0)},s.add=function(e,t,s,o){if(t&&(e||0===e)){if(!o&&!s&&this.register[e])return this.update(e,t);if(t=this.encode(t),o=t.length){const f=n(),d=n(),m=this.depth,h=this.D;for(let g=0;g<o;g++){let p=t[this.F?o-1-g:g];if(r=p.length,p&&r>=this.B&&(m||!d[p])){var i,r,l,a=y(h,o,g),c="";switch(this.G){case"full":if(2<r){for(a=0;a<r;a++)for(i=r;i>a;i--)i-a>=this.B&&(l=y(h,o,g,r,a),c=p.substring(a,i),u(this,d,c,l,e,s));break}case"reverse":if(1<r){for(i=r-1;0<i;i--)c=p[i]+c,c.length>=this.B&&u(this,d,c,y(h,o,g,r,i),e,s);c=""}case"forward":if(1<r){for(i=0;i<r;i++)c+=p[i],c.length>=this.B&&u(this,d,c,a,e,s);break}default:if(this.C&&(a=Math.min(a/this.C(t,p,g)|0,h-1)),u(this,d,p,a,e,s),m&&1<o&&g<o-1)for(r=n(),c=this.A,a=p,i=Math.min(m+1,o-g),r[a]=1,l=1;l<i;l++)if((p=t[this.F?o-1-g-l:g+l])&&p.length>=this.B&&!r[p]){r[p]=1;const t=this.l&&p>a;u(this,f,t?a:p,y(c+(o/2>c?0:1),o,g,i-1,l-1),e,s,t?p:a)}}}}this.m||(this.register[e]=1)}}return this};function y(e,t,n,s,o){return n&&1<e?t+(s||0)<=e?n+(o||0):(e-1)/(t+(s||0))*(n+(o||0))+1|0:0}function u(e,t,s,o,i,a,r){let c=r?e.h:e.map;(!t[s]||r&&!t[s][r])&&(e.s&&(c=c[o]),r?(t=t[s]||(t[s]=n()),t[r]=1,c=c[r]||(c[r]=n())):t[s]=1,c=c[s]||(c[s]=[]),e.s||(c=c[o]||(c[o]=[])),a&&c.includes(i)||(c[c.length]=i,e.m&&(e=e.register[i]||(e.register[i]=[]),e[e.length]=c)))}s.search=function(e,t,s){s||(!t&&a(e)?(s=e,e=s.query):a(t)&&(s=t));let i=[],o,r,d=0;if(s){e=s.query||e,t=s.limit,d=s.offset||0;var l,c=s.context;r=s.suggest}if(e&&(e=this.encode(""+e),o=e.length,1<o)){s=n(),l=[];for(let n=0,a=0,t;n<o;n++)if((t=e[n])&&t.length>=this.B&&!s[t])if(this.s||r||this.map[t])l[a++]=t,s[t]=1;else return i;e=l,o=e.length}if(!o)return i;t||(t=100),c=this.depth&&1<o&&!1!==c,s=0;let u;c?(u=e[0],s=1):1<o&&e.sort(ce);for(let n,a;s<o;s++){if(a=e[s],c?(n=k(this,i,r,t,d,2===o,a,u),r&&!1===n&&i.length||(u=a)):n=k(this,i,r,t,d,1===o,a),n)return n;if(r&&s===o-1){if(l=i.length,!l){if(c){c=0,s=-1;continue}return i}if(1===l)return z(i[0],t,d)}}return T(i,t,d,r)};function k(e,t,n,s,o,i,a,r){let l=[],c=r?e.h:e.map;if(e.s||(c=D(c,a,r,e.l)),c){let n=0;const d=Math.min(c.length,r?e.A:e.D);for(let u=0,m=0,t,h;u<d;u++)if((t=c[u])&&(e.s&&(t=D(t,a,r,e.l)),o&&t&&i&&(h=t.length,h<=o?(o-=h,t=null):(t=t.slice(o),o=0)),t&&(l[n++]=t,i&&(m+=t.length,m>=s))))break;if(n){if(i)return z(l,s,0);t[t.length]=l;return}}return!n&&l}function z(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function D(e,t,n,s){return n?(s=s&&t>n,e=(e=e[s?t:n])&&e[s?n:t]):e=e[t],e}s.contain=function(e){return!!this.register[e]},s.update=function(e,t){return this.remove(e).add(e,t)},s.remove=function(e,t){const n=this.register[e];if(n){if(this.m)for(let t=0,s;t<n.length;t++)s=n[t],s.splice(s.indexOf(e),1);else g(this.map,e,this.D,this.s),this.depth&&g(this.h,e,this.A,this.s);if(t||delete this.register[e],this.cache){t=this.cache;for(let n=0,o,s;n<t.h.length;n++)s=t.h[n],o=t.cache[s],o.includes(e)&&(t.h.splice(n--,1),delete t.cache[s])}}return this};function g(e,t,n,s,o){let i=0;if(e.constructor===Array)if(o)t=e.indexOf(t),-1!==t?1<e.length&&(e.splice(t,1),i++):i++;else{o=Math.min(e.length,n);for(let a=0,r;a<o;a++)(r=e[a])&&(i=g(r,t,n,s,o),s||i||delete e[a])}else for(let a in e)(i=g(e[a],t,n,s,o))||delete e[a];return i}s.searchCache=M,s.export=function(e,t,s,o,i){let r,a;switch(i||(i=0)){case 0:if(r="reg",this.m){a=n();for(let e in this.register)a[e]=1}else a=this.register;break;case 1:r="cfg",a={doc:0,opt:this.s?1:0};break;case 2:r="map",a=this.map;break;case 3:r="ctx",a=this.h;break;default:return}return B(e,t||this,s,r,o,i,a),!0},s.import=function(e,t){if(t)switch(i(t)&&(t=JSON.parse(t)),e){case"cfg":this.s=!!t.opt;break;case"reg":this.m=!1,this.register=t;break;case"map":this.map=t;break;case"ctx":this.h=t}},N(c.prototype);function ae(e){e=e.data;var n,s=t._index;const o=e.args;switch(n=e.task,n){case"init":n=e.options||{},e=e.factory,s=n.encode,n.cache=!1,s&&0===s.indexOf("function")&&(n.encode=Function("return "+s)()),e?(Function("return "+e)()(t),t._index=new t.FlexSearch.Index(n),delete t.FlexSearch):t._index=new c(n);break;default:e=e.id,s=s[n].apply(s,o),postMessage("search"===n?{id:e,msg:s}:{id:e})}}let R=0;function l(e){if(!(this instanceof l))return new l(e);var s;e?E(s=e.encode)&&(e.encode=s.toString()):e={},(s=(t||window)._factory)&&(s=s.toString());const i="undefined"==typeof window&&t.exports,o=this;this.o=se(s,i,e.worker),this.h=n(),this.o&&(i?this.o.on("message",function(e){o.h[e.id](e.msg),delete o.h[e.id]}):this.o.onmessage=function(e){e=e.data,o.h[e.id](e.msg),delete o.h[e.id]},this.o.postMessage({task:"init",factory:s,options:e}))}m("add"),m("append"),m("search"),m("update"),m("remove");function m(e){l.prototype[e]=l.prototype[e+"Async"]=function(){const o=this,t=[].slice.call(arguments);var n=t[t.length-1];let s;return E(n)&&(s=n,t.splice(t.length-1,1)),n=new Promise(function(n){setTimeout(function(){o.h[++R]=n,o.o.postMessage({task:e,id:R,args:t})})}),s?(n.then(s),this):n}}function se(e,t,n){let s;try{s=t?eval('new (require("worker_threads")["Worker"])("../dist/node/node.js")'):e?new Worker(URL.createObjectURL(new Blob(["onmessage="+ae.toString()],{type:"text/javascript"}))):new Worker(i(n)?n:"worker/worker.js",{type:"module"})}catch{}return s}function d(e){if(!(this instanceof d))return new d(e);var t,s=e.document||e.doc||e;this.K=[],this.h=[],this.A=[],this.register=n(),this.key=(t=s.key||s.id)&&f(t,this.A)||"id",this.m=b(e.fastupdate),this.C=(t=s.store)&&!0!==t&&[],this.store=t&&n(),this.I=(t=s.tag)&&f(t,this.A),this.l=t&&n(),this.cache=(t=e.cache)&&new j(t),e.cache=!1,this.o=e.worker,this.async=!1,t=n();let o=s.index||s.field||s;i(o)&&(o=[o]);for(let r=0,n,s;r<o.length;r++)n=o[r],i(n)||(s=n,n=n.field),s=a(s)?Object.assign({},e,s):e,this.o&&(t[n]=new l(s),t[n].o||(this.o=!1)),this.o||(t[n]=new c(s,this.register)),this.K[r]=f(n,this.A),this.h[r]=n;if(this.C)for(e=s.store,i(e)&&(e=[e]),s=0;s<e.length;s++)this.C[s]=f(e[s],this.A);this.index=t}function f(e,t){const n=e.split(":");let s=0;for(let o=0;o<n.length;o++)e=n[o],0<=e.indexOf("[]")&&(e=e.substring(0,e.length-2))&&(t[s]=!0),e&&(n[s++]=e);return s<n.length&&(n.length=s),1<s?n:n[0]}function O(e,t){if(i(t))e=e[t];else for(let n=0;e&&n<t.length;n++)e=e[t[n]];return e}function x(e,t,s,o,i){if(e=e[i],o===s.length-1)t[i]=e;else if(e)if(e.constructor===Array)for(t=t[i]=Array(e.length),i=0;i<e.length;i++)x(e,t,s,o,i);else t=t[i]||(t[i]=n()),i=s[++o],x(e,t,s,o,i)}function C(e,t,n,s,o,i,a,r){if(e=e[a])if(s===t.length-1){if(e.constructor===Array){if(n[s]){for(t=0;t<e.length;t++)o.add(i,e[t],!0,!0);return}e=e.join(" ")}o.add(i,e,r,!0)}else if(e.constructor===Array)for(a=0;a<e.length;a++)C(e,t,n,s,o,i,a,r);else a=t[++s],C(e,t,n,s,o,i,a,r)}s=d.prototype,s.add=function(e,t,s){if(a(e)&&(t=e,e=O(t,this.key)),t&&(e||0===e)){if(!s&&this.register[e])return this.update(e,t);for(let o=0,n,a;o<this.h.length;o++)a=this.h[o],n=this.K[o],i(n)&&(n=[n]),C(t,n,this.A,0,this.index[a],e,n[0],s);if(this.I){let o=O(t,this.I),a=n();i(o)&&(o=[o]);for(let i=0,t,n;i<o.length;i++)if(t=o[i],!a[t]&&(a[t]=1,n=this.l[t]||(this.l[t]=[]),!s||!n.includes(e))&&(n[n.length]=e,this.m)){const t=this.register[e]||(this.register[e]=[]);t[t.length]=n}}if(this.store&&(!s||!this.store[e])){let s;if(this.C){s=n();for(let n=0,e;n<this.C.length;n++)e=this.C[n],i(e)?s[e]=t[e]:x(t,s,e,0,e[0])}this.store[e]=s||t}}return this},s.append=function(e,t){return this.add(e,t,!0)},s.update=function(e,t){return this.remove(e).add(e,t)},s.remove=function(e){if(a(e)&&(e=O(e,this.key)),this.register[e]){for(var t=0;t<this.h.length&&(this.index[this.h[t]].remove(e,!this.o),!this.m);t++);if(this.I&&!this.m)for(let n in this.l){t=this.l[n];const s=t.indexOf(e);-1!==s&&(1<t.length?t.splice(s,1):delete this.l[n])}this.store&&delete this.store[e],delete this.register[e]}return this},s.search=function(e,t,n,s){n||(!t&&a(e)?(n=e,e=""):a(t)&&(n=t,t=0));let c=[],m=[],f,u,r,o,l,p,d=0;if(n)if(n.constructor===Array)r=n,n=null;else{if(e=n.query||e,r=(f=n.pluck)||n.index||n.field,o=n.tag,u=this.store&&n.enrich,l="and"===n.bool,t=n.limit||t||100,p=n.offset||0,o&&(i(o)&&(o=[o]),!e)){for(let e=0,n;e<o.length;e++)(n=ne.call(this,o[e],t,p,u))&&(c[c.length]=n,d++);return d?c:[]}i(r)&&(r=[r])}r||(r=this.h),l=l&&(1<r.length||o&&1<o.length);const h=!s&&(this.o||this.async)&&[];for(let g=0,a,u,v;g<r.length;g++){let f;if(u=r[g],i(u)||(f=u,u=f.field,e=f.query||e,t=f.limit||t),h)h[g]=this.index[u].searchAsync(e,t,f||n);else{if(s?a=s[g]:a=this.index[u].search(e,t,f||n),v=a&&a.length,o&&v){const e=[];let n=0;l&&(e[0]=[a]);for(let s=0,i,t;s<o.length;s++)(i=o[s],v=(t=this.l[i])&&t.length)&&(n++,e[e.length]=l?[t]:t);n&&(a=l?T(e,t||100,p||0):re(a,e),v=a.length)}if(v)m[d]=u,c[d++]=a;else if(l)return[]}}if(h){const s=this;return new Promise(function(o){Promise.all(h).then(function(i){o(s.search(e,t,n,i))})})}if(!d)return[];if(f&&(!u||!this.store))return c[0];for(let t=0,e;t<m.length;t++){if(e=c[t],e.length&&u&&(e=q.call(this,e)),f)return e;c[t]={field:m[t],result:e}}return c};function ne(e,t,n,s){let o=this.l[e],i=o&&o.length-n;if(i&&0<i)return(i>t||n)&&(o=o.slice(n,n+t)),s&&(o=q.call(this,o)),{tag:e,result:o}}function q(e){const t=Array(e.length);for(let n=0,s;n<e.length;n++)s=e[n],t[n]={id:s,doc:this.store[s]};return t}s.contain=function(e){return!!this.register[e]},s.get=function(e){return this.store[e]},s.set=function(e,t){return this.store[e]=t,this},s.searchCache=M,s.export=function(e,t,n,s,o){if(o||(o=0),s||(s=0),s<this.h.length){const n=this.h[s],i=this.index[n];t=this,setTimeout(function(){i.export(e,t,o?n:"",s,o++)||(s++,o=1,t.export(e,t,n,s,o))})}else{let t,i;switch(o){case 1:t="tag",i=this.l;break;case 2:t="store",i=this.store;break;default:return}B(e,this,n,t,s,o,i)}},s.import=function(e,t){if(t)switch(i(t)&&(t=JSON.parse(t)),e){case"tag":this.l=t;break;case"reg":this.m=!1,this.register=t;for(let e=0,n;e<this.h.length;e++)n=this.index[this.h[e]],n.register=t,n.m=!1;break;case"store":this.store=t;break;default:e=e.split(".");const n=e[0];e=e[1],n&&e&&this.index[n].import(e,t)}},N(d.prototype),Y={encode:G,F:!1,G:""};const Q=[o("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",o("[\u00e8\u00e9\u00ea\u00eb]"),"e",o("[\u00ec\u00ed\u00ee\u00ef]"),"i",o("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",o("[\u00f9\u00fa\u00fb\u00fc\u0171]"),"u",o("[\u00fd\u0177\u00ff]"),"y",o("\u00f1"),"n",o("[\u00e7c]"),"k",o("\u00df"),"s",o(" & ")," and "];function G(e){var t=e=""+e;return t.normalize&&(t=t.normalize("NFD").replace(ee,"")),F.call(this,t.toLowerCase(),!e.normalize&&Q)}K={encode:W,F:!1,G:"strict"};const Z=/[^a-z0-9]+/,U={b:"p",v:"f",w:"f",z:"s",x:"s","\u00df":"s",d:"t",n:"m",c:"k",g:"k",j:"k",q:"k",i:"e",y:"e",u:"o"};function W(e){e=G.call(this,e).join(" ");const t=[];if(e){const n=e.split(Z),s=n.length;for(let i=0,o,a=0;i<s;i++)if((e=n[i])&&(!this.filter||!this.filter[e])){o=e[0];let n=U[o]||o,s=n;for(let i=1;i<e.length;i++){o=e[i];const t=U[o]||o;t&&t!==s&&(n+=t,s=t)}t[a++]=n}}return t}A={encode:I,F:!1,G:""};const X=[o("ae"),"a",o("oe"),"o",o("sh"),"s",o("th"),"t",o("ph"),"f",o("pf"),"f",o("(?![aeo])h(?![aeo])"),"",o("(?!^[aeo])h(?!^[aeo])"),""];function I(e,t){return e&&(e=W.call(this,e).join(" "),2<e.length&&(e=p(e,X)),t||(1<e.length&&(e=V(e)),e&&(e=e.split(" ")))),e||[]}L={encode:oe,F:!1,G:""};const ie=o("(?!\\b)[aeo]");function oe(e){return e&&(e=I.call(this,e,!0),1<e.length&&(e=e.replace(ie,"")),1<e.length&&(e=V(e)),e&&(e=e.split(" "))),e||[]}r["latin:default"]=te,r["latin:simple"]=Y,r["latin:balance"]=K,r["latin:advanced"]=A,r["latin:extra"]=L;const v=t;let w;const _={Index:c,Document:d,Worker:l,registerCharset:function(e,t){r[e]=t},registerLanguage:function(e,t){P[e]=t}};(w=v.define)&&w.amd?w([],function(){return _}):v.exports?v.exports=_:v.FlexSearch=_}(this),(()=>{var e=document.getElementById("mode");e!==null&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{e.matches?(localStorage.setItem("theme","dark"),document.documentElement.setAttribute("data-dark-mode","")):(localStorage.setItem("theme","light"),document.documentElement.removeAttribute("data-dark-mode"))}),e.addEventListener("click",()=>{document.documentElement.toggleAttribute("data-dark-mode"),localStorage.setItem("theme",document.documentElement.hasAttribute("data-dark-mode")?"dark":"light")}),localStorage.getItem("theme")==="dark"?document.documentElement.setAttribute("data-dark-mode",""):document.documentElement.removeAttribute("data-dark-mode"))})(),(()=>{if(document.querySelector("#sidebar-default")!==null){let e=document.getElementById("sidebar-default"),t=sessionStorage.getItem("sidebar-scroll");t!==null&&(e.scrollTop=parseInt(t,10)),window.addEventListener("beforeunload",()=>{sessionStorage.setItem("sidebar-scroll",e.scrollTop)})}})()