1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5874],{28448:function(e,t,r){r.d(t,{Z:function(){return u}});let u=(0,r(2389).Z)("MoveRight",[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]])},20054:function(e,t,r){r.d(t,{Z:function(){return u}});let u=(0,r(2389).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},99976:function(e,t,r){Object.defineProperty(t,"$",{enumerable:!0,get:function(){return n}});let u=r(43503);function n(e){let{createServerReference:t}=r(18786);return t(e,u.callServer)}},18113:function(e,t,r){r.d(t,{F:function(){return h}});var u=r(93351);let n=(e,t,r)=>{if(e&&"reportValidity"in e){let n=(0,u.U2)(r,t);e.setCustomValidity(n&&n.message||""),e.reportValidity()}},s=(e,t)=>{for(let r in t.fields){let u=t.fields[r];u&&u.ref&&"reportValidity"in u.ref?n(u.ref,r,e):u.refs&&u.refs.forEach(t=>n(t,r,e))}},i=(e,t)=>{t.shouldUseNativeValidation&&s(e,t);let r={};for(let n in e){let s=(0,u.U2)(t.fields,n),i=Object.assign(e[n]||{},{ref:s&&s.ref});if(o(t.names||Object.keys(e),n)){let e=Object.assign({},(0,u.U2)(r,n));(0,u.t8)(e,"root",i),(0,u.t8)(r,n,e)}else(0,u.t8)(r,n,i)}return r},o=(e,t)=>e.some(e=>e.startsWith(t+"."));var c=function(e,t){for(var r={};e.length;){var n=e[0],s=n.code,i=n.message,o=n.path.join(".");if(!r[o]){if("unionErrors"in n){var c=n.unionErrors[0].errors[0];r[o]={message:c.message,type:c.code}}else r[o]={message:i,type:s}}if("unionErrors"in n&&n.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var h=r[o].types,a=h&&h[n.code];r[o]=(0,u.KN)(o,t,r,s,a?[].concat(a,n.message):n.message)}e.shift()}return r},h=function(e,t,r){return void 0===r&&(r={}),function(u,n,o){try{return Promise.resolve(function(n,i){try{var c=Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](u,t)).then(function(e){return o.shouldUseNativeValidation&&s({},o),{errors:{},values:r.raw?u:e}})}catch(e){return i(e)}return c&&c.then?c.then(void 0,i):c}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:i(c(e.errors,!o.shouldUseNativeValidation&&"all"===o.criteriaMode),o)};throw e}))}catch(e){return Promise.reject(e)}}}},1403:function(e,t,r){r.d(t,{D:function(){return n}});var u=r(7653);function n(e){let t=u.useRef({value:e,previous:e});return u.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},86973:function(e,t,r){function u(e){return Array.isArray?Array.isArray(e):"[object Array]"===a(e)}r.d(t,{Z:function(){return Y}});let n=1/0;function s(e){return"string"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e}function c(e){return null!=e}function h(e){return!e.trim().length}function a(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}let l=e=>`Invalid value for key ${e}`,f=e=>`Pattern length exceeds max of ${e}.`,d=e=>`Missing ${e} property in key`,g=e=>`Property 'weight' in key '${e}' must be a positive integer`,p=Object.prototype.hasOwnProperty;class A{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let r=C(e);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function C(e){let t=null,r=null,n=null,i=1,o=null;if(s(e)||u(e))n=e,t=E(e),r=y(e);else{if(!p.call(e,"name"))throw Error(d("name"));let u=e.name;if(n=u,p.call(e,"weight")&&(i=e.weight)<=0)throw Error(g(u));t=E(u),r=y(u),o=e.getFn}return{path:t,id:r,weight:i,src:n,getFn:o}}function E(e){return u(e)?e:e.split(".")}function y(e){return u(e)?e.join("."):e}var m={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function(e,t){let r=[],h=!1,l=(e,t,f)=>{if(c(e)){if(t[f]){var d,g;let p=e[t[f]];if(c(p)){if(f===t.length-1&&(s(p)||i(p)||!0===(d=p)||!1===d||o(g=d)&&null!==g&&"[object Boolean]"==a(d)))r.push(null==p?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-n?"-0":t}(p));else if(u(p)){h=!0;for(let e=0,r=p.length;e<r;e+=1)l(p[e],t,f+1)}else t.length&&l(p,t,f+1)}}else r.push(e)}};return l(e,s(t)?t.split("."):t,0),h?r:r[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};let F=/[^ ]+/g;class B{constructor({getFn:e=m.getFn,fieldNormWeight:t=m.fieldNormWeight}={}){this.norm=function(e=1,t=3){let r=new Map,u=Math.pow(10,t);return{get(t){let n=t.match(F).length;if(r.has(n))return r.get(n);let s=parseFloat(Math.round(1/Math.pow(n,.5*e)*u)/u);return r.set(n,s),s},clear(){r.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,s(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();s(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,r=this.size();t<r;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!c(e)||h(e))return;let r={v:e,i:t,n:this.norm.get(e)};this.records.push(r)}_addObject(e,t){let r={i:t,$:{}};this.keys.forEach((t,n)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(c(i)){if(u(i)){let e=[],t=[{nestedArrIndex:-1,value:i}];for(;t.length;){let{nestedArrIndex:r,value:n}=t.pop();if(c(n)){if(s(n)&&!h(n)){let t={v:n,i:r,n:this.norm.get(n)};e.push(t)}
1else u(n)&&n.forEach((e,r)=>{t.push({nestedArrIndex:r,value:e})})}}r.$[n]=e}else if(s(i)&&!h(i)){let e={v:i,n:this.norm.get(i)};r.$[n]=e}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function D(e,t,{getFn:r=m.getFn,fieldNormWeight:u=m.fieldNormWeight}={}){let n=new B({getFn:r,fieldNormWeight:u});return n.setKeys(e.map(C)),n.setSources(t),n.create(),n}function x(e,{errors:t=0,currentLocation:r=0,expectedLocation:u=0,distance:n=m.distance,ignoreLocation:s=m.ignoreLocation}={}){let i=t/e.length;if(s)return i;let o=Math.abs(u-r);return n?i+o/n:o?1:i}let M=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\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,""):e=>e;class v{constructor(e,{location:t=m.location,threshold:r=m.threshold,distance:u=m.distance,includeMatches:n=m.includeMatches,findAllMatches:s=m.findAllMatches,minMatchCharLength:i=m.minMatchCharLength,isCaseSensitive:o=m.isCaseSensitive,ignoreDiacritics:c=m.ignoreDiacritics,ignoreLocation:h=m.ignoreLocation}={}){if(this.options={location:t,threshold:r,distance:u,includeMatches:n,findAllMatches:s,minMatchCharLength:i,isCaseSensitive:o,ignoreDiacritics:c,ignoreLocation:h},e=o?e:e.toLowerCase(),e=c?M(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let a=(e,t)=>{this.chunks.push({pattern:e,alphabet:function(e){let t={};for(let r=0,u=e.length;r<u;r+=1){let n=e.charAt(r);t[n]=(t[n]||0)|1<<u-r-1}return t}(e),startIndex:t})},l=this.pattern.length;if(l>32){let e=0,t=l%32,r=l-t;for(;e<r;)a(this.pattern.substr(e,32),e),e+=32;if(t){let e=l-32;a(this.pattern.substr(e),e)}}else a(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:r,includeMatches:u}=this.options;if(e=t?e:e.toLowerCase(),e=r?M(e):e,this.pattern===e){let t={isMatch:!0,score:0};return u&&(t.indices=[[0,e.length-1]]),t}let{location:n,distance:s,threshold:i,findAllMatches:o,minMatchCharLength:c,ignoreLocation:h}=this.options,a=[],l=0,d=!1;this.chunks.forEach(({pattern:t,alphabet:r,startIndex:g})=>{let{isMatch:p,score:A,indices:C}=function(e,t,r,{location:u=m.location,distance:n=m.distance,threshold:s=m.threshold,findAllMatches:i=m.findAllMatches,minMatchCharLength:o=m.minMatchCharLength,includeMatches:c=m.includeMatches,ignoreLocation:h=m.ignoreLocation}={}){let a;if(t.length>32)throw Error(f(32));let l=t.length,d=e.length,g=Math.max(0,Math.min(u,d)),p=s,A=g,C=o>1||c,E=C?Array(d):[];for(;(a=e.indexOf(t,A))>-1;)if(p=Math.min(x(t,{currentLocation:a,expectedLocation:g,distance:n,ignoreLocation:h}),p),A=a+l,C){let e=0;for(;e<l;)E[a+e]=1,e+=1}A=-1;let y=[],F=1,B=l+d,D=1<<l-1;for(let u=0;u<l;u+=1){let s=0,o=B;for(;s<o;)x(t,{errors:u,currentLocation:g+o,expectedLocation:g,distance:n,ignoreLocation:h})<=p?s=o:B=o,o=Math.floor((B-s)/2+s);B=o;let c=Math.max(1,g-o+1),a=i?d:Math.min(g+o,d)+l,f=Array(a+2);f[a+1]=(1<<u)-1;for(let s=a;s>=c;s-=1){let i=s-1,o=r[e.charAt(i)];if(C&&(E[i]=+!!o),f[s]=(f[s+1]<<1|1)&o,u&&(f[s]|=(y[s+1]|y[s])<<1|1|y[s+1]),f[s]&D&&(F=x(t,{errors:u,currentLocation:i,expectedLocation:g,distance:n,ignoreLocation:h}
1))<=p){if(p=F,(A=i)<=g)break;c=Math.max(1,2*g-A)}}if(x(t,{errors:u+1,currentLocation:g,expectedLocation:g,distance:n,ignoreLocation:h})>p)break;y=f}let M={isMatch:A>=0,score:Math.max(.001,F)};if(C){let e=function(e=[],t=m.minMatchCharLength){let r=[],u=-1,n=-1,s=0;for(let i=e.length;s<i;s+=1){let i=e[s];i&&-1===u?u=s:i||-1===u||((n=s-1)-u+1>=t&&r.push([u,n]),u=-1)}return e[s-1]&&s-u>=t&&r.push([u,s-1]),r}(E,o);e.length?c&&(M.indices=e):M.isMatch=!1}return M}(e,t,r,{location:n+g,distance:s,threshold:i,findAllMatches:o,minMatchCharLength:c,includeMatches:u,ignoreLocation:h});p&&(d=!0),l+=A,p&&C&&(a=[...a,...C])});let g={isMatch:d,score:d?l/this.chunks.length:1};return d&&u&&(g.indices=a),g}}class _{constructor(e){this.pattern=e}static isMultiMatch(e){return k(e,this.multiRegex)}static isSingleMatch(e){return k(e,this.singleRegex)}search(){}}function k(e,t){let r=e.match(t);return r?r[1]:null}class $ extends _{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class b extends _{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class w extends _{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class I extends _{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class S extends _{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class L extends _{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class R extends _{constructor(e,{location:t=m.location,threshold:r=m.threshold,distance:u=m.distance,includeMatches:n=m.includeMatches,findAllMatches:s=m.findAllMatches,minMatchCharLength:i=m.minMatchCharLength,isCaseSensitive:o=m.isCaseSensitive,ignoreDiacritics:c=m.ignoreDiacritics,ignoreLocation:h=m.ignoreLocation}={}){super(e),this._bitapSearch=new v(e,{location:t,threshold:r,distance:u,includeMatches:n,findAllMatches:s,minMatchCharLength:i,isCaseSensitive:o,ignoreDiacritics:c,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class N extends _{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,r=0,u=[],n=this.pattern.length;for(;(t=e.indexOf(this.pattern,r))>-1;)r=t+n,u.push([t,r-1]);let s=!!u.length;return{isMatch:s,score:s?0:1,indices:u}}}let O=[$,N,w,I,L,S,b,R],j=O.length,P=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,W=new Set([R.type,N.type]);class V{constructor(e,{isCaseSensitive:t=m.isCaseSensitive,ignoreDiacritics:r=m.ignoreDiacritics,includeMatches:u=m.includeMatches,minMatchCharLength:n=m.minMatchCharLength,ignoreLocation:s=m.ignoreLocation,findAllMatches:i=m.findAllMatches,location:o=m.location,threshold:c=m.threshold,distance:h=m.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:r,includeMatches:u,minMatchCharLength:n,findAllMatches:i,ignoreLocation:s,location:o,threshold:c,distance:h},e=t?e:e.toLowerCase(),e=r?M(e):e,this.pattern=e,this.query=function(e,t={}){return e.split("|").map(e=>{let r=e.trim().split(P).filter(e=>e&&!!e.trim()),u=[];for(let e=0,n=r.length;e<n;e+=1){let n=r[e],s=!1,i=-1;for(;!s&&++i<j;){let e=O[i],r=e.isMultiMatch(n);r&&(u.push(new e(r,t)),s=!0)}if(!s)for(i=-1;++i<j;){let e=O[i],r=e.isSingleMatch(n);if(r){u.push(new e(r,t));break}}}return u})}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:r,isCaseSensitive:u,ignoreDiacritics:n}=this.options;e=u?e:e.toLowerCase(),e=n?M(e):e;let s=0,i=[],o=0;for(let u=0,n=t.length;u<n;u+=1){let n=t[u];i.length=0,s=0;for(let t=0,u=n.length;t<u;t+=1){let u=n[t],{isMatch:c,indices:h,score:a}=u.search(e);if(c){if(s+=1,o+=a,r){let e=u.constructor.type;W.has(e)?i=[...i,...h]:i.push(h)}}else{o=0,s=0,i.length=0;break}}
1if(s){let e={isMatch:!0,score:o/s};return r&&(e.indices=i),e}}return{isMatch:!1,score:1}}}let z=[];function T(e,t){for(let r=0,u=z.length;r<u;r+=1){let u=z[r];if(u.condition(e,t))return new u(e,t)}return new v(e,t)}let U={AND:"$and",OR:"$or"},K={PATH:"$path",PATTERN:"$val"},Z=e=>!!(e[U.AND]||e[U.OR]),q=e=>!!e[K.PATH],H=e=>!u(e)&&o(e)&&!Z(e),J=e=>({[U.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Q(e,t,{auto:r=!0}={}){let n=e=>{let i=Object.keys(e),o=q(e);if(!o&&i.length>1&&!Z(e))return n(J(e));if(H(e)){let u=o?e[K.PATH]:i[0],n=o?e[K.PATTERN]:e[u];if(!s(n))throw Error(l(u));let c={keyId:y(u),pattern:n};return r&&(c.searcher=T(n,t)),c}let c={children:[],operator:i[0]};return i.forEach(t=>{let r=e[t];u(r)&&r.forEach(e=>{c.children.push(n(e))})}),c};return Z(e)||(e=J(e)),n(e)}function G(e,t){let r=e.matches;t.matches=[],c(r)&&r.forEach(e=>{if(!c(e.indices)||!e.indices.length)return;let{indices:r,value:u}=e,n={indices:r,value:u};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)})}function X(e,t){t.score=e.score}class Y{constructor(e,t={},r){this.options={...m,...t},this.options.useExtendedSearch,this._keyStore=new A(this.options.keys),this.setCollection(e,r)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof B))throw Error("Incorrect 'index' type");this._myIndex=t||D(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){c(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let r=0,u=this._docs.length;r<u;r+=1){let n=this._docs[r];e(n,r)&&(this.removeAt(r),r-=1,u-=1,t.push(n))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:r,includeScore:u,shouldSort:n,sortFn:o,ignoreFieldNorm:c}=this.options,h=s(e)?s(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return!function(e,{ignoreFieldNorm:t=m.ignoreFieldNorm}){e.forEach(e=>{let r=1;e.matches.forEach(({key:e,norm:u,score:n})=>{let s=e?e.weight:null;r*=Math.pow(0===n&&s?Number.EPSILON:n,(s||1)*(t?1:u))}),e.score=r})}(h,{ignoreFieldNorm:c}),n&&h.sort(o),i(t)&&t>-1&&(h=h.slice(0,t)),function(e,t,{includeMatches:r=m.includeMatches,includeScore:u=m.includeScore}={}){let n=[];return r&&n.push(G),u&&n.push(X),e.map(e=>{let{idx:r}=e,u={item:t[r],refIndex:r};return n.length&&n.forEach(t=>{t(e,u)}),u})}(h,this._docs,{includeMatches:r,includeScore:u})}_searchStringList(e){let t=T(e,this.options),{records:r}=this._myIndex,u=[];return r.forEach(({v:e,i:r,n:n})=>{if(!c(e))return;let{isMatch:s,score:i,indices:o}=t.searchIn(e);s&&u.push({item:e,idx:r,matches:[{score:i,value:e,norm:n,indices:o}]})}),u}_searchLogical(e){let t=Q(e,this.options),r=(e,t,u)=>{if(!e.children){let{keyId:r,searcher:n}=e,s=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(t,r),searcher:n});return s&&s.length?[{idx:u,item:t,matches:s}]:[]}let n=[];for(let s=0,i=e.children.length;s<i;s+=1){let i=r(e.children[s],t,u);if(i.length)n.push(...i);else if(e.operator===U.AND)return[]}return n},u=this._myIndex.records,n={},s=[];return u.forEach(({$:e,i:u})=>{if(c(e)){let i=r(t,e,u);i.length&&(n[u]||(n[u]={idx:u,item:e,matches:[]}
1,s.push(n[u])),i.forEach(({matches:e})=>{n[u].matches.push(...e)}))}}),s}_searchObjectList(e){let t=T(e,this.options),{keys:r,records:u}=this._myIndex,n=[];return u.forEach(({$:e,i:u})=>{if(!c(e))return;let s=[];r.forEach((r,u)=>{s.push(...this._findMatches({key:r,value:e[u],searcher:t}))}),s.length&&n.push({idx:u,item:e,matches:s})}),n}_findMatches({key:e,value:t,searcher:r}){if(!c(t))return[];let n=[];if(u(t))t.forEach(({v:t,i:u,n:s})=>{if(!c(t))return;let{isMatch:i,score:o,indices:h}=r.searchIn(t);i&&n.push({score:o,key:e,value:t,idx:u,norm:s,indices:h})});else{let{v:u,n:s}=t,{isMatch:i,score:o,indices:c}=r.searchIn(u);i&&n.push({score:o,key:e,value:u,norm:s,indices:c})}return n}}Y.version="7.1.0",Y.createIndex=D,Y.parseIndex=function(e,{getFn:t=m.getFn,fieldNormWeight:r=m.fieldNormWeight}={}){let{keys:u,records:n}=e,s=new B({getFn:t,fieldNormWeight:r});return s.setKeys(u),s.setIndexRecords(n),s},Y.config=m,Y.parseQuery=Q,function(...e){z.push(...e)}(V)}}]);
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.