PageSourceSearch

https://www.northstarbets.ca/no_brand_candy-theme/js/app-out/cashi…est-component.4cebd9d1754abae2249e.chunk.js

js northstarbets.ca collected 2026-10-01 12:33:29 UTC 6,636 bytes, 2 lines download raw bytes

1export const __webpack_id__=1141;export const __webpack_ids__=[1141];export const __webpack_modules__={58979:(e,n,a)=>{a.d(n,{$:()=>r});var s=a(74848),t=a(64659),o=a(40476);const l="ClearInputIcon__icon--3LJ",r=({className:e="",animate:n=!1,onClick:a})=>{const r=(0,t.c3)();return(0,s.jsx)(o.I,{onClick:a,type:"clearInputIcon","aria-label":r("playtech.mobile.system.input.clear.aria-label"),className:`${l} ${e} ${n?"showBounceIn":""}`})}},63658:(e,n,a)=>{a.d(n,{p:()=>N,F:()=>j});var s=a(45932),t=a.n(s),o=a(74848),l=a(96540),r=a(82874),i=a(90952),u=a(64659),c=a(9982),d=a(40476),p=a(5559),b=a(79511),m=a(93362),g=a(56634),y=a(40165);const h={container:"Suggestions__container--1RV",emptyOption:"Suggestions__emptyOption--wea",dropDownWrap:"Suggestions__dropDownWrap--3Ge",dropDownIcon:"Suggestions__dropDownIcon--qRY",focus:"Suggestions__focus--V1Z"},I=({className:e,id:n,suggestionsRef:a,onChange:s,suggestions:t})=>{const[r,i]=(0,l.useState)(!1),u=(0,l.useCallback)((e=>{"Tab"===e.key&&i(!0)}),[]),c=(0,l.useCallback)((()=>{i(!1)}),[]);return(0,o.jsx)("div",{className:(0,b.$z)([(0,b.$I)([h],["container"]),e,r&&h.focus]),children:(0,o.jsxs)("label",{htmlFor:n,children:[(0,o.jsxs)("select",{"aria-label":"suggestions",defaultValue:"",id:n,onChange:s,onBlur:c,onKeyUp:u,ref:a,children:[(0,o.jsx)("option",{value:"",disabled:!0,className:h.emptyOption}),null==t?void 0:t.map((e=>(0,o.jsx)("option",{value:e.value,children:e.label},e.value)))]}),(0,o.jsx)("div",{className:h.dropDownWrap,children:(0,o.jsx)(d.I,{type:"arrowDropdown",className:h.dropDownIcon})})]})})};var v=a(36009),w=a(58979),f=a(16045);const _={container:"Input__container--1dj",innerContainer:"Input__innerContainer--JTU",input:"Input__input--TP-",currencySymbol:"Input__currencySymbol--1en",innerInputContainer:"Input__innerInputContainer--2Ry",withSuggestions:"Input__withSuggestions--1C5",showPasswordIcon:"Input__showPasswordIcon--2wm"};var C=function(e,n){var a={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&n.indexOf(s)<0&&(a[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(s=Object.getOwnPropertySymbols(e);t<s.length;t++)n.indexOf(s[t])<0&&Object.prototype.propertyIsEnumerable.call(e,s[t])&&(a[s[t]]=e[s[t]])}return a};const x=e=>{var n,{className:a,classNames:s,currencySymbol:i,disabled:m,escapeSymbolsRegExp:h,hint:v,id:x,infoTooltip:j,isLabelAsteriskEnabled:N,isPlaceholderAsteriskEnabled:S,label:k,leftIcon:$,meta:O,name:E="",onBlur:R,onChange:P,onFocus:D,onInput:B,onMouseDown:L,placeholder:A="",readOnly:F,rightIcon:T,showPasswordEye:J,suggestions:M,type:U,withClearInputIcon:V=!1,inputRef:W}=e,z=C(e,["className","classNames","currencySymbol","disabled","escapeSymbolsRegExp","hint","id","infoTooltip","isLabelAsteriskEnabled","isPlaceholderAsteriskEnabled","label","leftIcon","meta","name","onBlur","onChange","onFocus","onInput","onMouseDown","placeholder","readOnly","rightIcon","showPasswordEye","suggestions","type","withClearInputIcon","inputRef"]);const G=(0,l.useRef)(x||crypto.randomUUID()),q=(0,l.useRef)(null),H=(0,l.useRef)(null),[K,Y]=(0,l.useState)(!1),Z=(0,u.c3)("playtech.mobile.system.input."),Q=(0,c.GV)(t()("isEnablePasswordSpy")),X=(null==O?void 0:O.submitting)||(null==O?void 0:O.validating)||m,ee=(J||Q)&&"password"===U,ne=W||q,[ae,se]=(0,l.useState)(Boolean(null===(n=ne.current)||void 0===n?void 0:n.value)),te=y.h({readOnly:F,error:null==O?void 0:O.error,disabled:X,active:null==O?void 0:O.active,touched:null==O?void 0:O.touched,submitting:null==O?void 0:O.submitting}),oe=(0,l.useCallback)((()=>{Y(!K)}),[Y,K]),le=z["aria-label"]?`${i||""} ${z["aria-label"]}`:Z("playtech.mobile.system.input.aria-label"),re=(0,l.useMemo)((()=>(e=>{if(!e)return;let n=e;if("string"==typeof e&&e.length)try{n=JSON.parse(e.replaceAll("'",'"'))}catch(e){}try{return n.map((e=>"string"==typeof e||"number"==typeof e?{label:String(e),value:String(e)}:e))}catch(e){}})(M)),[M]),ie=Boolean(null==re?void 0:re.length)&&!X&&!F,ue=(0,l.useCallback)((e=>{var n;null==P||P(e),se(Boolean(null===(n=e.target)||void 0===n?void 0:n.value)),H.current&&(H.current.value=e.target.value)}),[P,se]),ce=(0,l.useCallback)((e=>{if(h)try{e.target.value=e.target.value.replace(new RegExp(h),"")}catch(e){(0,r.Rm)("error",e)}null==B||B(e)}),[h,B]),de=(0,l.useCallback)((e=>{(0,p.wN)(ne.current,e.target.value)}),[ne]),pe=(0,l.useCallback)((()=>{var e;(0,p.wN)(ne.current,""),null===(e=ne.current)||void 0===e||e.focus()}),[ne]);return(0,o.jsxs)("div",{onFocus:D,onBlur:R,className:(0,b.$z)([(0,b.$I)([_,s],["container"]),te,a]),children:[(k||N)&&(0,o.jsx)(g.J,{label:k,id:G.current,readOnly:F,classNames:s,infoTooltip:j,isLabelAsteriskEnabled:N}),(0,o.jsxs)("div",{className:(0,b.$I)([_,s],ie?["innerContainer","withSuggestions"]:["innerContainer"]),children:[(0,o.jsxs)("div",{className:(0,b.$I)([_,s],["innerInputContainer"]),children:[$&&$(),i&&(0,o.jsx)("span",{className:(0,b.$I)([_,s],["currencySymbol"]),children:i}),(0,o.jsx)("input",Object.assign({},z,{name:E,ref:ne,id:G.current,readOnly:F,disabled:X,"aria-label":le,onChange:ue,tabIndex:X||F?-1:0,type:K?"text":U,className:(0,b.$I)([_,s],["input"]),onMouseDown:F?y.w:L,placeholder:`${A}${S?"*":""}`},h?{onInput:ce}:{onInput:B})),V&&ae&&!X&&!F&&(0,o.jsx)(w.$,{onClick:pe,className:null==s?void 0:s.clearInputIcon}),ee&&(K?(0,o.jsx)(d.I,{type:"passwordEyeShow",onClick:oe,disabled:X||F,className:(0,b.$I)([_,s],["showPasswordIcon"]),"aria-label":Z("password.aria-label.hide")}):(0,o.jsx)(d.I,{type:"passwordEyeHide",onClick:oe,disabled:X||F,className:(0,b.$I)([_,s],["showPasswordIcon"]),"aria-label":Z("password.aria-label.show")})),T&&T()]}),re&&ie&&(0,o.jsx)(I,{className:(0,b.$I)([_,s],["suggestions"]),id:`${G.current}
1_suggestions`,onChange:de,suggestions:re,suggestionsRef:H})||null]}),(0,o.jsx)(f.B,{hint:v,meta:O,classNames:s})]})},j=(0,l.memo)(x),N=(0,v.j)()((e=>{var{inputRef:n,meta:a={},name:s}=e,t=C(e,["inputRef","meta","name"]);const r=(0,i.mN)(),u=(0,l.useRef)(!1),c=(0,l.useRef)(null),d=n||c,{active:p=!1,touched:b=!1}=a;return(0,l.useEffect)((()=>{if(!s)return;const e=e=>{e.target===d.current&&(u.current=!0)},n=e=>{e.target!==d.current||p||(u.current?u.current=!1:b?r.blur(s):r.resetFieldState(s))};return document.body.addEventListener("focusin",e),document.body.addEventListener("blur",n,!0),()=>{document.body.removeEventListener("focusin",e),document.body.removeEventListener("blur",n,!0)}}),[p,r,d,s,b]),(0,o.jsx)(x,Object.assign({inputRef:d,meta:a,name:s},t))}));m.p.registerWebContentComponents({Input:j})}};
2//# sourceMappingURL=cashier~games-search~toast-message-preferences~form-test-component.4cebd9d1754abae2249e.chunk.js.map

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.