1"use strict";(self.webpackChunkprodigy_static_web=self.webpackChunkprodigy_static_web||[]).push([[121],{12149:function(e,t,n){var i=n(96540),o=n(882),r=n(90650),s=n(62943),a=n(87462),c=n(15659);const l=o.default.input.withConfig({displayName:"InputField__Input",componentId:"sc-kwhf60-0"})([""]),u=o.default.div.withConfig({displayName:"InputField__InputErrorContainer",componentId:"sc-kwhf60-1"})(["height:14px;margin:0.2rem;> p{margin:0;font-size:10px;line-height:14px;color:#dc6803;}"]);t.A=({id:e,type:t="text",value:n,label:o,placeholder:h,required:d=!1,disabled:m=!1,onChange:p,onBlur:g,onFocus:f,helpText:y="",icon:C="",min:b=0,max:x=50,onClearField:v,autocomplete:E="off",error:A=""})=>{const{0:w,1:_}=(0,i.useState)(!1);return i.createElement(s.A0,null,o&&i.createElement(r.A,{htmlFor:e},o,d&&i.createElement("span",null," *")),i.createElement(s.y,{$isError:!!A,$isActive:w},C&&i.createElement(c.A,{name:C}),i.createElement(l,{type:t,value:n||"",id:e,name:e,"data-testid":e,placeholder:h,onChange:p,onBlur:()=>{_(!1),g&&g()},onFocus:()=>{_(!0),f&&f()},required:d,disabled:m,autoComplete:E,min:b,maxLength:x}),i.createElement(s.CP,{type:"button",onClick:v,disabled:!n,"data-testid":`${e}-clear-button`},i.createElement(c.A,{name:"x",size:16,color:"currentColor"})),!!A&&i.createElement(c.A,{name:"alert_triangle",size:16,color:"#dc6803"})),y&&i.createElement(a.A,null,y),A&&i.createElement(u,null,i.createElement("p",null,A)))}},36601:function(e,t,n){n.r(t),n.d(t,{Head:function(){return xt},default:function(){return bt}});var i=n(96540),o=n(8025),r=n(33836),s=n.n(r),a=n(48548),c=n(882),l=n(55268),u=n(65463);const h=c.default.div.withConfig({displayName:"header__Container",componentId:"sc-plgtxl-0"})(["text-align:center;padding:",";margin:auto;max-width:",";"],e=>e.theme.minimumPadding,e=>e.theme.maxWidthSmall),d=c.default.div.withConfig({displayName:"header__Logo",componentId:"sc-plgtxl-1"})(["margin-bottom:1em;svg{height:80px;width:87px;}"]),m=(0,c.default)(l.Link).withConfig({displayName:"header__SearchLink",componentId:"sc-plgtxl-2"})(["font-weight:600;font-size:1em;color:",";:visited{color:",";}"],e=>e.theme.secondary700,e=>e.theme.secondary700);var p=()=>i.createElement(h,null,i.createElement(d,null,i.createElement(u.A,{name:"school"})),i.createElement("h1",null,"Can't find your school or course?"),i.createElement("p",null,"Tell us more about the course you'd like us to support. This generally takes some time to do, so if you're looking for funding for this course right now, you might want to explore other funding options."),i.createElement("p",null,"Thanks for your help in letting us know which schools to focus on as we expand our loans across the world."),i.createElement("p",null,"Keep up to date on which schools and courses we support by using our ",i.createElement(m,{to:"/where-can-i-study/"},"search tool"),".")),g=n(45458),f=n(35897),y=n(12149);const C=c.default.label.withConfig({displayName:"Checkbox__Label",componentId:"sc-1uizcnq-0"})(["display:flex;align-items:",";cursor:pointer;[type='checkbox']{display:inline;position:absolute;opacity:0;}[type='checkbox']:checked{+ span::after{content:' ';}+ span::before{background-color:#F0F9FF};}}"],e=>e.$alignStart?"start":"center"),b=c.default.span.withConfig({displayName:"Checkbox__Check",componentId:"sc-1uizcnq-1"})(["line-height:0;position:relative;margin-top:",";::before,::after{display:inline-block;}::before{content:' ';height:16px;width:16px;border:1px solid ",";border-radius:4px;}::after{position:absolute;left:3px;top:4px;border-left:1px solid #026aa2;border-bottom:1px solid #026aa2;width:10px;height:5px;transform:rotate(-45deg);}"],e=>e.$alignStart?"4px":"0",e=>e.$isChecked?"#008ECF":"#D0D5DD"),x=c.default.span.withConfig({displayName:"Checkbox__TextLabel",componentId:"sc-1uizcnq-2"})(["font-size:0.8rem;line-height:1.2rem;margin-left:0.8em;"]);var v=({children:e,checkboxId:t,isChecked:n=!1,handleChange:o,alignStart:r=!1})=>i.createElement(C,{htmlFor:t,$alignStart:r},i.createElement("input",{type:"checkbox",id:t,"data-testid":t,checked:n,onChange:o}),i.createElement(b,{$isChecked:n,$alignStart:r}),i.createElement(x,null,e)),E=n(7627);function A(e){return Array.isArray?Array.isArray(e):"[object Array]"===D(e)}function w(e){return null==e?"":function(e){if("string"==typeof e)return e;if("bigint"==typeof e)return e.toString();const t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}function _(e){return"string"==typeof e}function k(e){return"number"==typeof e}function S(e){return!0===e||!1===e||function(e){return I(e)&&null!==e}(e)&&"[object Boolean]"==D(e)}function I(e){return"object"==typeof e}function F(e){return null!=e}function M(e){return!e.trim().length}
1function D(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const B=Object.prototype.hasOwnProperty;class N{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{const n=L(e);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 L(e){let t=null,n=null,i=null,o=1,r=null;if(_(e)||A(e))i=e,t=$(e),n=z(e);else{if(!B.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const s=e.name;if(i=s,B.call(e,"weight")&&(o=e.weight,o<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(s));t=$(s),n=z(s),r=e.getFn}return{path:t,id:n,weight:o,src:i,getFn:r}}function $(e){return A(e)?e:e.split(".")}function z(e){return A(e)?e.join("."):e}const j={useExtendedSearch:!1,useTokenSearch:!1,getFn:function(e,t){const n=[];let i=!1;const o=(e,t,r,s)=>{if(F(e))if(t[r]){const a=e[t[r]];if(!F(a))return;if(r===t.length-1&&(_(a)||k(a)||S(a)||"bigint"==typeof a))n.push(void 0!==s?{v:w(a),i:s}:w(a));else if(A(a)){i=!0;for(let e=0,n=a.length;e<n;e+=1)o(a[e],t,r+1,e)}else t.length&&o(a,t,r+1,s)}else n.push(void 0!==s?{v:e,i:s}:e)};return o(e,_(t)?t.split("."):t,0),i?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},R=Object.freeze({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,...j}),O=/[^ ]+/g;class P{constructor({getFn:e=R.getFn,fieldNormWeight:t=R.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(t){const o=t.match(O).length;if(n.has(o))return n.get(o);const r=1/Math.pow(o,.5*e),s=parseFloat(Math.round(r*i)/i);return n.set(o,s),s},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},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,_(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){const t=this.size();_(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-=1}removeAll(e){for(let t=e.length-1;t>=0;t-=1)this.records.splice(e[t],1);for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i=t}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!F(e)||M(e))return;const n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){const n={i:t,$:{}};this.keys.forEach((t,i)=>{const o=t.getFn?t.getFn(e):this.getFn(e,t.path);if(F(o))if(A(o)){const e=[];for(let t=0,n=o.length;t<n;t+=1){const n=o[t];if(F(n))if(_(n)){if(!M(n)){const i={v:n,i:t,n:this.norm.get(n)};e.push(i)}}else if(F(n.v)){const t=_(n.v)?n.v:w(n.v);if(!M(t)){const i={v:t,i:n.i,n:this.norm.get(t)};e.push(i)}}}n.$[i]=e}else if(_(o)&&!M(o)){const e={v:o,n:this.norm.get(o)};n.$[i]=e}}),this.records.push(n)}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}}function W(e,t,{getFn:n=R.getFn,fieldNormWeight:i=R.fieldNormWeight}={}){const o=new P({getFn:n,fieldNormWeight:i});return o.setKeys(e.map(L)),o.setSources(t),o.create(),o}const q=32;function T(e,t,n,{location:i=R.location,distance:o=R.distance,threshold:r=R.threshold,findAllMatches:s=R.findAllMatches,minMatchCharLength:a=R.minMatchCharLength,includeMatches:c=R.includeMatches,ignoreLocation:l=R.ignoreLocation}={}){if(t.length>q)throw new Error(`Pattern length exceeds max of ${q}.`);const u=t.length,h=e.length,d=Math.max(0,Math.min(i,h));let m=r,p=d;const g=(e,t)=>{const n=e/u;if(l)return n;const i=Math.abs(d-t);return o?n+i/o:i?1:n},f=a>1||c,y=f?Array(h):[];let C;for(;(C=e.indexOf(t,p))>-1;){const e=g(0,C);if(m=Math.min(e,m),p=C+u,f){let e=0;for(;e<u;)y[C+e]=1,e+=1}}p=-1;let b=[],x=1,v=u+h;const E=1<<u-1;for(let w=0;w<u;w+=1){let t=0,i=v;for(;t<i;){g(w,d+i)<=m?t=i:v=i,i=Math.floor((v-t)/2+t)}v=i;let o=Math.max(1,d-i+1);const r=s?h:Math.min(d+i,h)+u,a=Array(r+2);a[r+1]=(1<<w)-1;for(let s=r;s>=o;s-=1){const t=s-1,i=n[e[t]];if(f&&(y[t]=+!!i),a[s]=(a[s+1]<<1|1)&i,w&&(a[s]|=(b[s+1]|b[s])<<1|1|b[s+1]),a[s]&E&&(x=g(w,t),x<=m)){
1if(m=x,p=t,p<=d)break;o=Math.max(1,2*d-p)}}if(g(w+1,d)>m)break;b=a}const A={isMatch:p>=0,score:Math.max(.001,x)};if(f){const e=function(e=[],t=R.minMatchCharLength){const n=[];let i=-1,o=-1,r=0;for(let s=e.length;r<s;r+=1){const s=e[r];s&&-1===i?i=r:s||-1===i||(o=r-1,o-i+1>=t&&n.push([i,o]),i=-1)}return e[r-1]&&r-i>=t&&n.push([i,r-1]),n}(y,a);e.length?c&&(A.indices=e):A.isMatch=!1}return A}function U(e){const t={};for(let n=0,i=e.length;n<i;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<i-n-1}return t}function H(e){if(e.length<=1)return e;e.sort((e,t)=>e[0]-t[0]||e[1]-t[1]);const t=[e[0]];for(let n=1,i=e.length;n<i;n+=1){const i=t[t.length-1],o=e[n];o[0]<=i[1]+1?i[1]=Math.max(i[1],o[1]):t.push(o)}return t}const K={"Å":"l","Å":"L","Ä":"d","Ä":"D","ø":"o","Ã":"O","ħ":"h","Ħ":"H","ŧ":"t","Ŧ":"T","ı":"i","Ã":"ss"},Q=new RegExp("["+Object.keys(K).join("")+"]","g"),Y=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,"").replace(Q,e=>K[e]):e=>e;class J{constructor(e,{location:t=R.location,threshold:n=R.threshold,distance:i=R.distance,includeMatches:o=R.includeMatches,findAllMatches:r=R.findAllMatches,minMatchCharLength:s=R.minMatchCharLength,isCaseSensitive:a=R.isCaseSensitive,ignoreDiacritics:c=R.ignoreDiacritics,ignoreLocation:l=R.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:i,includeMatches:o,findAllMatches:r,minMatchCharLength:s,isCaseSensitive:a,ignoreDiacritics:c,ignoreLocation:l},e=a?e:e.toLowerCase(),e=c?Y(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:U(e),startIndex:t})},h=this.pattern.length;if(h>q){let e=0;const t=h%q,n=h-t;for(;e<n;)u(this.pattern.substr(e,q),e),e+=q;if(t){const e=h-q;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:i}=this.options;if(e=t?e:e.toLowerCase(),e=n?Y(e):e,this.pattern===e){const t={isMatch:!0,score:0};return i&&(t.indices=[[0,e.length-1]]),t}const{location:o,distance:r,threshold:s,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[];let h=0,d=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:m})=>{const{isMatch:p,score:g,indices:f}=T(e,t,n,{location:o+m,distance:r,threshold:s,findAllMatches:a,minMatchCharLength:c,includeMatches:i,ignoreLocation:l});p&&(d=!0),h+=g,p&&f&&u.push(...f)});const m={isMatch:d,score:d?h/this.chunks.length:1};return d&&i&&(m.indices=H(u)),m}}class G{constructor(e){this.pattern=e}static isMultiMatch(e){return X(e,this.multiRegex)}static isSingleMatch(e){return X(e,this.singleRegex)}search(e){return{isMatch:!1,score:1}}}function X(e,t){const n=e.match(t);
1return n?n[1]:null}class V extends G{constructor(e,{location:t=R.location,threshold:n=R.threshold,distance:i=R.distance,includeMatches:o=R.includeMatches,findAllMatches:r=R.findAllMatches,minMatchCharLength:s=R.minMatchCharLength,isCaseSensitive:a=R.isCaseSensitive,ignoreDiacritics:c=R.ignoreDiacritics,ignoreLocation:l=R.ignoreLocation}={}){super(e),this._bitapSearch=new J(e,{location:t,threshold:n,distance:i,includeMatches:o,findAllMatches:r,minMatchCharLength:s,isCaseSensitive:a,ignoreDiacritics:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Z extends G{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const i=[],o=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,i.push([t,n-1]);const r=!!i.length;return{isMatch:r,score:r?0:1,indices:i}}}const ee=[class extends G{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Z,class extends G{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends G{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends G{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends G{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends G{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},V],te=ee.length;const ne=new Set([V.type,Z.type]);class ie{constructor(e,{isCaseSensitive:t=R.isCaseSensitive,ignoreDiacritics:n=R.ignoreDiacritics,includeMatches:i=R.includeMatches,minMatchCharLength:o=R.minMatchCharLength,ignoreLocation:r=R.ignoreLocation,findAllMatches:s=R.findAllMatches,location:a=R.location,threshold:c=R.threshold,distance:l=R.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:i,minMatchCharLength:o,findAllMatches:s,ignoreLocation:r,location:a,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?Y(e):e,this.pattern=e,this.query=function(e,t={}){return e.replace(/\\\|/g,"\0").split("|").map(e=>{const n=function(e){const t=[],n=e.length;let i=0;for(;i<n;){for(;i<n&&" "===e[i];)i++;if(i>=n)break;let o=i;for(;o<n&&" "!==e[o]&&'"'!==e[o];)o++;if(o<n&&'"'===e[o]){for(o++;o<n;){if('"'===e[o]){const t=o+1;if(t>=n||" "===e[t]){o++;break}if("$"===e[t]&&(t+1>=n||" "===e[t+1])){o+=2;break}}o++}t.push(e.substring(i,o)),i=o}else{for(;o<n&&" "!==e[o];)o++;t.push(e.substring(i,o)),i=o}}return t}(e.replace(/\u0000/g,"|").trim()).filter(e=>e&&!!e.trim()),i=[];for(let o=0,r=n.length;o<r;o+=1){const e=n[o];let r=!1,s=-1;for(;!r&&++s<te;){const n=ee[s],o=n.isMultiMatch(e);o&&(i.push(new n(o,t)),r=!0)}if(!r)for(s=-1;++s<te;){const n=ee[s],o=n.isSingleMatch(e);if(o){i.push(new n(o,t));break}}}return i})}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i,ignoreDiacritics:o}=this.options;e=i?e:e.toLowerCase(),e=o?Y(e):e;let r=0;const s=[];let a=0,c=!1;for(let l=0,u=t.length;l<u;l+=1){const i=t[l];s.length=0,r=0,c=!1;for(let t=0,o=i.length;t<o;t+=1){const o=i[t],{isMatch:l,indices:u,score:h}=o.search(e);if(!l){a=0,r=0,s.length=0,c=!1;break}{r+=1,a+=h;const e=o.constructor.type;e.startsWith("inverse")&&(c=!0),n&&(ne.has(e)?s.push(...u):s.push(u))}}if(r){const e={isMatch:!0,score:a/r};return c&&(e.hasInverse=!0),n&&(e.indices=H(s)),e}}return{isMatch:!1,score:1}}}const oe=[];function re(...e){oe.push(...e)}function se(e,t){for(let n=0,i=oe.length;n<i;n+=1){const i=oe[n];if(i.condition(e,t))return new i(e,t)}
1return new J(e,t)}const ae="$and",ce="$or",le="$path",ue="$val",he=e=>!(!e[ae]&&!e[ce]),de=e=>({[ae]:Object.keys(e).map(t=>({[t]:e[t]}))});function me(e,t,{auto:n=!0}={}){const i=e=>{if(_(e)){const i={keyId:null,pattern:e};return n&&(i.searcher=se(e,t)),i}const o=Object.keys(e),r=(e=>!!e[le])(e);if(!r&&o.length>1&&!he(e))return i(de(e));if((e=>!A(e)&&I(e)&&!he(e))(e)){const i=r?e[le]:o[0],s=r?e[ue]:e[i];if(!_(s))throw new Error((e=>`Invalid value for key ${e}`)(i));const a={keyId:z(i),pattern:s};return n&&(a.searcher=se(s,t)),a}const s={children:[],operator:o[0]};return o.forEach(t=>{const n=e[t];A(n)&&n.forEach(e=>{s.children.push(i(e))})}),s};return he(e)||(e=de(e)),i(e)}function pe(e,{ignoreFieldNorm:t=R.ignoreFieldNorm}){let n=1;return e.forEach(({key:e,norm:i,score:o})=>{const r=e?e.weight:null;n*=Math.pow(0===o&&r?Number.EPSILON:o,(r||1)*(t?1:i))}),n}class ge{constructor(e){this.limit=e,this.heap=[]}get size(){return this.heap.length}shouldInsert(e){return this.size<this.limit||e<this.heap[0].score}insert(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))}extractSorted(e){return this.heap.sort(e)}_bubbleUp(e){const t=this.heap;for(;e>0;){const n=e-1>>1;if(t[e].score<=t[n].score)break;const i=t[e];t[e]=t[n],t[n]=i,e=n}}_sinkDown(e){const t=this.heap,n=t.length;let i=e;do{const o=2*(e=i)+1,r=2*e+2;if(o<n&&t[o].score>t[i].score&&(i=o),r<n&&t[r].score>t[i].score&&(i=r),i!==e){const n=t[e];t[e]=t[i],t[i]=n}}while(i!==e)}}function fe(e,t){const n=e.matches;t.matches=[],F(n)&&n.forEach(e=>{if(!F(e.indices)||!e.indices.length)return;const{indices:n,value:i}=e,o={indices:n,value:i};e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)})}function ye(e,t){t.score=e.score}const Ce=/\b\w+\b/g;function be({isCaseSensitive:e=!1,ignoreDiacritics:t=!1}={}){return{tokenize(n){return e||(n=n.toLowerCase()),t&&(n=Y(n)),n.match(Ce)||[]}}}function xe(e,t){for(const[n,i]of e.terms){const o=i.filter(e=>e.docIdx!==t),r=i.length-o.length;r>0&&(e.fieldCount-=r,e.df.set(n,(e.df.get(n)||0)-r),0===o.length?(e.terms.delete(n),e.df.delete(n)):e.terms.set(n,o))}}class ve{constructor(e,t,n){this.options={...R,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new N(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;const t=se(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof P))throw new Error("Incorrect 'index' type");if(this._myIndex=t||W(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const e=be({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});this._invertedIndex=function(e,t,n){const i=new Map,o=new Map;let r=0;function s(e,t,s,a){const c=n.tokenize(e);if(!c.length)return;r++;const l=new Map;for(const n of c)l.set(n,(l.get(n)||0)+1);for(const[n,r]of l){const e={docIdx:t,keyIdx:s,subIdx:a,tf:r};let c=i.get(n);c||(c=[],i.set(n,c)),c.push(e),o.set(n,(o.get(n)||0)+1)}}for(const a of e){const{i:e,v:n,$:i}=a;if(void 0===n){if(i)for(let o=0;o<t;o++){const t=i[o];if(t)if(Array.isArray(t))for(const n of t)s(n.v,e,o,n.i??-1);else s(t.v,e,o,-1)}}else s(n,e,-1,-1)}return{terms:i,fieldCount:r,df:o}}(this._myIndex.records,this._myIndex.keys.length,e)}}add(e){if(F(e)&&(this._docs.push(e),this._myIndex.add(e),this._invertedIndex)){const e=this._myIndex.records[this._myIndex.records.length-1],t=be({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics});!function(e,t,n,i){const{i:o,v:r,$:s}=t;function a(t,n,r){const s=i.tokenize(t);if(!s.length)return;e.fieldCount++;const a=new Map;for(const e of s)a.set(e,(a.get(e)||0)+1);for(const[i,c]of a){const t={docIdx:o,keyIdx:n,subIdx:r,tf:c};let s=e.terms.get(i);s||(s=[],e.terms.set(i,s)),s.push(t),e.df.set(i,(e.df.get(i)||0)+1)}}if(void 0===r){if(s)for(let c=0;c<n;c++){const e=s[c];if(e)if(Array.isArray(e))for(const t of e)a(t.v,c,t.i??-1);else a(e.v,c,-1)}}else a(r,-1,-1)}(this._invertedIndex,e,this._myIndex.keys.length,t)}}remove(e=()=>!1){const t=[],n=[];for(let i=0,o=this._docs.length;i<o;i+=1)e(this._docs[i],i)&&(t.push(this._docs[i]),n.push(i));if(n.length){if(this._invertedIndex)for(const e of n)xe(this._invertedIndex,e);for(let e=n.length-1;e>=0;e-=1)this._docs.splice(n[e],1);this._myIndex.removeAll(n)}return t}removeAt(e){this._invertedIndex&&xe(this._invertedIndex,e);const t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),t}getIndex(){return this._myIndex}search(e,t){const{limit:n=-1}=t||{}
1,{includeMatches:i,includeScore:o,shouldSort:r,sortFn:s,ignoreFieldNorm:a}=this.options;if(_(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return k(n)&&n>-1&&(e=e.slice(0,n)),e}let c;if(k(n)&&n>0&&_(e)){const t=new ge(n);_(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:a}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:a}),c=t.extractSorted(s)}else c=_(e)?_(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),function(e,{ignoreFieldNorm:t=R.ignoreFieldNorm}){e.forEach(e=>{e.score=pe(e.matches,{ignoreFieldNorm:t})})}(c,{ignoreFieldNorm:a}),r&&c.sort(s),k(n)&&n>-1&&(c=c.slice(0,n));return function(e,t,{includeMatches:n=R.includeMatches,includeScore:i=R.includeScore}={}){const o=[];return n&&o.push(fe),i&&o.push(ye),e.map(e=>{const{idx:n}=e,i={item:t[n],refIndex:n};return o.length&&o.forEach(t=>{t(e,i)}),i})}(c,this._docs,{includeMatches:i,includeScore:o})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){const i=this._getSearcher(e),{records:o}=this._myIndex,r=t?null:[];return o.forEach(({v:e,i:o,n:s})=>{if(!F(e))return;const{isMatch:a,score:c,indices:l}=i.searchIn(e);if(a){const i={item:e,idx:o,matches:[{score:c,value:e,norm:s,indices:l}]};t?(i.score=pe(i.matches,{ignoreFieldNorm:n}),t.shouldInsert(i.score)&&t.insert(i)):r.push(i)}}),r}_searchLogical(e){const t=me(e,this.options),n=(e,t,i)=>{if(!("children"in e)){const{keyId:n,searcher:o}=e;let r;return null===n?(r=[],this._myIndex.keys.forEach((e,n)=>{r.push(...this._findMatches({key:e,value:t[n],searcher:o}))})):r=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o}),r&&r.length?[{idx:i,item:t,matches:r}]:[]}const{children:o,operator:r}=e,s=[];for(let a=0,c=o.length;a<c;a+=1){const e=o[a],c=n(e,t,i);if(c.length)s.push(...c);else if(r===ae)return[]}return s},i=this._myIndex.records,o=new Map,r=[];return i.forEach(({$:e,i:i})=>{if(F(e)){const s=n(t,e,i);s.length&&(o.has(i)||(o.set(i,{idx:i,item:e,matches:[]}),r.push(o.get(i))),s.forEach(({matches:e})=>{o.get(i).matches.push(...e)}))}}),r}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){const i=this._getSearcher(e),{keys:o,records:r}=this._myIndex,s=t?null:[];return r.forEach(({$:e,i:r})=>{if(!F(e))return;const a=[];let c=!1,l=!1;if(o.forEach((t,n)=>{const o=this._findMatches({key:t,value:e[n],searcher:i});o.length?(a.push(...o),o[0].hasInverse&&(l=!0)):c=!0}),(!l||!c)&&a.length){const i={idx:r,item:e,matches:a};t?(i.score=pe(i.matches,{ignoreFieldNorm:n}),t.shouldInsert(i.score)&&t.insert(i)):s.push(i)}}),s}_findMatches({key:e,value:t,searcher:n}){if(!F(t))return[];const i=[];if(A(t))t.forEach(({v:t,i:o,n:r})=>{if(!F(t))return;const{isMatch:s,score:a,indices:c,hasInverse:l}=n.searchIn(t);s&&i.push({score:a,key:e,value:t,idx:o,norm:r,indices:c,hasInverse:l})});else{const{v:o,n:r}=t,{isMatch:s,score:a,indices:c,hasInverse:l}=n.searchIn(o);s&&i.push({score:a,key:e,value:o,norm:r,indices:c,hasInverse:l})}return i}}class Ee{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=be({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics});const n=this.analyzer.tokenize(e),i=t._invertedIndex,{df:o,fieldCount:r}=i;this.termSearchers=[],this.idfWeights=[];for(const s of n){this.termSearchers.push(new J(s,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));const e=o.get(s)||0,n=Math.log(1+(r-e+.5)/(e+.5));this.idfWeights.push(n)}}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};const t=[];let n=0,i=0,o=0;for(let a=0;a<this.termSearchers.length;a++){const r=this.termSearchers[a].searchIn(e),s=this.idfWeights[a];i+=s,r.isMatch&&(o++,n+=s*(1-r.score),r.indices&&t.push(...r.indices))}if(0===o)return{isMatch:!1,score:1};const r=i>0?1-n/i:0,s={isMatch:!0,score:Math.max(.001,r)};return this.options.includeMatches&&t.length&&(s.indices=H(t)),s}}ve.version="7.3.0",ve.createIndex=W,ve.parseIndex=function(e,{getFn:t=R.getFn,fieldNormWeight:n=R.fieldNormWeight}={}){const{keys:i,records:o}=e,r=new P({getFn:t,fieldNormWeight:n});return r.setKeys(i),r.setIndexRecords(o),r},ve.config=R,ve.match=function(e,t,n){return se(e,{...R,...n}).searchIn(t)},ve.parseQuery=me,re(ie),re(Ee),ve.use=function(...e){e.forEach(e
1=>re(e))};var Ae=n(66858),we=n(90650),_e=n(15659);const ke=c.default.div.withConfig({displayName:"search__SearchContainer",componentId:"sc-1j49ock-0"})(["position:relative;display:flex;flex-direction:column;width:100%;margin:0.5rem 0;"]),Se=c.default.div.withConfig({displayName:"search__InputContainer",componentId:"sc-1j49ock-1"})(["border:1px solid ",";padding:0.6rem;border-radius:0.5rem;display:flex;background-color:",";&:hover{border:1px solid ",";transition:all 0.5s ease-in-out;}> svg{margin-right:0.5rem;}> input{width:100%;border:none;&:focus-visible{outline:none;}}"],e=>e.$isActive?e.theme.secondary700:e.theme.background100,e=>e.disabled?e.theme.background50:"white",e=>e.disabled?e.theme.background100:e.theme.secondary700),Ie=c.default.div.withConfig({displayName:"search__MultiSelectContainer",componentId:"sc-1j49ock-2"})(["position:relative;border:1px solid ",";padding:0.6rem;border-radius:0.5rem;display:flex;align-items:center;background:white;overflow:hidden;&:hover{border:1px solid ",";transition:all 0.5s ease-in-out;}> svg{margin-right:0.5rem;}> input{width:100%;border:none;&:focus-visible{outline:none;}}"],e=>e.$isActive?e.theme.secondary700:e.theme.background100,e=>e.theme.secondary700),Fe=c.default.input.withConfig({displayName:"search__Input",componentId:"sc-1j49ock-3"})(["background-color:",";cursor:",";"],e=>e.disabled?e.theme.background50:"white",e=>e.disabled?"not-allowed":"text"),Me=c.default.input.withConfig({displayName:"search__MultiSelectInput",componentId:"sc-1j49ock-4"})([""]),De=c.default.div.withConfig({displayName:"search__MultiSelectOptions",componentId:"sc-1j49ock-5"})(["display:flex;min-width:max-content;background:",";color:",";margin:2px;padding:2px 2px 2px 8px;border-radius:2px;align-items:center;span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:10ch;min-width:auto;}"],e=>e.theme.secondary900,e=>e.theme.background50),Be=c.default.div.withConfig({displayName:"search__MultiSelectIconContainer",componentId:"sc-1j49ock-6"})(["max-width:20px;max-height:20px;margin-left:4px;svg{height:20px;width:20px;cursor:pointer;z-index:2;}"]),Ne=c.default.div.withConfig({displayName:"search__OptionsContainer",componentId:"sc-1j49ock-7"})(["position:absolute;top:3.5rem;left:0;width:100%;border-left:1px solid ",";border-right:1px solid ",";border-bottom:1px solid ",";padding:1rem 0.6rem;background:white;border-radius:0 0 0.5rem 0.5rem;z-index:10;max-height:200px;overflow-y:scroll;"],e=>e.theme.secondary700,e=>e.theme.secondary700,e=>e.theme.secondary700),Le=c.default.div.withConfig({displayName:"search__OptionsList",componentId:"sc-1j49ock-8"})([""]),$e=c.default.div.withConfig({displayName:"search__OptionsItem",componentId:"sc-1j49ock-9"})(["padding:0.5rem;&:hover{cursor:pointer;color:",";}"],e=>e.theme.secondary700),ze=c.default.div.withConfig({displayName:"search__NoResult",componentId:"sc-1j49ock-10"})(["color:",";display:flex;align-items:center;"],e=>e.theme.background50),je=c.default.div.withConfig({displayName:"search__IconContainer",componentId:"sc-1j49ock-11"})(["position:absolute;right:0;top:0;width:34px;height:100%;display:flex;align-items:center;svg{height:100%;width:100%;padding:0 5px;cursor:pointer;z-index:1;background-color:white;}"]),Re=c.default.div.withConfig({displayName:"search__Hint",componentId:"sc-1j49ock-12"})(["font-size:12px;color:",";"],e=>e.theme.background100),Oe=c.default.div.withConfig({displayName:"search__Suggestions",componentId:"sc-1j49ock-13"})(["margin:8px 0 24px;"]),Pe=c.default.span.withConfig({displayName:"search__SuggestionItem",componentId:"sc-1j49ock-14"})(["color:",";font-weight:600;display:inline;cursor:pointer;"],e=>e.theme.secondary700),We=c.default.div.withConfig({displayName:"search__CreatableMessage",componentId:"sc-1j49ock-15"})(["padding 24px;display:flex;flex-direction:column;align-items:center;p{margin-top:0;}"]),qe=c.default.div.withConfig({displayName:"search__Error",componentId:"sc-1j49ock-16"})(["color:",";font-size:12px;"],e=>e.theme.alert200),Te=()=>null;var Ue=({id:e,label:t="Search",options:n,params:o=["search"],placeholder:r="Search",renderNoResult:s="No results",focusFunctions:a=Te,onChange:c=Te,onBlur:l=Te,CustomOptions:h,hint:d,suggestions:m,getSelector:p=Te,multiSelect:f=!1,noResultFunctions:y=Te,createOptions:C=!1,creatableMessage:b,creatableButtonText:x="Click to add",error:v="",disabled:E=!1,iconName:A="search"})=>{const w=(0,i.useRef)(null),_=(0,i.useRef)(null),k=(0,i.useRef)(null),S=(0,i.useRef)(null),I=(0,i.useRef)(null),F=(0,i.useRef)(null),M=(0,i.useRef)(null),{0:D,1:B}=(0,i.useState)(!1),{0:N,1:L}=(0,i.useState)([]),{0:$,1:z}=(0,i.useState)(""),{0:j,1:R}=(0,i.useState)({}),{0:O,1:P}=(0,i.useState)([]),{0:W,1:q}=(0,i.useState)([]),T=()=>{a(),w.current&&w.current.focus(),S.current&&S.current.focus()},U=e=>{if(Object.keys(j).length>0){const t={label:e.target.value,value:e.target.value,search:e.target.value};q(n=>n.reduce((n,i)=>((i.value===e.target.value.substring(0,e.target.value.length-1)||i.value.substring(0,i.value.length-1)===e.target.value)&&n.push(t),n),[])),R(t)}B(!0),z(e.target.value),c(N[0]||null)},H=()=>{w.current&&w.current.blur(),S.current&&S.current.blur(),M.current=null};(0,i.useEffect)(()=>{f?p(O||[]):(j&&p(j),j||p({}))},[j,O,p,f]);const K=W.length>0&&C?[].concat((0,g.A)(n),(0,g.A)(W)):n,Q=e=>{const t=new ve(K,{threshold:.1,distance:100,ignoreLocation:!0,findAllMatches:!0,includeScore:!0,shouldSort:!0,fieldNormWeight:3,keys:o,useExtendedSearch:!0}).search(e);return""===e&&f&&O.length>0?K.filter(e=>O.every(t=>t.label!==e.label)):f&&O.length>0?(n=t.map(e=>e.item).filter(e=>O.every(t=>t.label!==e.label)),(0,g.A)(new Set(n))):""===e?K:t.map(e=>e.item);var n},Y=e=>w.current&&w.current.contains(e.target)||k.current&&k.current.contains(e.target)||S.current&&S.current.contains(e.target)||F.current&&F.current.contains(e.target)?(B(!D),l(j===M.current?j:M.current)):_.current&&!_.current.contains(e.target)?(B(!1),z(""),R({}),l(j===M.current?j:M.current)):null;return(0,i.useEffect)(()=>(document.addEventListener("click",Y,!0),()=>{document.removeEventListener("click",Y,!0)})),(0,i.useEffect)(()=>{L(Q($)),$&&!j&&B(!0)},[$,n,j]),(0,i.useEffect)(()=>{D&&0===N.length&&y($)},[D,N,y,$]),i.createElement(ke,null,i.createElement(we.A,{htmlFor:e},t),!f&&i.createElement(Se,{$isActive:D,disabled:E},i.createElement(_e.A,{name:A}),i.createElement(Fe,{"data-testid":`search-input-${e}`,type:"text",placeholder:r,ref:w,id:e,onFocus:T,onChange:U,onBlur:H,value:$,disabled:E})),f&&i.createElement(Ie,{$isActive:D},i.createElement(_e.A,{name:"search"}),O.length>0&&O.map(e=>i.createElement(De,{key:e.value},i.createElement("span",null,e.label),i.createElement(Be,{ref:I,"data-testid":"focus-search-input",onClick:()=>(e=>{const t=O.filter(t=>t.label!==e.label);P(t);const n=[].concat((0,g.A)(N),[e]);L(n.sort((e,t)=>
1e.label>t.label?1:-1))})(e)},i.createElement(u.A,{name:"x",color:"#fff"})))),i.createElement(Me,{"data-testid":`search-input-${e}`,type:"text",id:e,placeholder:0===O.length&&$.length<1?r:null,onFocus:T,onBlur:H,onChange:U,ref:S,value:$}),i.createElement(je,{ref:F,"data-testid":"focus-search-input",onClick:()=>T()},i.createElement(u.A,{name:"chevron-down",color:"#007faa"}))),D&&i.createElement(Ne,{ref:_},i.createElement(Le,null,N.length>0?N.map(e=>h?i.createElement(h,{key:e.value,value:e.value,label:e.label}):i.createElement($e,{key:e.value,onClick:()=>(e=>{f&&(L(N.filter(t=>t.label!==e.label)),P([].concat((0,g.A)(O),[e])),z(""),B(!1)),f||(R(e,M.current=e),z(e.label),B(!1),l(M.current))})(e)},e.label)):null,0===N.length&&!C&&i.createElement(ze,{"data-testid":"no-result"},s),0===N.length&&C&&i.createElement(We,null,i.createElement("p",null,b),i.createElement(Ae.A,{onClick:()=>{q([].concat((0,g.A)(W),[{label:$,value:$,search:$}])),R({label:$,value:$,search:$}),M.current={label:$,value:$,search:$},B(!1),l(j===M.current?j:M.current)}},x)))),""!==v&&!D&&i.createElement(qe,{"data-testid":"error-message"},v),d&&i.createElement(Re,null,d),m&&i.createElement(Oe,null,"Popular:"," ",m.map((e,t)=>i.createElement(Pe,{key:e,"data-testid":e,onClick:()=>(e=>{B(!0),z(e)})(e)},t<m.length-1?e.concat(", "):e))))};const He=c.default.div.withConfig({displayName:"form__Container",componentId:"sc-10scdqy-0"})(["max-width:",";margin:0 auto;padding:"," ",";"],e=>e.theme.maxWidthXxsmall,e=>e.theme.paddingSmall,e=>e.theme.minimumPadding),Ke=c.default.div.withConfig({displayName:"form__Row",componentId:"sc-10scdqy-1"})(["margin-bottom:1em;"]),Qe=c.default.h2.withConfig({displayName:"form__H2",componentId:"sc-10scdqy-2"})(["font-size:",";font-weight:600;text-align:center;"],e=>e.theme.fontSizeXmedium),Ye=(0,c.default)(f.A).withConfig({displayName:"form__LinkButton",componentId:"sc-10scdqy-3"})(["margin:0 auto;"]),Je=c.default.div.withConfig({displayName:"form__CheckboxGroup",componentId:"sc-10scdqy-4"})(["display:flex;align-items:center;justify-content:space-around;"]),Ge=c.default.div.withConfig({displayName:"form__CourseTypeContainer",componentId:"sc-10scdqy-5"})(["height:110px;&& > div{margin:0;}"]),Xe=(0,c.default)(v).withConfig({displayName:"form__CourseTypeCheckbox",componentId:"sc-10scdqy-6"})(["font-size:",";font-weight:600;margin:0 20px;"],e=>e.theme.fontSizeXmedium),Ve=(0,c.default)(v).withConfig({displayName:"form__PrivacyPolicyCheckbox",componentId:"sc-10scdqy-7"})(["font-size:",";a{color:",";font-weight:600;text-decoration:",";}"],e=>e.theme.fontSizeSmall,e=>e.theme.secondary700,e=>e.theme.footerLinkTextDecoration),Ze=c.default.div.withConfig({displayName:"form__Banner",componentId:"sc-10scdqy-8"})(["background:",";width:100%;text-align:center;border-radius:1em;padding:16px 16px;position:relative;p{margin:0;font-size:16px;line-height:20px;color:",";}p:nth-child(1),p:nth-child(2){font-size:18px;font-weight:bold;line-height:24px;margin-bottom:4px;}"],e=>e.theme.accent500,e=>e.theme.white),et=c.default.div.withConfig({displayName:"form__IconContainer",componentId:"sc-10scdqy-9"})(["position:absolute;right:1rem;top:0.5rem;color:",";cursor:pointer;width:12px;height:12px;"],e=>e.theme.white),tt="Please fill this in",nt=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/i,it=/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/i,ot=e=>e&&""!==String(e).trim()?"":tt,rt="oncampus",st="online";var at=({countries:e,onSubmittedForm:t,schools:n,archivedSchools:o})=>{const{0:r,1:s}=(0,i.useState)(null),{0:a,1:c}=(0,i.useState)(""),{0:u,1:h}=(0,i.useState)([]),{0:d,1:m}=(0,i.useState)(null),{0:p,1:f}=(0,i.useState)(""),{0:C,1:b}=(0,i.useState)(""),{0:x,1:v}=(0,i.useState)(rt),{0:A,1:w}=(0,i.useState)(""),{0:_,1:k}=(0,i.useState)(null),{0:S,1:I}=(0,i.useState)(!1),{0:F,1:M}=(0,i.useState)(!1),{0:D,1:B}=(0,i.useState)(""),{0:N,1:L}=(0,i.useState)(""),{0:$,1:z}=(0,i.useState)(""),{0:j,1:R}=(0,i.useState)(""),{0:O,1:P}=(0,i.useState)(""),{0:W,1:q}=(0,i.useState)(""),T=(0,i.useCallback)(e=>{var t;h((t=e.courses)?t.map(e=>({label:e.courseName,value:e.guid,search:e.courseName.toLowerCase(),studyField:e.studyField})):[])},[]),U=(0,i.useCallback)(e=>{m(e.label||null)},[]),H=e=>{const{id:t}=e.target;v(t),w(""),k(null),z(""),R("")};(0,i.useEffect)(()=>{"object"!=typeof r&&B(ot(r))},[r]),(0,i.useEffect)(()=>{"object"!=typeof d&&null!==d&&L(ot(d))},[d]),(0,i.useEffect)(()=>{"string"==typeof _&&R(ot(_))},[_]);return i.createElement(He,null,i.createElement(Ke,null,i.createElement(Qe,null,"Course details")),i.createElement(Ke,null,i.createElement(Ue,{id:"school-name",label:"Name of school *",placeholder:"Type the name of your preferred school",options:[].concat((0,g.A)(n),(0,g.A)(o)),params:["universityName","schoolName","schoolType","search","acronym"],hint:"You can use acronyms, eg. UCLA",onBlur:e=>{e&&(s(e.label),n.some(t=>
1t.label===e.label)?(w(e.value),M(!0)):M(!1),e.guid?c(e.guid):c("new_school")),null===e&&(s(""),c(""),h([]),M(!1))},getSelector:T,createOptions:!0,creatableMessage:"This school doesn't seem to be on our list.",error:D})),i.createElement(Ke,null,F&&i.createElement(Ze,{"data-testid":"school-banner"},i.createElement(et,{onClick:()=>{M(!1)},"data-testid":"dismiss-banner-button"},"x"),i.createElement(l.Link,{to:`${A}`,"data-testid":"school-gatsby-link"},i.createElement("p",null,"Good news!"),i.createElement("p",null,"We already support courses at this school."),i.createElement("p",null,"Click here to see our full list of supported schools at ",r)))),i.createElement(Ke,null,i.createElement(Ue,{id:"course-name",label:"Name of course *",placeholder:"Please enter the course name",options:u,getSelector:U,onBlur:e=>{e&&m(e.label),null===e&&m("")},params:["label","search","studyField"],disabled:null===r||""===r,createOptions:!0,creatableMessage:"This course doesn't seem to be on our list.",error:N})),i.createElement(Ke,null,i.createElement(Je,null,i.createElement(Xe,{checkboxId:rt,isChecked:x===rt,handleChange:H},"On campus"),i.createElement(Xe,{checkboxId:st,isChecked:x===st,handleChange:H},"Online"))),i.createElement(Ke,null,i.createElement(Ge,null,x===rt?i.createElement(Ue,{id:"country",label:"Where is your campus? *",placeholder:"Choose a country",options:e,onBlur:e=>{e&&k(e.value),null===e&&k("")},error:j}):i.createElement(y.A,{label:"Can you share a direct link to the course? *",id:"link-course",placeholder:"Course URL",onChange:e=>w(e.target.value),onBlur:()=>{var e;x===st&&z((e=A)&&""!==e.trim()?nt.test(e)?"":"Hmm, that URL looks funny, you sure you got it right?":tt)},value:A,error:$,icon:"school"}))),i.createElement(Ke,null,i.createElement(Qe,null,"Your details")),i.createElement(Ke,null,i.createElement(y.A,{label:"Email address *",id:"email-address",placeholder:"Please enter your email address",onChange:e=>f(e.target.value),onBlur:()=>{var e;P((e=p)&&""!==e.trim()?it.test(e)?"":"Please supply a valid email address":tt)},value:p,error:O,icon:"user"})),i.createElement(Ke,null,i.createElement(y.A,{label:"Preferred name *",id:"preferred-name",placeholder:"Please enter your name",onChange:e=>b(e.target.value),onBlur:()=>{q(ot(C))},value:C,error:W,icon:"user"})),i.createElement(Ke,null,i.createElement(Ve,{checkboxId:"privacy-policy",isChecked:S,handleChange:e=>{const{checked:t}=e.target;I(t)},alignStart:!0},"Opt in to be the first to know about our community benefits, events, promotions, and more. You can unsubscribe any time and by signing up you agree to our ",i.createElement("a",{href:"/legal/privacy-policy/"},"Privacy Policy"),".")),i.createElement(Ke,null,i.createElement(Ye,{as:"button",disabled:(()=>{const e=(0,E.Im)(r)||(0,E.Im)(d)||(0,E.Im)(_)&&x===rt||(0,E.Im)(p)||(0,E.Im)(C)||(0,E.Im)(A)&&x===st,t=!((0,E.Im)(D)&&(0,E.Im)(N)&&(0,E.Im)(j)&&(0,E.Im)(O)&&(0,E.Im)(W)&&(0,E.Im)($));return e||t})(),onClick:()=>{const e={first_name:C,primary_email:p,opt_in:S,host:"Prodigy Finance Website",activity:"new_school"===a?"School Request: Course + Country Supported, Not School":o.some(e=>e.guid===a)?"School Request: School No Longer Supported":n.some(e=>e.guid===a)?"School Request: School Already Supported":"School Request: Default",targets_attributes:[{country_of_school:_||"",course_url:A,school:r,school_guid:a,course:d}]};t(e,{"Course Name":d,"Course Location":x,"School GUID":a,"School Name":r,"School Location":_||"Empty"})}},"Submit")))},ct=n(43325);const lt=c.default.div.withConfig({displayName:"submission-success__Container",componentId:"sc-xletto-0"})(["text-align:center;padding:",";margin:auto;margin-bottom:2em;max-width:",";"],e=>e.theme.minimumPadding,e=>e.theme.maxWidthSmall),ut=c.default.div.withConfig({displayName:"submission-success__Logo",componentId:"sc-xletto-1"})(["margin-bottom:1em;svg{height:64px;width:64px;}"]),ht=(0,c.default)(l.Link).withConfig({displayName:"submission-success__SearchLink",componentId:"sc-xletto-2"})(["font-weight:600;font-size:1em;color:",";:visited{color:",";}"],e=>e.theme.secondary700,e=>e.theme.secondary700);var dt=e=>{const{values:t}=e;return(0,ct.sx)("Click - Submit School Request",t),i.createElement(lt,null,i.createElement(ut,null,i.createElement(u.A,{name:"green-tick"})),i.createElement("h1",null,"Thanks! We've got your submission."),i.createElement("p",null,"Youâre helping us focus on the right schools as we expand our loans across the world. Keep up to date with what schools and courses we support by using our ",i.createElement(ht,{to:"/eligibility-schools/"},"search tool"),"."))};var mt=()=>{const{countries:e}=(0,l.useStaticQuery)("1674220073");let t=[];return e.edges.length>0&&(t=e.edges.map(({node:e})=>{const{name:t,code3:n}=e;return{label:t,search:t.toLowerCase(),value:n}})),{countriesData:t}},pt=n(77387);let gt=function(e){function t(){return e.call(this,"https://api.prodigyfinance.com/v1/")||this}return(0,pt.A)(t,e),t}(n(50856).A);var ft=n(50787);var yt=()=>{const{schools:e,allArchivedSchools:t}=(0,l.useStaticQuery)("1529255090");let n,i;const o=[],{allSchools:r}=e,{archivedSchools:s}=t;
1r.forEach(e=>e.courses.forEach(e=>o.push(e)));const a=e=>e.map(e=>{var t;const n=e.university?`${e.university.name}, `:"",i=e.schoolName?`${e.schoolName}`:"",o=e.schoolType?` (${e.schoolType})`:"",r=`${n}${i}${o}`,s=e.guid?`${e.guid}`:"",{campuses:a,courses:c,schoolMetaDatum:l}=e,{schoolSlug:u}=l||{},h=l?`/${u}/`:`/eligibility-schools/${s}/`,d=null==e||null===(t=e.university)||void 0===t?void 0:t.acronym;return{label:r,search:r.toLowerCase(),value:h,guid:s,campuses:a||[],courses:c||[],universityName:n.replace(/,/g,"").trim(),schoolName:i,schoolType:o.replace(/[()]/g,"").toLowerCase().trim(),acronym:d}});r.length>0&&(n=a(r)),s&&s.length>0&&(i=a(s));const c=((e,t)=>{const n={},i=[];return e.forEach(e=>{if(!n[e[t]]){var o,r;n[e[t]]=!0;const s=e.studyField,a=null===(o=e.studyField)||void 0===o?void 0:o.toLowerCase(),c=null===(r=e.studyField)||void 0===r?void 0:r.toLowerCase(),{studyField:l}=e;i.push({studyField:l,label:s,value:a,search:c})}}),i})(o,"studyField");return c.sort((e,t)=>e.label>t.label?1:-1),{schoolsData:n,archivedSchoolsData:i,uniqueCourses:c}};const Ct=(new Date).getFullYear();var bt=()=>{const{schoolsData:e,archivedSchoolsData:t}=yt(),{countriesData:n}=mt(),{0:r,1:a}=(0,i.useState)(!1),{0:c,1:l}=(0,i.useState)(!1),{0:u,1:h}=(0,i.useState)({});return i.createElement(i.Fragment,null,r&&i.createElement(ft.A,null),c&&!r&&i.createElement(dt,{values:u}),!r&&!c&&i.createElement(i.Fragment,null,i.createElement(p,null),i.createElement(at,{countries:n,onSubmittedForm:async(e,t)=>{a(!0);try{const n=new gt;await n.post("leads",e),l(!0),h(t)}catch(n){s().notify(n),await(0,o.navigate)("/500/")}a(!1)},schools:e,archivedSchools:t})))};const xt=({location:e})=>i.createElement(a.A,{title:`Request your school | ${Ct}`,description:"Unable to find your school from our list of supported schools? Raise a request for your school, and we will initiate the process of getting them onboard.",pathname:e.pathname})},48548:function(e,t,n){n.d(t,{A:function(){return l}});var i=n(58168),o=n(45458),r=n(96540),s=n(55268),a=n.p+"static/logo-0efa98b46815ba34e159244a2550ebe4.png";const c={"@type":"Organization",name:"Prodigy Finance",url:"https://prodigyfinance.com/",logo:"https://a.storyblok.com/f/268942/1200x630/8740ab37e1/logo_1200x630.png",sameAs:["https://www.linkedin.com/company/prodigy-finance","https://facebook.com/prodigyfinance","https://x.com/prodigyfinance","https://www.instagram.com/prodigyfinance","https://www.youtube.com/user/ProdigyFinance","https://www.tiktok.com/@prodigy_finance"],contactPoint:{"@type":"ContactPoint",email:"[email protected]",telephone:"+44 20 3900 3535",contactType:"customer support"}};var l=({description:e="",meta:t=[],title:n,pathname:l="",structuredData:u=[]})=>{const{site:h}=(0,s.useStaticQuery)("63159454"),d=e||h.siteMetadata.description,m=`https://prodigyfinance.com${l}`,p=Array.isArray(u)?u:[u],g=[{"@type":"WebSite",name:"Prodigy Finance",url:"https://prodigyfinance.com/",potentialAction:{"@type":"SearchAction",target:"https://prodigyfinance.com/search?q={search_term_string}","query-input":"required name=search_term_string"},mainEntity:{"@type":"CollectionPage",name:"International Student Loans",url:"https://prodigyfinance.com/international-student-loans"},hasPart:[{"@type":"WebPage",name:"Student Loans",url:"https://prodigyfinance.com/student-loans/"},{"@type":"WebPage",name:"Scholarships",url:"https://prodigyfinance.com/scholarships/"},{"@type":"WebPage",name:"Contact Us",url:"https://prodigyfinance.com/contact-us"},{"@type":"WebPage",name:"Study in UK",url:"https://prodigyfinance.com/united-kingdom/"},{"@type":"WebPage",name:"Study in US",url:"https://prodigyfinance.com/united-states/"}]},c].concat((0,o.A)(p.filter(Boolean)));return r.createElement(r.Fragment,null,r.createElement("title",null,n),r.createElement("meta",{name:"description",content:d}),r.createElement("meta",{property:"og:title",content:n}),r.createElement("meta",{property:"og:description",content:d}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"og:image",content:"https://a.storyblok.com/f/268942/1200x630/8740ab37e1/logo_1200x630.png"}),t.map(e=>r.createElement("meta",(0,i.A)({key:e.name||e.property},e))),r.createElement("link",{rel:"icon",href:a}),r.createElement("link",{rel:"canonical",href:m}),r.createElement("link",{rel:"alternate",href:m,hrefLang:"en-in"}),r.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"https://schema.org","@graph":g})))}},50787:function(e,t,n){var i=n(96540),o=n(882);const r=o.default.p.withConfig({displayName:"loading__LoaderText",componentId:"sc-1vy4i68-0"})(["font-size:0.9em;text-align:center;"]),s=o.default.div.withConfig({displayName:"loading__Lotus",componentId:"sc-1vy4i68-1"})(["display:flex;justify-content:center;align-items:center;height:80vh;svg{height:93px;}"]);t.A=({text:e})=>{let t="";
1return e&&(t=i.createElement(r,null,e)),i.createElement(s,null,i.createElement("svg",{width:"120",height:"93",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M108.021 70.728c7.839-10.11 11.98-22.423 11.979-35.613a64.406 64.406 0 00-2.23-16.686l-.246-.909-.932-.018a55.32 55.32 0 00-1.332-.015c-7.681 0-15.088 1.346-22.035 4.002C91.486 16.182 89 11.092 85.823 6.337A65.16 65.16 0 0081.61.719L81.008 0l-.853.38c-7.766 3.458-14.538 8.246-20.15 14.244a60.582 60.582 0 00-3.016-3l-.123-.115a60.937 60.937 0 00-5.776-4.697l-.187-.137A63.75 63.75 0 0039.857.38L39.003 0 38.4.72c-5.25 6.267-9.153 13.249-11.616 20.769a58.881 58.881 0 00-4.468-1.507l-.14-.14h-.345a61.691 61.691 0 00-4.643-1.126l-.1-.099h-.374l-.087-.012A63.271 63.271 0 003.42 17.502l-.932.018-.247.909c-5.041 18.743-1.488 37.806 9.75 52.3 5.372 6.93 12.122 12.395 20.06 16.236l.256.124h.003c7.547 3.602 16.053 5.607 24.711 5.83l-.004.007h.277c.898.02 1.783.02 2.71 0h.03a65.672 65.672 0 002.767-.002h.214l-.004-.004c18.054-.466 34.386-8.494 45.01-22.192zm-55.429 7.154a58.238 58.238 0 01-3.973-11.07c-2.074-8.42-2.154-16.939-.235-25.319.092-.406.193-.816.299-1.232.262.323.522.647.773.97a54.105 54.105 0 013.585 5.241l4.481 9.424c.485 1.34.915 2.689 1.283 4.01l1.197 4.316 1.203-4.314c1.913-6.855 5.058-13.14 9.351-18.676.25-.324.509-.648.772-.97a54.303 54.303 0 011.671 13.378c0 12.788-4.604 25.533-12.994 36.052a61.324 61.324 0 01-7.413-11.81zm-26.54-53.987a57.89 57.89 0 00-2.19 15.712c.004 2.26.14 4.54.41 6.78a56.881 56.881 0 001.03 5.882C28.997 68.413 39.474 82.004 54.4 90.28c-7.456-.525-14.72-2.42-21.225-5.56l-.02-.009-.271-.135h-.01c-7.478-3.666-13.842-8.844-18.919-15.394C3.39 55.551-.069 37.677 4.411 20.001c3.93-.012 7.849.333 11.647 1.053l.389.076c1.537.303 3.07.67 4.562 1.09l.437.124.005.001c1.55.45 3.093.97 4.6 1.55zm2.324.954c7.067 3.088 13.228 7.516 18.352 13.158-.28.984-.555 1.97-.774 2.92-2.008 8.77-1.925 17.684.244 26.493a60.739 60.739 0 004.148 11.553c1.517 3.183 3.344 6.24 5.401 9.16-14.371-7.924-24.47-20.946-28.015-36.43a53.915 53.915 0 01-1.374-12.097 55.182 55.182 0 012.018-14.757zm29.95-8.355c-4.789 5.569-8.39 11.843-10.733 18.691l-.035-.04-.015.05c-5.218-5.448-11.407-9.734-18.44-12.766 2.265-6.983 5.827-13.488 10.603-19.36a61.405 61.405 0 019.766 5.664l.168.122a59.07 59.07 0 015.464 4.437l.122.167.129.064a57.874 57.874 0 012.972 2.97zm1.68 1.886c4.789 5.633 8.306 12.015 10.49 18.991a57.564 57.564 0 00-1.905 2.314 56.267 56.267 0 00-8.586 15.74l-.139-.39a56.806 56.806 0 00-4.691-9.863 56.135 56.135 0 00-3.756-5.489 57.665 57.665 0 00-1.903-2.31c2.181-6.975 5.698-13.36 10.49-18.993zm30.902 4.05c-7.023 3.026-13.203 7.305-18.417 12.74l-.013-.052-.059.067c-2.344-6.848-5.946-13.122-10.735-18.691 5.203-5.6 11.458-10.11 18.62-13.426a62.48 62.48 0 013.451 4.675c3.08 4.609 5.482 9.545 7.153 14.688zm2.746 17.177a54.47 54.47 0 01-1.374 12.098c-3.542 15.462-13.622 28.472-27.965 36.399 7.24-10.312 11.177-22.362 11.179-34.463a57.019 57.019 0 00-1.437-12.713 59.706 59.706 0 00-.764-2.929c5.122-5.638 11.277-10.063 18.343-13.148a55.287 55.287 0 012.018 14.756zm23.852-4.492c.003 12.623-3.957 24.402-11.45 34.066C96.418 81.61 81.85 89.158 65.604 90.282 80.53 82.007 91.012 68.414 94.71 52.27a56.895 56.895 0 001.435-12.662 57.837 57.837 0 00-2.187-15.712C100.665 21.311 107.828 20 115.26 20l.341.001a61.701 61.701 0 011.905 15.114z",fill:"#00B1EB",fillRule:"evenodd"})),t)}},62943:function(e,t,n){n.d(t,{A0:function(){return o},CP:function(){return c},KA:function(){return s},oO:function(){return a},y:function(){return r}});var i=n(882);const o=i.default.div.withConfig({displayName:"Fields__InputContainer",componentId:"sc-xz0kib-0"})(["display:flex;flex-direction:column;width:100%;margin:0.5rem 0;"]),r=i.default.div.withConfig({displayName:"Fields__InputFieldContainer",componentId:"sc-xz0kib-1"})(["border:1px solid ",";padding:0.6rem;border-radius:0.5rem;display:flex;align-items:center;background:white;min-height:45px;&:hover{border:1px solid ",";transition:all 0.5s ease-in-out;}> input{width:100%;border:none;margin-left:0.25rem;&:focus-visible{outline:none;}}"],({$isActive:e,$isError:t,theme:n})=>e?n.secondary700:t?"#DC6803":n.background100,e=>e.theme.secondary700),s=i.default.div.withConfig({displayName:"Fields__SelectContainer",componentId:"sc-xz0kib-2"})(["position:relative;display:flex;flex-direction:column;width:100%;margin:0.5rem 0;"]),a=i.default.div.withConfig({displayName:"Fields__SelectFieldContainer",componentId:"sc-xz0kib-3"})(["border:1px solid ",";padding:0.6rem 1rem;border-radius:0.5rem;display:flex;align-items:center;background:white;&:hover{border:1px solid ",";transition:all 0.5s ease-in-out;}> input{width:100%;border:none;margin-left:0.25rem;cursor:pointer;&:focus-visible{outline:none;}}"],e=>e.$isActive?e.theme.secondary700:e.theme.background100,e=>e.theme.secondary700),c=i.default.button.withConfig({displayName:"Fields__ClearFieldButton",componentId:"sc-xz0kib-4"})(["display:flex;align-items:center;height:24px;width:24px;border:0;background:transparent;border-radius:100%;padding:0.25rem;&:hover{cursor:pointer;color:white;background:",";}&:disabled{visibility:hidden;width:0;padding:0;}"],e=>e.theme.secondary700)},65463:function(e,t,n){n.d(t,{A:function(){return a}});var i=n(96540),o=n(882),r=n.p+"static/sprite-65d10451060999ec380ccab105699b26.svg";
1const s=o.default.svg.withConfig({displayName:"icon__Container",componentId:"sc-quzebx-0"})(["fill:",";"],e=>e.color?e.color:"black");var a=({name:e,color:t,className:n})=>i.createElement(s,{color:t,className:n},i.createElement("use",{xlinkHref:`${r}#${e}`}))},66858:function(e,t,n){var i=n(882),o=n(35897);const r=(0,i.default)(o.A).withConfig({displayName:"link-secondary__LinkSecondary",componentId:"sc-1ikrdjm-0"})(["line-height:",";color:",";background-color:",";border:",";&:hover,&:focus{color:",";background-color:",";border:",";}"],e=>e.theme.buttonSecondaryLineHeight,e=>e.theme.secondary700,e=>e.theme.white,e=>e.theme.buttonSecondaryBorder,e=>e.theme.white,e=>e.theme.secondary700,e=>e.theme.buttonSecondaryHighlightBorder);t.A=r},87462:function(e,t,n){const i=n(882).default.p.withConfig({displayName:"HelpText",componentId:"sc-1a6oxma-0"})(["font-size:12px;line-height:18px;font-weight:400;margin:0;color:#dc6803;"]);t.A=i},90650:function(e,t,n){const i=n(882).default.label.withConfig({displayName:"Label",componentId:"sc-137jduv-0"})(["font-size:12px;line-height:18px;font-weight:400;color:inherit;& > span{color:#e31c53;}"]);t.A=i}}]);
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.