1(function(){try{var p=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};p.SENTRY_RELEASE={id:"7d2ddbb7df702d1d453561367c6f6960e639ed86"};var b=new p.Error().stack;b&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[b]="fa59b2e9-459f-4707-91b3-ef86e136bce8",p._sentryDebugIdIdentifier="sentry-dbid-fa59b2e9-459f-4707-91b3-ef86e136bce8")}catch{}})(),(function(p,b){try{if(typeof window>"u")return;var E=window,m=E[b]=E[b]||{},A=new Error().stack;A&&(m[A]=p)}catch{}})({service:"chicksgold-ui",version:"7d2ddbb7df702d1d453561367c6f6960e639ed86"},"DD_SOURCE_CODE_CONTEXT"),(self.webpackChunkchicksgold_ui=self.webpackChunkchicksgold_ui||[]).push([[51],{55064:(function(p,b,E){E.d(b,{createVeriffFrame:function(){return st}});var m=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},A=function(e,t){return e.filter(function(r){return r===t})[0]},_=function(e){return Array.isArray(e)?e:[e]},K="data-focus-lock",me="data-focus-lock-disabled",pe="data-no-focus-lock",he="data-autofocus-inside",be=function(){return document&&m(document.querySelectorAll("["+pe+"]")).some(function(e){return e.contains(document.activeElement)})},ge=be,ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ee=function n(e){for(var t=e.length,r=0;r<t;r+=1)for(var o=function(s){if(r!==s&&e[r].contains(e[s]))return{v:n(e.filter(function(l){return l!==e[s]}))}},a=0;a<t;a+=1){var i=o(a);if((typeof i>"u"?"undefined":ye(i))==="object")return i.v}return e},Ie=function n(e){return e.parentNode?n(e.parentNode):e},Fe=function(e){var t=_(e);return t.filter(Boolean).reduce(function(r,o){var a=o.getAttribute(K);return r.push.apply(r,a?Ee(m(Ie(o).querySelectorAll("["+K+'="'+a+'"]:not(['+me+'="disabled"])'))):[o]),r},[])},z=Fe,Te=function(e){return e===document.activeElement},we=function(e){return!!A(m(e.querySelectorAll("iframe")),Te)},Oe=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:z(e).reduce(function(r,o){return r||o.contains(t)||we(o)},!1)},De=Oe,Re=function(e,t){var r=e.tabIndex-t.tabIndex,o=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||o},$=function(e,t,r){return m(e).map(function(o,a){return{node:o,index:a,tabIndex:r&&o.tabIndex===-1?(o.dataset||{}).focusGuard?0:-1:o.tabIndex}}).filter(function(o){return!t||o.tabIndex>=0}).sort(Re)},X=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"],Y=X.join(","),Ae=Y+", [data-focus-guard]",S=function(e,t){return e.reduce(function(r,o){return r.concat(m(o.querySelectorAll(t?Ae:Y)),o.parentNode?m(o.parentNode.querySelectorAll(X.join(","))).filter(function(a){return a===o}):[])},[])},_e=function(e){var t=e.querySelectorAll("["+he+"]");return m(t).map(function(r){return S([r])}).reduce(function(r,o){return r.concat(o)},[])},xe=function(e){return!e||!e.getPropertyValue?!1:e.getPropertyValue("display")==="none"||e.getPropertyValue("visibility")==="hidden"},Ce=function n(e){return!e||e===document||e.nodeType===Node.DOCUMENT_NODE||!xe(window.getComputedStyle(e,null))&&n(e.parentNode)},Ne=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},j=function n(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return t.push(e),e.parentNode&&n(e.parentNode,t),t},k=function(e,t){for(var r=j(e),o=j(t),a=0;a<r.length;a+=1){var i=r[a];if(o.indexOf(i)>=0)return i}return!1},L=function(e){return m(e).filter(function(t){return Ce(t)}).filter(function(t){return Ne(t)})},J=function(e,t){return $(L(S(e,t)),!0,t)},Se=function(e){return $(L(S(e)),!1)},ke=function(e){return L(_e(e))},V=function(e){return e.tagName==="INPUT"&&e.type==="radio"},Z=function(e,t){return t.filter(V).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},Le=function(e){return e[0]&&e.length>1&&V(e[0])&&e[0].name?Z(e[0],e):e[0]},G=function(e,t){return e.length>1&&V(e[t])&&e[t].name?e.indexOf(Z(e[t],e)):t},ee=Le,te,Ve,He=function(e){return function(t){return!!t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},H=function(e){return e&&e.dataset&&e.dataset.focusGuard},F=function(e){return!H(e)},Pe=function(e,t,r,o,a){var i=e.length,u=e[0],s=e[i-1],l=H(r);if(!(e.indexOf(r)>=0)){var c=t.indexOf(r),f=t.indexOf(o||c),d=e.indexOf(o),v=c-f,R=t.indexOf(u),Q=t.indexOf(s),le=G(e,0),ve=G(e,i-1);if(c===-1||d===-1)return e.indexOf(a&&a.length?ee(a):ee(e));if(!v&&d>=0)return d;if(c<=R&&l&&Math.abs(v)>1)return ve;if(c>=R&&l&&Math.abs(v)>1)return le;if(v&&Math.abs(v)>1)return d;if(c<=R)return ve;if(c>Q)return le;if(v)return Math.abs(v)>1?d:(i+d+v)%i}},ne=function(e,t,r){var o=_(e),a=_(t),i=o[0],u=null;
1return a.filter(Boolean).forEach(function(s){u=k(u||s,s)||u,r.filter(Boolean).forEach(function(l){var c=k(i,l);c&&(!u||c.contains(u)?u=c:u=k(c,u))})}),u},Ue=function(e){return e.reduce(function(t,r){return t.concat(ke(r))},[])},Be=function(e,t){var r=new Map;return t.forEach(function(o){return r.set(o.node,o)}),e.map(function(o){return r.get(o)}).filter(Boolean)},lt=function(e){var t=Ve(e).filter(F),r=ne(e,e,t),o=te([r],!0),a=te(t).filter(function(i){var u=i.node;return F(u)}).map(function(i){var u=i.node;return u});return o.map(function(i){var u=i.node,s=i.index;return{node:u,index:s,lockItem:a.indexOf(u)>=0,guard:H(u)}})},Me=function(e,t){var r=document&&document.activeElement,o=z(e).filter(F),a=ne(r||e,e,o),i=J(o).filter(function(f){var d=f.node;return F(d)});if(!(!i[0]&&(i=Se(o).filter(function(f){var d=f.node;return F(d)}),!i[0]))){var u=J([a]).map(function(f){var d=f.node;return d}),s=Be(u,i),l=s.map(function(f){var d=f.node;return d}),c=Pe(l,u,r,t,l.filter(He(Ue(o))));return c===void 0?c:s[c]}},We=Me,qe=function(e){e.focus(),e.contentWindow&&e.contentWindow.focus()},P=0,U=!1,re=(function(n,e){var t=We(n,e);if(!U&&t){if(P>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),U=!0,setTimeout(function(){U=!1},1);return}P++,qe(t.node),P--}});E.dn(re);var Qe=re,B=0,oe=null,Ke=function(){return document&&document.activeElement===document.body},ze=function(){return Ke()||ge()},$e=function(){var e=!1;if(B){var t=B;ze()||(t&&!De(t)&&(e=Qe(t,oe)),oe=document.activeElement)}return e},Xe=function(e){return e.filter(function(t){return t}).slice(-1)[0]},Ye=function(e){B=e,e&&$e()},g=[],x=function(e){return Ye(Xe(g))?(e&&e.preventDefault(),!0):!1},je=function(){document.addEventListener("focusin",x)},Je=function(){document.removeEventListener("focusin",x)},Ze={on:function(e){g.length===0&&je(),g.indexOf(e)<0&&(g.push(e),x())},off:function(e){g=g.filter(function(t){return t!==e}),x(),g.length===0&&Je()}},M=Ze;/** 2 * tua-body-scroll-lock v1.2.1 3 * (c) 2021 Evinma, BuptStEve 4 * @license MIT 5 */var T=function(){return typeof window>"u"},C=function(e){e=e||navigator.userAgent;var t=/(iPad).*OS\s([\d_]+)/.test(e),r=!t&&/(iPhone\sOS)\s([\d_]+)/.test(e),o=/(Android);?[\s/]+([\d.]+)?/.test(e),a=r||t;return{ios:a,android:o}};function Ge(n){if(T())return!1;if(!n)throw new Error("options must be provided");var e=!1,t={get passive(){e=!0}},r=function(){},o="__TUA_BSL_TEST_PASSIVE__";window.addEventListener(o,r,t),window.removeEventListener(o,r,t);var a=n.capture;return e?n:typeof a<"u"?a:!1}var w=0,ae=0,ie=0,O=null,I=!1,y=[],W=Ge({passive:!1}),et=!T()&&"scrollBehavior"in document.documentElement.style,tt=function(){var e=document.body,t=Object.assign({},e.style),r=window.innerWidth-e.clientWidth;return e.style.overflow="hidden",e.style.boxSizing="border-box",e.style.paddingRight="".concat(r,"px"),function(){["overflow","boxSizing","paddingRight"].forEach(function(o){e.style[o]=t[o]||""})}},nt=function(){var e=document.documentElement,t=document.body,r=e.scrollTop||t.scrollTop,o=Object.assign({},e.style),a=Object.assign({},t.style);return e.style.height="100%",e.style.overflow="hidden",t.style.top="-".concat(r,"px"),t.style.width="100%",t.style.height="auto",t.style.position="fixed",t.style.overflow="hidden",function(){e.style.height=o.height||"",e.style.overflow=o.overflow||"",["top","width","height","overflow","position"].forEach(function(i){t.style[i]=a[i]||""}),et?window.scrollTo({top:r,behavior:"instant"}):window.scrollTo(0,r)}},N=function(e){e.cancelable&&e.preventDefault()},rt=function(e,t){if(t){var r=t.scrollTop,o=t.scrollLeft,a=t.scrollWidth,i=t.scrollHeight,u=t.clientWidth,s=t.clientHeight,l=e.targetTouches[0].clientX-ie,c=e.targetTouches[0].clientY-ae,f=Math.abs(c)>Math.abs(l),d=c>0&&r===0,v=l>0&&o===0,R=l<0&&o+u+1>=a,Q=c<0&&r+s+1>=i;
5if(f&&(d||Q)||!f&&(v||R))return N(e)}return e.stopPropagation(),!0},ue=function(e){},fe=function(e){if(!T()){if(ue(e),C().ios){if(e){var t=Array.isArray(e)?e:[e];t.forEach(function(r){r&&y.indexOf(r)===-1&&(r.ontouchstart=function(o){ae=o.targetTouches[0].clientY,ie=o.targetTouches[0].clientX},r.ontouchmove=function(o){o.targetTouches.length===1&&rt(o,r)},y.push(r))})}I||(document.addEventListener("touchmove",N,W),I=!0)}else w<=0&&(O=C().android?nt():tt());w+=1}},ce=function(e){if(!T()&&(ue(e),w-=1,!(w>0))){if(!C().ios&&typeof O=="function"){O();return}if(e){var t=Array.isArray(e)?e:[e];t.forEach(function(r){var o=y.indexOf(r);o!==-1&&(r.ontouchmove=null,r.ontouchstart=null,y.splice(o,1))})}I&&(document.removeEventListener("touchmove",N,W),I=!1)}},vt=function(){if(!T()){if(w=0,!C().ios&&typeof O=="function"){O();return}if(y.length)for(var e=y.pop();e;)e.ontouchmove=null,e.ontouchstart=null,e=y.pop();I&&(document.removeEventListener("touchmove",N,W),I=!1)}};const de=` 6 position: fixed !important; 7 top: 0 !important; 8 right: 0 !important; 9 bottom: 0 !important; 10 left: 0 !important; 11 z-index: 9999999; 12 display: block !important; 13 width: 100vw; 14 height: 100%; 15 margin: 0 !important; 16 padding: 0 !important; 17 overflow: auto; 18 -webkit-overflow-scrolling: touch; 19 background: rgba(0, 0, 0, 0.6); 20`,se=` 21 position: absolute !important; 22 top: 0 !important; 23 right: 0 !important; 24 bottom: 0 !important; 25 left: 0 !important; 26 width: 100vw; 27 height: 100%; 28 margin: 0 !important; 29 padding: 0 !important; 30 background: none; 31 border: none 32`,ot=` 33 position: static; 34 width: 100%; 35 height: 100%; 36`,at=function(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const{rootElementID:r}=e;if(t){n.style.cssText=se;const o=document.createElement("div");o.style.cssText=de,o.appendChild(n),document.body.appendChild(o),M.on(n),fe(n)}else{if(!r)throw new Error("rootElementID must be specified in embedded mode");if(!document.getElementById(r))throw new Error("rootElementID must point to an existing DOM element");n.style.cssText=ot,document.getElementById(r).appendChild(n)}};let h=(function(n){return n.VERIFF_HANDSHAKE="VERIFF_HANDSHAKE",n.VERIFF_RENDER="VERIFF_RENDER",n.VERIFF_STARTED="VERIFF_STARTED",n.VERIFF_SUBMITTED="VERIFF_SUBMITTED",n.VERIFF_FINISHED="VERIFF_FINISHED",n.VERIFF_CANCELED="VERIFF_CANCELED",n.VERIFF_FORCE_RELOAD="VERIFF_FORCE_RELOAD",n.VERIFF_RELOAD_REQUEST="VERIFF_RELOAD_REQUEST",n})({}),D=(function(n){return n.STARTED="STARTED",n.SUBMITTED="SUBMITTED",n.FINISHED="FINISHED",n.CANCELED="CANCELED",n.RELOAD_REQUEST="RELOAD",n})({});const q="veriffFrame";function it(n,e){n.contentWindow?.postMessage({name:h.VERIFF_RENDER,payload:e},"*")}function ut(n){if(n)try{return matchMedia("(max-width: 767px), (hover: none)").matches}catch(e){return console.error("Error while checking if iframe is mobile",e),!1}return!1}function ft(n,e,t){if(t){const r=new URL(n),o=r.searchParams;return o.set(e,t),r.search=o.toString(),r.toString()}return n}function ct(){const n=document.createElement("div");return n.style.cssText=de,n}function dt(n,e,t,r){const o=document.createElement("iframe");if(o.src=n,o.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture;",o.id=q,e)at(o,t,r);else{o.style.cssText=se;const a=ct();a.appendChild(o),document.body.appendChild(a),M.on(o),fe(o)}return o}function st(n){let{url:e,lang:t,onEvent:r=()=>{},embedded:o=!1,embeddedOptions:a,onReload:i}=n;if(!e)throw new Error("URL is not provided. Please provide a valid Veriff session url.");const u=ut(o);function s(){const f=document.getElementById(q);if(f&&f.parentNode){M.off(f),ce(f);let d=f.parentNode.parentNode,v=f.parentNode;o&&!u&&(d=f.parentNode,v=f),d&&d.removeChild(v)}else ce();window.removeEventListener("message",l)}function l(f){const d=document.getElementById(q);f.data===h.VERIFF_HANDSHAKE&&it(d,{version:"2.5.0",isReloadHandled:typeof i=="function",isVeriffIframeMobile:u,embeddedConfigured:o,embedded:u?!1:o}),f.data===h.VERIFF_STARTED&&r(D.STARTED),f.data===h.VERIFF_CANCELED&&(s(),r(D.CANCELED)),f.data===h.VERIFF_SUBMITTED&&r(D.SUBMITTED),f.data===h.VERIFF_FINISHED&&(s(),r(D.FINISHED)),f.data===h.VERIFF_FORCE_RELOAD&&window.location.reload(),f.data===h.VERIFF_RELOAD_REQUEST&&(typeof i=="function"&&i(),r(D.RELOAD_REQUEST))}const c=t&&t.length>0?ft(e,"lang",t):e;return dt(c,o,a,u),window.addEventListener("message",l),{close:s}}})}]); 37 38//# sourceMappingURL=51.6acf66739bdc78bd84fd.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.