PageSourceSearch

https://www.calgaryfolkfest.com/_next/static/chunks/209-cf410572bc6145d7.js

js calgaryfolkfest.com collected 2026-10-02 08:01:28 UTC 17,716 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[209],{6463:function(t,e,r){var n=r(1169);r.o(n,"ServerInsertedHTMLContext")&&r.d(e,{ServerInsertedHTMLContext:function(){return n.ServerInsertedHTMLContext}}),r.o(n,"usePathname")&&r.d(e,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(e,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(e,{useSearchParams:function(){return n.useSearchParams}})},7830:function(t,e){/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var r=Symbol.for("react.element"),n=(Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),{isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}}),s=Object.assign,i={};function o(t,e,r){this.props=t,this.context=e,this.refs=i,this.updater=r||n}function c(){}function h(t,e,r){this.props=t,this.context=e,this.refs=i,this.updater=r||n}o.prototype.isReactComponent={},o.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},o.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},c.prototype=o.prototype;var a=h.prototype=new c;a.constructor=h,s(a,o.prototype),a.isPureReactComponent=!0;var l=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};e.createElement=function(t,e,n){var s,i={},o=null,c=null;
9if(null!=e)for(s in void 0!==e.ref&&(c=e.ref),void 0!==e.key&&(o=""+e.key),e)l.call(e,s)&&!u.hasOwnProperty(s)&&(i[s]=e[s]);var h=arguments.length-2;if(1===h)i.children=n;else if(1<h){for(var a=Array(h),f=0;f<h;f++)a[f]=arguments[f+2];i.children=a}if(t&&t.defaultProps)for(s in h=t.defaultProps)void 0===i[s]&&(i[s]=h[s]);return{$$typeof:r,type:t,key:o,ref:c,props:i,_owner:null}}},4410:function(t,e,r){t.exports=r(7830)},6578:function(t,e,r){function n(t){return Array.isArray?Array.isArray(t):"[object Array]"===l(t)}r.d(e,{Z:function(){return X}});let s=1/0;function i(t){return"string"==typeof t}function o(t){return"number"==typeof t}function c(t){return"object"==typeof t}function h(t){return null!=t}function a(t){return!t.trim().length}function l(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}let u=t=>`Invalid value for key ${t}`,f=t=>`Pattern length exceeds max of ${t}.`,d=t=>`Missing ${t} property in key`,p=t=>`Property 'weight' in key '${t}' must be a positive integer`,g=Object.prototype.hasOwnProperty;class y{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach(t=>{let r=m(t);this._keys.push(r),this._keyMap[r.id]=r,e+=r.weight}),this._keys.forEach(t=>{t.weight/=e})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function m(t){let e=null,r=null,s=null,o=1,c=null;if(i(t)||n(t))s=t,e=x(t),r=M(t);else{if(!g.call(t,"name"))throw Error(d("name"));let n=t.name;if(s=n,g.call(t,"weight")&&(o=t.weight)<=0)throw Error(p(n));e=x(n),r=M(n),c=t.getFn}return{path:e,id:r,weight:o,src:s,getFn:c}}function x(t){return n(t)?t:t.split(".")}function M(t){return n(t)?t.join("."):t}var _={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function(t,e){let r=[],a=!1,u=(t,e,f)=>{if(h(t)){if(e[f]){var d,p;let g=t[e[f]];if(h(g)){if(f===e.length-1&&(i(g)||o(g)||!0===(d=g)||!1===d||c(p=d)&&null!==p&&"[object Boolean]"==l(d)))r.push(null==g?"":function(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-s?"-0":e}(g));else if(n(g)){a=!0;for(let t=0,r=g.length;t<r;t+=1)u(g[t],e,f+1)}else e.length&&u(g,e,f+1)}}else r.push(t)}};return u(t,i(e)?e.split("."):e,0),a?r:r[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};let S=/[^ ]+/g;class k{constructor({getFn:t=_.getFn,fieldNormWeight:e=_.fieldNormWeight}={}){this.norm=function(t=1,e=3){let r=new Map,n=Math.pow(10,e);return{get(e){let s=e.match(S).length;if(r.has(s))return r.get(s);let i=parseFloat(Math.round(1/Math.pow(s,.5*t)*n)/n);return r.set(s,i),i},clear(){r.clear()}}}(e,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((t,e)=>{this._keysMap[t.id]=e})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,i(this.docs[0])?this.docs.forEach((t,e)=>{this._addString(t,e)}):this.docs.forEach((t,e)=>{this._addObject(t,e)}),this.norm.clear())}add(t){let e=this.size();i(t)?this._addString(t,e):this._addObject(t,e)}removeAt(t){this.records.splice(t,1);for(let e=t,r=this.size();e<r;e+=1)this.records[e].i-=1}getValueForItemAtKeyId(t,e){return t[this._keysMap[e]]}size(){return this.records.length}_addString(t,e){if(!h(t)||a(t))return;let r={v:t,i:e,n:this.norm.get(t)};this.records.push(r)}_addObject(t,e){let r={i:e,$:{}};this.keys.forEach((e,s)=>{let o=e.getFn?e.getFn(t):this.getFn(t,e.path);if(h(o)){if(n(o)){let t=[],e=[{nestedArrIndex:-1,value:o}];for(;e.length;){let{nestedArrIndex:r,value:s}=e.pop();if(h(s)){if(i(s)&&!a(s)){let e={v:s,i:r,n:this.norm.get(s)};t.push(e)}else n(s)&&s.forEach((t,r)=>{e.push({nestedArrIndex:r,value:t})})}}r.$[s]=t}else if(i(o)&&!a(o)){let t={v:o,n:this.norm.get(o)};r.$[s]=t}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function v(t,e,{getFn:r=_.getFn,fieldNormWeight:n=_.fieldNormWeight}={}){let s=new k({getFn:r,fieldNormWeight:n});return s.setKeys(t.map(m)),s.setSources(e),s.create(),s}function b(t,{errors:e=0,currentLocation:r=0,expectedLocation:n=0,distance:s=_.distance,ignoreLocation:i=_.ignoreLocation}={}){let o=e/t.length;if(i)return o;let c=Math.abs(n-r);return s?o+c/s:c?1:o}class w{constructor(t,{location:e=_.location,threshold:r=_.threshold,distance:n=_.distance,includeMatches:s=_.includeMatches,findAllMatches:i=_.findAllMatches,minMatchCharLength:o=_.minMatchCharLength,isCaseSensitive:c=_.isCaseSensitive,ignoreLocation:h=_.ignoreLocation}={}){if(this.options={location:e,threshold:r,distance:n,includeMatches:s,findAllMatches:i,minMatchCharLength:o,isCaseSensitive:c,ignoreLocation:h},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;let a=(t,e)=>{this.chunks.push({pattern:t,alphabet:function(t){let e={};for(let r=0,n=t.length;r<n;r+=1){let s=t.charAt(r);e[s]=(e[s]||0)|1<<n-r-1}return e}(t),startIndex:e})},l=this.pattern.length;if(l>32){let t=0,e=l%32,r=l-e;for(;t<r;)a(this.pattern.substr(t,32),t),t+=32;if(e){let t=l-32;a(this.pattern.substr(t),t)}}else a(this.pattern,0)}searchIn(t){let{isCaseSensitive:e,includeMatches:r}=this.options;
9if(e||(t=t.toLowerCase()),this.pattern===t){let e={isMatch:!0,score:0};return r&&(e.indices=[[0,t.length-1]]),e}let{location:n,distance:s,threshold:i,findAllMatches:o,minMatchCharLength:c,ignoreLocation:h}=this.options,a=[],l=0,u=!1;this.chunks.forEach(({pattern:e,alphabet:d,startIndex:p})=>{let{isMatch:g,score:y,indices:m}=function(t,e,r,{location:n=_.location,distance:s=_.distance,threshold:i=_.threshold,findAllMatches:o=_.findAllMatches,minMatchCharLength:c=_.minMatchCharLength,includeMatches:h=_.includeMatches,ignoreLocation:a=_.ignoreLocation}={}){let l;if(e.length>32)throw Error(f(32));let u=e.length,d=t.length,p=Math.max(0,Math.min(n,d)),g=i,y=p,m=c>1||h,x=m?Array(d):[];for(;(l=t.indexOf(e,y))>-1;)if(g=Math.min(b(e,{currentLocation:l,expectedLocation:p,distance:s,ignoreLocation:a}),g),y=l+u,m){let t=0;for(;t<u;)x[l+t]=1,t+=1}y=-1;let M=[],S=1,k=u+d,v=1<<u-1;for(let n=0;n<u;n+=1){let i=0,c=k;for(;i<c;)b(e,{errors:n,currentLocation:p+c,expectedLocation:p,distance:s,ignoreLocation:a})<=g?i=c:k=c,c=Math.floor((k-i)/2+i);k=c;let h=Math.max(1,p-c+1),l=o?d:Math.min(p+c,d)+u,f=Array(l+2);f[l+1]=(1<<n)-1;for(let i=l;i>=h;i-=1){let o=i-1,c=r[t.charAt(o)];if(m&&(x[o]=+!!c),f[i]=(f[i+1]<<1|1)&c,n&&(f[i]|=(M[i+1]|M[i])<<1|1|M[i+1]),f[i]&v&&(S=b(e,{errors:n,currentLocation:o,expectedLocation:p,distance:s,ignoreLocation:a}))<=g){if(g=S,(y=o)<=p)break;h=Math.max(1,2*p-y)}}if(b(e,{errors:n+1,currentLocation:p,expectedLocation:p,distance:s,ignoreLocation:a})>g)break;M=f}let w={isMatch:y>=0,score:Math.max(.001,S)};if(m){let t=function(t=[],e=_.minMatchCharLength){let r=[],n=-1,s=-1,i=0;for(let o=t.length;i<o;i+=1){let o=t[i];o&&-1===n?n=i:o||-1===n||((s=i-1)-n+1>=e&&r.push([n,s]),n=-1)}return t[i-1]&&i-n>=e&&r.push([n,i-1]),r}(x,c);t.length?h&&(w.indices=t):w.isMatch=!1}return w}(t,e,d,{location:n+p,distance:s,threshold:i,findAllMatches:o,minMatchCharLength:c,includeMatches:r,ignoreLocation:h});
vendor: 4,958 bytes, line 9
9g&&(u=!0),l+=y,g&&m&&(a=[...a,...m])});let d={isMatch:u,score:u?l/this.chunks.length:1};return u&&r&&(d.indices=a),d}}class ${constructor(t){this.pattern=t}static isMultiMatch(t){return E(t,this.multiRegex)}static isSingleMatch(t){return E(t,this.singleRegex)}search(){}}function E(t,e){let r=t.match(e);return r?r[1]:null}class I extends ${constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){let e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class A extends ${constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){let e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class R extends ${constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){let e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class L extends ${constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){let e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class C extends ${constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){let e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class O extends ${constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){let e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class N extends ${constructor(t,{location:e=_.location,threshold:r=_.threshold,distance:n=_.distance,includeMatches:s=_.includeMatches,findAllMatches:i=_.findAllMatches,minMatchCharLength:o=_.minMatchCharLength,isCaseSensitive:c=_.isCaseSensitive,ignoreLocation:h=_.ignoreLocation}={}){super(t),this._bitapSearch=new w(t,{location:e,threshold:r,distance:n,includeMatches:s,findAllMatches:i,minMatchCharLength:o,isCaseSensitive:c,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class j extends ${constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e,r=0,n=[],s=this.pattern.length;for(;(e=t.indexOf(this.pattern,r))>-1;)r=e+s,n.push([e,r-1]);let i=!!n.length;return{isMatch:i,score:i?0:1,indices:n}}}let P=[I,j,R,L,O,C,A,N],F=P.length,T=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,W=new Set([N.type,j.type]);class q{constructor(t,{isCaseSensitive:e=_.isCaseSensitive,includeMatches:r=_.includeMatches,minMatchCharLength:n=_.minMatchCharLength,ignoreLocation:s=_.ignoreLocation,findAllMatches:i=_.findAllMatches,location:o=_.location,threshold:c=_.threshold,distance:h=_.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:r,minMatchCharLength:n,findAllMatches:i,ignoreLocation:s,location:o,threshold:c,distance:h},this.pattern=e?t:t.toLowerCase(),this.query=function(t,e={}){return t.split("|").map(t=>{let r=t.trim().split(T).filter(t=>t&&!!t.trim()),n=[];for(let t=0,s=r.length;t<s;t+=1){let s=r[t],i=!1,o=-1;for(;!i&&++o<F;){let t=P[o],r=t.isMultiMatch(s);r&&(n.push(new t(r,e)),i=!0)}if(!i)for(o=-1;++o<F;){let t=P[o],r=t.isSingleMatch(s);if(r){n.push(new t(r,e));break}}}return n})}(this.pattern,this.options)}static condition(t,e){return e.useExtendedSearch}searchIn(t){let e=this.query;if(!e)return{isMatch:!1,score:1};let{includeMatches:r,isCaseSensitive:n}=this.options;t=n?t:t.toLowerCase();let s=0,i=[],o=0;for(let n=0,c=e.length;n<c;n+=1){let c=e[n];i.length=0,s=0;for(let e=0,n=c.length;e<n;e+=1){let n=c[e],{isMatch:h,indices:a,score:l}=n.search(t);if(h){if(s+=1,o+=l,r){let t=n.constructor.type;W.has(t)?i=[...i,...a]:i.push(a)}}else{o=0,s=0,i.length=0;break}}if(s){let t={isMatch:!0,score:o/s};return r&&(t.indices=i),t}}return{isMatch:!1,score:1}}}let z=[];function H(t,e){for(let r=0,n=z.length;r<n;r+=1){let n=z[r];if(n.condition(t,e))return new n(t,e)}return new w(t,e)}let K={AND:"$and",OR:"$or"},U={PATH:"$path",PATTERN:"$val"},D=t=>!!(t[K.AND]||t[K.OR]),J=t=>!!t[U.PATH],V=t=>!n(t)&&c(t)&&!D(t),B=t=>({[K.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Q(t,e,{auto:r=!0}={}){let s=t=>{let o=Object.keys(t),c=J(t);if(!c&&o.length>1&&!D(t))return s(B(t));if(V(t)){let n=c?t[U.PATH]:o[0],s=c?t[U.PATTERN]:t[n];if(!i(s))throw Error(u(n));let h={keyId:M(n),pattern:s};return r&&(h.searcher=H(s,e)),h}let h={children:[],operator:o[0]};
9return o.forEach(e=>{let r=t[e];n(r)&&r.forEach(t=>{h.children.push(s(t))})}),h};return D(t)||(t=B(t)),s(t)}function Z(t,e){let r=t.matches;e.matches=[],h(r)&&r.forEach(t=>{if(!h(t.indices)||!t.indices.length)return;let{indices:r,value:n}=t,s={indices:r,value:n};t.key&&(s.key=t.key.src),t.idx>-1&&(s.refIndex=t.idx),e.matches.push(s)})}function G(t,e){e.score=t.score}class X{constructor(t,e={},r){this.options={..._,...e},this.options.useExtendedSearch,this._keyStore=new y(this.options.keys),this.setCollection(t,r)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof k))throw Error("Incorrect 'index' type");this._myIndex=e||v(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){h(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){let e=[];for(let r=0,n=this._docs.length;r<n;r+=1){let s=this._docs[r];t(s,r)&&(this.removeAt(r),r-=1,n-=1,e.push(s))}return e}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:e=-1}={}){let{includeMatches:r,includeScore:n,shouldSort:s,sortFn:c,ignoreFieldNorm:h}=this.options,a=i(t)?i(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return!function(t,{ignoreFieldNorm:e=_.ignoreFieldNorm}){t.forEach(t=>{let r=1;t.matches.forEach(({key:t,norm:n,score:s})=>{let i=t?t.weight:null;r*=Math.pow(0===s&&i?Number.EPSILON:s,(i||1)*(e?1:n))}),t.score=r})}(a,{ignoreFieldNorm:h}),s&&a.sort(c),o(e)&&e>-1&&(a=a.slice(0,e)),function(t,e,{includeMatches:r=_.includeMatches,includeScore:n=_.includeScore}={}){let s=[];return r&&s.push(Z),n&&s.push(G),t.map(t=>{let{idx:r}=t,n={item:e[r],refIndex:r};return s.length&&s.forEach(e=>{e(t,n)}),n})}(a,this._docs,{includeMatches:r,includeScore:n})}_searchStringList(t){let e=H(t,this.options),{records:r}=this._myIndex,n=[];return r.forEach(({v:t,i:r,n:s})=>{if(!h(t))return;let{isMatch:i,score:o,indices:c}=e.searchIn(t);i&&n.push({item:t,idx:r,matches:[{score:o,value:t,norm:s,indices:c}]})}),n}_searchLogical(t){let e=Q(t,this.options),r=(t,e,n)=>{if(!t.children){let{keyId:r,searcher:s}=t,i=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(e,r),searcher:s});return i&&i.length?[{idx:n,item:e,matches:i}]:[]}let s=[];for(let i=0,o=t.children.length;i<o;i+=1){let o=r(t.children[i],e,n);if(o.length)s.push(...o);else if(t.operator===K.AND)return[]}return s},n=this._myIndex.records,s={},i=[];return n.forEach(({$:t,i:n})=>{if(h(t)){let o=r(e,t,n);o.length&&(s[n]||(s[n]={idx:n,item:t,matches:[]},i.push(s[n])),o.forEach(({matches:t})=>{s[n].matches.push(...t)}))}}),i}_searchObjectList(t){let e=H(t,this.options),{keys:r,records:n}=this._myIndex,s=[];return n.forEach(({$:t,i:n})=>{if(!h(t))return;let i=[];r.forEach((r,n)=>{i.push(...this._findMatches({key:r,value:t[n],searcher:e}))}),i.length&&s.push({idx:n,item:t,matches:i})}),s}_findMatches({key:t,value:e,searcher:r}){if(!h(e))return[];let s=[];if(n(e))e.forEach(({v:e,i:n,n:i})=>{if(!h(e))return;let{isMatch:o,score:c,indices:a}=r.searchIn(e);o&&s.push({score:c,key:t,value:e,idx:n,norm:i,indices:a})});else{let{v:n,n:i}=e,{isMatch:o,score:c,indices:h}=r.searchIn(n);o&&s.push({score:c,key:t,value:n,norm:i,indices:h})}return s}}X.version="7.0.0",X.createIndex=v,X.parseIndex=function(t,{getFn:e=_.getFn,fieldNormWeight:r=_.fieldNormWeight}={}){let{keys:n,records:s}=t,i=new k({getFn:e,fieldNormWeight:r});return i.setKeys(n),i.setIndexRecords(s),i},X.config=_,X.parseQuery=Q,function(...t){z.push(...t)}(q)}}]);

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.