PageSourceSearch

https://myablefy.com/bundles/8076.850792ce7d673388287c.js

js myablefy.com collected 2026-09-24 09:34:53 UTC 3,388 bytes, 3 lines download raw bytes

1(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new s.Error().stack;o&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[o]="d80ccd9e-d790-4589-b242-47f8a84901db",s._sentryDebugIdIdentifier="sentry-dbid-d80ccd9e-d790-4589-b242-47f8a84901db")}catch{}})(),(self.webpackChunkelopage_web_apps=self.webpackChunkelopage_web_apps||[]).push([[8076],{8076:(s,o,r)=>{r.r(o),r.d(o,{PartnerAppFrame:()=>y,default:()=>v});var e=r(86070),n=r(30758),i=r(75146),f=r(94636),u=r(70630),E=r(69680),d=r(27286),m=r(78969),g=r(67542),P=r(12797),I=r(4654),p=r(3882);const y=(0,f.PA)(()=>{const{partnerSlug:x}=(0,i.g)(),{partnerAppsStore:A,identityTokensStore:j,sellerStore:L,experimentsStore:R}=(0,I.yz)(),t=A.findBySlug(x),T=j.resolveToken,h=String(L.item.id),[_,D]=(0,n.useState)(null),[W,c]=(0,n.useState)(null),[b,B]=(0,n.useState)(0),C=(0,n.useRef)(null),K=(0,n.useCallback)(()=>{D(null),c(null),B(a=>a+1)},[]);if((0,n.useEffect)(()=>{let a=!1;return!t||t.renderingType!=="embedded"?()=>{a=!0}:(D(null),c(null),T({context:"seller",sellerId:h,partnerSlug:t.partnerSlug}).then(l=>{if(!a){if(!l){c(new Error(p.t("react.cabinet.partner_apps.token_error_description")));return}D(l)}}).catch(l=>{a||((0,P.uy)("partner app identity token fetch failed",t),c(l))}),()=>{a=!0})},[t,b,T,h]),(0,n.useEffect)(()=>{if(!t||t.renderingType!=="embedded"||!_)return;const a=new URL(t.url).origin,l=M=>{if(M.origin!==a)return;const O=C.current?.contentWindow;!O||M.source!==O||M.data?.type===d.Ki&&O.postMessage({type:d.Qq,identityToken:_},a)};return window.addEventListener("message",l),()=>{window.removeEventListener("message",l)}},[t,_]),!t||t.renderingType!=="embedded")return(0,e.jsx)(i.rd,{to:d.wi});if(W)return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.V,{flat:!0,title:t.name}),(0,e.jsx)(m.e,{className:"partner-app-frame-page partner-app-frame-page--centered",children:(0,e.jsxs)("div",{className:"partner-app-frame-page__state","data-testid":"partner-app-frame-error",children:[(0,e.jsx)("h1",{children:p.t("react.cabinet.partner_apps.token_error_title")}),(0,e.jsx)("p",{children:p.t("react.cabinet.partner_apps.token_error_description")}),(0,e.jsx)(u.P,{dataTestId:"partner-app-frame-retry",onClick:K,children:p.t("react.shared.button.retry")})]})})]});if(!_)return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.V,{flat:!0,title:t.name}),(0,e.jsx)(m.e,{className:"partner-app-frame-page partner-app-frame-page--centered",children:(0,e.jsx)("div",{"data-testid":"partner-app-frame-loading",children:(0,e.jsx)(E.lL,{})})})]});const S=(0,P.vI)(t);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.V,{flat:!0,title:t.name}),(0,e.jsx)(m.e,{className:"partner-app-frame-page partner-app-frame-page--iframe",children:(0,e.jsx)("iframe",{ref:C,title:t.name,src:S,sandbox:d.KE,referrerPolicy:"strict-origin-when-cross-origin",allow:"clipboard-read; clipboard-write",className:"partner-app-frame-page__iframe rr-block",onError:()=>{R.logEvent("partner_app_iframe_load_error",t.partnerSlug,{partnerSlug:t.partnerSlug}),(0,P.uy)("partner app iframe load error",t)}})})]})}),v=y},78969:(s,o,r)=>{r.d(o,{e:()=>f});var e=r(86070),n=r(97500),i=r.n(n);const f=({children:u,className:E})=>{const d=i()("content content--flat",E);return(0,e.jsx)("div",{className:d,children:u})}}}]);
2
3//# sourceMappingURL=8076.850792ce7d673388287c.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.