1(()=>{var w0=Object.create;var gt=Object.defineProperty;var b0=Object.getOwnPropertyDescriptor;var y0=Object.getOwnPropertyNames;var x0=Object.getPrototypeOf,_0=Object.prototype.hasOwnProperty;var M0=(x,t)=>()=>(t||x((t={exports:{}}).exports,t),t.exports);var A0=(x,t,n,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let h of y0(t))!_0.call(x,h)&&h!==n&>(x,h,{get:()=>t[h],enumerable:!(c=b0(t,h))||c.enumerable});return x};var L0=(x,t,n)=>(n=x!=null?w0(x0(x)):{},A0(t||!x||!x.__esModule?gt(n,"default",{value:x,enumerable:!0}):n,x));var wt=M0((Re,Ne)=>{(function(x,t){typeof Re=="object"&&typeof Ne<"u"?Ne.exports=t():typeof define=="function"&&define.amd?define(t):(x=typeof globalThis<"u"?globalThis:x||self,x.Fuse=t())})(Re,(function(){"use strict";function x(s,r){var e=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);r&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(s,i).enumerable})),e.push.apply(e,a)}return e}function t(s){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?x(Object(e),!0).forEach(function(a){v(s,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)):x(Object(e)).forEac
1h(function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(e,a))})}return s}function n(s){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},n(s)}function c(s,r){if(!(s instanceof r))throw new TypeError("Cannot call a class as a function")}function h(s,r){for(var e=0;e<r.length;e++){var a=r[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,We(a.key),a)}}function u(s,r,e){return r&&h(s.prototype,r),e&&h(s,e),Object.defineProperty(s,"prototype",{writable:!1}),s}function v(s,r,e){return r=We(r),r in s?Object.defineProperty(s,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):s[r]=e,s}function _(s,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(r&&r.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),r&&E(s,r)}function k(s){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(s)}function E(s,r){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,i){return a.__proto__=i,a},E(s,r)}function ce(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function he(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function Ee(s,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return he(s)}function P(s){var r=ce();return function(){var a=k(s),i;if(r){var o=k(this).constructor;i=Reflect.construct(a,arguments,o)}else i=a.apply(this,arguments);return Ee(this,i)}}function le(s){return xt(s)||_t(s)||Mt(s)||At()}function xt(s){if(Array.isArray(s))return ke(s)}function _t(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function Mt(s,r){if(s){if(typeof s=="string")return ke(s,r);var e=Object.prototype.toString.call(s).slice(8,-1);if(e==="Object"&&s.constructor&&(e=s.constructor.name),e==="Map"||e==="Set")return Array.from(s);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return ke(s,r)}}function ke(s,r){(r==null||r>s.length)&&(r=s.length);for(var e=0,a=new Array(r);e<r;e++)a[e]=s[e];return a}function At(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lt(s,r){if(typeof s!="object"||s===null)return s;var e=s[Symbol.toPrimitive];if(e!==void 0){var a=e.call(s,r||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(s)}function We(s){var r=Lt(s,"string");return typeof r=="symbol"?r:String(r)}function U(s){return Array.isArray?Array.isArray(s):Ge(s)==="[object Array]"}var Ct=1/0;function Et(s){if(typeof s=="string")return s;var r=s+"";return r=="0"&&1/s==-Ct?"-0":r}function Ue(s){return s==null?"":Et(s)}function V(s){return typeof s=="string"}function je(s){return typeof s=="number"}function kt(s){return s===!0||s===!1||jt(s)&&Ge(s)=="[object Boolean]"}function Ye(s){return n(s)==="object"}function jt(s){return Ye(s)&&s!==null}function I(s){return s!=null}function me(s){return!s.trim().length}function Ge(s){return s==null?s===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(s)}var F0="Extended search is not available",St="Incorrect 'index' type",zt=function(r){return"Invalid value for key ".concat(r)},Bt=function(r){return"Pattern length exceeds max of ".concat(r,".")},$t=function(r){return"Missing ".concat(r," property in key")},Ht=function(r){return"Property 'weight' in key '".concat(r,"' must be a positive integer")},Qe=Object.prototype.hasOwnProperty,Ft=(function(){function s(r){var e=this;c(this,s),this._keys=[],this._keyMap={};var a=0;r.forEach(function(i){var o=Je(i);e._keys.push(o),e._keyMap[o.id]=o,a+=o.weight}),this._keys.forEach(function(i){i.weight/=a})}return u(s,[{key:"get",value:function(e){return this._keyMap[e]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),s})();function Je(s){var r=null,e=null,a=null,i=1,o=null;if(V(s)||U(s))a=s,r=Xe(s),e=Se(s);else{if(!Qe.call(s,"name"))throw new Error($t("name"));var l=s.name;if(a=l,Qe.call(s,"weight")&&(i=s.weight,i<=0))throw new Error(Ht(l));r=Xe(l),e=Se(l),o=s.getFn}return{path:r,id:e,weight:i,src:a,getFn:o}}function Xe(s){return U(s)?s:s.split(".")}function Se(s){return U(s)?s.join("."):s}function Tt(s,r){var e=[],a=!1,i=function o(l,d,g,m){if(I(l))if(!d[g])e.pu
2sh(m!==void 0?{v:l,i:m}:l);else{var p=d[g],f=l[p];if(!I(f))return;if(g===d.length-1&&(V(f)||je(f)||kt(f)))e.push(m!==void 0?{v:Ue(f),i:m}:Ue(f));else if(U(f)){a=!0;for(var w=0,b=f.length;w<b;w+=1)o(f[w],d,g+1,w)}else d.length&&o(f,d,g+1,m)}};return i(s,V(r)?r.split("."):r,0),a?e:e[0]}var Dt={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Vt={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(r,e){return r.score===e.score?r.idx<e.idx?-1:1:r.score<e.score?-1:1}},It={location:0,threshold:.6,distance:100},Ot={useExtendedSearch:!1,getFn:Tt,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},y=t(t(t(t({},Vt),Dt),It),Ot),Rt=/[^ ]+/g;function Nt(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3,e=new Map,a=Math.pow(10,r);return{get:function(o){var l=o.match(Rt).length;if(e.has(l))return e.get(l);var d=1/Math.pow(l,.5*s),g=parseFloat(Math.round(d*a)/a);return e.set(l,g),g},clear:function(){e.clear()}}}var ze=(function(){function s(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.getFn,a=e===void 0?y.getFn:e,i=r.fieldNormWeight,o=i===void 0?y.fieldNormWeight:i;c(this,s),this.norm=Nt(o,3),this.getFn=a,this.isCreated=!1,this.setIndexRecords()}return u(s,[{key:"setSources",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.keys=a,this._keysMap={},a.forEach(function(i,o){e._keysMap[i.id]=o})}},{key:"create",value:function(){var e=this;this.isCreated||!this.docs.length||(this.isCreated=!0,V(this.docs[0])?this.docs.forEach(function(a,i){e._addString(a,i)}):this.docs.forEach(function(a,i){e._addObject(a,i)}),this.norm.clear())}},{key:"add",value:function(e){var a=this.size();V(e)?this._addString(e,a):this._addObject(e,a)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var a=e,i=this.size();a<i;a+=1)this.records[a].i-=1}},{key:"removeAll",value:function(e){for(var a=e.length-1;a>=0;a-=1)this.records.splice(e[a],1);for(var i=0,o=this.records.length;i<o;i+=1)this.records[i].i=i}},{key:"getValueForItemAtKeyId",value:function(e,a){return e[this._keysMap[a]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(e,a){if(!(!I(e)||me(e))){var i={v:e,i:a,n:this.norm.get(e)};this.records.push(i)}}},{key:"_addObject",value:function(e,a){var i=this,o={i:a,$:{}};this.keys.forEach(function(l,d){var g=l.getFn?l.getFn(e):i.getFn(e,l.path);if(I(g)){if(U(g)){for(var m=[],p=0,f=g.length;p<f;p+=1){var w=g[p];if(I(w)){if(V(w)){if(!me(w)){var b={v:w,i:p,n:i.norm.get(w)};m.push(b)}}else if(V(w.v)&&!me(w.v)){var M={v:w.v,i:w.i,n:i.norm.get(w.v)};m.push(M)}}}o.$[d]=m}else if(V(g)&&!me(g)){var A={v:g,n:i.norm.get(g)};o.$[d]=A}}}),this.records.push(o)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),s})();function Ze(s,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=e.getFn,i=a===void 0?y.getFn:a,o=e.fieldNormWeight,l=o===void 0?y.fieldNormWeight:o,d=new ze({getFn:i,fieldNormWeight:l});return d.setKeys(s.map(Je)),d.setSources(r),d.create(),d}function Pt(s){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=r.getFn,a=e===void 0?y.getFn:e,i=r.fieldNormWeight,o=i===void 0?y.fieldNormWeight:i,l=s.keys,d=s.records,g=new ze({getFn:a,fieldNormWeight:o});return g.setKeys(l),g.setIndexRecords(d),g}function qt(){for(var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y.minMatchCharLength,e=[],a=-1,i=-1,o=0,l=s.length;o<l;o+=1){var d=s[o];d&&a===-1?a=o:!d&&a!==-1&&(i=o-1,i-a+1>=r&&e.push([a,i]),a=-1)}return s[o-1]&&o-a>=r&&e.push([a,o-1]),e}var J=32;function Kt(s,r,e){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=a.location,o=i===void 0?y.location:i,l=a.distance,d=l===void 0?y.distance:l,g=a.threshold,m=g===void 0?y.threshold:g,p=a.findAllMatches,f=p===void 0?y.findAllMatches:p,w=a.minMatchCharLength,b=w===void 0?y.minMatchCharLength:w,M=a.includeMatches,A=M===void 0?y.includeMatches:M,C=a.ignoreLocation,L=C===void 0?y.ignoreLocation:C;if(r.length>J)throw new Error(Bt(J));for(var j=r.length,z=s.length,S=Math.max(0,Math.min(o,z)),D=m,$=S,F=function(f0,p0){var Ve=f0/j;if(L)return Ve;var dt=Math.abs(S-p0);return d?Ve+dt/d:dt?1:Ve},O=b>1||A,G=O?Array(z):[],W;(W=s.indexOf(r,$))>-1;){var we=F(0,W);if(D=Math.min(we,D),$=W+j,O)for(var be=0;be<j;)G[W+be]=1,be+=1}$=-1;for(var Z=[],re=1,ye=j+z,g0=1<<j-1,ee=0;ee<j;ee+=1){for(var xe=0,Q=ye;xe<Q;){var m0=F(ee,S+Q);m0<=D?xe=Q:ye=Q,Q=Math.floor((ye-xe)/2+xe)}ye=Q;var ht=Math.max(1,S-Q+1),Te=f?z:Math.min(S+Q,z)+j,ie=Array(Te+2);ie[Te+1]=(1<<ee)-1;for(var q=Te;q>=ht;q-=1){var _e=q-1,lt=e[s[_e]];if(O&&(G[_e]=+!!lt),ie[q]=(ie[q+1]<<1|1)<,ee&&(ie[q]|=(Z[q+1]|Z[q])<<1|1|Z[q+1]),ie[q]&g0&&(re=F(ee,_e),re<=D)){if(D=re,$=_e,$<=S)break;ht=Math.max(1,2*S-$)}}var v0=F(ee+1,S);if(v0>D)break;Z=ie}var De={isMatch:$>=0,score:Math.max(.001,re)};if(O){var ut=qt(G,b);ut.length?A&&(De.indices=ut):De.isMatch=!1}return De}function Wt(s){for(var r={},e=0,a=s.length;e<a;e+=1){var i=s.charAt(e);r[i]=(r[i]||0)|1<<a-e-1}return r}var ve=String.prototype.normalize?function(s){return s.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u
20591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")}:function(s){return s};function Ut(s){if(s.length<=1)return s;s.sort(function(l,d){return l[0]-d[0]||l[1]-d[1]});for(var r=[s[0]],e=1,a=s.length;e<a;e+=1){var i=r[r.length-1],o=s[e];o[0]<=i[1]+1?i[1]=Math.max(i[1],o[1]):r.push(o)}return r}var et=(function(){function s(r){var e=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.location,o=i===void 0?y.location:i,l=a.threshold,d=l===void 0?y.threshold:l,g=a.distance,m=g===void 0?y.distance:g,p=a.includeMatches,f=p===void 0?y.includeMatches:p,w=a.findAllMatches,b=w===void 0?y.findAllMatches:w,M=a.minMatchCharLength,A=M===void 0?y.minMatchCharLength:M,C=a.isCaseSensitive,L=C===void 0?y.isCaseSensitive:C,j=a.ignoreDiacritics,z=j===void 0?y.ignoreDiacritics:j,S=a.ignoreLocation,D=S===void 0?y.ignoreLocation:S;if(c(this,s),this.options={location:o,threshold:d,distance:m,includeMatches:f,findAllMatches:b,minMatchCharLength:A,isCaseSensitive:L,ignoreDiacritics:z,ignoreLocation:D},r=L?r:r.toLowerCase(),r=z?ve(r):r,this.pattern=r,this.chunks=[],!!this.pattern.length){var $=function(Z,re){e.chunks.push({pattern:Z,alphabet:Wt(Z),startIndex:re})},F=this.pattern.length;if(F>J){for(var O=0,G=F%J,W=F-G;O<W;)$(this.pattern.substr(O,J),O),O+=J;if(G){var we=F-J;$(this.pattern.substr(we),we)}}else $(this.pattern,0)}}return u(s,[{key:"searchIn",value:function(e){var a=this.options,i=a.isCaseSensitive,o=a.ignoreDiacritics,l=a.includeMatches;if(e=i?e:e.toLowerCase(),e=o?ve(e):e,this.pattern===e){var d={isMatch:!0,score:0};return l&&(d.indices=[[0,e.length-1]]),d}var g=this.options,m=g.location,p=g.distance,f=g.threshold,w=g.findAllMatches,b=g.minMatchCharLength,M=g.ignoreLocation,A=[],C=0,L=!1;this.chunks.forEach(function(z){var S=z.pattern,D=z.alphabet,$=z.startIndex,F=Kt(e,S,D,{location:m+$,distance:p,threshold:f,findAllMatches:w,minMatchCharLength:b,includeMatches:l,ignoreLocation:M}),O=F.isMatch,G=F.score,W=F.indices;O&&(L=!0),C+=G,O&&W&&A.push.apply(A,le(W))});var j={isMatch:L,score:L?C/this.chunks.length:1};return L&&l&&(j.indices=Ut(A)),j}}]),s})(),Y=(function(){function s(r){c(this,s),this.pattern=r}return u(s,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return tt(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return tt(e,this.singleRegex)}}]),s})();function tt(s,r){var e=s.match(r);return e?e[1]:null}var Yt=(function(s){_(e,s);var r=P(e);function e(a){return c(this,e),r.call(this,a)}return u(e,[{key:"search",value:function(i){var o=i===this.pattern;return{isMatch:o,score:o?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}
2}]),e})(Y),Gt=(function(s){_(e,s);var r=P(e);function e(a){return c(this,e),r.call(this,a)}return u(e,[{key:"search",value:function(i){var o=i.indexOf(this.pattern),l=o===-1;return{isMatch:l,score:l?0:1,indices:[0,i.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),e})(Y),Qt=(function(s){_(e,s);var r=P(e);function e(a){return c(this,e),r.call(this,a)}return u(e,[{key:"search",value:function(i){var o=i.startsWith(this.pattern);return{isMatch:o,score:o?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),e})(Y),Jt=(function(s){_(e,s);var r=P(e);function e(a){return c(this,e),r.call(this,a)}return u(e,[{key:"search",value:function(i){var o=!i.startsWith(this.pattern);return{isMatch:o,score:o?0:1,indices:[0,i.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),e})(Y),Xt=(function(s){_(e,s);var r=P(e);function e(a){return c(this,e),r.call(this,a)}return u(e,[{key:"search",value:function(i){var o=i.endsWith(this.pattern);return{isMatch:o,score:o?0:1,indices:[i.length-this.pattern.length,i.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),e})(Y),Zt=(function(s){_(e,s);var r=P(e);function e(a){return c(this,e),r.call(this,a)}return u(e,[{key:"search",value:function(i){var o=!i.endsWith(this.pattern);return{isMatch:o,score:o?0:1,indices:[0,i.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),e})(Y),st=(function(s){_(e,s);var r=P(e);function e(a){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.location,d=l===void 0?y.location:l,g=o.threshold,m=g===void 0?y.threshold:g,p=o.distance,f=p===void 0?y.distance:p,w=o.includeMatches,b=w===void 0?y.includeMatches:w,M=o.findAllMatches,A=M===void 0?y.findAllMatches:M,C=o.minMatchCharLength,L=C===void 0?y.minMatchCharLength:C,j=o.isCaseSensitive,z=j===void 0?y.isCaseSensitive:j,S=o.ignoreDiacritics,D=S===void 0?y.ignoreDiacritics:S,$=o.ignoreLocation,F=$===void 0?y.ignoreLocation:$;return c(this,e),i=r.call(this,a),i._bitapSearch=new et(a,{location:d,threshold:m,distance:f,includeMatches:b,findAllMatches:A,minMatchCharLength:L,isCaseSensitive:z,ignoreDiacritics:D,ignoreLocation:F}),i}return u(e,[{key:"search",value:function(i){return this._bitapSearch.searchIn(i)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),e})(Y),at=(function(s){_(e,s);var r=P(e);function e(a){return c(this,e),r.call(this,a)}return u(e,[{key:"search",value:function(i){for(var o=0,l,d=[],g=this.pattern.length;(l=i.indexOf(this.pattern,o))>-1;)o=l+g,d.push([l,o-1]);var m=!!d.length;return{isMatch:m,score:m?0:1,indices:d}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),e})(Y),Be=[Yt,at,Qt,Jt,Zt,Xt,Gt,st],rt=Be.length,e0=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,t0="|";function s0(s){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return s.split(t0).map(function(e){for(var a=e.trim().split(e0).filter(function(M){return M&&!!M.trim()}),i=[],o=0,l=a.length;o<l;o+=1){for(var d=a[o],g=!1,m=-1;!g&&++m<rt;){var p=Be[m],f=p.isMultiMatch(d);f&&(i.push(new p(f,r)),g=!0)}if(!g)for(m=-1;++m<rt;){var w=Be[m],b=w.isSingleMatch(d);if(b){i.push(new w(b,r));break}}}return i})}var a0=new Set([st.type,at.type]),r0=(function(){function s(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=e.isCaseSensitive,i=a===void 0?y.isCaseSensitive:a,o=e.ignoreDiacritics,l=o===void 0?y.ignoreDiacritics:o,d=e.includeMatches,g=d===void 0?y.includeMatches:d,m=e.minMatchCharLength,p=m===void 0?y.minMatchCharLength:m,f=e.ignoreLocation,w=f===void 0?y.ignoreLocation:f,b=e.findAllMatches,M=b===void 0?y.findAllMatches:b,A=e.location,C=A===void 0?y.location:A,L=e.threshold,j=L===void 0?y.threshold:L,z=e.distance,S=z===void 0?y.distance:z;c(this,s),this.query=null,this.options={isCaseSensitive:i,ignoreDiacritics:l,includeMatches:g,minMatchCharLength:p,findAllMatches:M,ignoreLocation:w,location:C,threshold:j,distance:S},r=i?r:r.toLowerCase(),r=l?ve(r):r,this.pattern=r,this.query=s0(this.pattern,this.options)}return u(s,[{key:"searchIn",value:function(e){var a=this.query;if(!a)return{isMatch:!1,score:1};var i=this.options,o=i.includeMatches,l=i.isCaseSensitive,d=i.ignoreDiacritics;e=l?e:e.toLowerCase(),e=d?ve(e):e;for(var g=0,m=[],p=0,f=0,w=a.length;f<w;f+=1){var b=a[f];m.length=0,g=0;for(var M=0,A=b.length;M<A;M+=1){var C=b[M],L=C.search(e),j=L.isMatch,z=L.indices,S=L.score;if(j){if(g+=1,p+=S,o){var D=C.constructor.type;a0.has(D)?m.push.apply(m,le(z)):m.push(z)}}else{p=0,g=0,m.length=0;break}}if(g){var $={isMatch:!0,score:p/g};return o&&($.indices=m),$}}return{isMatch:!1,score:1}}}
2],[{key:"condition",value:function(e,a){return a.useExtendedSearch}}]),s})(),fe=[];function it(){fe.push.apply(fe,arguments)}function nt(s,r){for(var e=0,a=fe.length;e<a;e+=1){var i=fe[e];if(i.condition(s,r))return new i(s,r)}return new et(s,r)}var pe={AND:"$and",OR:"$or"},$e={PATH:"$path",PATTERN:"$val"},He=function(r){return!!(r[pe.AND]||r[pe.OR])},i0=function(r){return!!r[$e.PATH]},n0=function(r){return!U(r)&&Ye(r)&&!He(r)},ot=function(r){return v({},pe.AND,Object.keys(r).map(function(e){return v({},e,r[e])}))};function ct(s,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=e.auto,i=a===void 0?!0:a,o=function l(d){var g=Object.keys(d),m=i0(d);if(!m&&g.length>1&&!He(d))return l(ot(d));if(n0(d)){var p=m?d[$e.PATH]:g[0],f=m?d[$e.PATTERN]:d[p];if(!V(f))throw new Error(zt(p));var w={keyId:Se(p),pattern:f};return i&&(w.searcher=nt(f,r)),w}var b={children:[],operator:g[0]};return g.forEach(function(M){var A=d[M];U(A)&&A.forEach(function(C){b.children.push(l(C))})}),b};return He(s)||(s=ot(s)),o(s)}function Fe(s,r){var e=r.ignoreFieldNorm,a=e===void 0?y.ignoreFieldNorm:e,i=1;s.matches.forEach(function(o){var l=o.key,d=o.norm,g=o.score,m=l?l.weight:null;i*=Math.pow(g===0&&m?Number.EPSILON:g,(m||1)*(a?1:d))}),s.score=i}function o0(s,r){var e=r.ignoreFieldNorm,a=e===void 0?y.ignoreFieldNorm:e;s.forEach(function(i){Fe(i,{ignoreFieldNorm:a})})}var c0=(function(){function s(r){c(this,s),this.limit=r,this.heap=[]}return u(s,[{key:"size",get:function(){return this.heap.length}},{key:"shouldInsert",value:function(e){return this.size<this.limit||e<this.heap[0].score}},{key:"insert",value:function(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):e.score<this.heap[0].score&&(this.heap[0]=e,this._sinkDown(0))}},{key:"extractSorted",value:function(e){return this.heap.sort(e)}},{key:"_bubbleUp",value:function(e){for(var a=this.heap;e>0;){var i=e-1>>1;if(a[e].score<=a[i].score)break;var o=a[e];a[e]=a[i],a[i]=o,e=i}}},{key:"_sinkDown",value:function(e){var a=this.heap,i=a.length,o=e;do{e=o;var l=2*e+1,d=2*e+2;if(l<i&&a[l].score>a[o].score&&(o=l),d<i&&a[d].score>a[o].score&&(o=d),o!==e){var g=a[e];a[e]=a[o],a[o]=g}}while(o!==e)}}]),s})();function h0(s,r){var e=s.matches;r.matches=[],I(e)&&e.forEach(function(a){if(!(!I(a.indices)||!a.indices.length)){var i=a.indices,o=a.value,l={indices:i,value:o};a.key&&(l.key=a.key.src),a.idx>-1&&(l.refIndex=a.idx),r.matches.push(l)}})}function l0(s,r){r.score=s.score}function u0(s,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=e.includeMatches,i=a===void 0?y.includeMatches:a,o=e.includeScore,l=o===void 0?y.includeScore:o,d=[];return i&&d.push(h0),l&&d.push(l0),s.map(function(g){var m=g.idx,p={item:r[m],refIndex:m};return d.length&&d.forEach(function(f){f(g,p)}),p})}var X=(function(){function s(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;c(this,s),this.options=t(t({},y),e),this.options.useExtendedSearch,this._keyStore=new Ft(this.options.keys),this.setCollection(r,a),this._lastQuery=null,this._lastSearcher=null}return u(s,[{key:"_getSearcher",value:function(e){if(this._lastQuery===e)return this._lastSearcher;var a=nt(e,this.options);return this._lastQuery=e,this._lastSearcher=a,a}},{key:"setCollection",value:function(e,a){if(this._docs=e,a&&!(a instanceof ze))throw new Error(St);this._myIndex=a||Ze(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){I(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){return!1},a=[],i=[],o=0,l=this._docs.length;o<l;o+=1)e(this._docs[o],o)&&(a.push(this._docs[o]),i.push(o));if(i.length){for(var d=i.length-1;d>=0;d-=1)this._docs.splice(i[d],1);this._myIndex.removeAll(i)}return a}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.limit,o=i===void 0?-1:i,l=this.options,d=l.includeMatches,g=l.includeScore,m=l.shouldSort,p=l.sortFn,f=l.ignoreFieldNorm,w=je(o)&&o>0&&V(e),b;if(w){var M=new c0(o);V(this._docs[0])?this._searchStringList(e,{heap:M,ignoreFieldNorm:f}):this._searchObjectList(e,{heap:M,ignoreFieldNorm:f}),b=M.extractSorted(p)}else b=V(e)?V(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),o0(b,{ignoreFieldNorm:f}),m&&b.sort(p),je(o)&&o>-1&&(b=b.slice(0,o));return u0(b,this._docs,{includeMatches:d,includeScore:g})}},{key:"_searchStringList",value:function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.heap,o=a.ignoreFieldNorm,l=this._getSearcher(e),d=this._myIndex.records,g=i?null:[];return d.forEach(function(m){var p=m.v,f=m.i,w=m.n;if(I(p)){var b=l.searchIn(p),M=b.isMatch,A=b.score,C=b.indices;if(M){var L={item:p,idx:f,matches:[{score:A,value:p,norm:w,indices:C}]};i?(Fe(L,{ignoreFieldNorm:o}),i.shouldInsert(L.score)&&i.insert(L)):g.push(L)}}}),g}},{key:"_searchLogical",value:function(e){var a=this,i=ct(e,this.options),o=function m(p,f,w){if(!p.children){var b=p.keyId,M=p.searcher,A=a._findMatches({key:a._
2keyStore.get(b),value:a._myIndex.getValueForItemAtKeyId(f,b),searcher:M});return A&&A.length?[{idx:w,item:f,matches:A}]:[]}for(var C=[],L=0,j=p.children.length;L<j;L+=1){var z=p.children[L],S=m(z,f,w);if(S.length)C.push.apply(C,le(S));else if(p.operator===pe.AND)return[]}return C},l=this._myIndex.records,d=new Map,g=[];return l.forEach(function(m){var p=m.$,f=m.i;if(I(p)){var w=o(i,p,f);w.length&&(d.has(f)||(d.set(f,{idx:f,item:p,matches:[]}),g.push(d.get(f))),w.forEach(function(b){var M,A=b.matches;(M=d.get(f).matches).push.apply(M,le(A))}))}}),g}},{key:"_searchObjectList",value:function(e){var a=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=i.heap,l=i.ignoreFieldNorm,d=this._getSearcher(e),g=this._myIndex,m=g.keys,p=g.records,f=o?null:[];return p.forEach(function(w){var b=w.$,M=w.i;if(I(b)){var A=[];if(m.forEach(function(L,j){A.push.apply(A,le(a._findMatches({key:L,value:b[j],searcher:d})))}),A.length){var C={idx:M,item:b,matches:A};o?(Fe(C,{ignoreFieldNorm:l}),o.shouldInsert(C.score)&&o.insert(C)):f.push(C)}}}),f}},{key:"_findMatches",value:function(e){var a=e.key,i=e.value,o=e.searcher;if(!I(i))return[];var l=[];if(U(i))i.forEach(function(b){var M=b.v,A=b.i,C=b.n;if(I(M)){var L=o.searchIn(M),j=L.isMatch,z=L.score,S=L.indices;j&&l.push({score:z,key:a,value:M,idx:A,norm:C,indices:S})}});else{var d=i.v,g=i.n,m=o.searchIn(d),p=m.isMatch,f=m.score,w=m.indices;p&&l.push({score:f,key:a,value:d,norm:g,indices:w})}return l}}]),s})();X.version="7.2.0",X.createIndex=Ze,X.parseIndex=Pt,X.config=y,X.parseQuery=ct,it(r0),X.use=function(){for(var s=arguments.length,r=new Array(s),e=0;e<s;e++)r[e]=arguments[e];r.forEach(function(a){return it(a)})};var d0=X;return d0}))});var mt={case_sensitive:!1,distance:100,expand_results_meta:!1,filter_taxonomies:!0,filter_years:!0,headings_end_level:6,histories:!0,historiesCount:5,histories_count:5,icons:{expand:`<svg aria-hidden="true" class="bi bi-chevron-expand hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 3 <path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708"/> 4</svg>`,heading:`<svg aria-hidden="true" class="bi bi-hash hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 5 <path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/> 6</svg>`,history:`<svg aria-hidden="true" class="bi bi-clock hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 7 <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"/> 8 <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0"/> 9</svg>`,lang:`<svg aria-hidden="true" class="bi bi-translate hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 10 <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286zm1.634-.736L5.5 3.956h-.049l-.679 2.022z"/> 11 <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm7.138 9.995q.289.451.63.846c-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6 6 0 0 1-.415-.492 2 2 0 0 1-.94.31"/> 12</svg>`,meta:`<svg aria-hidden="true" class="bi bi-info-circle hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 13 <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/> 14 <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/> 15</svg>`,page:`<svg aria-hidden="true" class="bi bi-file-earmark-richtext hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 16 <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5z"/> 17 <path d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m1.639-3.708 1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208M6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5"/> 18</svg>`,reset:`<svg aria-hidden="true" class="bi bi-x hi-svg-inline" fill="currentColor" height="1.5em" viewBox="0 0 16 16" width="1.5em" xmlns="http://www.w3.org/2000/svg"> 19 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708
19L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/> 20</svg>`,search:`<svg aria-hidden="true" class="bi bi-search hi-svg-inline" fill="currentColor" height="1.25em" viewBox="0 0 16 16" width="1.25em" xmlns="http://www.w3.org/2000/svg"> 21 <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/> 22</svg>`,sort:`<svg aria-hidden="true" class="bi bi-sort-down hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 23 <path d="M3.5 2.5a.5.5 0 0 0-1 0v8.793l-1.146-1.147a.5.5 0 0 0-.708.708l2 1.999.007.007a.497.497 0 0 0 .7-.006l2-2a.5.5 0 0 0-.707-.708L3.5 11.293zm3.5 1a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z"/> 24</svg>`,spinner:`<svg aria-hidden="true" class="bi bi-arrow-clockwise hi-svg-inline" fill="currentColor" height="1.35em" viewBox="0 0 16 16" width="1.35em" xmlns="http://www.w3.org/2000/svg"> 25 <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"/> 26 <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"/> 27</svg>`,taxonomies:`<svg aria-hidden="true" class="bi bi-tags hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 28 <path d="M3 2v4.586l7 7L14.586 9l-7-7zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586z"/> 29 <path d="M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1z"/> 30</svg>`,year:`<svg aria-hidden="true" class="bi bi-calendar-check hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 31 <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0"/> 32 <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/> 33</svg>`},ignore_location:!1,index_all_pages:!1,index_content:!1,index_headings:!0,index_summary:!0,index_taxonomies:!0,indices:["https://hugomods.com/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hans/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hant/search.json?v=b9d834f8fe90b220fe6727570d17cb33"],key_weights:{content:.5,headings:.5,lang:1,summary:1,taxonomies:.1,title:1,year:1},lang:"en",lazy_loading:!0,locales:{de:"https://hugomods.com/js/search/locales.de.json",en:"https://hugomods.com/js/search/locales.en.json",es:"https://hugomods.com/js/search/locales.es.json",fr:"https://hugomods.com/js/search/locales.fr.json",ko:"https://hugomods.com/js/search/locales.ko.json",ms:"https://hugomods.com/js/search/locales.ms.json",nl:"https://hugomods.com/js/search/locales.nl.json",pt:"https://hugomods.com/js/search/locales.pt.json","pt-br":"https://hugomods.com/js/search/locales.pt-br.json",ru:"https://hugomods.com/js/search/locales.ru.json",vi:"https://hugomods.com/js/search/locales.vi.json","zh-
33hans":"https://hugomods.com/js/search/locales.zh-hans.json","zh-hant":"https://hugomods.com/js/search/locales.zh-hant.json"},location:0,max_results:100,min_match_char_length:1,modal_container:"body",modal_toggle_selector:".search-modal-toggle",paginate:20,sass_transpiler:"dartsass",shortcut_close:["Escape"],shortcut_search:["Control","k"],stall_threshold:300,threshold:.6};(()=>{let x=h=>{h.classList.remove("show"),h.setAttribute("aria-expanded","false")},t=h=>{document.querySelectorAll(".search-dropdown.show").forEach(u=>{u!=h&&x(u)})},n=h=>{h.classList.add("show"),h.setAttribute("aria-expanded","true")},c=h=>{if(h.classList.contains("show")){x(h);return}n(h),t(h)};document.addEventListener("DOMContentLoaded",()=>{document.addEventListener("keyup",h=>{let u=h.target;if(!u.classList.contains("search-dropdown-input"))return;let v=u.value.toLowerCase().trim(),_=u.closest(".search-dropdown"),k=Array.from(_?.querySelectorAll(".search-dropdown-item")??[]);for(let E of k){if(v===""||E.textContent?.toLowerCase().indexOf(v)!==-1){E.classList.remove("hide");continue}E.classList.contains("active")||E.classList.add("hide")}}),document.addEventListener("click",h=>{let u=h.target.closest(".search-dropdown-toggle");if(u){let E=u.closest(".search-dropdown");c(E),h.preventDefault();return}if(h.target.closest(".search-dropdown-input"))return;let _=h.target.closest(".search-dropdown-reset");if(_){let E=_.closest(".search-dropdown");E?.querySelectorAll(".search-dropdown-item.active").forEach(ce=>{ce.classList.remove("active"),E.removeAttribute("data-value"),E.classList.remove("active")})}let k=h.target.closest(".search-dropdown-item");if(k){let E=k.closest(".search-dropdown"),ce=E.hasAttribute("multiple"),he=k.getAttribute("data-value");ce?(k.classList.contains("active")?k.classList.remove("active"):k.classList.add("active"),E.querySelector(".search-dropdown-item.active")?E.classList.add("active"):E.classList.remove("active")):(he?(E.setAttribute("data-value",he),E.classList.add("active")):(E.removeAttribute("data-value"),E.classList.remove("active")),E.querySelector(".search-dropdown-label").innerText=k.innerText,E.querySelectorAll(".search-dropdown-item").forEach(P=>{P.classList.remove("active")}),k.classList.add("active"));let Ee=new CustomEvent("change",{detail:{value:he}});E.dispatchEvent(Ee)}t()})})})();var Ie=class{keys={};events=[];attach(t,n){this.events.push({keys:t,callback:n})}press(t){if(t.type==="keydown"){this.keys[t.key]=!0;for(let n in this.events){let c=this.events[n];this.isPressed(c.keys)&&c.callback(t)}return}delete this.keys[t.key]}isPressed(t){if(t.length===0)return!1;for(let n in t)if(!(t[n]in this.keys))return!1;return!0}},vt=new Ie,ne=vt;(()=>{"use strict";document.addEventListener("DOMContentLoaded",()=>{let x=t=>{vt.press(t)};document.addEventListener("keydown",x),document.addEventListener("keyup",x)})})();var Oe=class{modal(){return document.querySelector(".search-modal-container.active")}current(){let t=this.modal();return t?t.querySelector('.search-result[aria-selected="true"]'):document.querySelector('.search-container .search-result[aria-selected="true"]')}go(t){let n=this.current(),c;n&&(n.ariaSelected="false",c=t==="prev"?n.previousElementSibling:n.nextElementSibling),c=c??this.first(),c.focus(),c.ariaSelected="true"}first(){let t=this.modal();return t?t.querySelector(".search-result"):document.querySelector(".search-container .search-result")}prev(){this.go("prev")}next(){this.go("next")}};(()=>{"use strict";document.addEventListener("DOMContentLoaded",()=>{let x=new Oe;ne.attach(["ArrowUp"],t=>{x.prev(),t.preventDefault()}),ne.attach(["ArrowDown"],t=>{x.next(),t.preventDefault()})})})();var K={case_sensitive:!1,distance:100,expand_results_meta:!1,filter_taxonomies:!0,filter_years:!0,headings_end_level:6,histories:!0,historiesCount:5,histories_count:5,icons:{expand:`<svg aria-hidden="true" class="bi bi-chevron-expand hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 34 <path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708"/> 35</svg>`,heading:`<svg aria-hidden="true" class="bi bi-hash hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 36 <path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/> 37</svg>`,history:`<svg aria-hidden="true" class="bi bi-clock hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 38 <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"/> 39 <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0"/> 40</svg>`,lang:`<svg aria-hidden="true" class="bi bi-translate hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 41 <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286zm1.634-.736L5.5 3.956h-.049l-.679 2.022z"/> 42 <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm7.138 9.995q.289.451.63.846c-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6 6 0 0 1-.415-.492 2 2 0 0 1-.94.31"/> 43</svg>`,meta:`<svg aria-hidden="true" class="bi bi-info-circle hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 44 <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/> 45 <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/> 46</svg>`,page:`<svg aria-hidden="true" class="bi bi-file-earmark-richtext hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 47 <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5z"/> 48 <path d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m1.639-3.708 1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208M6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5"/> 49</svg>`,reset:`<svg aria-hidden="true" class="bi bi-x hi-svg-inline" fill="currentColor" height="1.5em" viewBox="0 0 16 16" width="1.5em" xmlns="http://www.w3.org/2000/svg"> 50 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708
50L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/> 51</svg>`,search:`<svg aria-hidden="true" class="bi bi-search hi-svg-inline" fill="currentColor" height="1.25em" viewBox="0 0 16 16" width="1.25em" xmlns="http://www.w3.org/2000/svg"> 52 <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/> 53</svg>`,sort:`<svg aria-hidden="true" class="bi bi-sort-down hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 54 <path d="M3.5 2.5a.5.5 0 0 0-1 0v8.793l-1.146-1.147a.5.5 0 0 0-.708.708l2 1.999.007.007a.497.497 0 0 0 .7-.006l2-2a.5.5 0 0 0-.707-.708L3.5 11.293zm3.5 1a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z"/> 55</svg>`,spinner:`<svg aria-hidden="true" class="bi bi-arrow-clockwise hi-svg-inline" fill="currentColor" height="1.35em" viewBox="0 0 16 16" width="1.35em" xmlns="http://www.w3.org/2000/svg"> 56 <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"/> 57 <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"/> 58</svg>`,taxonomies:`<svg aria-hidden="true" class="bi bi-tags hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 59 <path d="M3 2v4.586l7 7L14.586 9l-7-7zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586z"/> 60 <path d="M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1z"/> 61</svg>`,year:`<svg aria-hidden="true" class="bi bi-calendar-check hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 62 <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0"/> 63 <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/> 64</svg>`},ignore_location:!1,index_all_pages:!1,index_content:!1,index_headings:!0,index_summary:!0,index_taxonomies:!0,indices:["https://hugomods.com/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hans/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hant/search.json?v=b9d834f8fe90b220fe6727570d17cb33"],key_weights:{content:.5,headings:.5,lang:1,summary:1,taxonomies:.1,title:1,year:1},lang:"en",lazy_loading:!0,locales:{de:"https://hugomods.com/js/search/locales.de.json",en:"https://hugomods.com/js/search/locales.en.json",es:"https://hugomods.com/js/search/locales.es.json",fr:"https://hugomods.com/js/search/locales.fr.json",ko:"https://hugomods.com/js/search/locales.ko.json",ms:"https://hugomods.com/js/search/locales.ms.json",nl:"https://hugomods.com/js/search/locales.nl.json",pt:"https://hugomods.com/js/search/locales.pt.json","pt-br":"https://hugomods.com/js/search/locales.pt-br.json",ru:"https://hugomods.com/js/search/locales.ru.json",vi:"https://hugomods.com/js/search/locales.vi.json","zh-
64hans":"https://hugomods.com/js/search/locales.zh-hans.json","zh-hant":"https://hugomods.com/js/search/locales.zh-hant.json"},location:0,max_results:100,min_match_char_length:1,modal_container:"body",modal_toggle_selector:".search-modal-toggle",paginate:20,sass_transpiler:"dartsass",shortcut_close:["Escape"],shortcut_search:["Control","k"],stall_threshold:300,threshold:.6};var ue=class{constructor(t,n){this.translations=t;this.fallback=n}lang="";getLang(){return this.lang===""&&(this.lang=document.documentElement.getAttribute("lang")??this.fallback),this.lang}getTranslations(){let t=this.getLang();return this.translations[t]??this.getFallbackTranslations()}getFallbackTranslations(){return this.translations[this.fallback]}getFallbackTranslation(t){return this.getFallbackTranslations()[t]??""}translate(t,n,c=""){let h=this.getTranslations();if(!h)return c===""?t:c;let u=h[t]??this.getFallbackTranslation(t);if(!u)return c===""?t:c;if(!n)return u.other;let v=n.count===1?u.one:u.other;for(let _ in n)v=v.replace(`{${_}}`,n[_]);return v}};var Me={case_sensitive:!1,distance:100,expand_results_meta:!1,filter_taxonomies:!0,filter_years:!0,headings_end_level:6,histories:!0,historiesCount:5,histories_count:5,icons:{expand:`<svg aria-hidden="true" class="bi bi-chevron-expand hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 65 <path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708"/> 66</svg>`,heading:`<svg aria-hidden="true" class="bi bi-hash hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 67 <path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/> 68</svg>`,history:`<svg aria-hidden="true" class="bi bi-clock hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 69 <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"/> 70 <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0"/> 71</svg>`,lang:`<svg aria-hidden="true" class="bi bi-translate hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 72 <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286zm1.634-.736L5.5 3.956h-.049l-.679 2.022z"/> 73 <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm7.138 9.995q.289.451.63.846c-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6 6 0 0 1-.415-.492 2 2 0 0 1-.94.31"/> 74</svg>`,meta:`<svg aria-hidden="true" class="bi bi-info-circle hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 75 <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/> 76 <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/> 77</svg>`,page:`<svg aria-hidden="true" class="bi bi-file-earmark-richtext hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 78 <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5z"/> 79 <path d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m1.639-3.708 1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208M6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5"/> 80</svg>`,reset:`<svg aria-hidden="true" class="bi bi-x hi-svg-inline" fill="currentColor" height="1.5em" viewBox="0 0 16 16" width="1.5em" xmlns="http://www.w3.org/2000/svg"> 81 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708
81L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/> 82</svg>`,search:`<svg aria-hidden="true" class="bi bi-search hi-svg-inline" fill="currentColor" height="1.25em" viewBox="0 0 16 16" width="1.25em" xmlns="http://www.w3.org/2000/svg"> 83 <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/> 84</svg>`,sort:`<svg aria-hidden="true" class="bi bi-sort-down hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 85 <path d="M3.5 2.5a.5.5 0 0 0-1 0v8.793l-1.146-1.147a.5.5 0 0 0-.708.708l2 1.999.007.007a.497.497 0 0 0 .7-.006l2-2a.5.5 0 0 0-.707-.708L3.5 11.293zm3.5 1a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z"/> 86</svg>`,spinner:`<svg aria-hidden="true" class="bi bi-arrow-clockwise hi-svg-inline" fill="currentColor" height="1.35em" viewBox="0 0 16 16" width="1.35em" xmlns="http://www.w3.org/2000/svg"> 87 <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"/> 88 <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"/> 89</svg>`,taxonomies:`<svg aria-hidden="true" class="bi bi-tags hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 90 <path d="M3 2v4.586l7 7L14.586 9l-7-7zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586z"/> 91 <path d="M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1z"/> 92</svg>`,year:`<svg aria-hidden="true" class="bi bi-calendar-check hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 93 <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0"/> 94 <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/> 95</svg>`},ignore_location:!1,index_all_pages:!1,index_content:!1,index_headings:!0,index_summary:!0,index_taxonomies:!0,indices:["https://hugomods.com/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hans/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hant/search.json?v=b9d834f8fe90b220fe6727570d17cb33"],key_weights:{content:.5,headings:.5,lang:1,summary:1,taxonomies:.1,title:1,year:1},lang:"en",lazy_loading:!0,locales:{de:"https://hugomods.com/js/search/locales.de.json",en:"https://hugomods.com/js/search/locales.en.json",es:"https://hugomods.com/js/search/locales.es.json",fr:"https://hugomods.com/js/search/locales.fr.json",ko:"https://hugomods.com/js/search/locales.ko.json",ms:"https://hugomods.com/js/search/locales.ms.json",nl:"https://hugomods.com/js/search/locales.nl.json",pt:"https://hugomods.com/js/search/locales.pt.json","pt-br":"https://hugomods.com/js/search/locales.pt-br.json",ru:"https://hugomods.com/js/search/locales.ru.json",vi:"https://hugomods.com/js/search/locales.vi.json","zh-
95hans":"https://hugomods.com/js/search/locales.zh-hans.json","zh-hant":"https://hugomods.com/js/search/locales.zh-hant.json"},location:0,max_results:100,min_match_char_length:1,modal_container:"body",modal_toggle_selector:".search-modal-toggle",paginate:20,sass_transpiler:"dartsass",shortcut_close:["Escape"],shortcut_search:["Control","k"],stall_threshold:300,threshold:.6};var ft,pt=()=>new Promise(x=>{let t=document.documentElement.getAttribute("lang")??Me.lang,n=Me.locales[t]??Me.locales.en;fetch(n).then(c=>c.json()).then(c=>{ft=new ue({[t]:c},t),x(!0)})}),B=(x,t)=>ft.translate(x,t);var R={case_sensitive:!1,distance:100,expand_results_meta:!1,filter_taxonomies:!0,filter_years:!0,headings_end_level:6,histories:!0,historiesCount:5,histories_count:5,icons:{expand:`<svg aria-hidden="true" class="bi bi-chevron-expand hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 96 <path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708"/> 97</svg>`,heading:`<svg aria-hidden="true" class="bi bi-hash hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 98 <path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/> 99</svg>`,history:`<svg aria-hidden="true" class="bi bi-clock hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 100 <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"/> 101 <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0"/> 102</svg>`,lang:`<svg aria-hidden="true" class="bi bi-translate hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 103 <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286zm1.634-.736L5.5 3.956h-.049l-.679 2.022z"/> 104 <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm7.138 9.995q.289.451.63.846c-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6 6 0 0 1-.415-.492 2 2 0 0 1-.94.31"/> 105</svg>`,meta:`<svg aria-hidden="true" class="bi bi-info-circle hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 106 <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/> 107 <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/> 108</svg>`,page:`<svg aria-hidden="true" class="bi bi-file-earmark-richtext hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 109 <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5z"/> 110 <path d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m1.639-3.708 1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208M6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5"/> 111</svg>`,reset:`<svg aria-hidden="true" class="bi bi-x hi-svg-inline" fill="currentColor" height="1.5em" viewBox="0 0 16 16" width="1.5em" xmlns="http://www.w3.org/2000/svg"> 112 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708
112L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/> 113</svg>`,search:`<svg aria-hidden="true" class="bi bi-search hi-svg-inline" fill="currentColor" height="1.25em" viewBox="0 0 16 16" width="1.25em" xmlns="http://www.w3.org/2000/svg"> 114 <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/> 115</svg>`,sort:`<svg aria-hidden="true" class="bi bi-sort-down hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 116 <path d="M3.5 2.5a.5.5 0 0 0-1 0v8.793l-1.146-1.147a.5.5 0 0 0-.708.708l2 1.999.007.007a.497.497 0 0 0 .7-.006l2-2a.5.5 0 0 0-.707-.708L3.5 11.293zm3.5 1a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z"/> 117</svg>`,spinner:`<svg aria-hidden="true" class="bi bi-arrow-clockwise hi-svg-inline" fill="currentColor" height="1.35em" viewBox="0 0 16 16" width="1.35em" xmlns="http://www.w3.org/2000/svg"> 118 <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"/> 119 <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"/> 120</svg>`,taxonomies:`<svg aria-hidden="true" class="bi bi-tags hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 121 <path d="M3 2v4.586l7 7L14.586 9l-7-7zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586z"/> 122 <path d="M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1z"/> 123</svg>`,year:`<svg aria-hidden="true" class="bi bi-calendar-check hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 124 <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0"/> 125 <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/> 126</svg>`},ignore_location:!1,index_all_pages:!1,index_content:!1,index_headings:!0,index_summary:!0,index_taxonomies:!0,indices:["https://hugomods.com/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hans/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hant/search.json?v=b9d834f8fe90b220fe6727570d17cb33"],key_weights:{content:.5,headings:.5,lang:1,summary:1,taxonomies:.1,title:1,year:1},lang:"en",lazy_loading:!0,locales:{de:"https://hugomods.com/js/search/locales.de.json",en:"https://hugomods.com/js/search/locales.en.json",es:"https://hugomods.com/js/search/locales.es.json",fr:"https://hugomods.com/js/search/locales.fr.json",ko:"https://hugomods.com/js/search/locales.ko.json",ms:"https://hugomods.com/js/search/locales.ms.json",nl:"https://hugomods.com/js/search/locales.nl.json",pt:"https://hugomods.com/js/search/locales.pt.json","pt-br":"https://hugomods.com/js/search/locales.pt-br.json",ru:"https://hugomods.com/js/search/locales.ru.json",vi:"https://hugomods.com/js/search/locales.vi.json","zh-
126hans":"https://hugomods.com/js/search/locales.zh-hans.json","zh-hant":"https://hugomods.com/js/search/locales.zh-hant.json"},location:0,max_results:100,min_match_char_length:1,modal_container:"body",modal_toggle_selector:".search-modal-toggle",paginate:20,sass_transpiler:"dartsass",shortcut_close:["Escape"],shortcut_search:["Control","k"],stall_threshold:300,threshold:.6};var H={case_sensitive:!1,distance:100,expand_results_meta:!1,filter_taxonomies:!0,filter_years:!0,headings_end_level:6,histories:!0,historiesCount:5,histories_count:5,icons:{expand:`<svg aria-hidden="true" class="bi bi-chevron-expand hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 127 <path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708"/> 128</svg>`,heading:`<svg aria-hidden="true" class="bi bi-hash hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 129 <path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/> 130</svg>`,history:`<svg aria-hidden="true" class="bi bi-clock hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 131 <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"/> 132 <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0"/> 133</svg>`,lang:`<svg aria-hidden="true" class="bi bi-translate hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 134 <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286zm1.634-.736L5.5 3.956h-.049l-.679 2.022z"/> 135 <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm7.138 9.995q.289.451.63.846c-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6 6 0 0 1-.415-.492 2 2 0 0 1-.94.31"/> 136</svg>`,meta:`<svg aria-hidden="true" class="bi bi-info-circle hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 137 <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/> 138 <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/> 139</svg>`,page:`<svg aria-hidden="true" class="bi bi-file-earmark-richtext hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 140 <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5z"/> 141 <path d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m1.639-3.708 1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208M6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5"/> 142</svg>`,reset:`<svg aria-hidden="true" class="bi bi-x hi-svg-inline" fill="currentColor" height="1.5em" viewBox="0 0 16 16" width="1.5em" xmlns="http://www.w3.org/2000/svg"> 143 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708
143L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/> 144</svg>`,search:`<svg aria-hidden="true" class="bi bi-search hi-svg-inline" fill="currentColor" height="1.25em" viewBox="0 0 16 16" width="1.25em" xmlns="http://www.w3.org/2000/svg"> 145 <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/> 146</svg>`,sort:`<svg aria-hidden="true" class="bi bi-sort-down hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 147 <path d="M3.5 2.5a.5.5 0 0 0-1 0v8.793l-1.146-1.147a.5.5 0 0 0-.708.708l2 1.999.007.007a.497.497 0 0 0 .7-.006l2-2a.5.5 0 0 0-.707-.708L3.5 11.293zm3.5 1a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z"/> 148</svg>`,spinner:`<svg aria-hidden="true" class="bi bi-arrow-clockwise hi-svg-inline" fill="currentColor" height="1.35em" viewBox="0 0 16 16" width="1.35em" xmlns="http://www.w3.org/2000/svg"> 149 <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"/> 150 <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"/> 151</svg>`,taxonomies:`<svg aria-hidden="true" class="bi bi-tags hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 152 <path d="M3 2v4.586l7 7L14.586 9l-7-7zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586z"/> 153 <path d="M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1z"/> 154</svg>`,year:`<svg aria-hidden="true" class="bi bi-calendar-check hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 155 <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0"/> 156 <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/> 157</svg>`},ignore_location:!1,index_all_pages:!1,index_content:!1,index_headings:!0,index_summary:!0,index_taxonomies:!0,indices:["https://hugomods.com/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hans/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hant/search.json?v=b9d834f8fe90b220fe6727570d17cb33"],key_weights:{content:.5,headings:.5,lang:1,summary:1,taxonomies:.1,title:1,year:1},lang:"en",lazy_loading:!0,locales:{de:"https://hugomods.com/js/search/locales.de.json",en:"https://hugomods.com/js/search/locales.en.json",es:"https://hugomods.com/js/search/locales.es.json",fr:"https://hugomods.com/js/search/locales.fr.json",ko:"https://hugomods.com/js/search/locales.ko.json",ms:"https://hugomods.com/js/search/locales.ms.json",nl:"https://hugomods.com/js/search/locales.nl.json",pt:"https://hugomods.com/js/search/locales.pt.json","pt-br":"https://hugomods.com/js/search/locales.pt-br.json",ru:"https://hugomods.com/js/search/locales.ru.json",vi:"https://hugomods.com/js/search/locales.vi.json","zh-
157hans":"https://hugomods.com/js/search/locales.zh-hans.json","zh-hant":"https://hugomods.com/js/search/locales.zh-hant.json"},location:0,max_results:100,min_match_char_length:1,modal_container:"body",modal_toggle_selector:".search-modal-toggle",paginate:20,sass_transpiler:"dartsass",shortcut_close:["Escape"],shortcut_search:["Control","k"],stall_threshold:300,threshold:.6};var bt=L0(wt()),Pe=class{index;indexFailed=!1;initialized=!1;sites=[];getBaseURL(t){return this.sites[t]?this.sites[t].baseURL:""}taxonomies={};years=[];langs={};init(){if(this.initialized)return new Promise((n,c)=>{let h=setInterval(()=>{this.index?(clearInterval(h),n(!0)):this.indexFailed&&(clearInterval(h),c("Index fails"))},50)});this.initialized=!0;let t=new Array;for(let n in H.indices){let c=H.indices[n],h=fetch(c).then(u=>u.json());t.push(h)}return Promise.all(t).then(n=>{let c=[];for(let h=0;h<n.length;h++){let u=n[h];if(Array.isArray(u))c=c.concat(u);else{let v=this.sites.push({baseURL:u.baseURL})-1;c=c.concat(u.pages.map(_=>({..._,site:v})));for(let _ in u.taxonomies)this.taxonomies[_]===void 0&&(this.taxonomies[_]=[]),this.taxonomies[_].push(...u.taxonomies[_]);Object.assign(this.langs,u.langs),this.years.push(...u.years)}}for(let h in this.taxonomies){let u=this.taxonomies[h];this.taxonomies[h]=u.filter((v,_)=>u.indexOf(v)===_).sort()}this.years=this.years.filter((h,u)=>this.years.indexOf(h)===u).sort(),this.index=new bt.default(c,{isCaseSensitive:H.case_sensitive,minMatchCharLength:H.min_match_char_length,location:H.location,threshold:H.threshold,distance:H.distance,ignoreLocation:H.ignore_location,keys:this.getKeys(),includeMatches:!0,useExtendedSearch:!0,includeScore:!0})}).catch(n=>{throw this.indexFailed=!0,n})}keys;getKeys(){if(this.keys)return this.keys;let t=[{name:"title",weight:H.key_weights.title},{name:"summary",weight:H.key_weights.summary},{name:"headings.title",weight:H.key_weights.headings},{name:"lang",weight:H.key_weights.lang},{name:"year",weight:H.key_weights.year}];H.index_content&&t.push({name:"content",weight:H.key_weights.content});for(let n in yt.taxonomies)t.push({name:n,weight:H.key_weights.taxonomies});return this.keys=t,this.keys}query;results;search(t,n="",c="",h=[],u={}){let v=this.pattern(t,c,h,u),_=new Date().getTime();return new Promise(k=>{setTimeout(()=>{if(JSON.stringify(this.query)===JSON.stringify(v)){k({results:this.sort(this.results,n),time:new Date().getTime()-_});return}return this.results=this.index.search(v,{limit:H.max_results}),this.query=v,k({results:this.sort(this.results,n),time:new Date().getTime()-_})},1)})}pattern(t,n,c=[],h={}){let u=[];if(t!==""&&u.push({$or:[{title:t},{summary:t},{content:t},{$path:"headings.title",$val:t}]}),n&&u.push({lang:"="+n}),c.length>0){let v=[];for(let _ of c)v.push({year:`=${_}`});u.push({$or:v})}for(let v in h){if(h[v].length===0)continue;let _=[];for(let k of h[v])_.push({[v]:`="${k}"`});u.push({$and:_})}return{$and:u}}sort(t,n){switch(n){case"date_asc":t=t.sort((c,h)=>c.item.date-h.item.date);break;case"date_desc":t=t.sort((c,h)=>h.item.date-c.item.date);break}return t}},yt=new Pe,T=yt;var qe={case_sensitive:!1,distance:100,expand_results_meta:!1,filter_taxonomies:!0,filter_years:!0,headings_end_level:6,histories:!0,historiesCount:5,histories_count:5,icons:{expand:`<svg aria-hidden="true" class="bi bi-chevron-expand hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 158 <path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708"/> 159</svg>`,heading:`<svg aria-hidden="true" class="bi bi-hash hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 160 <path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/> 161</svg>`,history:`<svg aria-hidden="true" class="bi bi-clock hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 162 <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"/> 163 <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0"/> 164</svg>`,lang:`<svg aria-hidden="true" class="bi bi-translate hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 165 <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286zm1.634-.736L5.5 3.956h-.049l-.679 2.022z"/> 166 <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm7.138 9.995q.289.451.63.846c-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6 6 0 0 1-.415-.492 2 2 0 0 1-.94.31"/> 167</svg>`,meta:`<svg aria-hidden="true" class="bi bi-info-circle hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 168 <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/> 169 <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/> 170</svg>`,page:`<svg aria-hidden="true" class="bi bi-file-earmark-richtext hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 171 <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5z"/> 172 <path d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m1.639-3.708 1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208M6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5"/> 173</svg>`,reset:`<svg aria-hidden="true" class="bi bi-x hi-svg-inline" fill="currentColor" height="1.5em" viewBox="0 0 16 16" width="1.5em" xmlns="http://www.w3.org/2000/svg"> 174 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708
174L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/> 175</svg>`,search:`<svg aria-hidden="true" class="bi bi-search hi-svg-inline" fill="currentColor" height="1.25em" viewBox="0 0 16 16" width="1.25em" xmlns="http://www.w3.org/2000/svg"> 176 <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/> 177</svg>`,sort:`<svg aria-hidden="true" class="bi bi-sort-down hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 178 <path d="M3.5 2.5a.5.5 0 0 0-1 0v8.793l-1.146-1.147a.5.5 0 0 0-.708.708l2 1.999.007.007a.497.497 0 0 0 .7-.006l2-2a.5.5 0 0 0-.707-.708L3.5 11.293zm3.5 1a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z"/> 179</svg>`,spinner:`<svg aria-hidden="true" class="bi bi-arrow-clockwise hi-svg-inline" fill="currentColor" height="1.35em" viewBox="0 0 16 16" width="1.35em" xmlns="http://www.w3.org/2000/svg"> 180 <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"/> 181 <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"/> 182</svg>`,taxonomies:`<svg aria-hidden="true" class="bi bi-tags hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 183 <path d="M3 2v4.586l7 7L14.586 9l-7-7zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586z"/> 184 <path d="M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1z"/> 185</svg>`,year:`<svg aria-hidden="true" class="bi bi-calendar-check hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 186 <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0"/> 187 <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/> 188</svg>`},ignore_location:!1,index_all_pages:!1,index_content:!1,index_headings:!0,index_summary:!0,index_taxonomies:!0,indices:["https://hugomods.com/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hans/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hant/search.json?v=b9d834f8fe90b220fe6727570d17cb33"],key_weights:{content:.5,headings:.5,lang:1,summary:1,taxonomies:.1,title:1,year:1},lang:"en",lazy_loading:!0,locales:{de:"https://hugomods.com/js/search/locales.de.json",en:"https://hugomods.com/js/search/locales.en.json",es:"https://hugomods.com/js/search/locales.es.json",fr:"https://hugomods.com/js/search/locales.fr.json",ko:"https://hugomods.com/js/search/locales.ko.json",ms:"https://hugomods.com/js/search/locales.ms.json",nl:"https://hugomods.com/js/search/locales.nl.json",pt:"https://hugomods.com/js/search/locales.pt.json","pt-br":"https://hugomods.com/js/search/locales.pt-br.json",ru:"https://hugomods.com/js/search/locales.ru.json",vi:"https://hugomods.com/js/search/locales.vi.json","zh-
188hans":"https://hugomods.com/js/search/locales.zh-hans.json","zh-hant":"https://hugomods.com/js/search/locales.zh-hant.json"},location:0,max_results:100,min_match_char_length:1,modal_container:"body",modal_toggle_selector:".search-modal-toggle",paginate:20,sass_transpiler:"dartsass",shortcut_close:["Escape"],shortcut_search:["Control","k"],stall_threshold:300,threshold:.6};var Ke=class{key="search-histories";get(){let t=JSON.parse(localStorage.getItem(this.key)??"[]");return t instanceof Array||(t=[]),t.slice(0,qe.historiesCount)}save(t){if(t==="")return;let n=this.get();n=n.filter(c=>c.query!==t),n.unshift({query:t,date:new Date}),n.length>qe.historiesCount&&n.pop(),localStorage.setItem(this.key,JSON.stringify(n))}},Ae=new Ke;var te=class{constructor(t,n){this.spinner=t;this.renderer=n;this.stallThreshold=R.stall_threshold}pageTitle;popstate=!1;ele;input;timeoutId=0;stallThreshold;language;sorting;years;modal=!0;render(){return`<form class="search-form"> 189 <div class="search-input-group-wrapper"> 190 <div class="search-input-group"> 191 <span class="search-input-icon">${R.icons.search}</span> 192 <span class="search-spinner">${R.icons.spinner}</span> 193 <input type="search" name="q" class="search-input search-form-control" placeholder="${B("input_placeholder")}" autocomplete="off" /> 194 <button class="search-reset-button disabled" type="reset">${R.icons.reset}</button> 195 </div> 196 <button class="search-modal-close" type="button">${B("cancel")}</button> 197 </div> 198 <div class="search-form-meta"> 199 <div class="search-panel"></div> 200 <div class="search-stat"></div> 201 </div> 202</form>`}renderLanguage(){if(Object.keys(T.langs).length<2)return"";let t=document.documentElement.getAttribute("lang")??"",n=B("all"),c=`<li class="search-dropdown-item${t?"":" active"}" data-value="">${n}</li>`;for(let h in T.langs){let u=T.langs[h],v="";h===t&&(v=" active",n=u),c+=`<li class="search-dropdown-item${v}" data-value="${h}">${u}</li>`}return`<div class="search-dropdown search-panel-action search-filter-lang${t?" active":""}" data-value="${t}"> 203 <button class="search-dropdown-toggle" type="button" aria-expanded="false" title="Languages"> 204 ${R.icons.lang} 205 <span class="search-dropdown-label">${n}</span> 206 </button> 207 <div class="search-dropdown-body"> 208 <ul class="search-dropdown-menu">${c}</ul> 209 </div> 210</div>`}renderSorting(){if(T.langs.length<2)return"";let t=B("sort_by_default");return`<div class="search-dropdown search-panel-action search-sorting"> 211 <button class="search-dropdown-toggle" type="button" aria-expanded="false" title="Sorting"> 212 ${R.icons.sort} <span class="search-dropdown-label">${t}</span> 213 </button> 214 <div class="search-dropdown-body"> 215 <ul class="search-dropdown-menu"> 216 <li class="search-dropdown-item active" data-value="">${t}</li> 217 <li class="search-dropdown-item" data-value="date_asc">${B("sort_by_date_asc")}</li> 218 <li class="search-dropdown-item" data-value="date_desc">${B("sort_by_date_desc")}</li> 219 </ul> 220 </div> 221</div>`}renderYears(){if(T.years.length===0)return"";let t="";for(let c of T.years)t+=`<li class="search-dropdown-item" data-value="${c}">${c}</li>`;let n=B("years");return`<div class="search-dropdown search-panel-action search-years" multiple> 222 <button class="search-dropdown-toggle" type="button" aria-expanded="false" title="${n}"> 223 ${R.icons.year} <span class="search-dropdown-label">${n}</span> 224 </button> 225 <div class="search-dropdown-body"> 226 <button class="search-dropdown-reset">${B("reset")}</button> 227 <ul class="search-dropdown-menu">${t}</ul> 228 </div> 229 </div>`}renderTaxonomies(){let t="";for(let n in T.taxonomies)t+=this.renderTaxonomy(n,T.taxonomies[n]);return t}renderTaxonomy(t,n){let c="";for(let u of n)c+=`<li class="search-dropdown-item" data-value="${u}">${u}</li>`;let h=B("taxonomy_"+t,null,t);return`<div class="search-dropdown search-panel-action search-taxonomies search-taxonomies-${t}" multiple> 230 <button class="search-dropdown-toggle" type="button" aria-expanded="false" title="${h}"> 231 ${R.icons.taxonomies} <span class="search-dropdown-label">${h}</span> 232 </button> 233 <div class="search-dropdown-body"> 234 <input class="search-dropdown-input"> 235 <button class="search-dropdown-reset">${B("reset")}</button> 236 <ul class="search-dropdown-menu">${c}</ul> 237 </div> 238 </div>`}initialized=!1;engineInitialized=!1;
238init(){this.initialized||(this.initialized=!0,this.pageTitle=document.title,this.ele=document.querySelector(".search-form"),this.ele.addEventListener("submit",t=>{t.preventDefault(),this.submit()}),this.input=this.ele.querySelector(".search-input"),this.input.addEventListener("keyup",()=>{clearTimeout(this.timeoutId),this.timeoutId=setTimeout(()=>{this.submit()},this.stallThreshold)}),this.input.addEventListener("search",()=>{this.submit()}),document.addEventListener("search:input:change",t=>{this.input.value=t.detail.value,this.submit()}),this.ele.addEventListener("reset",()=>{let t=document.documentElement.getAttribute("lang")??"";this.language?.querySelectorAll(".search-dropdown-item").forEach(n=>{n.getAttribute("data-value")!==t?n.classList.remove("active"):(this.language.classList.add("active"),this.language.setAttribute("data-value",t),this.language.querySelector(".search-dropdown-label").innerHTML=n.innerHTML,n.classList.add("active"))});for(let n of["years","taxonomies"])this.ele.querySelectorAll(`.search-${n}.active`).forEach(c=>{c.querySelectorAll(".search-dropdown-item.active").forEach(h=>{h.classList.remove("active")}),c.classList.remove("active")});setTimeout(()=>{this.submit()},1)}),this.spinner.show(),T.init().then(()=>{this.renderPanel()}).catch(t=>{throw this.input.setAttribute("disabled",""),this.input.value=B("index_fails"),t}).then(()=>{this.modal||(this.fillInputByURL(),this.submit()),this.engineInitialized=!0}).finally(()=>{this.spinner.hide()}),this.modal||window.addEventListener("popstate",()=>{this.popstate=!0,this.fillInputByURL(),this.submit()}))}renderPanel(){let t=this.ele.querySelector(".search-panel");t.innerHTML=`${this.renderLanguage()} 239${this.renderSorting()} 240${this.renderYears()} 241${this.renderTaxonomies()} 242<button class="search-panel-action search-expand-toggle${R.expand_results_meta?" active":""}" title="Expand"> 243 <span class="search-panel-action-icon">${R.icons.expand}</span> 244 <span class="search-panel-action-label">${B("expand")}</span> 245</button>`,this.language=this.ele.querySelector(".search-filter-lang"),this.language?.addEventListener("change",()=>{this.submit()}),this.sorting=this.ele.querySelector(".search-sorting"),this.sorting.addEventListener("change",()=>{this.submit()}),this.years=this.ele.querySelector(".search-years"),this.years?.addEventListener("change",()=>{this.submit()}),this.ele.querySelectorAll(".search-taxonomies").forEach(c=>{c.addEventListener("change",()=>{this.submit()})});let n=this.ele.querySelector(".search-expand-toggle");n?.addEventListener("click",c=>{n.classList.contains("active")?n.classList.remove("active"):n.classList.add("active"),this.renderer.expand(),c.preventDefault()})}fillInputByURL(){if(this.input.value.trim()!=="")return;let n=new URLSearchParams(location.search).get("q");n&&(this.input.value=n.trim())}showResetBtn(){this.ele.querySelector('button[type="reset"]')?.classList.remove("disabled")}hideResetBtn(){this.ele.querySelector('button[type="reset"]')?.classList.add("disabled")}submit(){let t=this.getQuery();if(this.updatePage(t),!this.engineInitialized)return;let n=this.getSorting(),c=this.getLanguage(),h=this.getYears(),u=this.getTaxonomies();if(t===""&&Object.values(u).filter(v=>v.length>0).length==0){this.hideResetBtn(),this.renderer.clean(),this.renderer.renderHistories();return}this.showResetBtn(),this.spinner.show(),T.search(t,n,c,h,u).then(({results:v,time:_})=>{this.renderer.render(t,v,_)}).finally(()=>{R.histories&&Ae.save(t),this.spinner.hide()})}updatePage(t){if(this.modal||this.popstate)return;this.popstate=!1;let n=(t?`${t} - `:"")+this.pageTitle,c=`${window.location.pathname}?q=${encodeURIComponent(t)}`;window.history.pushState(null,n,c),document.title=n}focus(){this.input.focus()}setQuery(t){this.input.value=t}getQuery(){return this.input.value.trim()}getLanguage(){return this.language?this.language.getAttribute("data-value")??"":""}getSorting(){return this.sorting.getAttribute("data-value")??""}getYears(){let t=[];return this.years?.querySelectorAll(".search-dropdown-item.active").forEach(n=>{t.push(n.getAttribute("data-value")??"")}),t}getTaxonomies(){let t={};for(let n in T.taxonomies){let c=[];document.querySelectorAll(`.search-taxonomies-${n} .search-dropdown-item.active`).forEach(h=>{c.push(h.getAttribute("data-value")??"")}),t[n]=c}return t}};var se=class{constructor(t){this.ele=t}getElement(){return this.ele instanceof HTMLElement||(this.ele=document.querySelector(this.ele)),this.ele}searchIcon;getSearchIcon(){return this.searchIcon||(this.searchIcon=this.getElement().previousElementSibling),this.searchIcon}hide(){setTimeout(()=>
245{this.getSearchIcon().classList.remove("disabled"),this.getElement().classList.add("disabled")},200)}show(){this.getSearchIcon().classList.add("disabled"),setTimeout(()=>{this.getElement().classList.remove("disabled")},1)}};var N={case_sensitive:!1,distance:100,expand_results_meta:!1,filter_taxonomies:!0,filter_years:!0,headings_end_level:6,histories:!0,historiesCount:5,histories_count:5,icons:{expand:`<svg aria-hidden="true" class="bi bi-chevron-expand hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 246 <path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708m0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708"/> 247</svg>`,heading:`<svg aria-hidden="true" class="bi bi-hash hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 248 <path d="M8.39 12.648a1 1 0 0 0-.015.18c0 .305.21.508.5.508.266 0 .492-.172.555-.477l.554-2.703h1.204c.421 0 .617-.234.617-.547 0-.312-.188-.53-.617-.53h-.985l.516-2.524h1.265c.43 0 .618-.227.618-.547 0-.313-.188-.524-.618-.524h-1.046l.476-2.304a1 1 0 0 0 .016-.164.51.51 0 0 0-.516-.516.54.54 0 0 0-.539.43l-.523 2.554H7.617l.477-2.304c.008-.04.015-.118.015-.164a.51.51 0 0 0-.523-.516.54.54 0 0 0-.531.43L6.53 5.484H5.414c-.43 0-.617.22-.617.532s.187.539.617.539h.906l-.515 2.523H4.609c-.421 0-.609.219-.609.531s.188.547.61.547h.976l-.516 2.492c-.008.04-.015.125-.015.18 0 .305.21.508.5.508.265 0 .492-.172.554-.477l.555-2.703h2.242zm-1-6.109h2.266l-.515 2.563H6.859l.532-2.563z"/> 249</svg>`,history:`<svg aria-hidden="true" class="bi bi-clock hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 250 <path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"/> 251 <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0"/> 252</svg>`,lang:`<svg aria-hidden="true" class="bi bi-translate hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 253 <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286zm1.634-.736L5.5 3.956h-.049l-.679 2.022z"/> 254 <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zm7.138 9.995q.289.451.63.846c-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6 6 0 0 1-.415-.492 2 2 0 0 1-.94.31"/> 255</svg>`,meta:`<svg aria-hidden="true" class="bi bi-info-circle hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 256 <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/> 257 <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/> 258</svg>`,page:`<svg aria-hidden="true" class="bi bi-file-earmark-richtext hi-svg-inline" fill="currentColor" height="2em" viewBox="0 0 16 16" width="2em" xmlns="http://www.w3.org/2000/svg"> 259 <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5z"/> 260 <path d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5m1.639-3.708 1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208M6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5"/> 261</svg>`,reset:`<svg aria-hidden="true" class="bi bi-x hi-svg-inline" fill="currentColor" height="1.5em" viewBox="0 0 16 16" width="1.5em" xmlns="http://www.w3.org/2000/svg"> 262 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708
262L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/> 263</svg>`,search:`<svg aria-hidden="true" class="bi bi-search hi-svg-inline" fill="currentColor" height="1.25em" viewBox="0 0 16 16" width="1.25em" xmlns="http://www.w3.org/2000/svg"> 264 <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/> 265</svg>`,sort:`<svg aria-hidden="true" class="bi bi-sort-down hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 266 <path d="M3.5 2.5a.5.5 0 0 0-1 0v8.793l-1.146-1.147a.5.5 0 0 0-.708.708l2 1.999.007.007a.497.497 0 0 0 .7-.006l2-2a.5.5 0 0 0-.707-.708L3.5 11.293zm3.5 1a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z"/> 267</svg>`,spinner:`<svg aria-hidden="true" class="bi bi-arrow-clockwise hi-svg-inline" fill="currentColor" height="1.35em" viewBox="0 0 16 16" width="1.35em" xmlns="http://www.w3.org/2000/svg"> 268 <path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z"/> 269 <path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466"/> 270</svg>`,taxonomies:`<svg aria-hidden="true" class="bi bi-tags hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 271 <path d="M3 2v4.586l7 7L14.586 9l-7-7zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586z"/> 272 <path d="M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1z"/> 273</svg>`,year:`<svg aria-hidden="true" class="bi bi-calendar-check hi-svg-inline" fill="currentColor" height="1em" viewBox="0 0 16 16" width="1em" xmlns="http://www.w3.org/2000/svg"> 274 <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0"/> 275 <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/> 276</svg>`},ignore_location:!1,index_all_pages:!1,index_content:!1,index_headings:!0,index_summary:!0,index_taxonomies:!0,indices:["https://hugomods.com/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hans/search.json?v=b9d834f8fe90b220fe6727570d17cb33","https://hugomods.com/zh-hant/search.json?v=b9d834f8fe90b220fe6727570d17cb33"],key_weights:{content:.5,headings:.5,lang:1,summary:1,taxonomies:.1,title:1,year:1},lang:"en",lazy_loading:!0,locales:{de:"https://hugomods.com/js/search/locales.de.json",en:"https://hugomods.com/js/search/locales.en.json",es:"https://hugomods.com/js/search/locales.es.json",fr:"https://hugomods.com/js/search/locales.fr.json",ko:"https://hugomods.com/js/search/locales.ko.json",ms:"https://hugomods.com/js/search/locales.ms.json",nl:"https://hugomods.com/js/search/locales.nl.json",pt:"https://hugomods.com/js/search/locales.pt.json","pt-br":"https://hugomods.com/js/search/locales.pt-br.json",ru:"https://hugomods.com/js/search/locales.ru.json",vi:"https://hugomods.com/js/search/locales.vi.json","zh-
276hans":"https://hugomods.com/js/search/locales.zh-hans.json","zh-hant":"https://hugomods.com/js/search/locales.zh-hant.json"},location:0,max_results:100,min_match_char_length:1,modal_container:"body",modal_toggle_selector:".search-modal-toggle",paginate:20,sass_transpiler:"dartsass",shortcut_close:["Escape"],shortcut_search:["Control","k"],stall_threshold:300,threshold:.6};var ae=class{constructor(t,n,c){this.container=t;this.statistics=n;this.spinner=c;this.paginate=Math.max(this.paginate,N.paginate)}initialized=!1;lang;page=1;paginate=20;query="";results;time=0;getContainer(){return this.container instanceof HTMLElement||(this.container=document.querySelector(this.container),N.expand_results_meta&&this.container.classList.add("expanded")),this.container}getStatistics(){return this.statistics instanceof HTMLElement||(this.statistics=document.querySelector(this.statistics)),this.statistics}"";getLang(){return this.lang||(this.lang=document.documentElement.getAttribute("lang")??N.lang),this.lang}clean(){this.results=[],this.getContainer().innerHTML="",this.getStatistics().innerHTML=""}icon(t){return t.kind in N.icons?N.icons[t.kind]:N.icons.page}img(t){if(t.img){let n="",c="";return t.img_h&&(n=` height="${t.img_h}"`),t.img_w&&(c=` width="${t.img_w}"`),`<img class="search-result-img" src="${t.img}"${c}${n} />`}return""}url(t,n){return T.getBaseURL(t.site)+n}taxonomies(t){let n="";for(let c of Object.keys(T.taxonomies)){let h=t[c];if(h)for(let u of h)n+=`<span class="search-result-taxonomy">${u}</span>`}return n}date(t){return t.date<=0?"":new Date(t.date*1e3).toLocaleDateString(this.getLang(),{dateStyle:"long"})}title(t){return this.highlight(t.item.title,t.matches.filter(n=>n.key==="title"))}desc(t){return!t.item.summary||t.item.summary===""?"":'<div class="search-result-desc">'+this.highlight(t.item.summary,t.matches.filter(n=>n.key==="summary"))+"</div>"}contentContextLength=20;content(t){if(!N.index_content||!t.item.content)return"";let n=t.matches.filter(u=>u.key==="content"),c=this.highlight(t.item.content,n),h=c.indexOf("<mark>");return h>0&&(c=(h>this.contentContextLength?"...":"")+c.substring(Math.max(0,h-this.contentContextLength))),`<div class="search-result-content-content">${c}</div>`}highlight(t,n){if(n.length===0)return t;let c="",h=0;for(let u in n){let v=n[u];for(let _ in v.indices){let k=Math.max(h,v.indices[_][0]),E=v.indices[_][1]+1;k>=E||(c+=`${t.substring(h,k)}<mark>${t.substring(k,E)}</mark>`,h=E)}}return c+=t.substring(h),c}render(t,n,c){this.init(),this.clean(),this.getContainer().parentElement.scrollTop=0,this.page=1,this.results=n,this.time=c,this.query=t,this.renderStat(),this.renderPage()}expand(){let t=this.getContainer();t.classList.contains("expanded")?t.classList.remove("expanded"):t.classList.add("expanded")}init(){if(this.initialized)return;this.initialized=!0;let t=this.getContainer(),n=h=>{for(let u of h)if(u.type==="childList")for(let v of u.addedNodes)v.querySelector(".search-result-action-meta")?.addEventListener("click",k=>{this.toggleMeta(v.querySelector(".search-result-meta")),k.preventDefault()}),v.addEventListener("mousemove",()=>{this.activeResult(v)})};new MutationObserver(n).observe(t,{childList:!0})}renderHistories(){if(!N.histories)return;let t=Ae.get(),n="";t.forEach(c=>{n+=`<a title="${c.query}" data-query="${c.query}" href="#" class="search-result search-history" aria-selected="false"> 277 <div class="search-result-icon">${N.icons.history}</div> 278 <div class="search-result-content"> 279 <div class="search-result-title">${c.query}</div> 280 <div class="search-result-desc">${c.date?c.date.toLocaleString():""}</div> 281 </div> 282</a>`}),this.getContainer().insertAdjacentHTML("beforeend",n),this.getContainer().querySelectorAll(".search-history").forEach(c=>{c.addEventListener("click",h=>{h.preventDefault(),h.stopPropagation(),document.dispatchEvent(new CustomEvent("search:input:change",{detail:{value:c.getAttribute("data-query")}}))})})}activeResult(t){t.ariaSelected!=="true"&&(this.getContainer().querySelectorAll(".search-result").forEach(n=>{n.ariaSelected="false"}),t.ariaSelected="true")}toggleMeta(t){if(t.classList.contains("show")){t.classList.remove("show");return}t.classList.add("show")}renderStat(){let t=this.getStatistics();t.innerHTML=B("search_stat",{count:this.results.length,total:`<span class="search-stat-results">${this.results.length}</span>`,time:this.prettifyTime()})}prettifyTime(){return this.time>=100?parseFloat((this.time/1e3).toFixed(2))+"s":this.time+"ms"}score(t){return((1-t)*100).toFixed(0)+"%"}loadMoreObserver;lastResult;observeLoadMore(){if(this.loadMoreObserver===void 0){let n={rootMargin:"0px",threshold:1};this.loadMoreObserver=new IntersectionObserver(c=>
282{c.forEach(h=>{h.isIntersecting&&this.loadMore()})},n)}let t=document.querySelector(".search-result:last-child");t!==null&&this.lastResult!=t&&this.loadMoreObserver.observe(t),this.lastResult&&this.loadMoreObserver.unobserve(this.lastResult),this.lastResult=t}loadMore(){this.page*this.paginate>this.results.length||(this.spinner.show(),new Promise(t=>{setTimeout(()=>{t(this.renderPage(++this.page))},1)}).finally(()=>{this.spinner.hide()}))}resultLinkTarget="";getResultLinkTarget(){return this.resultLinkTarget===""&&this.getContainer().closest(".search-container")!==null&&(this.resultLinkTarget=' target="_blank"'),this.resultLinkTarget}renderPage(t=1){let n=t*this.paginate,c=n-this.paginate,h="";for(let u=c;u<this.results.length&&u<n;u++){let v=this.results[u];h+=`<a title="${v.item.title}" href="${this.url(v.item,v.item.url)}"${this.getResultLinkTarget()} class="search-result" aria-selected="false"> 283 <div class="search-result-icon">${this.icon(v.item)}</div> 284 <div class="search-result-content"> 285 <div class="search-result-title">${this.title(v)}</div> 286 ${this.desc(v)} 287 </div> 288 ${this.img(v.item)} 289 <div class="search-result-meta"> 290 <span class="search-result-score">${this.score(v.score)}</span> 291 <span class="search-result-lang">${v.item.lang}</span> 292 <span class="search-result-date">${this.date(v.item)}</span> 293 ${this.taxonomies(v.item)} 294 ${this.content(v)} 295 </div> 296 <div class="search-result-actions"> 297 <div class="search-result-action search-result-action-meta">${N.icons.meta}</div> 298 </div> 299</a>`,h+=this.renderHeadings(v)}this.getContainer().insertAdjacentHTML("beforeend",h),this.observeLoadMore()}renderHeadings(t){if(!t.item.headings||t.item.headings.length==0)return"";let n=t.matches.filter(h=>h.key==="headings.title");if(n.length==0)return"";let c="";for(let h in t.item.headings){let u=t.item.headings[h];for(let v in n){if(n[v].value!==u.title)continue;let _=this.headingAncestors(t.item.headings,u.pid);_=_.concat(t.item.title);let k=_.join(" \xB7 ");c+=`<a title="${u.title} - ${k}" href="${this.url(t.item,t.item.url)}#${u.anchor}"${this.getResultLinkTarget()} class="search-result search-result-heading"> 300 <div class="search-result-icon search-result-heading-icon">${N.icons.heading}</div> 301 <div class="search-result-content"> 302 <div class="search-result-title">${this.highlight(u.title,[n[v]])}</div> 303 <div class="search-result-desc">${k}</div> 304 </div> 305</a>`;break}}return c}headingAncestors(t,n){let c=[];return n>=0&&(c.push(t[n].title),c=c.concat(this.headingAncestors(t,t[n].pid))),c}};var Le=()=>({kbds:["\u2191","\u2193"],action:B("to_navigate")}),Ce=()=>({kbds:["\u23CE"],action:B("to_select")}),oe=class{constructor(t){this.shortcuts=t}render(){let t="";for(let n in this.shortcuts){let c=this.shortcuts[n]();t+=`<span class="search-shortcut"> 306${this.renderKbds(c.kbds)} 307<span class="search-shortcut-action">
307${c.action}</span> 308</span>`}return`<div class="search-shortcuts">${t}</div>`}renderKbds(t,n=!1){let c="";for(let h of t){if(h instanceof Array){c+=this.renderKbds(h,!0);continue}let u=`<kbd class="search-shortcut-kbd">${h}</kbd>`;c+=n?`<span class="search-shortcut-kbds">${u}</span>`:u}return c}};var $0=()=>({kbds:[K.shortcut_search],action:B("to_search")}),H0=()=>({kbds:[K.shortcut_close],action:B("to_close")}),de=class{wrapper;container;renderer;form;shortcuts;constructor(){let t=new se(".search-modal .search-spinner");this.renderer=new ae(".search-modal .search-results",".search-modal .search-stat",t),this.form=new te(t,this.renderer),this.shortcuts=new oe([H0,$0,Le,Ce])}init(){this.wrapper=document.querySelector(K.modal_container),this.render(),K.lazy_loading===!1&&this.form.init(),this.container.addEventListener("click",t=>{!t.target||!(t.target instanceof HTMLElement)||(t.target.closest(".search-modal")||(this.hide(),t.preventDefault()),t.target.closest(".search-result")&&this.hide())}),document.querySelectorAll(K.modal_toggle_selector).forEach(t=>{t.addEventListener("click",()=>{this.show()})}),this.container.querySelectorAll(".search-modal-close").forEach(t=>{t.addEventListener("click",()=>{this.hide()})}),K.shortcut_close.length>0&&ne.attach(K.shortcut_close,()=>{this.hide()}),K.shortcut_search.length>0&&ne.attach(K.shortcut_search,t=>{t.preventDefault(),this.show()})}render(){this.container=document.createElement("div"),this.container.className="search-modal-container",this.container.innerHTML=`<div class="search-modal"> 309 <div class="search-modal-header">${this.form.render()}</div> 310 <div class="search-modal-body"><div class="search-results"></div></div> 311 ${this.renderFooter()} 312</div>`,this.wrapper.appendChild(this.container),this.renderer.renderHistories()}renderFooter(){return`<div class="search-modal-footer">${this.shortcuts.render()}</div>`}hide(){document.body.classList.remove("search-modal-active"),this.container.classList.remove("active")}show(){this.form.init(),document.body.classList.add("search-modal-active"),this.container.classList.add("active"),this.form.focus()}};var ge=class{container;form;shortcuts;renderer;constructor(){let t=document.querySelector(".search-container");if(!t)return;this.container=t;let n=new se(".search-container .search-spinner");this.renderer=new ae(".search-container .search-results",".search-container .search-stat",n),this.form=new te(n,this.renderer),this.form.modal=!1,this.shortcuts=new oe([Le,Ce]),this.render()}render(){let t=`<div class="search-header">${this.form.render()}</div> 313<div class="search-body"><div class="search-results"></div></div> 314<div class="search-footer">${this.shortcuts.render()}</div>`;this.container.insertAdjacentHTML("beforeend",t),this.form.init(),this.renderer.renderHistories()}};(()=>{"use strict";document.addEventListener("DOMContentLoaded",()=>{pt().then(()=>{new ge,mt.modal_container!==""&&new de().init()})})})();})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.