PageSourceSearch

https://www.coca-cola.com/onexp-theme/25d07672864d756cc17ce87a0253…/quizInstantWinNoPin.js

js coca-cola.com collected 2026-09-24 08:24:12 UTC 1,882 bytes, 1 lines download raw bytes

1import{A as g}from"./_plugin-vue_export-helper.js";import{c as l}from"./pinia.js";import{af as m,g as c,S as u,T as f}from"./theme.js";import{_ as d}from"./App.vue_vue_type_script_setup_true_lang3.js";import"./globalAppStore.js";import"./useBxSvgIcon.js";import"./promotionStore.js";import"./validateConfigId.js";import"./globalConfigStore.js";import"./loginModalStore.js";import"./AnimatedSvgIcon.vue_vue_type_style_index_0_lang.js";import"./NativeDialog.js";import"./QuizStartButton.vue_vue_type_script_setup_true_lang.js";import"./dataLayer.js";import"./EngagementPromotionModal.js";import"./instantWinContext.js";import"./prizeUtils.js";import"./LoadingIndicator.js";import"./MultiplePrizes.vue_vue_type_script_setup_true_lang.js";import"./PrizeContentTemplate.js";import"./userProfileStore.js";import"./PromotionImageUpload.js";import"./LoginModal.js";const C=o=>{const i={limitHeader:"participationLimitErrorHeader",limitMsgLabel:"participationLimitErrorMessage",notEnoughCurrencyErrorLabel:"notEnoughCurrencyErrorMessage",blockedUserErrorLabel:"blockedUserErrorMessage",unknownErrorMsgLabel:"unknownErrorMessage"};
1Object.keys(i).forEach(r=>{o.labels[r]&&(o.labels[i[r]]=o.labels[r])})},V=async o=>{const{parsedGeneralData:i,configurationId:r}=m(o);let t=r||"";if(await(await c()).isAuthenticated()){const e=await new u(i.quizConfig.quizApiUrl,i.reCaptchaSiteKey,i.quizConfig.promoPlusEnvId).getQuizConfig(i.quizConfig.quizId,r);f(e)||(t=e.promoId)}const a=o.getAttribute("id");C(i);const s={globalConfig:{...i,appId:a,ngpsConfig:{configurationId:t,ngpsApiUrl:i.ngpsApi?.ngpsApiUrl||"",ngpsApiKey:i.ngpsApi?.ngpsApiKey||""}},promotionConfig:{labels:i.labels,hasEnterPinCode:!1,shouldValidateConfigurationId:!1},quizConfig:{...i.quizConfig,promotionId:t,reCaptchaSiteKey:i.reCaptchaSiteKey,labels:i.quizLabels||{}}},n=g(d,s),p=l();n.use(p),n.mount(`#${a}`)};export{V as init};

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.