https://app.sundancetv.com/code/js/chunks/payment.components.bank_of_georgia.cbefd2f94bbfdccfefde.js
1(()=>{(function(){try{var _=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},o=new _.Error().stack;o&&(_._sentryDebugIds=_._sentryDebugIds||{},_._sentryDebugIds[o]="0f8d4183-76f3-4812-a2f5-b5c7eec418ec",_._sentryDebugIdIdentifier="sentry-dbid-0f8d4183-76f3-4812-a2f5-b5c7eec418ec")}catch(e){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[41334,53777,56218,93220],{25585:((_,o,e)=>{e.d(o,{A:()=>O});var t=e(96540),a=e(85092),i=Object.defineProperty,P=Object.defineProperties,c=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,m=(n,s,r)=>s in n?i(n,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[s]=r,f=(n,s)=>{for(var r in s||(s={}))E.call(s,r)&&m(n,r,s[r]);if(l)for(var r of l(s))u.call(s,r)&&m(n,r,s[r]);return n},C=(n,s)=>P(n,c(s));const O=(n=>t.createElement(a.A,C(f({},n),{viewBox:"0 0 24 24"}),t.createElement(t.Fragment,null,t.createElement("g",{clipPath:"url(#clip0_403_3048)"},t.createElement("path",{d:"M5.50006 17.0001C6.32849 17.0001 7.00006 16.3285 7.00006 15.5001C7.00006 14.6717 6.32849 14.0001 5.50006 14.0001C4.67163 14.0001 4.00006 14.6717 4.00006 15.5001C4.00006 16.3285 4.67163 17.0001 5.50006 17.0001Z",fill:"#374957"}),t.createElement("path",{d:"M19 3H5C3.67441 3.00159 2.40356 3.52888 1.46622 4.46622C0.528882 5.40356 0.00158786 6.67441 0 8L0 16C0.00158786 17.3256 0.528882 18.5964 1.46622 19.5338C2.40356 20.4711 3.67441 20.9984 5 21H19C20.3256 20.9984 21.5964 20.4711 22.5338 19.5338C23.4711 18.5964 23.9984 17.3256 24 16V8C23.9984 6.67441 23.4711 5.40356 22.5338 4.46622C21.5964 3.52888 20.3256 3.00159 19 3ZM5 5H19C19.7956 5 20.5587 5.31607 21.1213 5.87868C21.6839 6.44129 22 7.20435 22 8H2C2 7.20435 2.31607 6.44129 2.87868 5.87868C3.44129 5.31607 4.20435 5 5 5ZM19 19H5C4.20435 19 3.44129 18.6839 2.87868 18.1213C2.31607 17.5587 2 16.7956 2 16V10H22V16C22 16.7956 21.6839 17.5587 21.1213 18.1213C20.5587 18.6839 19.7956 19 19 19Z",fill:"#374957"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_403_3048"},t.createElement("rect",{width:"24",height:"24",fill:"white"}))))))}),30146:((_,o,e)=>{e.r(o),e.d(o,{Form:()=>f});var t=e(96540),a=e(71468),i=e(58562),P=e(39908),c=e(64759),l=e(53777),E=e(81056),u=e(49475),m=e(2275);const f=({paymentProcessRestarter:C,webSdkAdapter:O})=>{const n=(0,t.useRef)(void 0),s=(0,a.d4)(d=>d.services.preferences.userPreferences.language),r=(0,a.d4)(d=>d.services.app.isRtL),v=s?s.substring(0,2):"en",[h,D]=(0,t.useState)(!0),[M,I]=(0,t.useState)(!1),{paymentFailurePanicModalButton:R,paymentFailurePanicModalMessage:A}=(0,i.b0)(["paymentFailurePanicModalButton","paymentFailurePanicModalMessage"]);(0,t.useEffect)(()=>{try{O.on(u.c.PAYMENT_FORM_LAYOUT_CHANGED,d=>{D(!1),n.current&&(n.current.style.height=`${d.height}px`)}),O.on(u.c.PAYMENT_AUTHORISATION_FAILURE_SECOND_ADDITIONAL_NOTIFICATION,()=>{I(!0)}),O.setOptions({width:"100%",height:"100%",lang:v,theme:"light",submitButton:{display:!1},style:{backgroundColor:"transparent",inputs:{focusedBorderColor:"#838383",focusedLabelColor:"#000000",focusedValueColor:"#000000",borderRadius:"0px"}}}),O.setMountPoint(n.current),O.startSession()}catch(d){(0,E.JE)("BoG Payment Provider (Form):",d)}return()=>{O.closeSession()}},[]);const g=async()=>{I(!1),D(!0),await C()};return t.createElement(t.Fragment,null,M?t.createElement(l.Modal,{handleClose:g,isRtL:r},t.createElement("span",null,A.value),t.createElement(P.$n,{className:(0,m.AH)(P.k9.PRIMARY),onClick:g},R.value)):null,h?t.createElement(c.A,{useRealmColor:!0}):null,t.createElement("div",{ref:n,"data-testid":"web-sdk-session-container"}))}}),49475:((_,o,e)=>{e.d(o,{c:()=>t});var t=(a=>(a.PAYMENT_AUTHORISATION_PERMISSION_GRANTED="payment-authorisation-granted",a.PAYMENT_AUTHORISATION_PERMISSION_REVOKED="payment-authorisation-revoked",a.PAYMENT_AUTHORISATION_3DS_REQUESTED="payment-authorisation-3ds-requested",a.PAYMENT_AUTHORISATION_SUCCESS="payment-authorisation-success",a.PAYMENT_AUTHORISATION_FAILURE="payment-authorisation-failure",a.PAYMENT_AUTHORISATION_FAILURE_FIRST_ADDITIONAL_NOTIFICATION="payment-authorisation-failure-first-additional-notification",a.PAYMENT_AUTHORISATION_FAILURE_SECOND_ADDITIONAL_NOTIFICATION="payment-authorisation-failure-second-additional-notification",a.PAYMENT_BEGINNING_SUCCESS="payment-beginning-success",a.PAYMENT_CONFIGURATION_FAILURE="payment-configuration-failure",a.PAYMENT_FORM_CARD_HOLDER_REQUESTED="payment-form-card-holder-requested",a.PAYMENT_FORM_LAYOUT_CHANGED="payment-form-layout-changed",a.PAYMENT_PROCESSING_FAILURE="payment-processing-failure",a))(t||{})}),53777:((_,o,e)=>{e.r(o),e.d(o,{Modal:()=>O});var t=e(96540),a=e(40961),i=e(94708),P=e.n(i),c=e(58562),l=e(13516),E=e(39908),u=e(72210),m=e(81956);const C="[data-fallback-focus]",O=n=>{const s=document.getElementById("dice-modal"),{children:r,className:v,isRtL:h,allowEventPropagation:D,handleClose:M,icon:I,backgroundImage:R,initialFocusRef:A}=n,g=(0,l.AH)("messages",v,h&&"modal--right-left"),{close:d}=(0,c.b0)(["close"]),N=(d==null?void 0:d.value)||"Close",L=t.useRef(null);return t.useEffect(()=>{if(!M)return;const T=y=>{y.key==="Escape"&&(y.preventDefault(),y.stopPropagation(),M())};return document.addEventListener("keydown",T),()=>document.removeEventListener("keydown",T)},[M]),s&&a.createPortal(t.createElement(m.Q,Object.assign({allowEventPropagation:D},R?{backgroundImage:R}:{}),t.createElement("div",{className:g},t.createElement(i.FocusTrap,{focusTrapOptions:{fallbackFocus:()=>L.current||C,initialFocus:()=>(A==null?void 0:A.current)||L.current||void 0,escapeDeactivates:!1,allowOutsideClick:T=>!!T.target.closest("#onetrust-consent-sdk")}},t.createElement("div",{className:"message","aria-modal":"true","aria-label":n.ariaLabel,"data-fallback-focus":!0,role:"dialog",ref:L,tabIndex:-1},r,I&&t.createElement("div",{className:"message__optional-icon"},I),M&&t.createElement(E.K0,{smallMode:!0,onClick:M,className:(0,l.AH)(E.k9.PRIMARY,"btn-close"),"aria-label":N},t.createElement(u.Close,{className:"btn-icon__icon"})))))),s)}}),56400:((_,o,e)=>{e.r(o),e.d(o,{Button:()=>l});var t=e(96540),a=e(13516),i=e(39908),P=e(58562),c=e(25585);const l=({onClick:E})=>{const{payWithCreditCard:u}=(0,P.b0)(["payWithCreditCard"]);return t.createElement(i.$n,{onClick:E,className:(0,a.AH)(i.k9.SECONDARY,"cards-button")},t.createElement("span",{className:"btn__label"},t.createElement(c.A,{className:"btn__icon btn__icon--cards"}),u.value))}}),64354:((_,o,e)=>{e.r(o),e.d(o,{Button:()=>t.Button,Form:()=>a.Form});var t=e(56400),a=e(30146)}),81956:((_,o,e)=>{e.d(o,{Q:()=>P});var t=e(96540);const a=c=>{const l=document.querySelector(c);l&&l.classList.add("no-scroll")},i=c=>{const l=document.querySelector(c);l&&l.classList.remove("no-scroll")},P=c=>{const{children:l,allowEventPropagation:E}=c;(0,t.useEffect)(()=>(a("body"),()=>i("body")),[]);const u=f=>{E||f.stopPropagation()},m=f=>{E||f.stopPropagation()};return t.createElement("div",{className:"full-screen-overlay","data-testid":"overlay",onTouchStart:u,onClick:m},t.createElement("div",{className:"full-screen-overlay--content"},l))}})}]);})(); 2 3//# sourceMappingURL=payment.components.bank_of_georgia.cbefd2f94bbfdccfefde.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.