PageSourceSearch

https://www.empfohlen.de/_nuxt/Bnewqfh3.js

js empfohlen.de collected 2026-09-29 06:17:19 UTC 11,694 bytes, 1 lines download raw bytes

1try{(t=(new(e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8aee2c18-3b49-4315-9b15-229546ab58bf",e._sentryDebugIdIdentifier="sentry-dbid-8aee2c18-3b49-4315-9b15-229546ab58bf")}catch(e){}var e,t;!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var r in a)a.hasOwnProperty(r)&&(e[r]=a[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:member-web":!0})}catch(t){}}();import{al as a,c as r,v as n,V as i,G as l,Q as s,ao as o,R as u,Y as c,P as d,W as p,aO as m,aI as v,X as f,u as g,aR as y,ax as _,a8 as h,g as w,k as b,a9 as k,$ as I,b as A,aG as P,aH as E,fh as C,n as D,L as S,fi as U,aK as T,bz as L,fj as O,A as F}from"./DlWe-voc.js";import{b as x,j as M,N as R,D as q}from"./C8Cq4iOa.js";const $={name:"reask_push_notification_permission_after_3rd_rewarded_goal",reaskEnabledParam:"reask_push_permission"},N={name:"2608-hidden-flow-until-first-install",hideRewardFlowParam:"hide_reward_flow"},V={show:"show_trustpilot_review",click:"click_trustpilot_review",dismiss:"dism
1iss_trustpilot_review"},G={decision:"email_verification_gate_decision",sendLink:"click_send_verification_email",changeEmail:"click_change_email_from_gate",contactSupport:"click_payout_contact_support",dismiss:"dismiss_email_verification_gate",payoutRequested:"payout_requested"},K={unverifiedEmail:"unverified_email",facebookNoEmail:"facebook_no_email"},j={requestFailed:"two_factor_request_failed",supportClicked:"two_factor_support_clicked",abandoned:"two_factor_abandoned"},B={login:"login_modal",start:"start_view",emailLink:"email_link"},Q={verify:"verify",resend:"resend",link:"link"},Y={back:"back",dismissed:"dismissed"},z={name:"relocate_allow_tracking_prompt",promptOnFirstOpenParam:"prompt_on_app_open"},W={name:"2609-bonus-tab",param:"bonus_tab_enabled"},H={name:"remove-search-button",displayedParam:"search_button_displayed"},Z={name:"offer-description-less-prominent",descriptionCollapsedParam:"description_collapsed"},X={name:"autoscroll_the_welcome_carousel",hasCarouselParam:"has_carousel"},J={openDescription:"open_offer_description"},ee=()=>{const e=a(),t=()=>e.$statsig??null,{publisher:n}=r().public,i=x((()=>{var t;return(null==(t=e.$statsigReadyUserId)?void 0:t.value)??null})),l=async()=>{const a=e.$statsigReady;return!(!t()||!a||(await a(),0))};return{readyUserId:i,whenReady:l,refresh:async()=>{const e=t();if(!e)return!1;try{return await e.updateUserAsync(e.getContext().user),!0}catch(a){return!1}},flush:async()=>{var e;try{await(null==(e=t())?void 0:e.flush())}catch(a){}},checkGate:e=>{var a;return(null==(a=t())?void 0:a.checkGate(e))??!1},isExperimentAssigned:(e,a)=>{var r;return null!==((null==(r=t())?void 0:r.getExperiment(e,a).groupName)??null)},getExperimentValue:(e,a,r,n)=>{const i=t();return i?i.getExperiment(e,n).get(a,r):r},getConfigValue:(e,a,r)=>{const n=t();return n?n.getDynamicConfig(e).get(a,r):r},getLayerValue:(e,a,r,n)=>{const i=t();return i?i.getLayer(e,n).get(a,r):r},logEvent:e=>{const a={...e,metadata:{...e.metadata,publisher:n.appName}};l().then((e=>{var r;e&&(null==(r=t())||r.logEvent(a))}))}}};function te(){const{query:e}=n(),t=i("attr:appsFlyerUid",(()=>null)),a=i("attr:deviceId",(()=>null)),r=i("attr:gclid",(()=>null)),s=i("attr:trackingToken",(()=>null)),o=i("attr:analyticsAppInstanceId",(()=>null));return M((()=>{t.value=l(e.afUid)??null,a.value=l(e.dId)??null,r.value=l(e.gclid)??null,s.value=l(e.cid)??null,o.value=l(e.aaid)??null})),{appsFlyerUid:t,gclid:r,trackingToken:s,deviceId:a,analyticsAppInstanceId:o}}function ae(){const{public:{advertisingIdKey:e}}=r(),{isIos:t}=s(),{isMobileApp:a}=o(),{getExperimentValue:n}=ee(),i=u(e,null),l=c("advertisingId");return{requestTrackingPermission:async function(){const e=await d(p.REQUEST_TRACKING_PERMISSIONS,null,!0);return e?e.idfa??"":null},storeAdvertisingId:function(e){e&&(i.value=e,l.value=e)},isFirstSessionPromptEnabled:function(){if(!a.value||!t)return!1;const{name:e,promptOnFirstOpenParam:r}=z;try{return n(e,r,!1)}catch(i){return!1}}}}const re=m("search",{state:()=>({searchTerm:"",isSearchActive:!1}),getters:{searchOffers:e=>(t,a)=>{const r=[...t.map((e=>({link:`/tasks/${e.id}`,title:e.title,imageUrl:e.imageUrl,id:e.targetingId.toString(),platform:e.targetDeviceType,isSurvey:!1}))),...(a||[]).reduce(((e,t)=>(t.status===v.Pending&&e.push({link:`/my-tasks/${t.id}`,title:t.title,imageUrl:t.imageUrl,id:t.id,platform:t.platform,isSurvey:!1}),e)),[])].sort(((e,t)=>{var a;return Number(e.platform===f.Desktop)-Number(t.platform===f.Desktop)||(null==(a=null==e?void 0:e.title)?void 0:a.localeCompare(null==t?void 0:t.title))}));return e.searchTerm.trim()?r.filter((t=>t.title&&t.title.toLowerCase().includes(e.searchTerm.toLowerCase()))):r}},actions:{open(){this.isSearchActive=!0},close(){this.isSearchActive=!1},reset(){this.searchTerm=""}}});function ne(){const e="allUserPrompts",t=k(10),a=h(),{normalizeGraphqlErrors:r}=w();function n(){return{queryKey:[e],queryFn:async()=>{const e=await r((()=>b()("AllUserPrompts",{}))),t=null==e?void 0:e.allUserPrompts;return(null==t?void 0:t.success)?[...t.prompts??[]].sort(((e,t)=>e.priority-t.priority)):[]},staleTime:t,retry:(e,t)=>Boolean(e<=2&&t instanceof I&&t.isRetryable)}}return{promptsQueryOptions:n,fetchPrompts:async function(){try{return await a.fetchQuery(n())}catch{return[]}},reportAction:async function(t,n){if(!t.availableActions.includes(n))return null;try{const e=await r((()=>b()("ReportPromptAction",{reportPromptActionData:{promptId:t.id,action:n}}))),a=null==e?void 0:e.reportPromptAction;return(null==a?void 0:a.success)?a.prompt??null:null}catch{return null}finally{a.invalidateQueries({queryKey:[e]})}},invalidatePrompts:function(){a.invalidateQueries({queryKey:[e]})},PROMPT_QUERY_KEY:e}}function ie(){const{t:e}=g(),t=A(),{fetchPrompts:a,reportAction:n}=ne(),{normalizeGraphqlErrors:l}=w(),{createRedirectLink:d}=P(),{userAgentString:p}=E(),{isMobileApp:m}=o(),{isIos:v,isMobileOrTablet:f}=s(),{public:{advertisingIdKey:h}}=r(),k=u(h,""),I=c("deviceId"),{getExperimentValue:O,logEvent:F}=ee(),M=i("iapPopup",(()=>({prompt:null,content:null,isDrawerOpen:!1,isCheckInFlight:!1,isCtaInFlight:!1}))),q=e=>e.parameters??{},$=e=>"IapPromotionPrompt"===e.__typename,N=e=>$(e)&&e.status===C.CLAIMABLE,V=e=>$(e)&&e.status===C.DISPLAYABLE,G=/(Z|[+-]\d{2}:?\d{2})$/,K=e=>new Date(G.test(e)?e:`${e}Z`),j=e=>e.expiresAt?K(e.expiresAt).getTime():0,B=(e,t)=>
1e.priority-t.priority||j(t)-j(e),Q=e=>{const t=Number(e);return Number.isFinite(t)?t:null},Y=x((()=>{const{prompt:e}=M.value;if(!e)return null;const t=K(e.windowStartsAt).getTime();return new Date(t+6e4*e.cashbackDurationMinutes)})),{isExpired:z,remainingLabel:W,start:H,stop:Z}=function(){const{t:e}=g(),t=i("iapCountdown:now",(()=>0)),a=i("iapCountdown:timerId",(()=>null)),r=e=>String(e).padStart(2,"0"),n=x((()=>Y.value)),l=x((()=>!(!n.value||!t.value)&&t.value>=n.value.getTime())),s=x((()=>{if(!n.value||!t.value||l.value)return;const{days:a=0,hours:i=0,minutes:s=0}=y({start:t.value,end:n.value});return`${r(24*a+i)}${e("common.hours")} ${r(s)}${e("common.minutes")}`}));function o(){a.value&&(clearInterval(a.value),a.value=null)}return{isExpired:l,remainingLabel:s,start:function(){t.value=Date.now(),a.value||!n.value||l.value||(a.value=_((()=>{t.value=Date.now(),l.value&&o()}),1e3))},stop:o}}(),X=x((()=>{var e;return(null==(e=t.currentUser)?void 0:e.registrationCountry)??""})),J=x((()=>M.value.content)),te=x((()=>M.value.isDrawerOpen)),ae=x((()=>M.value.isCtaInFlight)),re=x((()=>{var e;return Boolean(J.value)&&!te.value&&!z.value&&(null==(e=M.value.prompt)?void 0:e.status)===C.DISPLAYABLE}));async function ie(){M.value.prompt&&(await R(),M.value.isDrawerOpen=!0)}function le(){Z(),M.value.prompt=null,M.value.content=null}async function se(){var e;if((null==(e=M.value.prompt)?void 0:e.status)===C.CLAIMABLE)try{await async function(){const e=M.value.prompt;if(!e)return null;const t=await n(e,U.CLAIMED);return"IapPromotionPrompt"!==(null==t?void 0:t.__typename)?null:(M.value.prompt={...e,...t},t)}()}catch(t){}}return{content:J,isDrawerOpen:te,isTileVisible:re,isCtaInFlight:ae,isExpired:z,remainingLabel:W,checkForPromotion:async function(r){var n;if(!M.value.isCheckInFlight&&!M.value.isDrawerOpen&&(null==(n=t.currentUser)?void 0:n.id)){M.value.isCheckInFlight=!0;try{const n=await a(),i=e=>n.filter(e).filter((e=>t=>!e||String(q(t).task_id)===e)(r)).sort(B)[0],s=i(N)??i(V);if(s&&!O("2608-iap-promotion","display_iap_promotion",!1,{disableExposureLog:!1}))return void le();const o=s?await async function(a){var r;const n=q(a);if(!n.task_id)return null;const i=Q(a.reward),s=Q(a.requiredSaleAmount);if(null===i||null===s)return null;const o=await async function(e){var a,r,n;if(!(null==(a=t.currentUser)?void 0:a.registrationCountry)||!(null==(r=t.currentUser)?void 0:r.appGroupId))return null;try{const a=await l((()=>b()("Task",{taskData:{taskId:e,geo:t.currentUser.registrationCountry,publisherId:t.currentUser.appGroupId.toString(),deviceId:I.value??null}})));return(null==(n=null==a?void 0:a.task)?void 0:n.task)??null}catch{return null}}(String(n.task_id));if(!(null==o?void 0:o.trackingUrl))return null;const u=n.currency_code??(null==(r=t.currentUser)?void 0:r.currencyCode)??"";return function(t,a,{cashback:r,price:n}){const i=a.title??"";return{heroImageUrl:L(t.imagePath,"xs"),title:e("promotion.iapPromotion.title",{amount:r}),purchaseAmount:n,gameName:i,howItWorksTitle:e("promotion.iapPromotion.howItWorks"),cashbackAmount:r,ctaText:e("promotion.iapPromotion.continue"),ctaUrl:T(d(a.trackingUrl,{participationId:a.userParticipationId??"",userAgent:p.value,advertisingId:m.value?k.value:"",flowVariantId:a.flowVariant??0}))}}(a,o,{cashback:S({amount:i,currencyCode:u},X.value),price:S({amount:s,currencyCode:u},X.value)})}(s):null;if(!s||!o)return void le();M.value.prompt=s,M.value.content=o,N(s)&&await ie(),H()}finally{M.value.isCheckInFlight=!1}}},openDrawer:ie,onDrawerShown:async function(){const e=M.value.prompt;e&&(function(e){const{task_id:t}=q(e);F({eventName:"show_iap_promotion",metadata:{promptId:e.id,reward:e.reward,requiredSaleAmount:e.requiredSaleAmount,...null!=t&&{taskId:String(t)}}})}(e),await se())},closeDrawer:async function(){M.value.isDrawerOpen=!1,await se()},confirmPromotion:async function(){var e;if(M.value.isCtaInFlight)return;const t=null==(e=M.value.content)?void 0:e.ctaUrl;M.value.isCtaInFlight=!0,t&&D(t,{open:{target:v&&f?"_self":"_blank"},external:!0});try{await se(),M.value.isDrawerOpen=!1}finally{M.value.isCtaInFlight=!1}},stopTimer:Z,reset:function(){Z(),M.value={prompt:null,content:null,isDrawerOpen:!1,isCheckInFlight:!1,isCtaInFlight:!1}}}}const le=()=>{const{getExperimentValue:e,readyUserId:t}=ee(),{name:a,param:r}=W,n=t=>e(a,r,!1,t),l=i(`${a}-enabled`,(()=>n({disableExposureLog:!0})));return{isEnabled:l,readArm:n,syncArmOnIdentity:()=>{let e=null;q(t,(t=>{t?t!==e&&(e=t,l.value=n()):e=null}),{immediate:!0})}}},se=O((()=>
1{if(!le().readArm({disableExposureLog:!0}))return D(F.dashboard)})),oe=Object.freeze(Object.defineProperty({__proto__:null,default:se},Symbol.toStringTag,{value:"Module"}));export{G as E,N as H,Z as O,$ as P,H as R,B as T,X as W,ne as a,ie as b,ee as c,te as d,K as e,re as f,le as g,Y as h,V as i,J as j,j as k,Q as l,oe as m,ae as u};

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.