1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,o)=>(o=n==null?{}:e(i(n)),s(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));function l(e){return Array.isArray?Array.isArray(e):y(e)===`[object Array]`}function u(e){if(typeof e==`string`)return e;let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function d(e){return e==null?``:u(e)}function f(e){return typeof e==`string`}function p(e){return typeof e==`number`}function m(e){return e===!0||e===!1||g(e)&&y(e)==`[object Boolean]`}function h(e){return typeof e==`object`}function g(e){return h(e)&&e!==null}function _(e){return e!=null}function v(e){return!e.trim().length}function y(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var b=`Incorrect 'index' type`,x=e=>`Invalid value for key ${e}`,S=e=>`Pattern length exceeds max of ${e}.`,C=e=>`Missing ${e} property in key`,w=e=>`Property 'weight' in key '${e}' must be a positive integer`,T=Object.prototype.hasOwnProperty,E=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=D(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function D(e){let t=null,n=null,r=null,i=1,a=null;if(f(e)||l(e))r=e,t=O(e),n=k(e);else{if(!T.call(e,`name`))throw Error(C(`name`));let o=e.name;if(r=o,T.call(e,`weight`)&&(i=e.weight,i<=0))throw Error(w(o));t=O(o),n=k(o),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function O(e){return l(e)?e:e.split(`.`)}function k(e){return l(e)?e.join(`.`):e}function ee(e,t){let n=[],r=!1,i=(e,t,a)=>{if(_(e)){if(!t[a])n.push(e);else{let o=e[t[a]];if(!_(o))return;if(a===t.length-1&&(f(o)||p(o)||m(o)))n.push(d(o));else if(l(o)){r=!0;for(let e=0,n=o.length;e<n;e+=1)i(o[e],t,a+1)}else t.length&&i(o,t,a+1)}}};return i(e,f(t)?t.split(`.`):t,0),r?n:n[0]}var te={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},ne={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},re={location:0,threshold:.6,distance:100},ie={useExtendedSearch:!1,getFn:ee,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},A={...ne,...te,...re,...ie},ae=/[^ ]+/g;function oe(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=t.match(ae).length;if(n.has(i))return n.get(i);let a=1/i**(.5*e),o=parseFloat(Math.round(a*r)/r);return n.set(i,o),o},clear(){n.clear()}}}var j=class{constructor({getFn:e=A.getFn,fieldNormWeight:t=A.fieldNormWeight}={}){this.norm=oe(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,f(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();f(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)--this.records[t].i}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!_(e)||v(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach((t,r)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(_(i)){if(l(i)){let e=[],t=[{nestedArrIndex:-1,value:i}];for(;t.length;){let{nestedArrIndex:n,value:r}=t.pop();if(_(r)){if(f(r)&&!v(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else l(r)&&r.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}}n.$[r]=e}else if(f(i)&&!v(i)){let e={v:i,n:this.norm.get(i)};n.$[r]=e}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}};function M(e,t,{getFn:n=A.getFn,fieldNormWeight:r=A.fieldNormWeight}={}){let i=new j({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(D)),i.setSources(t),i.create(),i}function se(e,{getFn:t=A.getFn,fieldNormWeight:n=A.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new j({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function N(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=A.distance,ignoreLocation:a=A.ignoreLocation}={}){let o=t/e.length;if(a)return o;let s=Math.abs(r-n);return i?o+s/i:s?1:o}function ce(e=[],t=A.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}var P=32;function le(e,t,n,{location:r=A.location,distance:i=A.distance,threshold:a=A.threshold,findAllMatches:o=A.findAllMatches,minMatchCharLength:s=A.minMatchCharLength,includeMatches:c=A.includeMatches,ignoreLocation:l=A.ignoreLocation}={}){if(t.length>P)throw Error(S(P));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=s>1||c,g=h?Array(d):[],_;for(;(_=e.indexOf(t,m))>-1;){let e=N(t,{currentLocation:_,expectedLocation:f,distance:i,ignoreLocation:l});if(p=Math.min(e,p),m=_+u,h){let e=0;for(;e<u;)g[_+e]=1,e+=1}}m=-1;let v=[],y=1,b=u+d,x=1<<u-1;for(let r=0;r<u;r+=1){let a=0,s=b;for(;a<s;)N(t,{errors:r,currentLocation:f+s,expectedLocation:f,distance:i,ignoreLocation:l})<=p?a=s:b=s,s=Math.floor((b-a)/2+a);b=s;let c=Math.max(1,f-s+1),_=o?d:Math.min(f+s,d)+u,S=Array(_+2);S[_+1]=(1<<r)-1;for(let a=_;a>=c;--a){let o=a-1,s=n[e.charAt(o)];if(h&&(g[o]=+!!s),S[a]=(S[a+1]<<1|1)&s,r&&(S[a]|=(v[a+1]|v[a])<<1|1|v[a+1]),S[a]&x&&(y=N(t,{errors:r,currentLocation:o,expectedLocation:f,distance:i,ignoreLocation:l}),y<=p)){if(p=y,m=o,m<=f)break;c=Math.max(1,2*f-m)}}if(N(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:l})>p)break;v=S}let C={isMatch:m>=0,score:Math.max(.001,y)};if(h){let e=ce(g,s);e.length?c&&(C.indices=e):C.isMatch=!1}return C}function ue(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}var F=class{constructor(e,{location:t=A.location,threshold:n=A.threshold,distance:r=A.distance,includeMatches:i=A.includeMatches,findAllMatches:a=A.findAllMatches,minMatchCharLength:o=A.minMatchCharLength,isCaseSensitive:s=A.isCaseSensitive,ignoreLocation:c=A.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreLocation:c},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;let l=(e,t)=>
vendor: 5,039 bytes, line 1
1{this.chunks.push({pattern:e,alphabet:ue(e),startIndex:t})},u=this.pattern.length;if(u>P){let e=0,t=u%P,n=u-t;for(;e<n;)l(this.pattern.substr(e,P),e),e+=P;if(t){let e=u-P;l(this.pattern.substr(e),e)}}else l(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}let{location:r,distance:i,threshold:a,findAllMatches:o,minMatchCharLength:s,ignoreLocation:c}=this.options,l=[],u=0,d=!1;this.chunks.forEach(({pattern:t,alphabet:f,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=le(e,t,f,{location:r+p,distance:i,threshold:a,findAllMatches:o,minMatchCharLength:s,includeMatches:n,ignoreLocation:c});m&&(d=!0),u+=h,m&&g&&(l=[...l,...g])});let f={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(f.indices=l),f}},I=class{constructor(e){this.pattern=e}static isMultiMatch(e){return L(e,this.multiRegex)}static isSingleMatch(e){return L(e,this.singleRegex)}search(){}};function L(e,t){let n=e.match(t);return n?n[1]:null}var de=class extends I{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,indices:[0,this.pattern.length-1]}}},fe=class extends I{constructor(e){super(e)}static get type(){return`inverse-exact`}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=e.indexOf(this.pattern)===-1;return{isMatch:t,score:+!t,indices:[0,e.length-1]}}},pe=class extends I{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,indices:[0,this.pattern.length-1]}}},me=class extends I{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,indices:[0,e.length-1]}}},he=class extends I{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,indices:[e.length-this.pattern.length,e.length-1]}}},ge=class extends I{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,indices:[0,e.length-1]}}},R=class extends I{constructor(e,{location:t=A.location,threshold:n=A.threshold,distance:r=A.distance,includeMatches:i=A.includeMatches,findAllMatches:a=A.findAllMatches,minMatchCharLength:o=A.minMatchCharLength,isCaseSensitive:s=A.isCaseSensitive,ignoreLocation:c=A.ignoreLocation}={}){super(e),this._bitapSearch=new F(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreLocation:c})}static get type(){return`fuzzy`}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}},z=class extends I{constructor(e){super(e)}static get type(){return`include`}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n,r=[],i=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+i,r.push([n,t-1]);let a=!!r.length;return{isMatch:a,score:+!a,indices:r}}},B=[de,z,pe,me,ge,he,fe,R],V=B.length,_e=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ve=`|`;function ye(e,t={}){return e.split(ve).map(e=>{let n=e.trim().split(_e).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<V;){let e=B[o],n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),a=!0)}if(!a)for(o=-1;++o<V;){let e=B[o],n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r})}var be=new Set([R.type,z.type]),xe=class{constructor(e,{isCaseSensitive:t=A.isCaseSensitive,includeMatches:n=A.includeMatches,minMatchCharLength:r=A.minMatchCharLength,ignoreLocation:i=A.ignoreLocation,findAllMatches:a=A.findAllMatches,location:o=A.location,threshold:s=A.threshold,distance:c=A.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:a,ignoreLocation:i,location:o,threshold:s,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=ye(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:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let i=0,a=[],o=0;for(let r=0,s=t.length;r<s;r+=1){let s=t[r];a.length=0,i=0;for(let t=0,r=s.length;t<r;t+=1){let r=s[t],{isMatch:c,indices:l,score:u}=r.search(e);if(c){if(i+=1,o+=u,n){let e=r.constructor.type;be.has(e)?a=[...a,...l]:a.push(l)}}else{o=0,i=0,a.length=0;break}}
1if(i){let e={isMatch:!0,score:o/i};return n&&(e.indices=a),e}}return{isMatch:!1,score:1}}},H=[];function Se(...e){H.push(...e)}function U(e,t){for(let n=0,r=H.length;n<r;n+=1){let r=H[n];if(r.condition(e,t))return new r(e,t)}return new F(e,t)}var W={AND:`$and`,OR:`$or`},G={PATH:`$path`,PATTERN:`$val`},K=e=>!!(e[W.AND]||e[W.OR]),Ce=e=>!!e[G.PATH],we=e=>!l(e)&&h(e)&&!K(e),q=e=>({[W.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function J(e,t,{auto:n=!0}={}){let r=e=>{let i=Object.keys(e),a=Ce(e);if(!a&&i.length>1&&!K(e))return r(q(e));if(we(e)){let r=a?e[G.PATH]:i[0],o=a?e[G.PATTERN]:e[r];if(!f(o))throw Error(x(r));let s={keyId:k(r),pattern:o};return n&&(s.searcher=U(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];l(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return K(e)||(e=q(e)),r(e)}function Te(e,{ignoreFieldNorm:t=A.ignoreFieldNorm}){e.forEach(e=>{let n=1;e.matches.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),e.score=n})}function Ee(e,t){let n=e.matches;t.matches=[],_(n)&&n.forEach(e=>{if(!_(e.indices)||!e.indices.length)return;let{indices:n,value:r}=e,i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function De(e,t){t.score=e.score}function Oe(e,t,{includeMatches:n=A.includeMatches,includeScore:r=A.includeScore}={}){let i=[];return n&&i.push(Ee),r&&i.push(De),e.map(e=>{let{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}var Y=class{constructor(e,t={},n){this.options={...A,...t},this.options.useExtendedSearch,this._keyStore=new E(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof j))throw Error(b);this._myIndex=t||M(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){_(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let n=0,r=this._docs.length;n<r;n+=1){let i=this._docs[n];e(i,n)&&(this.removeAt(n),--n,--r,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:n,includeScore:r,shouldSort:i,sortFn:a,ignoreFieldNorm:o}=this.options,s=f(e)?f(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return Te(s,{ignoreFieldNorm:o}),i&&s.sort(a),p(t)&&t>-1&&(s=s.slice(0,t)),Oe(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){let t=U(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:i})=>{if(!_(e))return;let{isMatch:a,score:o,indices:s}=t.searchIn(e);a&&r.push({item:e,idx:n,matches:[{score:o,value:e,norm:i,indices:s}]})}),r}_searchLogical(e){let t=J(e,this.options),n=(e,t,r)=>{if(!e.children){let{keyId:n,searcher:i}=e,a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return a&&a.length?[{idx:r,item:t,matches:a}]:[]}let i=[];for(let a=0,o=e.children.length;a<o;a+=1){let o=e.children[a],s=n(o,t,r);if(s.length)i.push(...s);else if(e.operator===W.AND)return[]}return i},r=this._myIndex.records,i={},a=[];return r.forEach(({$:e,i:r})=>{if(_(e)){let o=n(t,e,r);o.length&&(i[r]||(i[r]={idx:r,item:e,matches:[]},a.push(i[r])),o.forEach(({matches:e})=>{i[r].matches.push(...e)}))}}),a}_searchObjectList(e){let t=U(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:e,i:r})=>{if(!_(e))return;let a=[];n.forEach((n,r)=>{a.push(...this._findMatches({key:n,value:e[r],searcher:t}))}),a.length&&i.push({idx:r,item:e,matches:a})}),i}_findMatches({key:e,value:t,searcher:n}){if(!_(t))return[];let r=[];if(l(t))t.forEach(({v:t,i,n:a})=>{if(!_(t))return;let{isMatch:o,score:s,indices:c}=n.searchIn(t);o&&r.push({score:s,key:e,value:t,idx:i,norm:a,indices:c})});else{let{v:i,n:a}=t,{isMatch:o,score:s,indices:c}=n.searchIn(i);o&&r.push({score:s,key:e,value:i,norm:a,indices:c})}return r}};Y.version=`6.6.2`,Y.createIndex=M,Y.parseIndex=se,Y.config=A,Y.parseQuery=J,Se(xe);var ke={config(e){return{myText:`nice one`,isOpen:!1,input:``,inputPlaceholder:e.placeholder,selected:0,search:null,suggestions:window.Livewire.find(e.componentId).entangle(`suggestions`),courses:window.Livewire.find(e.componentId).entangle(`courses`),init(){this.search=new Y(this.suggestions,{threshold:.3,keys:[`name`,`aliases.name`]}),this.courseSearch=new Y(this.courses,{isCaseSensitive:!1,ignoreLocation:!0,useExtendedSearch:!0,keys:[`name`]}),this.$watch(`suggestions`,e=>this.search.setCollection(e)),this.$watch(`courses`,e=>this.courseSearch.setCollection(e)),this.$watch(`input`,e=>{e.length===0&&(this.selected=0)})},filteredItems(){if(this.input.length===0)return[];let e=[{name:`Search for "`+this.input+`"`,url:`/search?q=`+this.input}],t=this.search.search(this.input).map((e,t)=>e.item),n=this.courseSearch.search(`'`+this.input).map((e,t)=>e.item);return e.concat(t).concat(n)},toggleOpen(){if(this.isOpen){this.isOpen=!1;return}this.input=``,this.isOpen=!0,setTimeout(()=>{this.$refs.input.focus()},100)},go(e){window.location.assign(e||this.filteredItems()[this.selected].url)},selectUp(){this.selected=Math.max(0,this.selected-1),this.$nextTick(()=>{this.$refs.results.children[this.selected+1].scrollIntoView({block:`nearest`})})},selectDown(){this.selected=Math.min(this.filteredItems().length-1,this.selected+1),this.$nextTick(()=>{this.$refs.results.children[this.selected+1].scrollIntoView({block:`nearest`})})}}}},Ae={run(){Array.from(document.querySelectorAll(`a[data-rid]`)).forEac
1h(function(t){t.addEventListener(`click`,e),t.addEventListener(`auxclick`,e)});function e(e){e.type===`click`&&e.preventDefault();let t=new XMLHttpRequest,n=e.target;n.getAttribute(`data-rid`)===null&&(n=e.target.parentElement),t.open(`GET`,`/api/t?rid=${n.getAttribute(`data-rid`)}`,!0),t.timeout=100,t.onreadystatechange=()=>{t.readyState===4&&e.type===`click`&&window.location.assign(n.getAttribute(`href`))},t.send()}}},je=c(o(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.ClipboardJS=r():n.ClipboardJS=r()})(e,function(){return(function(){var e={686:(function(e,t,n){n.d(t,{default:function(){return O}});var r=n(279),i=n.n(r),a=n(370),o=n.n(a),s=n(817),c=n.n(s);function l(e){try{return document.execCommand(e)}catch{return!1}}var u=function(e){var t=c()(e);return l(`cut`),t};function d(e){var t=document.documentElement.getAttribute(`dir`)===`rtl`,n=document.createElement(`textarea`);n.style.fontSize=`12pt`,n.style.border=`0`,n.style.padding=`0`,n.style.margin=`0`,n.style.position=`absolute`,n.style[t?`right`:`left`]=`-9999px`;var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top=`${r}px`,n.setAttribute(`readonly`,``),n.value=e,n}var f=function(e,t){var n=d(e);t.container.appendChild(n);var r=c()(n);return l(`copy`),n.remove(),r},p=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},n=``;return typeof e==`string`?n=f(e,t):e instanceof HTMLInputElement&&![`text`,`search`,`url`,`tel`,`password`].includes(e?.type)?n=f(e.value,t):(n=c()(e),l(`copy`)),n};function m(e){"@babel/helpers - typeof";return m=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},m(e)}var h=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.action,n=t===void 0?`copy`:t,r=e.container,i=e.target,a=e.text;if(n!==`copy`&&n!==`cut`)throw Error(`Invalid "action" value, use either "copy" or "cut"`);if(i!==void 0){if(i&&m(i)===`object`&&i.nodeType===1){if(n===`copy`&&i.hasAttribute(`disabled`))throw Error(`Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute`);if(n===`cut`&&(i.hasAttribute(`readonly`)||i.hasAttribute(`disabled`)))throw Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw Error(`Invalid "target" value, use a valid Element`)}if(a)return p(a,{container:r});if(i)return n===`cut`?u(i):p(i,{container:r})};function g(e){"@babel/helpers - typeof";return g=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},g(e)}function _(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function b(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function S(e){var t=T();return function(){var n=E(e),r;if(t){var i=E(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return C(this,r)}}function C(e,t){return t&&(g(t)===`object`||typeof t==`function`)?t:w(e)}function w(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function T(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}
1function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function D(e,t){var n=`data-clipboard-${e}`;if(t.hasAttribute(n))return t.getAttribute(n)}var O=function(e){b(n,e);var t=S(n);function n(e,r){var i;return _(this,n),i=t.call(this),i.resolveOptions(r),i.listenClick(e),i}return y(n,[{key:`resolveOptions`,value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof e.action==`function`?e.action:this.defaultAction,this.target=typeof e.target==`function`?e.target:this.defaultTarget,this.text=typeof e.text==`function`?e.text:this.defaultText,this.container=g(e.container)===`object`?e.container:document.body}},{key:`listenClick`,value:function(e){var t=this;this.listener=o()(e,`click`,function(e){return t.onClick(e)})}},{key:`onClick`,value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||`copy`,r=h({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?`success`:`error`,{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:`defaultAction`,value:function(e){return D(`action`,e)}},{key:`defaultTarget`,value:function(e){var t=D(`target`,e);if(t)return document.querySelector(t)}},{key:`defaultText`,value:function(e){return D(`text`,e)}},{key:`destroy`,value:function(){this.listener.destroy()}}],[{key:`copy`,value:function(e){return p(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body})}},{key:`cut`,value:function(e){return u(e)}},{key:`isSupported`,value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[`copy`,`cut`],t=typeof e==`string`?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n&&=!!document.queryCommandSupported(e)}),n}}]),n}(i())}),828:(function(e){if(typeof Element<`u`&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}function n(e,t){for(;e&&e.nodeType!==9;){if(typeof e.matches==`function`&&e.matches(t))return e;e=e.parentNode}}e.exports=n}),438:(function(e,t,n){var r=n(828);function i(e,t,n,r,i){var a=o.apply(this,arguments);return e.addEventListener(n,a,i),{destroy:function(){e.removeEventListener(n,a,i)}}}function a(e,t,n,r,a){return typeof e.addEventListener==`function`?i.apply(null,arguments):typeof n==`function`?i.bind(null,document).apply(null,arguments):(typeof e==`string`&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return i(e,t,n,r,a)}))}function o(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=a}),879:(function(e,t){t.node=function(e){return e!==void 0&&e instanceof HTMLElement&&e.nodeType===1},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return e!==void 0&&(n===`[object NodeList]`||n===`[object HTMLCollection]`)&&`length`in e&&(e.length===0||t.node(e[0]))},t.string=function(e){return typeof e==`string`||e instanceof String},t.fn=function(e){return Object.prototype.toString.call(e)===`[object Function]`}}),370:(function(e,t,n){var r=n(879),i=n(438);function a(e,t,n){if(!e&&!t&&!n)throw Error(`Missing required arguments`);if(!r.string(t))throw TypeError(`Second argument must be a String`);
1if(!r.fn(n))throw TypeError(`Third argument must be a Function`);if(r.node(e))return o(e,t,n);if(r.nodeList(e))return s(e,t,n);if(r.string(e))return c(e,t,n);throw TypeError(`First argument must be a String, HTMLElement, HTMLCollection, or NodeList`)}function o(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function s(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function c(e,t,n){return i(document.body,e,t,n)}e.exports=a}),817:(function(e){function t(e){var t;if(e.nodeName===`SELECT`)e.focus(),t=e.value;else if(e.nodeName===`INPUT`||e.nodeName===`TEXTAREA`){var n=e.hasAttribute(`readonly`);n||e.setAttribute(`readonly`,``),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute(`readonly`),t=e.value}else{e.hasAttribute(`contenteditable`)&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}e.exports=t}),279:(function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||={};return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||={})[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||={},r=n[e],i=[];if(r&&t)for(var a=0,o=r.length;a<o;a++)r[a].fn!==t&&r[a].fn._!==t&&i.push(r[a]);return i.length?n[e]=i:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t})},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return(function(){n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t}})(),(function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}})(),n(686)})().default})}))()),X=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="fill-current text-white w-6 h-6"><path fill-rule="evenodd" d="M10.5 3A1.501 1.501 0 009 4.5h6A1.5 1.5 0 0013.5 3h-3zm-2.693.178A3 3 0 0110.5 1.5h3a3 3 0 012.694 1.678c.497.042.992.092 1.486.15 1.497.173 2.57 1.46 2.57 2.929V19.5a3 3 0 01-3 3H6.75a3 3 0 01-3-3V6.257c0-1.47 1.073-2.756 2.57-2.93.493-.057.989-.107 1.487-.15z" clip-rule="evenodd" /></svg>`,Me=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="fill-current text-white w-6 h-6"><path fill-rule="evenodd" d="M7.502 6h7.128A3.375 3.375 0 0118 9.375v9.375a3 3 0 003-3V6.108c0-1.505-1.125-2.811-2.664-2.94a48.972 48.972 0 00-.673-.05A3 3 0 0015 1.5h-1.5a3 3 0 00-2.663 1.618c-.225.015-.45.032-.673.05C8.662 3.295 7.554 4.542 7.502 6zM13.5 3A1.5 1.5 0 0012 4.5h4.5A1.5 1.5 0 0015 3h-1.5z" clip-rule="evenodd" /><path fill-rule="evenodd" d="M3 9.375C3 8.339 3.84 7.5 4.875 7.5h9.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 013 20.625V9.375zm9.586 4.594a.75.75 0 00-1.172-.938l-2.476 3.096-.908-.907a.75.75 0 00-1.06 1.06l1.5 1.5a.75.75 0 001.116-.062l3-3.75z" clip-rule="evenodd" /></svg>`;document.querySelectorAll(`pre`).forEach((e,t)=>{var n=document.createElement(`div`);[`relative`,`code-block-wrapper`].forEach(e=>{n.classList.add(e)}),e.parentNode.insertBefore(n,e),n.appendChild(e);let r=document.createElement(`button`);r.innerHTML=X,r.id=`clipButton-${t}`,[`md:block`,`hidden`].forEach(e=>{r.classList.add(e)}),r.setAttribute(`aria-label`,`Copy to Clipboard`),r.setAttribute(`title`,`Copy to Clipboard`),r.classList.add(`copyBtn`),n.appendChild(r),new je.default(`#${r.id}`).on(`success`,e=>{r.innerHTML=Me,e.clearSelection(),setTimeout(()=>{r.innerHTML=X},1500)});let i=e.querySelector(`code`);i&&(i.id=`clipText-${t}`,r.dataset.clipboardTarget=`#${i.id}`)}),window.Spotlight=ke,Ae.run();var Ne=document.getElementById(`mobile-menu-button`),Pe=document.getElementById(`mobile-menu-close`),Z=document.getElementById(`mobile-menu`);function Fe(){Z.classList.remove(`hidden`),document.body.style.overflow=`hidden`}function Q(){Z.classList.add(`hidden`),document.body.style.overflow=``,document.querySelectorAll(`.mobile-dropdown`).forEach(e
1=>{e.classList.remove(`active`)})}Ne.addEventListener(`click`,Fe),Pe.addEventListener(`click`,Q),Z.addEventListener(`click`,e=>{(e.target===Z||e.target.classList.contains(`bg-slate-950/95`))&&Q()}),Z.querySelectorAll(`a`).forEach(e=>{e.addEventListener(`click`,Q)});var $=document.querySelectorAll(`.dropdown-parent`);$.forEach(e=>{e.querySelector(`.dropdown-trigger`).addEventListener(`click`,t=>{t.preventDefault(),t.stopPropagation(),$.forEach(t=>{t!==e&&t.classList.remove(`active`)}),e.classList.toggle(`active`)})}),document.addEventListener(`click`,e=>{e.target.closest(`.dropdown-parent`)||$.forEach(e=>{e.classList.remove(`active`)})}),document.querySelectorAll(`.mobile-dropdown`).forEach(e=>{e.querySelector(`.mobile-dropdown-trigger`).addEventListener(`click`,t=>{t.preventDefault(),e.classList.toggle(`active`)})});
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.