@adstage/web-sdk 3.0.12 → 3.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";var t,e,n,s,i,r,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(){var t=["NATIVE","VIDEO","DESKTOP","TEXT","BANNER","CLICK","2334vjAilq","INTERSTITIAL","12WtXBtL","4734744ytkozP","65nXovyZ","MOBILE","2758xaFACG","TABLET","WEB","114920gZZPLL","729yiBxUF","2184684sKZmWE","VIEWABLE","POPUP","1775283CtuYvE","110ldidrt","104770OMTrRC","10770dsKztM"];return(f=function(){return t})()}function g(t,e){var n=f();return(g=function(t,e){return n[t-=365]})(t,e)}function m(t,e){const n=y();return(m=function(t,e){return n[t-=200]})(t,e)}!function(){for(var t=g,e=f();;)try{if(315807===-parseInt(t(382))/1*(parseInt(t(372))/2)+-parseInt(t(370))/3+-parseInt(t(365))/4*(-parseInt(t(384))/5)+parseInt(t(380))/6*(-parseInt(t(386))/7)+-parseInt(t(383))/8+parseInt(t(366))/9*(parseInt(t(373))/10)+-parseInt(t(371))/11*(-parseInt(t(367))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(e=t||(t={}))[(n=g)(378)]="BANNER",e[n(369)]="POPUP",e.INTERSTITIAL=n(381),e.NATIVE=n(374),e[n(375)]=n(375),e.TEXT=n(377),(i=s||(s={}))[(r=g)(388)]="WEB",i[r(385)]="MOBILE",a=o||(o={}),c=g,a.VIEWABLE=c(368),a[c(379)]=c(379),l=d||(d={}),u=g,l.DESKTOP=u(376),l[u(385)]=u(385),l.TABLET=u(387);const I=m;!function(){const t=m,e=y();for(;;)try{if(151252===parseInt(t(217))/1+-parseInt(t(227))/2+-parseInt(t(211))/3+-parseInt(t(231))/4+-parseInt(t(245))/5*(parseInt(t(237))/6)+-parseInt(t(226))/7+parseInt(t(232))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class v{static isBrowser(){const t=m;return typeof window!==t(247)&&typeof document!==t(247)}static[I(221)](){return!this[I(234)]()}static[I(263)](){const t=I;return this[t(234)]()&&void 0!==document[t(241)]}static safeGetElementById(t){const e=I;return this[e(263)]()?document[e(253)](t):null}static[I(201)](t){const e=I;return this[e(263)]()?document[e(250)](t):null}static[I(215)](t){const e=I;return this[e(263)]()?Array[e(223)](document.querySelectorAll(t)):[]}static[I(252)](t){const e=I;return this.canUseDOM()?document[e(213)](t):null}static[I(242)](t,e,n,s){this[I(263)]()&&t&&t.addEventListener(e,n,s)}static[I(262)](t,e,n,s){const i=I;this[i(263)]()&&t&&t[i(209)](e,n,s)}static[I(261)](t,e){return this.isBrowser()?window[t]??e:e}static getDocumentProperty(t,e){return this.canUseDOM()?document[t]??e:e}static safeWindowOpen(t,e,n){const s=I;return this.isBrowser()?window[s(216)](t,e,n):null}static[I(249)](t){const e=I;return this[e(234)]()&&t?window[e(214)](t):null}static[I(272)](){const t=I;return!!this[t(263)]()&&document[t(241)]!==t(254)}static[I(228)](){return new Promise(t=>{const e=m;this[e(263)]()?this[e(272)]()?t():this[e(242)](document,"DOMContentLoaded",()=>t()):t()})}static safeApplyStyles(t,e){const n=I;this.canUseDOM()&&t&&Object.entries(e)[n(230)](([e,s])=>{const i=n;t[i(224)][i(267)](e,s)})}static[I(258)](t,e){const n=I;this[n(263)]()&&t&&t[n(264)][n(269)](e)}static safeRemoveClass(t,e){const n=I;this.canUseDOM()&&t&&t[n(264)][n(212)](e)}static[I(271)](t,e){const n=I;this[n(263)]()&&t&&(t[n(200)]=e)}static[I(246)](t,e){this[I(263)]()&&t&&(t.innerHTML=e)}static[I(219)](t,e){this.canUseDOM()&&t&&e&&t.appendChild(e)}static safeRemoveChild(t,e){const n=I;this[n(263)]()&&t&&e&&t[n(202)](e)}static[I(251)](){const t=I;return{url:this[t(261)](t(204),{href:""})[t(260)],title:this[t(270)](t(256),""),referrer:this[t(270)](t(205),"")}}static[I(208)](){const t=I;return{width:this[t(261)]("innerWidth",0),height:this[t(261)](t(257),0),pixelRatio:this[t(261)](t(244),1)}}static[I(266)](){const t=I;return{scrollTop:this[t(263)]()?window[t(210)]||document[t(240)].scrollTop:0,scrollLeft:this[t(261)](t(236),0)}}static async waitForElement(t,e={}){const n=I,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this[n(263)]())throw new Error(n(233));const o=document[n(253)](t);return o?(r&&console[n(206)](n(243)+t),o):(r&&console[n(206)](n(203)+t+n(259)+s+n(218)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(248)](s/i),l=()=>{const n=a;c++;const u=document.getElementById(t);if(u)return r&&console[n(206)](n(238)+t+" ("+c+n(220)+c*i+n(222)),void e(u);if(c>=d){const e='❌ 컨테이너를 찾을 수 없습니다: "'+t+n(265)+t+n(229)+s+"ms ("+c+n(255);return r&&console[n(207)](e),void o(new Error(e))}r&&c%10==0&&console[n(206)](n(239)+t+" ("+c+"/"+d+")");const p=Math[n(225)](i*Math.pow(1.2,c),500);setTimeout(l,p)};setTimeout(l,i)}))}static async waitForElements(t,e={}){const n=I,s=t[n(235)](t=>this[n(268)](t,e));return Promise.all(s)}}function y(){const t=["ceil","safeGetComputedStyle","querySelector","getPageInfo","safeCreateElement","getElementById","loading","번 시도)","title","innerHeight","safeAddClass"," (최대 ","href","getWindowProperty","safeRemoveEventListener","canUseDOM","classList",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"getScrollInfo","setProperty","waitForElement","add","getDocumentProperty","safeSetTextContent","isDOMReady","textContent","safeQuerySelector","removeChild","⏳ 컨테이너 대기 시작: ","location","referrer","log","error","getViewportInfo","removeEventListener","pageYOffset","266796mytlUg","remove","createElement","getComputedStyle","safeQuerySelectorAll","open","298450qWDLVs","ms)","safeAppendChild","번째 시도, ","isSSR","ms 경과)","from","style","min","276640khaUGG","61984OJMQup","waitForDOM",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"forEach","53948FHkeLj","1507480WqcXBY","DOM을 사용할 수 없는 환경입니다.","isBrowser","map","pageXOffset","488106gJcVbP","✅ 컨테이너 발견: ","⏳ 컨테이너 대기 중: ","documentElement","readyState","safeAddEventListener","✅ 컨테이너 즉시 발견: ","devicePixelRatio","10hmKrIZ","safeSetInnerHTML","undefined"];return(y=function(){return t})()}const b=E;function w(){const t=["15vlBzqp","3.0.12"," AdStageSDK/","20871xRLQhD","8252616zJRtyy","3760875WKiYxo","userAgent","6467923BlJqbP","8cDpPKE","AdStageSDK/","undefined","311400SwOUUV","428292LDuuwg","765321KGxBNQ"];return(w=function(){return t})()}!function(){const t=E,e=w();for(;;)try{if(971369===parseInt(t(187))/1+-parseInt(t(185))/2+parseInt(t(191))/3+parseInt(t(186))/4*(parseInt(t(188))/5)+parseInt(t(192))/6+-parseInt(t(181))/7*(parseInt(t(182))/8)+-parseInt(t(193))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const k=b(189);function E(t,e){const n=w();return(E=function(t,e){return n[t-=180]})(t,e)}function x(){return k}const A=S;function S(t,e){const n=C();return(S=function(t,e){return n[t-=432]})(t,e)}function C(){const t=["top","2058192rNPhyQ","SSR","UTC","session_","5791765jfmvEM","collectDeviceInfo","923URvZMx","random","5986280reHaIX","getItem","8765710uGODFJ","272YfCCLm","adstage_session_id","connection","140CllswN","2364xGffJc","getScrollInfo","test","round","22677OagOhR","ssr_session_","toLowerCase"," .adstage-slider-wrapper","colorDepth","getPlatform","left","isBrowser","language","1.0.0","now","DateTimeFormat","pixelRatio",'[data-adstage-slot-id="',"userAgent","width","platform","getBoundingClientRect","isMobile","generateDeviceId","adstage_device_id","unknown","getSlotPosition","device_","301545gjkAMs","substr","effectiveType","safeGetElementById","android","web","setItem","generateSessionId","toString",",y:","height","ssr_device_","safeQuerySelector"];return(C=function(){return t})()}!function(){const t=S,e=C();for(;;)try{if(749533===-parseInt(t(439))/1*(parseInt(t(448))/2)+parseInt(t(452))/3*(-parseInt(t(447))/4)+parseInt(t(441))/5+parseInt(t(433))/6+parseInt(t(437))/7+parseInt(t(444))/8*(-parseInt(t(476))/9)+parseInt(t(443))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class T{static[A(471)](){const t=A;if(!v.isBrowser())return t(487)+Date[t(462)]();const e=localStorage.getItem(t(472));if(e)return e;const n=t(475)+Math[t(440)]().toString(36).substr(2,9)+"_"+Date.now();return localStorage[t(482)]("adstage_device_id",n),n}static[A(483)](){const t=A;if(!v[t(459)]())return t(453)+Date[t(462)]();const e=sessionStorage[t(442)](t(445));if(e)return e;const n=t(436)+Math[t(440)]()[t(484)](36)[t(477)](2,9)+"_"+Date[t(462)]();return sessionStorage[t(482)](t(445),n),n}static[A(470)](){const t=A;return!!v[t(459)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(466)])}static[A(457)](){const t=A;if(!v[t(459)]())return"web";const e=navigator[t(466)][t(454)]();return/iphone|ipad|ipod/[t(450)](e)?"ios":/android/[t(450)](e)?t(480):T[t(470)]()?t(481):"desktop"}static[A(438)](){const t=A,e=v.getViewportInfo();return{deviceId:T.generateDeviceId(),sessionId:T[t(483)](),osVersion:v[t(459)]()?navigator[t(468)]:t(434),deviceModel:v[t(459)]()?navigator.platform:t(434),appVersion:t(461),sdkVersion:x(),language:v[t(459)]()&&navigator[t(460)]||"ko",country:"KR",ipAddress:"",userAgent:v[t(459)]()?navigator[t(466)]:t(434),timezone:v.isBrowser()?Intl[t(463)]().resolvedOptions().timeZone:t(435),viewportWidth:e[t(467)],viewportHeight:e.height,screenWidth:v[t(459)]()?screen[t(467)]:0,screenHeight:v[t(459)]()?screen[t(486)]:0,colorDepth:v.isBrowser()?screen[t(456)]:24,pixelRatio:e[t(464)],connectionType:v[t(459)]()&&navigator[t(446)]?.[t(478)]||t(473),platform:T.getPlatform()}}static[A(474)](t){const e=A;let n=v[e(479)](t);if(!n){const s=v[e(488)]("#"+t+e(455));s&&(n=s)}if(!n&&(n=v[e(488)](e(465)+t+'"]')),!n)return e(473);const s=n[e(469)](),i=v[e(449)]();return"x:"+Math.round(s[e(458)])+e(485)+Math[e(451)](s[e(432)]+i.scrollTop)}}function R(){const t=["1996027noBtLV","353562mrygKH","1777689cnYdwY","64YOlCVq","create","328BeBuRc","createForEvents","10KdvXnA","51023xFWFCM","User-Agent","1823coHGQs","4qgBdYJ","application/json","1371040kftdHV","contentType","userAgent","612828wOJHye","undefined"];return(R=function(){return t})()}const L=D;function D(t,e){const n=R();return(D=function(t,e){return n[t-=460]})(t,e)}!function(){const t=D,e=R();for(;;)try{if(153079===-parseInt(t(476))/1*(parseInt(t(469))/2)+-parseInt(t(467))/3*(-parseInt(t(477))/4)+parseInt(t(461))/5+parseInt(t(464))/6+-parseInt(t(474))/7*(parseInt(t(471))/8)+parseInt(t(468))/9+parseInt(t(473))/10*(-parseInt(t(466))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class B{static[L(470)](t,e){const n=L;if(!t)throw new Error("API key is required");const s={"x-api-key":t,"Content-Type":e?.[n(462)]||n(460)};return typeof navigator!==n(465)&&(s[n(475)]=e?.[n(463)]||navigator[n(463)]),s}static[L(472)](t,e){const n=L,s=B[n(470)](t);return e?.[n(463)]&&(s[n(475)]=e[n(463)]),s}}const P=_;function U(){const t=["getElementById","getSlotPosition","referrer","VIEWABLE"," in slot ","debug","substring","width","adType","4932600dtARdz","containerId","⚠️ Slot not found for slotId: ","url"," - ","❌ Failed to track advertisement event:","string","log","now",". Skipping event tracking to prevent incorrect adType.","8300871FfdfXf","🚀 AdvertisementEventTracker: Processing ","). Skipping event tracking.","3330192mZcyCi","title",'[data-adstage-slot-id="',"✅ Successfully tracked advertisement event: ","baseUrl","152236XQiltJ","🔍 Debug info:","trackAdvertisementEvent","status","🚀 Sending advertisement event: ","parseNumericValue","replace","height","apiKey","warn"," for ad ","slots","NOT_SET","510996hjCsRi","statusText","number","14APGyyi","8zHJFJm","POST","createForEvents","sessionId","getPageInfo","platform","error","collectDeviceInfo","4600442JAoSJc","3475860HilqHx","querySelector","stringify"," event for ad ","API request failed: ","deviceId"];return(U=function(){return t})()}function _(t,e){const n=U();return(_=function(t,e){return n[t-=355]})(t,e)}!function(){const t=_,e=U();for(;;)try{if(545533===parseInt(t(413))/1*(parseInt(t(370))/2)+parseInt(t(367))/3+-parseInt(t(408))/4+parseInt(t(395))/5+-parseInt(t(380))/6+-parseInt(t(379))/7*(-parseInt(t(371))/8)+-parseInt(t(405))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class z{constructor(t,e,n,s){const i=_;this.baseUrl=t,this[i(362)]=e,this[i(391)]=n,this[i(365)]=s}async[P(356)](t,e,n){const s=P;try{this.debug&&console[s(402)](s(406)+n+s(383)+t+s(390)+e);const i=this[s(365)].get(e);if(!i)return void(this[s(391)]&&console[s(363)](s(397)+e+s(404)));if(!(document[s(386)](i.containerId)||document[s(381)](s(410)+e+'"]')))return void(this[s(391)]&&console.warn("⚠️ DOM element not found for slotId: "+e+" (containerId: "+i[s(396)]+s(407)));const r=T[s(378)](),a={adType:i[s(394)],platform:r[s(376)],deviceId:r[s(385)],deviceInfo:r,pageUrl:v[s(375)]()[s(398)],pageTitle:v.getPageInfo()[s(409)],referrer:v[s(375)]()[s(388)],slotId:e,slotPosition:T[s(387)](i[s(396)]),slotWidth:z[s(359)](i[s(393)]),slotHeight:z.parseNumericValue(i[s(361)]),sessionId:r[s(374)],pageLoadTime:performance[s(403)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date[s(403)]()},...n===o[s(389)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(412)]+"/advertisements/events/"+t+"/"+n,d=B[s(373)](this.apiKey,a);this[s(391)]&&(console.log(s(358)+n+s(364)+t,{url:c,headers:d,eventData:a}),console.log("🌐 Full API call details:",{method:s(372),url:c,hasApiKey:!!this[s(362)],bodySize:JSON[s(382)](a).length}));const l=await fetch(c,{method:s(372),headers:d,body:JSON.stringify(a)});if(this[s(391)]&&console[s(402)]("📡 API Response Status: "+l[s(357)]+" "+l.statusText,{url:c,ok:l.ok}),!l.ok){const t=await l.text();throw new Error(s(384)+l[s(357)]+" "+l[s(368)]+s(399)+t)}this[s(391)]&&console[s(402)](s(411)+n+s(364)+t)}catch(i){console[s(377)](s(400),i),console[s(377)](s(355),{baseUrl:this[s(412)],apiKey:this[s(362)]?this.apiKey[s(392)](0,8)+"...":s(366),url:this[s(412)]+"/advertisements/events/"+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[P(359)](t){const e=P;if(typeof t===e(369))return t;if(typeof t===e(401)){const n=parseFloat(t[e(360)](/px$/,""));return isNaN(n)?0:n}return 0}}function M(){var t=["observe","disconnect","IntersectionObserver","visibilityState","134rbUaJH","element","IntersectionObserver not supported, viewability tracking disabled","warn","initIntersectionObserver","hidden","15mLcUSh","handleIntersection","10KPikpN","130293QJByNQ","942424aHLKfH","0px","5617176yXYsYp","2230hTnVKr","isDocumentVisible","481732BFnmap","1682010jDZbTg","forEach","observer","3400040rfsPQn","isViewableTriggered","destroy","onViewableCallback"];return(M=function(){return t})()}var N=O;function O(t,e){var n=M();return(O=function(t,e){return n[t-=137]})(t,e)}!function(){for(var t=O,e=M();;)try{if(517077===-parseInt(t(146))/1*(-parseInt(t(160))/2)+-parseInt(t(149))/3+parseInt(t(148))/4*(-parseInt(t(139))/5)+parseInt(t(145))/6+parseInt(t(152))/7+-parseInt(t(143))/8+-parseInt(t(142))/9*(parseInt(t(141))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class V{constructor(t,e){var n=O;this[n(151)]=null,this.isViewableTriggered=!1,this[n(161)]=t,this[n(155)]=e,this[n(137)]()}[N(137)](){var t=N;t(158)in window?(this[t(151)]=new IntersectionObserver(t=>this.handleIntersection(t),{threshold:.5,rootMargin:t(144)}),this[t(151)][t(156)](this[t(161)])):console[t(163)](t(162))}[N(140)](t){var e=N;t[e(150)](t=>{var n=e;t.intersectionRatio>=.5&&this[n(147)]()&&!this[n(153)]&&(this[n(153)]=!0,this[n(155)]&&this[n(155)]())})}isDocumentVisible(){var t=N;return!document[t(138)]&&"visible"===document[t(159)]}[N(154)](){var t=N;this[t(151)]&&(this[t(151)][t(157)](),this[t(151)]=null)}}const F=K;function K(t,e){const n=J();return(K=function(t,e){return n[t-=395]})(t,e)}!function(){const t=K,e=J();for(;;)try{if(658794===parseInt(t(398))/1+parseInt(t(406))/2*(-parseInt(t(408))/3)+-parseInt(t(402))/4+-parseInt(t(400))/5*(-parseInt(t(404))/6)+-parseInt(t(419))/7+parseInt(t(407))/8*(parseInt(t(412))/9)+parseInt(t(417))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const H={production:F(415),beta:F(396)};F(416);const j={advertisements:{list:F(420),detail:F(410),events:F(411)},events:{track:F(403),registerAttribution:F(401)}};class W{constructor(t){const e=F;this[e(418)]={list:()=>""+this[e(405)]+j.advertisements.list,detail:t=>""+this.baseUrl+j.advertisements.detail+"/"+t,events:(t,n)=>""+this[e(405)]+j[e(418)][e(409)]+"/"+t+"/"+n},this[e(409)]={track:()=>""+this[e(405)]+j[e(409)][e(399)],registerAttribution:()=>""+this[e(405)]+j.events[e(414)]},this[e(405)]=t||H[e(416)]}[F(413)](t){this[F(405)]=t}[F(397)](){return this[F(405)]}custom(t){const e=F;return""+this[e(405)]+(t[e(395)]("/")?t:"/"+t)}}const q=new W;function J(){const t=["/advertisements/events","2222811RoAzJY","setBaseUrl","registerAttribution","https://api.adstage.app","production","12673810lXQNPJ","advertisements","6463408aeduCV","/advertisements/list","startsWith","https://beta-api.adstage.app","getBaseUrl","300763RFObcB","track","20HyuYdu","/events/register/attribution","3763584TRWyVJ","/events/track","1450368euumeO","baseUrl","356262ZgIFRQ","40WKZlUe","21oOgmlr","events","/advertisements"];return(J=function(){return t})()}var Y=G;function G(t,e){var n=Q();return(G=function(t,e){return n[t-=348]})(t,e)}!function(){for(var t=G,e=Q();;)try{if(947355===-parseInt(t(368))/1*(-parseInt(t(361))/2)+parseInt(t(351))/3*(parseInt(t(355))/4)+-parseInt(t(349))/5*(-parseInt(t(365))/6)+parseInt(t(364))/7*(-parseInt(t(353))/8)+parseInt(t(359))/9*(-parseInt(t(350))/10)+-parseInt(t(363))/11+parseInt(t(358))/12*(parseInt(t(367))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class X{static trackSlideViewable(t,e,n,s,i=!1){var r=G;i&&console[r(348)](r(362)+t[r(360)]+r(356)+n+r(366)+e.id),s(t[r(360)],e.id,o[r(352)])}static[Y(357)](t,e,n,s=!1){var i=Y;s&&console[i(348)](i(354)+t[i(360)]+" (index: 0) in slot: "+e.id),n(t[i(360)],e.id,o.VIEWABLE)}}function Q(){var t=["3724091qEjtdd","4737702wtghsl",") in slot: ","13RRESHb","7EchvzM","log","5BSKKdP","1096090tPBIaN","15MdxAch","VIEWABLE","24NnqySw","🎯 Triggering initial VIEWABLE event: ad ","1189304xOVtgU"," (index: ","trackInitialSlideViewable","29750556wriXCd","99ButaPS","_id","40746nkMroZ","🎯 Triggering VIEWABLE event for slide change: ad ","12638758UplvCz"];return(Q=function(){return t})()}const Z=$;function $(t,e){const n=et();return($=function(t,e){return n[t-=425]})(t,e)}!function(){const t=$,e=et();for(;;)try{if(293705===parseInt(t(427))/1*(parseInt(t(440))/2)+-parseInt(t(431))/3*(-parseInt(t(439))/4)+parseInt(t(449))/5*(-parseInt(t(453))/6)+parseInt(t(441))/7+parseInt(t(448))/8+-parseInt(t(434))/9+-parseInt(t(455))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class tt{static addClickEvent(t,e,n,s,i=!1,r){const a=$;e[a(444)]&&(t[a(445)][a(442)]=a(428),t[a(454)](a(425),t=>{const c=a;if(t.preventDefault(),t.stopPropagation(),s&&s(e[c(432)],n.id,o[c(436)]),window[c(447)](e[c(444)],c(430)),i){const t=r||String(n[c(433)]).toLowerCase();console[c(437)]("🔗 "+t+" ad clicked: "+e[c(432)]+c(450)+e[c(444)])}}))}static[Z(451)](t,e,n,s,i=!1,r){const a=Z;e[a(444)]&&(t.style[a(442)]=a(428),t[a(454)](a(425),t=>{const c=a;t[c(446)](),t.stopPropagation();if(s()(e[c(432)],n.id,o.CLICK),window.open(e[c(444)],c(430)),i){const t=r||String(n.adType)[c(435)]();console[c(437)](c(438)+t+c(426)+e[c(432)]+" -> "+e[c(444)])}}))}static[Z(452)](t,e,n,s,i=!1,r){this[Z(429)](t,e,n,s,i,r)}static isClickable(t){return Boolean(t[Z(444)])}static[Z(443)](t,e,n,s,i=!1,r){t.forEach((t,o)=>{const a=$,c=e[o];c&&this[a(429)](t,c,n,s,i,r)})}}function et(){const t=["CLICK","log","🔗 ","248VzaYCg","26BjFAtt","3285226jFIvVV","cursor","addClickEventsBatch","linkUrl","style","preventDefault","open","1864792aYBusx","428115QZYrvW"," -> ","addClickEventForRenderer","addClickEventForSlider","6SAsLQa","addEventListener","6981570LZiWlH","click"," ad clicked: ","34721gmTNiv","pointer","addClickEvent","_blank","13131nDqRyY","_id","adType","3129111WUtroP","toLowerCase"];return(et=function(){return t})()}const nt=it;function st(){const t=["1px dashed #ccc","0.7","createMinimalDotIndicator","forEach","cover",".adstage-dot","white","auto","setAttribute","#666666","color","autoSlideInterval","div","touches","trackSlideViewable","imageUrl","transparent","_id","padding","includes","objectFit","src","block","normal","createSimpleAdElement","opacity","relative","fontSize","3PIoaul","createElement","14px","adstage-dot","#f0f0f0","textContent","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","flex","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","VIDEO","video","removeChild","#cccccc","translateX(-","every","querySelectorAll","inline-block","touchend","addTouchSupport","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","appendChild","cssText","entries","adType","className","transform 0.4s ease-out","transition","Video Ad","#000","addEventListener","touchmove","adstage-slider-wrapper","149980QqciuO","adstage-slide-container","preventDefault","1165706mpitsS","Banner Ad","3907645oJnmNE","#f9f9f9","borderColor","transform","children","clientX","classList","adstage-slide","4597180QAlGfj","string","width","length","center","1806309gfLeRz","#999999","50px","getBoundingClientRect","contains","1px solid #666","Text Ad","100px","height","style","100%","backgroundColor","touchstart","16EYAESw","adstage-ad adstage-","6aPXLVU","videoUrl","setProperty","background","active","hidden","8px","mouseleave","display","border","547998LureAx","3175595nVttlp","mouseenter","adstage-dots","whiteSpace"];return(st=function(){return t})()}function it(t,e){const n=st();return(it=function(t,e){return n[t-=399]})(t,e)}!function(){const t=it,e=st();for(;;)try{if(329594===-parseInt(t(462))/1+-parseInt(t(422))/2*(-parseInt(t(495))/3)+-parseInt(t(419))/4+parseInt(t(463))/5+-parseInt(t(452))/6*(-parseInt(t(424))/7)+parseInt(t(450))/8*(-parseInt(t(437))/9)+-parseInt(t(432))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[nt(491)](e,n){const s=nt,i=document[s(496)](s(479));switch(i[s(411)]=s(451)+String(e.adType).toLowerCase(),i.setAttribute("data-adstage-ad-id",n[s(484)]),i[s(475)]("data-adstage-slot-id",e.id),i[s(446)][s(460)]=s(489),i[s(446)][s(434)]=s(447),i[s(446)][s(445)]=s(474),e.adType){case t.BANNER:if(n.imageUrl){const t=document[s(496)]("img");t.src=n[s(482)],t[s(446)][s(434)]=s(447),t[s(446)].height=s(474),t[s(446)][s(487)]=s(471),i[s(407)](t)}else i.style[s(445)]=s(444),i.style.backgroundColor=s(499),i[s(446)].border=s(467),i[s(500)]=s(423);break;case t[s(504)]:if(n[s(453)]){const t=document[s(496)](s(505));t[s(488)]=n[s(453)],t[s(446)][s(434)]=s(447),t[s(446)][s(445)]="auto",i[s(407)](t)}else i[s(446)].height="200px",i[s(446)][s(448)]=s(415),i[s(446)][s(461)]=s(442),i.textContent=s(414),i[s(446)][s(477)]=s(473);break;case t.TEXT:if(n[s(500)]){const t=document.createElement(s(479));t.textContent=n.textContent||"",t.style.padding=s(458),t[s(446)][s(494)]=s(497),i[s(407)](t)}else i.style[s(445)]=s(439),i[s(446)][s(485)]="8px",i[s(500)]=s(443);break;default:i[s(446)][s(445)]=s(444),i[s(446)].border=s(467),i.style[s(448)]=s(425),i.textContent=e.adType+" Ad"}return i}static createSliderContainer(e,n,s,i,r=!1){const o=nt,a=document.createElement("div");a[o(411)]=o(418);const c={position:o(493),overflow:o(457)};if(e[o(434)]&&0!==e[o(434)]){let t;t=typeof e[o(434)]===o(433)&&(e.width[o(486)]("px")||e[o(434)][o(486)]("%"))?e[o(434)]:e[o(434)]+"px",c[o(434)]=t,c[o(460)]="inline-block"}else c.display=o(403);if(e.height&&0!==e[o(445)]){const t=typeof e[o(445)]===o(433)?e[o(445)]:e[o(445)]+"px";c[o(445)]=t}Object.entries(c)[o(470)](([t,e])=>{const n=o;a.style[n(454)](t,e)});const d=!e.width||0===e[o(434)],l=!e[o(445)]||0===e[o(445)];if(d||l){const t=document[o(496)](o(479));if(t[o(446)][o(408)]=o(406),!d&&e[o(434)]){let n;n=typeof e[o(434)]===o(433)&&(e[o(434)].includes("px")||e[o(434)][o(486)]("%"))?e[o(434)]:e[o(434)]+"px",t[o(446)][o(434)]=n,t[o(446)][o(466)]=o(490)}document.body[o(407)](t);let s=0,i=0;n[o(470)](n=>{const r=o,a=this[r(491)](e,n);t[r(407)](a);const c=a[r(440)]();c[r(434)]>s&&(s=c[r(434)]),c[r(445)]>i&&(i=c.height),t[r(506)](a)}),d&&s>0&&(a.style[o(434)]=s+"px",c[o(434)]=s+"px"),l&&i>0&&(a.style[o(445)]=i+"px",c.height=i+"px"),document.body[o(506)](t)}const u=[...n,n[0]],p=document.createElement(o(479));p[o(411)]=o(420);const h={display:o(502),transition:o(412),width:100*u[o(435)]+"%"};e[o(445)]&&0!==e[o(445)]&&(h[o(445)]=o(447)),Object[o(409)](h)[o(470)](([t,e])=>{const n=o;p[n(446)][n(454)](t,e)}),u[o(470)]((t,n)=>{const s=o,a=document[s(496)](s(479));a[s(411)]=s(431);const c={width:100/u.length+"%","flex-shrink":"0",display:s(502),"align-items":s(436),"justify-content":s(436)};e[s(445)]&&0!==e.height&&(c.height="100%"),Object[s(409)](c)[s(470)](([t,e])=>{const n=s;a.style[n(454)](t,e)});const d=this[s(491)](e,t);tt.addClickEventForSlider(d,t,e,i,r,String(e.adType).toLowerCase()),a.appendChild(d),p[s(407)](a)});const f=n[o(401)](e=>e[o(410)]===t.TEXT)?null:this[o(469)](n[o(435)]);let g=0;const m=n[o(435)],I=1e3*(s?.[o(478)]||3),v=(t,s=!1)=>{const a=o;g=t,s?p.style[a(413)]="none":p[a(446)][a(413)]="transform 0.4s ease-out",p[a(446)][a(427)]=a(400)+100/u[a(435)]*g+"%)";const c=g===m?0:g;if(f){f[a(402)](a(472))[a(470)]((t,e)=>{const n=a,s=t;e===c?(s[n(430)].add("active"),s[n(446)][n(455)]=n(476),s.style[n(426)]=n(476),s[n(446)][n(492)]="1"):(s[n(430)].remove(n(456)),s[n(446)][n(455)]=n(483),s[n(446)][n(426)]=n(399),s[n(446)][n(492)]=n(468))})}X[a(481)](n[c],e,c,i,r)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(402)](".adstage-dot")[o(470)]((t,e)=>{t[o(416)]("click",()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[o(416)](o(464),()=>{clearInterval(b)}),a[o(416)](o(459),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(405)](p,v,()=>g,m,y),a[o(407)](p),f&&a[o(407)](f),v(0),(!e[o(434)]||0===e[o(434)])&&setTimeout(()=>{const t=o,n=p[t(428)][0];if(n){const s=n[t(428)][0];if(s){const n=s[t(440)]();a.style[t(434)]=n[t(434)]+"px",(!e.height||0===e[t(445)])&&(a[t(446)][t(445)]=n.height+"px"),a[t(446)].overflow=t(457)}}},10),a}static[nt(469)](t){const e=nt,n=document[e(496)](e(479));n[e(411)]=e(465),n.style[e(408)]=e(503);for(let s=0;s<t;s++){const t=document[e(496)]("button");t.className=e(498),t[e(446)][e(408)]=e(501),t[e(416)](e(464),()=>{const n=e;!t[n(430)][n(441)]("active")&&(t[n(446)][n(426)]=n(438),t[n(446)][n(492)]="0.9")}),t[e(416)]("mouseleave",()=>{const n=e;!t[n(430)][n(441)](n(456))&&(t[n(446)][n(426)]=n(399),t.style.opacity=n(468))}),n[e(407)](t)}return n}static[nt(405)](t,e,n,s,i){const r=nt;let o=0,a=!1;t[r(416)](r(449),t=>{const e=r;o=t[e(480)][0][e(429)],a=!0}),t.addEventListener(r(417),t=>{a&&t[r(421)]()}),t.addEventListener(r(404),t=>{const c=r;if(!a)return;a=!1;const d=t.changedTouches[0][c(429)],l=o-d;if(Math.abs(l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}const ot=ct;function at(){const t=["1110600YoHPLu","7204088EwtXQz","log"," in slot ","3094641nxOtVU","7IGYvbl","5UEFGhr","119086pyuDLv","✅ New viewable recorded for ad ","has","2421078YQcqrM","isDuplicateViewable","viewableTracker","add","clear","2310513nrXXga","Duplicate viewable blocked for ad ","750928HDBPNv","clearAdViewable"];return(at=function(){return t})()}function ct(t,e){const n=at();return(ct=function(t,e){return n[t-=177]})(t,e)}!function(){const t=ct,e=at();for(;;)try{if(557330===parseInt(t(186))/1+parseInt(t(179))/2+-parseInt(t(194))/3+-parseInt(t(177))/4+parseInt(t(185))/5*(-parseInt(t(189))/6)+-parseInt(t(184))/7*(-parseInt(t(180))/8)+parseInt(t(183))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{static[ot(190)](t,e,n=!1){const s=ot,i=t+"_"+e;return dt.viewableTracker[s(188)](i)?(n&&console[s(181)](s(195)+t+" in slot "+e),!0):(dt[s(191)][s(192)](i),n&&console[s(181)](s(187)+t+s(182)+e),!1)}static[ot(193)](){const t=ot;dt.viewableTracker[t(193)]()}static[ot(178)](t,e){const n=t+"_"+e;dt[ot(191)].delete(n)}}function lt(t,e){const n=pt();return(lt=function(t,e){return n[t-=233]})(t,e)}dt.viewableTracker=new Set;const ut=lt;function pt(){const t=["1px dashed #ccc","error"," event for ad ","classList","adstage-class"," in slot ","📏 Using 100% height (container: ","closest","1562845hFCQnH","px)","#e74c3c","getContainerHeight",'div[style*="min-height"]',"2368826rcZddi"," container: ","flex","adstage-official","adType","createPlaceholder","setAttribute","invisible","placeholderMode","⚠️ ","data-adstage-container","data-adstage-slot","🔄 Starting advertisement event tracking: ","number","2px dashed #e74c3c","block","rgba(231, 76, 60, 0.1)",'[class*="container"]','[class*="banner"]',"VIEWABLE","log","transparent","className","minHeight"," ad...</span>","filter","🚫 Duplicate viewable blocked for ad ","warn","trackAdvertisementEvent","getDefaultHeight","⚠️ AdvertisementEventTracker not available for ",".adstage-slot","subtle"," for ","calculateAdSize","applyPlaceholderStyle","7331583JiFbtT","backgroundColor","fontSize","style","auto","alignItems","height","hasAttribute","📏 Using default height ","none","containerId","rgba(0, 0, 0, 0.02)","7752192nYmfXj","getAttribute","monospace","opacity"," event","4SfSgbs","createElement","⚠️ Created empty ","100%","minimal","cssText","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","true","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","📦 Placeholder created for "," slot: ","✅ New viewable recorded for ad ","generic","unknown","createEventTrackingCallback","data-adstage-type","isDuplicateViewable","fontFamily","borderRadius","2104968eKuPsy","border","debug"," for ad "," x ","getElementById","<span>Loading ","innerHTML","display","getComputedStyle","1px solid rgba(0, 0, 0, 0.08)","color","createEmptyContainer","center","parentElement","561273VedGyV","4px","string","advertisement","1UzuOWJ","isEmpty","justifyContent",".adstage-",") - Mode: ","appendChild","11px","toLowerCase","advertisementEventTracker","width","adstage-slot adstage-empty adstage-","38673873aVbbWL",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"❌ Failed to track ",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>'," container collapsed (",'[class*="ad"]',"data-adstage-empty"];return(pt=function(){return t})()}!function(){const t=lt,e=pt();for(;;)try{if(619985===-parseInt(t(308))/1*(parseInt(t(339))/2)+parseInt(t(304))/3+parseInt(t(270))/4*(-parseInt(t(334))/5)+-parseInt(t(289))/6+-parseInt(t(253))/7+-parseInt(t(265))/8+parseInt(t(319))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht{constructor(t,e=!1,n){const s=lt;this[s(343)]=t,this[s(291)]=e,this[s(316)]=n||null}[ut(344)](t,e,n,s){const i=ut,r=document[i(271)]("div");r.id=e,r[i(239)]="adstage-slot adstage-"+String(this[i(343)])[i(315)](),r[i(345)](i(349),"true"),r[i(345)](i(285),String(this[i(343)])),r[i(345)](i(350),e);const{width:o,height:a}=this[i(251)](t,n,s)||{width:i(273),height:this[i(246)]()};r.style[i(317)]=o,r[i(256)][i(259)]=a;const c=s?.[i(347)]||n.placeholderMode||i(346);this[i(252)](r,c),t.appendChild(r),this[i(291)]&&console.log(i(279)+this.adType+i(280)+e+" ("+o+i(293)+a+i(312)+c)}applyPlaceholderStyle(t,e){const n=ut;switch(e){case n(346):t[n(256)].backgroundColor=n(238),t[n(256)][n(290)]=n(262),t[n(256)][n(268)]="0",t[n(296)]="";break;case"transparent":t[n(256)][n(254)]="transparent",t.style.border="none",t.style[n(297)]=n(354),t[n(296)]="";break;case n(249):t[n(256)][n(254)]=n(264),t[n(256)][n(290)]=n(262),t[n(256)].borderRadius=n(305),t.style[n(297)]="flex",t[n(256)][n(258)]=n(302),t[n(256)][n(310)]=n(302),t.innerHTML=n(322);break;case n(274):t[n(256)][n(254)]="rgba(248, 249, 250, 0.5)",t[n(256)][n(290)]=n(299),t[n(256)][n(288)]="6px",t.style.display=n(341),t.style[n(258)]=n(302),t[n(256)][n(310)]=n(302),t[n(296)]=n(320);break;case"debug":t.style[n(290)]=n(353),t[n(256)][n(297)]="flex",t[n(256)].alignItems="center",t[n(256)][n(310)]=n(302),t[n(256)][n(254)]=n(233),t[n(256)][n(300)]=n(336),t.style[n(287)]=n(267),t[n(256)][n(255)]=n(314),t[n(296)]="<span>Loading "+this[n(343)]+n(241);break;default:t[n(256)][n(290)]=n(326),t.style.display=n(341),t[n(256)][n(258)]="center",t[n(256)].justifyContent=n(302),t[n(256)][n(254)]="#f9f9f9",t[n(256)].color="#666",t[n(296)]=n(295)+this[n(343)]+n(241)}}[ut(251)](t,e,n){const s=ut,i=e[s(317)],r=e[s(259)];let o,a;if(o=typeof i===s(352)?i+"px":typeof i===s(306)?i:"100%",typeof r===s(352))a=r+"px";else if(typeof r===s(306)&&r!==s(273)&&"auto"!==r)a=r;else{const e=this.getContainerHeight(t);e>0?(a="100%",(n?.[s(291)]||this.debug)&&console[s(237)](s(332)+e+s(335))):(a=this[s(246)](),(n?.[s(291)]||this[s(291)])&&console[s(237)](s(261)+a+s(250)+this[s(343)]))}return{width:o,height:a}}[ut(337)](t){const e=ut,n=window[e(298)](t),s=parseFloat(n[e(259)]);if(!s||0===s){const s=parseFloat(n[e(240)]);if(s>0)return s;if(t[e(256)].height&&t[e(256)][e(259)]!==e(257)){const n=parseFloat(t[e(256)][e(259)]);if(n>0)return n}const i=t[e(266)](e(259));if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}[ut(284)](){return async(t,e,n)=>{const s=lt;if(n===o[s(236)]){if(dt[s(286)](t,e,this[s(291)]))return void(this[s(291)]&&console[s(237)](s(243)+t+s(331)+e));this[s(291)]&&console[s(237)](s(281)+t+s(331)+e)}if(this[s(316)])try{this.debug&&console[s(237)](s(351)+n+s(292)+t+s(331)+e),await this[s(316)][s(245)](t,e,n),this[s(291)]&&console.log("📊 Advertisement event tracked: "+n+s(292)+t+s(331)+e)}catch(e){this[s(291)]&&console[s(327)](s(321)+n+s(328)+t+":",e)}else this[s(291)]&&console.warn(s(247)+n+s(269))}}renderFallback(t){const e=ut,n=document[e(294)](t.id);if(n){const s=[...[n.querySelector('[data-adstage-container="true"]'),n[e(333)]('[data-adstage-container="true"]'),n][e(242)](t=>t&&t[e(260)]("data-adstage-container")),...[n[e(333)](e(248)),n[e(333)](e(311)+String(this.adType)[e(315)]()),n[e(333)](e(324)),n[e(333)](e(235)),n[e(333)](e(234)),n.closest('div[style*="height"]'),n[e(333)](e(338)),n[e(303)]][e(242)](Boolean)][0];if(s){let n=e(283);n=s[e(260)]("data-adstage-container")?e(342):s[e(329)].contains("adstage-slot")?e(330):e(282),s[e(256)][e(275)]+=e(278),s.innerHTML="",s[e(345)](e(325),e(277)),this[e(291)]&&console[e(244)](e(348)+this[e(343)]+e(323)+n+"): "+t.id,s)}else this[e(301)](t)}t[e(307)]=void 0,t[e(309)]=!0}[ut(301)](t){const e=ut,n=document[e(294)](t[e(263)]);if(n){n[e(296)]="";const s=document[e(271)]("div");s.id=t.id,s[e(239)]=e(318)+String(this.adType).toLowerCase(),s[e(345)]("data-adstage-container","true"),s.setAttribute(e(325),e(277)),s.setAttribute("data-adstage-slot",t.id),s.style[e(275)]=e(276),n[e(313)](s),this.debug&&console[e(244)](e(272)+this[e(343)]+e(340)+t.id)}}[ut(237)](t,...e){const n=ut;this.debug&&console[n(237)]("["+this.adType+"] "+t,...e)}}const ft=mt;function gt(){const t=["</div>","8px","<div>","calculateOptimalHeight","selectOptimalSizeStrategy","reduce","backgroundColor","aspectRatio","createEventTrackingCallback","createElement","config","applyOptimizedImageStyle","dominant","length","get"," with ","100%","naturalHeight","src","max","296572ymRVwp","style","addClickEventForRenderer","map"," (avg: ","🎠 Banner carousel created for slot: ","15hCbcLT","borderRadius","warn","display","values","cover","📐 Optimal banner container calculated: ","Failed to calculate optimal banner size, using defaults:","Banner Ad","contain","count","📸 Banner image dimensions: ","fulfilled","🎨 Banner image style applied: objectFit=","width","set","727551TjtGNG","log","ratio","average","5146929JvkIgK","forEach","toString","4278072Xskwga","getDefaultHeight",", ratio=","Failed to load image: ","getElementById","alt","containerId","#f0f0f0","renderOptimizedBannerImage","height","center","calculateAdSize","allSettled","✅ Optimized banner image rendered for ad: ","285113CVMlhX","calculateOptimalContainerSize"," ads (optimized: ","3wuDxBs","loadImageDimensions","filter","Container not found: ",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"abs","Banner","appendChild","2wNMTgD","innerHTML","error","parentElement","optimizedHeight","imageUrl","common","Banner Advertisement","82092DGDomB","img","Image URL is not provided","BANNER","objectFit","🔧 Banner container optimized for ","📦 Banner container dimensions: ","getBoundingClientRect","value"," ads: ","className","objectPosition","renderMultipleAds","round"," (strategy: ","optimizeContainerForBannerAds","2690905AIsZhi","toFixed","30ryCdkF","4:3","title","name","debug"];return(gt=function(){return t})()}function mt(t,e){const n=gt();return(mt=function(t,e){return n[t-=478]})(t,e)}!function(){const t=mt,e=gt();for(;;)try{if(301750===-parseInt(t(570))/1*(parseInt(t(581))/2)+-parseInt(t(573))/3*(parseInt(t(527))/4)+-parseInt(t(533))/5*(-parseInt(t(484))/6)+parseInt(t(500))/7+-parseInt(t(556))/8+parseInt(t(553))/9+-parseInt(t(502))/10*(-parseInt(t(549))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It extends ht{constructor(e=!1,n){super(t[mt(487)],e,n)}[ft(557)](){return"250px"}async renderAdElement(t,e){const n=ft,s=document[n(560)](t[n(562)]);if(!s)return;const i=document[n(516)]("div");i[n(494)]="adstage-ad adstage-banner-ad";const r=t.optimizedHeight,o=s[n(479)]||s;if(r)i[n(528)].width="100%",i[n(528)][n(565)]=String(r);else{const e=t[n(517)],s={width:e?.[n(547)],height:e?.height},{width:r,height:a}=this[n(567)](o,s,{debug:this[n(506)]});i[n(528)].width=r,i.style.height=a}e.imageUrl?await this[n(564)](i,e,t):i[n(582)]=n(509)+(e[n(504)]||n(541))+n(507),tt.addClickEventForRenderer(i,e,t,()=>this[n(515)](),this.debug,n(579)),s.innerHTML="",s[n(580)](i)}async[ft(496)](t,e){const n=ft,s=document[n(560)](t.containerId);if(!s)throw new Error(n(576)+t[n(562)]);await this[n(499)](t,e);const i=this.createEventTrackingCallback(),r={autoSlideInterval:(t[n(517)]?.slideInterval||5e3)/1e3,...t[n(517)],optimizedHeight:t[n(480)],aspectRatio:t[n(514)]},o=rt.createSliderContainer(t,e,r,i,this.debug);o&&(s[n(582)]="",s[n(580)](o),this[n(506)]&&console[n(550)](n(532)+t.id+n(522)+e.length+n(572)+(t[n(480)]||"default")+")"))}async calculateOptimalContainerSize(t,e){const n=ft;if(!t.length)return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const s=(await Promise[n(568)](t[n(575)](t=>t.imageUrl)[n(530)](t=>this.loadImageDimensions(t[n(481)]))))[n(575)](t=>t.status===n(545)).map(t=>t[n(492)]);if(0===s[n(520)])return{width:n(523),height:this[n(557)](),aspectRatio:16/9};const i=this[n(511)](s),r=this[n(510)](s,e,i);return this[n(506)]&&console[n(550)](n(539)+e+"x"+r+n(498)+i+")"),{width:"100%",height:r+"px",aspectRatio:e/r}}catch(t){return console[n(535)](n(540),t),{width:n(523),height:this[n(557)](),aspectRatio:16/9}}}async[ft(499)](t,e){const n=ft;try{const s=document[n(560)](t[n(562)]),i=document[n(560)](t.id);if(!s||!i)return;const r=s[n(491)]()[n(547)]||300,o=await this[n(571)](e,r);i[n(528)][n(565)]=o[n(565)],t[n(480)]=o[n(565)],t[n(514)]=o[n(514)],this.debug&&console[n(550)](n(489)+e.length+n(493)+o[n(565)])}catch(t){console[n(535)]("Banner container optimization failed, using default size:",t)}}[ft(511)](t){const e=ft,n=t[e(530)](t=>t[e(547)]/t[e(565)]),s=new Map;n[e(554)](t=>{const n=e,i=(Math[n(497)](10*t)/10).toString();s[n(548)](i,(s[n(521)](i)||0)+1)});const i=Math[e(526)](...s[e(537)]()),r=t[e(520)];if(i/r>=.7)return e(519);const o=[16/9,4/3,1,1.5],a=n[e(575)](t=>o.some(n=>Math[e(578)](t-n)<.1))[e(520)];return e(a/r>=.5?482:552)}calculateOptimalHeight(t,e,n){const s=ft,i=t.map(t=>t.width/t.height);switch(n){case s(519):{const t=new Map;i[s(554)](e=>{const n=s,i=Math[n(497)](10*e)/10,r=i[n(555)](),o=t[n(521)](r);o?o.count++:t.set(r,{ratio:i,count:1})});const n=Array.from(t[s(537)]())[s(512)]((t,e)=>e[s(543)]>t.count?e:t);return Math[s(497)](e/n[s(551)])}case"common":{const t=[{ratio:16/9,name:"16:9"},{ratio:4/3,name:s(503)},{ratio:1,name:"1:1"},{ratio:1.5,name:"3:2"}],n=i.reduce((t,e)=>t+e,0)/i[s(520)],r=t[s(512)]((t,e)=>Math.abs(e[s(551)]-n)<Math.abs(t[s(551)]-n)?e:t);return this[s(506)]&&console.log("📊 Using standard ratio: "+r[s(505)]+s(531)+n.toFixed(2)+")"),Math[s(497)](e/r[s(551)])}case s(552):default:{const t=i.reduce((t,e)=>t+e,0)/i[s(520)];return Math.round(e/t)}}}loadImageDimensions(t){return new Promise((e,n)=>{const s=mt,i=new Image;i.onload=()=>{const t=mt;e({width:i.naturalWidth,height:i[t(524)]})},i.onerror=()=>{n(new Error(mt(559)+t))},i[s(525)]=t})}[ft(518)](t,e,n){const s=ft,i=e/n;Math.abs(i-1)<.1?(t.style[s(488)]=s(538),t.style[s(495)]=s(566)):i>1.3?(t.style[s(488)]=s(542),t.style[s(495)]=s(566),t[s(528)][s(513)]=s(563)):i<.7?(t[s(528)][s(488)]=s(538),t.style.objectPosition=s(566)):(t[s(528)].objectFit=s(538),t[s(528)][s(495)]=s(566)),this[s(506)]&&console.log(s(546)+t[s(528)][s(488)]+s(558)+i[s(501)](2))}async[ft(564)](t,e,n){const s=ft,i=document.createElement(s(485));i[s(528)][s(547)]=s(523),i.style.height=s(523),i[s(528)][s(536)]="block",i[s(528)][s(534)]=s(508),i[s(561)]=e[s(504)]||s(483),t[s(582)]=s(577);try{if(!e[s(481)])throw new Error(s(486));const r=await this[s(574)](e[s(481)]),o=t.getBoundingClientRect(),a=o[s(547)],c=o.height;this[s(506)]&&(console.log(s(544)+r[s(547)]+"x"+r[s(565)]),console[s(550)](s(490)+a+"x"+c));const d=r[s(547)]/r[s(565)],l=a/c;return this[s(518)](i,d,l),i[s(525)]=e[s(481)],t[s(582)]="",t[s(580)](i),tt[s(529)](i,e,n,()=>this[s(515)](),this[s(506)],"Banner"),this[s(506)]&&console[s(550)](s(569)+e._id),i}catch(r){return console[s(478)]("❌ Failed to load optimized banner image:",r),e[s(481)]&&(i[s(525)]=e.imageUrl,i[s(528)][s(488)]=s(538),i.style[s(495)]=s(566),t[s(582)]="",t[s(580)](i),tt[s(529)](i,e,n,()=>this[s(515)](),this[s(506)],s(579))),i}}}const vt=yt;function yt(t,e){const n=bt();return(yt=function(t,e){return n[t-=391]})(t,e)}function bt(){const t=["12995628ywTggk","5873211PovnSV","title","40rZbZWX","10243230oKJuMO","createTextAdStyles","34EInTze","40197BBzgbF","6531048zQcqTf","11etXYyq","36eQAyjl","459215staoNy","textContent","136179dqwXel","7mCqQzD"];return(bt=function(){return t})()}!function(){const t=yt,e=bt();for(;;)try{if(629837===-parseInt(t(395))/1*(parseInt(t(394))/2)+parseInt(t(401))/3*(parseInt(t(391))/4)+-parseInt(t(399))/5*(parseInt(t(398))/6)+parseInt(t(402))/7*(parseInt(t(396))/8)+parseInt(t(404))/9+parseInt(t(392))/10*(parseInt(t(397))/11)+-parseInt(t(403))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class wt{static[vt(393)](t=!1){return"\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n "}static setTextAdContent(t,e){const n=vt,s=e[n(400)]||e[n(405)]||"";t.textContent=s}}const kt=Et;function Et(t,e){const n=At();return(Et=function(t,e){return n[t-=394]})(t,e)}!function(){const t=Et,e=At();for(;;)try{if(448855===-parseInt(t(456))/1*(-parseInt(t(397))/2)+-parseInt(t(403))/3+-parseInt(t(400))/4+parseInt(t(416))/5*(-parseInt(t(395))/6)+-parseInt(t(457))/7+parseInt(t(430))/8+parseInt(t(447))/9*(parseInt(t(455))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class xt{static[kt(396)](t,e){const n=kt,s=document.createElement(n(445));return s[n(435)]=n(398)+String(t[n(469)])[n(412)](),s[n(428)](n(452),e._id),s[n(428)](n(405),t.id),s[n(451)][n(442)]=wt[n(421)](!0),wt.setTextAdContent(s,e),s}static[kt(399)](t,e,n,s,i=!1){const r=kt,o=t.height&&0!==t[r(473)]&&t.height!==r(461),a=document.createElement(r(445));a[r(435)]=r(448);const c={position:r(413),overflow:r(402),display:"block"};if(!o&&(c[r(473)]="auto",c[r(410)]=r(418)),t[r(449)]&&0!==t[r(449)]){let e;e=typeof t.width===r(414)&&(t.width[r(439)]("px")||t[r(449)][r(439)]("%"))?t[r(449)]:t[r(449)]+"px",c[r(449)]=e}if(t.height&&0!==t[r(473)]&&"auto"!==t.height&&o){let e;e="string"==typeof t.height?t[r(473)].includes("px")||t.height[r(439)]("%")?t[r(473)]:t[r(473)]+"px":t.height+"px",c[r(473)]=e}Object[r(394)](c)[r(471)](([t,e])=>{a[r(451)].setProperty(t,e)});const d=document[r(470)](r(445));d[r(435)]=r(458),d.style[r(442)]=r(426)+r(o?444:459)+"\n ";let l=null;const u=!t[r(449)]||0===t[r(449)],p=!t[r(473)]||0===t[r(473)]||void 0===t[r(473)]||t[r(473)]===r(461);if(u||p&&o){if(l=document.createElement(r(445)),l[r(451)].cssText=r(404),!u&&t[r(449)]){let e;e=typeof t[r(449)]===r(414)&&(t[r(449)][r(439)]("px")||t[r(449)][r(439)]("%"))?t.width:t[r(449)]+"px",l[r(451)].width=e,l.style[r(463)]=r(460)}document.body[r(425)](l);let n=0,s=0;e.forEach(e=>{const i=r,o=this[i(396)](t,e);l[i(425)](o);const a=o.getBoundingClientRect();a[i(449)]>n&&(n=a[i(449)]),a[i(473)]>s&&(s=a[i(473)]),l.removeChild(o)}),u&&n>0&&(a.style.width=n+"px"),p&&s>0&&o&&(a.style[r(473)]=s+"px"),document.body[r(408)](l)}const h=[];e.forEach((e,n)=>{const a=r,c=document.createElement(a(445));c[a(435)]=a(474);const l=a(o?434:0===n?413:434);c.style[a(442)]=a(401)+l+a(432)+(l===a(434)?"0":a(461))+a(420)+(l===a(434)?"0":"auto")+a(472)+a(o?444:464)+a(466)+(0===n?"1":"0")+";\n transform: translateY("+(0===n?"0":a(453))+a(465)+(0===n?"2":"1")+";\n ";const u=this[a(396)](t,e);tt[a(437)](u,e,t,s,i,a(417)),c[a(425)](u),d.appendChild(c),h[a(433)](c)});let f=0;const g=e[r(422)],m=1e3*(n?.[r(436)]||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(451)][a(431)]===a(413)&&(c[a(451)].position=a(434),c[a(451)].top="0",c.style[a(475)]="0"),d.style[a(431)]=a(413),d[a(451)][a(440)]="auto",d[a(451)][a(475)]="auto"),c[a(451)][a(411)]="0",c.style[a(427)]=a(423),c[a(451)][a(409)]="1",d.style.opacity="1",d[a(451)][a(427)]=a(462),d[a(451)][a(409)]="2",h[a(471)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(451)][s(411)]="0",t[s(451)].transform=s(406),t[s(451)][s(409)]="1",!o&&t[s(451)][s(431)]===s(413)&&(t[s(451)][s(431)]=s(434),t.style.top="0",t[s(451)][s(475)]="0"))}),f=n,X[a(441)](e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a[r(467)](r(419),()=>{clearInterval(v)}),a[r(467)](r(415),()=>{v=setInterval(()=>{I(f+1)},m)}),xt[r(454)](a,I,()=>f,g),a[r(425)](d),a}static[kt(454)](t,e,n,s){const i=kt;let r=0,o=0,a=!1;t[i(467)](i(446),t=>{const e=i;r=t[e(468)][0][e(429)],o=t.touches[0][e(450)],a=!0}),t.addEventListener(i(443),t=>{a&&t[i(407)]()}),t.addEventListener("touchend",t=>{const s=i;if(!a)return;a=!1;const c=t[s(424)][0][s(429)],d=t[s(424)][0].clientY,l=r-c,u=o-d;if(Math[s(438)](l)>Math[s(438)](u)&&Math[s(438)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function At(){const t=["1750080OxukBG","\n position: ","hidden","2117400kvFAqL","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","data-adstage-slot-id","translateY(20px)","preventDefault","removeChild","zIndex","minHeight","opacity","toLowerCase","relative","string","mouseleave","1009815HJJLmb","Text","fit-content","mouseenter",";\n left: ","createTextAdStyles","length","translateY(-20px)","changedTouches","appendChild","\n position: relative;\n width: 100%;\n ","transform","setAttribute","clientX","3605432iuPQoB","position",";\n top: ","push","absolute","className","autoSlideInterval","addClickEventForSlider","abs","includes","top","trackSlideViewable","cssText","touchmove","height: 100%;","div","touchstart","40077XXNdGR","adstage-fade-slider-wrapper","width","clientY","style","data-adstage-ad-id","20px","addTouchSupport","1930LhgYgD","89949PqYVqK","2278577BUXcpu","adstage-fade-slide-container","height: auto; min-height: fit-content;","normal","auto","translateY(0)","whiteSpace","height: auto;",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","addEventListener","touches","adType","createElement","forEach",";\n width: 100%;\n ","height","adstage-fade-slide","left","entries","6etMTrp","createSimpleAdElement","18oXqYqZ","adstage-ad adstage-","createTextTransitionContainer"];return(At=function(){return t})()}const St=Tt;!function(){const t=Tt,e=Rt();for(;;)try{if(460471===-parseInt(t(478))/1*(parseInt(t(486))/2)+parseInt(t(437))/3*(-parseInt(t(472))/4)+parseInt(t(475))/5+-parseInt(t(474))/6+parseInt(t(450))/7+parseInt(t(485))/8*(-parseInt(t(473))/9)+-parseInt(t(451))/10*(-parseInt(t(443))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ct extends ht{constructor(e=!1,n){super(t.TEXT,e,n)}getDefaultHeight(){return Tt(467)}async renderAdElement(t,e){const n=Tt,s=document[n(483)](t.containerId);if(!s)return;const i=document.createElement("div");i[n(461)]=n(470);const r=t[n(469)],o=s[n(439)]||s;if(r)i.style[n(471)]=n(435),i[n(452)][n(448)]=String(r);else{const e=t[n(447)],s={width:e?.width,height:e?.height},{width:r,height:a}=this[n(456)](o,s,{debug:this[n(449)]});i[n(452)].width=r,i.style[n(448)]=a}const a=document[n(442)](n(484));a[n(461)]=n(464),a[n(452)][n(454)]=wt[n(466)](!1),wt[n(434)](a,e);const c=t.config?.maxLines;c&&typeof c===n(481)&&(a[n(452)][n(438)]="-webkit-box",a.style[n(468)]=String(c),a[n(452)][n(441)]=n(446),a[n(452)][n(480)]=n(479)),i[n(482)](a),tt[n(445)](i,e,t,()=>this[n(463)](),this[n(449)],"Text"),s[n(465)]="",s[n(482)](i),this[n(449)]&&console[n(476)](n(457)+e[n(444)])}async[St(436)](t,e){const n=St,s=document[n(483)](t[n(460)]);if(!s)throw new Error(n(458)+t[n(460)]);const i=this[n(463)](),r={autoSlideInterval:(t[n(447)]?.[n(462)]||5e3)/1e3,...t[n(447)],optimizedHeight:t[n(469)],aspectRatio:t[n(477)]},o=xt[n(453)](t,e,r,i,this.debug);o&&(s[n(465)]="",s[n(482)](o),this[n(449)]&&console[n(476)]("✨ Text transition created for slot: "+t.id+n(455)+e[n(459)]+n(440)))}}function Tt(t,e){const n=Rt();return(Tt=function(t,e){return n[t-=434]})(t,e)}function Rt(){const t=["style","createTextTransitionContainer","cssText"," with ","calculateAdSize","✨ Single text ad rendered: ","Container not found: ","length","containerId","className","slideInterval","createEventTrackingCallback","adstage-text-content","innerHTML","createTextAdStyles","60px","webkitLineClamp","optimizedHeight","adstage-ad adstage-text-ad","width","8vRWKYj","398718NKQPuf","2511072oCKMrh","3376145RqhIly","log","aspectRatio","2827jxYPKg","hidden","overflow","number","appendChild","getElementById","div","128DQKcaZ","566LWHljc","setTextAdContent","100%","renderMultipleAds","1331466LvLUUd","display","parentElement"," ads","webkitBoxOrient","createElement","253jhDyGe","_id","addClickEventForRenderer","vertical","config","height","debug","4371031NlVrrb","859060cEMhoW"];return(Rt=function(){return t})()}const Lt=Dt;function Dt(t,e){const n=Pt();return(Dt=function(t,e){return n[t-=179]})(t,e)}!function(){const t=Dt,e=Pt();for(;;)try{if(428728===-parseInt(t(207))/1+parseInt(t(215))/2+-parseInt(t(240))/3+-parseInt(t(250))/4*(parseInt(t(275))/5)+parseInt(t(270))/6+-parseInt(t(280))/7*(-parseInt(t(281))/8)+parseInt(t(271))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends ht{constructor(e=!1,n){super(t[Dt(182)],e,n)}getDefaultHeight(){return Dt(287)}async[Lt(253)](t,e){const n=Lt,s=document[n(218)](t[n(273)]);if(!s)return;const i=document[n(282)](n(205));i[n(255)]="adstage-video-container",i.style[n(192)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this[n(242)](i,e,t),s[n(263)]="",s[n(227)](i),this[n(212)]&&console[n(217)](n(267)+e[n(196)])}async[Lt(188)](t,e){const n=Lt,s=document[n(218)](t[n(273)]);if(!s)throw new Error(n(201)+t[n(273)]);if(e[n(183)]>0){const i=e[0],r=document[n(282)]("div");r.className=n(285),r[n(236)][n(192)]=n(241),this[n(242)](r,i,t),s[n(263)]="",s.appendChild(r);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(i[e(196)],t.id,o[e(247)])},100),this[n(212)]&&console[n(217)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+i[n(196)]+")")}else this.debug&&console[n(189)](n(292)+t.id)}renderVideoElementDirect(t,e,n){const s=Lt;t[s(236)][s(214)]="relative";const i=document[s(282)](s(239));i[s(236)][s(226)]=s(220),i[s(236)][s(199)]="100%",i[s(236)][s(185)]=s(288),i[s(257)]="metadata";const r=n.config;if(this[s(212)]&&console.log(s(276),r),i.controls=!1,i.autoplay=!1!==r?.autoplay,i[s(251)]=!0,i[s(284)]=!1!==r?.[s(284)],this.debug&&console[s(217)]("🎬 Final video settings:",{autoplay:i.autoplay,muted:i[s(251)],loop:i[s(284)],controls:i[s(209)]}),!1!==r?.[s(187)]&&i[s(249)](s(187),""),!0===r?.[s(209)]&&(i[s(209)]=!0,this[s(212)]&&console[s(217)](s(210))),r?.[s(278)])i[s(209)]=!1,i[s(236)][s(192)]+=s(208);else if(r?.customControls){if(i[s(209)]){const t=document[s(282)](s(236));t[s(274)]="\n video::-webkit-media-controls-play-button {\n display: "+(r[s(216)][s(261)]?s(279):s(262))+s(268)+(r[s(216)][s(203)]?"none":s(262))+s(234)+(r[s(216)][s(222)]?s(279):s(262))+s(260)+(r.customControls.hideRemainingTime?"none":s(262))+s(204)+(r.customControls[s(229)]?s(279):s(262))+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(r[s(216)][s(289)]?s(279):s(262))+s(179)+(r[s(216)].hideFullscreenButton?s(279):s(262))+s(194),document[s(237)][s(227)](t)}}else if(i.controls){const t=document.createElement(s(236));t.id=s(290),t.textContent=s(197),!document[s(218)](s(290))&&document.head[s(227)](t)}this[s(212)]&&console.log(s(225),i[s(209)]?s(221):s(265));const o=document[s(282)](s(224));o.className=s(230),o.style[s(192)]=s(272),r?.hideControls&&(o[s(236)][s(228)]=s(279));const a=()=>{const t=s,e=t(200),n=t(259);o[t(263)]=i[t(251)]?e:n,o[t(206)]=i.muted?t(248):t(243)};if(a(),o[s(286)]("click",t=>{const e=s;t.stopPropagation(),i.muted=!i[e(251)],a(),this.debug&&console[e(217)](e(254)+(i[e(251)]?e(251):e(190)))}),o.addEventListener("mouseenter",()=>{const t=s;o.style[t(252)]=t(283),o[t(236)][t(195)]="scale(1.1)"}),o[s(286)](s(232),()=>{const t=s;o[t(236)][t(252)]=t(264),o.style[t(195)]=t(202)}),e[s(277)]){i.src=e[s(277)];const t=()=>{const t=s;i[t(184)]&&i[t(251)]&&i[t(238)]&&i.play()[t(256)](e=>{const n=t;this[n(212)]&&(console[n(189)]("🎬 Auto-play was prevented:",e),console[n(189)](n(181))),i[n(251)]=!0,i[n(213)]()[n(256)](t=>{const e=n;this[e(212)]&&console.error(e(266),t)})})};i[s(286)](s(233),()=>{const e=s;this.debug&&console[e(217)](e(245)),t()}),i[s(286)](s(219),()=>{const e=s;this[e(212)]&&console[e(217)](e(258)),t()}),i[s(286)](s(223),()=>{const e=s;this[e(212)]&&console[e(217)]("🎬 Video data loaded, attempting autoplay..."),t()}),setTimeout(()=>{const e=s;this[e(212)]&&console[e(217)](e(231)),t()},100)}else if(e[s(193)]){const n=document.createElement("img");return n[s(291)]=e[s(193)],n[s(236)][s(226)]=s(220),n[s(236)][s(199)]=s(220),n[s(236)][s(185)]="contain",n[s(180)]=e.title||"Video thumbnail",void t[s(227)](n)}tt[s(235)](i,e,n,()=>this[s(244)](),this[s(212)],"Video"),i.addEventListener(s(269),i=>{const r=s;if(console[r(269)](r(246),i),e.imageUrl){const s=document[r(282)](r(191));s[r(291)]=e[r(193)],s.style[r(226)]=r(220),s[r(236)][r(199)]="100%",s[r(236)][r(185)]=r(288),s.alt=e.title||r(198),tt[r(235)](s,e,n,()=>this[r(244)](),this.debug,r(186)),t[r(263)]="",t[r(227)](s)}}),t[s(227)](i),t[s(227)](o),this[s(212)]&&console[s(217)]("🎬 Video element created for ad: "+e._id+s(211)+i[s(184)]+", muted: "+i.muted+", loop: "+i[s(284)]+")")}}function Pt(){const t=["background","renderAdElement","🔊 Video mute toggled: ","className","catch","preload","🎬 Video can play, attempting autoplay...",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n '," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","hidePlayButton","block","innerHTML","rgba(0, 0, 0, 0.7)","disabled (default)","🎬 Autoplay completely failed:","🎬 Single video ad rendered: "," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","error","2046984TMRsjF","3688218QCuNrd","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","containerId","textContent","18015wmOUDK","🎬 Video config received:","videoUrl","hideControls","none","494165tmVKls","8iQIPkN","createElement","rgba(0, 0, 0, 0.9)","loop","adstage-video-container","addEventListener","360px","contain","hideMuteButton","adstage-video-default-controls","src","⚠️ No video advertisements available for slot: "," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","alt","🎬 Trying muted autoplay fallback...","VIDEO","length","autoplay","objectFit","Video fallback","playsinline","renderMultipleAds","warn","unmuted","img","cssText","imageUrl"," !important;\n }\n ","transform","_id","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","Video thumbnail","height",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ',"Container not found: ","scale(1)","hideProgressBar"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","div","title","657397GTMxUl","\n pointer-events: none;\n ","controls","🎬 User explicitly enabled controls, overriding default"," (autoplay: ","debug","play","position","1052440LxLUZq","customControls","log","getElementById","canplay","100%","enabled","hideCurrentTime","loadeddata","button","🎬 Video controls setting:","width","appendChild","display","hideVolumeSlider","adstage-video-mute-button","🎬 Initial autoplay attempt after timeout...","mouseleave","loadedmetadata"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","addClickEventForRenderer","style","head","paused","video","741732ETJtyq","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","renderVideoElementDirect","Click to mute","createEventTrackingCallback","🎬 Video metadata loaded, attempting autoplay...","Video load failed:","VIEWABLE","Click to unmute","setAttribute","16eggmrB","muted"];return(Pt=function(){return t})()}const Ut=zt;function _t(){const t=["warn","log","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","appendChild","🏠 Single native ad rendered: ","linkUrl","200px","1270236NKEHpI","backgroundColor","50285LXNlSU","_blank","33753HoIAlE","Learn More","containerId","renderAdElement","⚠️ No native advertisements available for slot: ","advertisementEventTracker","7yCzYvB","cssText","adstage-ad adstage-native-ad","createElement","renderMultipleAds","img","addEventListener","debug","NATIVE","mouseleave","\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","style","alt","116ROlPBB","textContent","imageUrl","27fbhLmt","Native click tracked for ad: ","_id","60nmohjW","className","title","706568pFzqrf","button","1145022xQacrm","mouseenter","4314160wpMftE","Native Advertisement","#3b82f6","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","460beunst","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","#2563eb","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","🏠 Native ad rendered (first of ","888559EuBZkk","length"];return(_t=function(){return t})()}function zt(t,e){const n=_t();return(zt=function(t,e){return n[t-=100]})(t,e)}!function(){const t=zt,e=_t();for(;;)try{if(839560===parseInt(t(131))/1+parseInt(t(109))/2*(-parseInt(t(144))/3)+parseInt(t(126))/4*(parseInt(t(142))/5)+parseInt(t(120))/6*(parseInt(t(150))/7)+parseInt(t(118))/8*(parseInt(t(112))/9)+-parseInt(t(122))/10+-parseInt(t(140))/11*(parseInt(t(115))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Mt extends ht{constructor(e=!1,n){super(t[zt(104)],e,n)}getDefaultHeight(){return zt(139)}async[Ut(147)](t,e){const n=Ut,s=document.getElementById(t[n(146)]);if(!s)return;const i=document[n(153)]("div");if(i[n(116)]=n(152),i[n(107)][n(151)]=n(125),e[n(117)]){const t=document.createElement("h3");t[n(110)]=e[n(117)],t[n(107)][n(151)]=n(106),i[n(136)](t)}if(e[n(110)]){const t=document[n(153)]("p");t.textContent=e[n(110)],t.style.cssText=n(135),i[n(136)](t)}if(e[n(111)]){const t=document[n(153)]("div");t[n(107)][n(151)]=n(127);const s=document[n(153)](n(101));s.src=e[n(111)],s[n(108)]=e.title||n(123),s[n(107)][n(151)]="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t[n(136)](s),i[n(136)](t)}if(e[n(138)]){const t=document[n(153)](n(119));t[n(110)]=n(145),t.style.cssText=n(129),t[n(102)]("click",()=>{const t=n;this[t(149)]&&console.log(t(113)+e[t(114)]),window.open(e[t(138)],t(143))}),t[n(102)](n(121),()=>{const e=n;t[e(107)].backgroundColor=e(128)}),t[n(102)](n(105),()=>{const e=n;t[e(107)][e(141)]=e(124)}),i[n(136)](t)}s.innerHTML="",s[n(136)](i),this[n(103)]&&console[n(134)](n(137)+e[n(114)])}async[Ut(100)](t,e){const n=Ut;e[n(132)]>0?(await this[n(147)](t,e[0]),this[n(103)]&&console[n(134)](n(130)+e[n(132)]+"): "+t.id)):this[n(103)]&&console[n(133)](n(148)+t.id)}}function Nt(t,e){const n=Vt();return(Nt=function(t,e){return n[t-=459]})(t,e)}const Ot=Nt;function Vt(){const t=["innerHTML","log","img","adstage-interstitial-overlay","9ICKWgI","containerId","keydown","advertisementEventTracker","400px","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","src","Get Started","#6b7280","open","🖼️ Interstitial ad rendered (first of ","Interstitial click tracked for ad: ","key","🖼️ Interstitial ad rendered: ","15tbtxjR","mouseleave","length","12oCepgZ","linkUrl","div","button","adstage-interstitial-styles","body","removeEventListener","cssText","parentNode","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","Interstitial Advertisement","color","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","click","\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ","adstage-interstitial-content","#374151","): ","276132KioVJz","3458103ALoAKx","appendChild","closeInterstitial","imageUrl","2jchJPg","#e5e7eb","textContent","getDefaultHeight","debug","mouseenter","style","Escape","6634201BRlqad","backgroundColor","INTERSTITIAL","_blank","13291370csRMqR","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","createElement","className","addEventListener","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","⚠️ No interstitial advertisements available for slot: ","6SGywlK","warn","460850wmcJpk","🖼️ Interstitial ad closed","renderAdElement","renderMultipleAds","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","target","_id","getElementById","7608024mMLswK","\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ","#2563eb","19583311yAHxcp","title","removeChild"];return(Vt=function(){return t})()}!function(){const t=Nt,e=Vt();for(;;)try{if(725940===parseInt(t(514))/1+parseInt(t(493))/2*(-parseInt(t(489))/3)+parseInt(t(488))/4*(parseInt(t(467))/5)+parseInt(t(512))/6*(-parseInt(t(501))/7)+-parseInt(t(522))/8+parseInt(t(532))/9*(parseInt(t(505))/10)+parseInt(t(525))/11*(parseInt(t(470))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ft extends ht{constructor(e=!1,n){super(t[Nt(503)],e,n)}[Ot(496)](){return Ot(536)}async[Ot(516)](t,e){const n=Ot;if(!document[n(521)](t[n(533)]))return;const s=document[n(507)](n(472));s.className=n(531),s[n(499)][n(477)]=n(523);const i=document[n(507)](n(472));i[n(508)]=n(485),i.style[n(477)]=n(510);const r=document[n(507)]("button");if(r[n(528)]="×",r.style[n(477)]=n(484),r[n(509)]("click",()=>{this[n(491)](s)}),r[n(509)](n(498),()=>{const t=n;r.style[t(502)]=t(494),r.style[t(481)]=t(486)}),r.addEventListener(n(468),()=>{const t=n;r[t(499)][t(502)]="#f3f4f6",r[t(499)][t(481)]=t(461)}),e.imageUrl){const t=document[n(507)](n(530));t[n(459)]=e[n(492)],t.alt=e[n(526)]||n(480),t[n(499)][n(477)]=n(482),i.appendChild(t)}if(e[n(526)]){const t=document.createElement("h2");t[n(495)]=e[n(526)],t[n(499)][n(477)]=n(479),i[n(490)](t)}if(e.textContent){const t=document[n(507)]("p");t[n(495)]=e.textContent,t[n(499)][n(477)]=n(537),i.appendChild(t)}if(e[n(471)]){const t=document[n(507)](n(473));t[n(495)]=n(460),t.style[n(477)]=n(506),t[n(509)](n(483),()=>{const t=n;this[t(535)]&&console[t(529)](t(464)+e[t(520)]),window[t(462)](e.linkUrl,t(504)),this[t(491)](s)}),t[n(509)]("mouseenter",()=>{const e=n;t[e(499)][e(502)]=e(524)}),t[n(509)](n(468),()=>{t[n(499)].backgroundColor="#3b82f6"}),i[n(490)](t)}const o=t=>{const e=n;t[e(465)]===e(500)&&(this[e(491)](s),document[e(476)](e(534),o))};if(document[n(509)](n(534),o),s[n(509)](n(483),t=>{const e=n;t[e(519)]===s&&this[e(491)](s)}),!document.getElementById(n(474))){const t=document[n(507)](n(499));t.id=n(474),t[n(495)]=n(518),document.head[n(490)](t)}i[n(490)](r),s[n(490)](i),document[n(475)][n(490)](s),this[n(497)]&&console[n(529)](n(466)+e[n(520)])}async[Ot(517)](t,e){const n=Ot;e[n(469)]>0?(await this[n(516)](t,e[0]),this[n(497)]&&console[n(529)](n(463)+e[n(469)]+n(487)+t.id)):this.debug&&console[n(513)](n(511)+t.id)}[Ot(491)](t){const e=Ot;t[e(499)].animation="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(478)]&&t[n(478)][n(527)](t)},300),this.debug&&console[e(529)](e(515))}}const Kt=jt;function Ht(){const t=["_id","100%","setAttribute","objectFit","26205WJryXF"," renderers","appendChild","548YeWPuu","renderMultipleAds","58748CUPymq","renderAd","7621450DBOrdW","get","createPlaceholder","No advertisement to render","display","height","getDefaultHeight","log","set","padding","advertisementEventTracker","onerror","NATIVE","video","calculateAdSize","loadImageDimensions","getRenderer","width","block","size","adType","naturalHeight","data-adstage-ad-id","style","createElement","videoUrl","523503qjrvGa","textContent","TEXT","⚠️ Container optimization is only supported for BANNER ads, got: ","INTERSTITIAL","getDefaultHeightForAdType","renderFallback","1px dashed #ccc","Failed to load image: ","onload","36BYLYew","toLowerCase","#f9f9f9","naturalWidth","[AdRenderer] ","img","data-adstage-slot-id","renderers","debug","VIDEO","config","2255859PqlhnO","8yadxQe","2916366nvKYSH","border","imageUrl","className","optimizeContainerForBannerAds","div","advertisement","cover","renderAdElement","warn","calculateOptimalContainerSize","initializeRenderers","11847990PrZZgm","7qJhmCK","renderOptimizedBannerImage","backgroundColor"," Ad","adstage-ad adstage-","src","BANNER"];return(Ht=function(){return t})()}function jt(t,e){const n=Ht();return(jt=function(t,e){return n[t-=254]})(t,e)}!function(){const t=jt,e=Ht();for(;;)try{if(467265===parseInt(t(304))/1+-parseInt(t(276))/2*(parseInt(t(314))/3)+-parseInt(t(274))/4*(-parseInt(t(271))/5)+parseInt(t(327))/6*(-parseInt(t(260))/7)+parseInt(t(326))/8*(-parseInt(t(325))/9)+-parseInt(t(278))/10+parseInt(t(259))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Wt{constructor(t=!1,e){const n=jt;this[n(321)]=new Map,this[n(322)]=t,this[n(288)]=e||null,this[n(258)]()}initializeRenderers(){const e=jt;this[e(321)][e(286)](t[e(266)],new It(this[e(322)],this[e(288)])),this[e(321)][e(286)](t[e(306)],new Ct(this[e(322)],this[e(288)])),this.renderers[e(286)](t[e(323)],new Bt(this[e(322)],this[e(288)])),this.renderers[e(286)](t[e(290)],new Mt(this[e(322)],this.advertisementEventTracker)),this[e(321)][e(286)](t[e(308)],new Ft(this[e(322)],this[e(288)])),this[e(322)]&&console.log("🏭 AdRenderer factory initialized with "+this[e(321)][e(297)]+e(272))}createAdElement(e,n){const s=jt,i=this[s(294)](e[s(298)]),r=document.createElement(s(332));r[s(330)]=s(264)+String(e.adType)[s(315)](),r[s(269)](s(300),n[s(267)]),r[s(269)](s(320),e.id);const{width:o,height:a}=i.calculateAdSize(r,e[s(324)]||{},n);switch(r[s(301)][s(295)]=o,r[s(301)].height=a,r[s(301)][s(282)]=s(296),e[s(298)]){case t[s(266)]:if(n[s(329)]){const t=document[s(302)](s(319));t[s(265)]=n[s(329)],t[s(301)][s(295)]=s(268),t[s(301)].height=s(268),t.style[s(270)]=s(254),r.appendChild(t)}break;case t[s(323)]:if(n.videoUrl){const t=document[s(302)](s(291));t[s(265)]=n[s(303)],t[s(301)][s(295)]="100%",t.style[s(283)]=s(268),r[s(273)](t)}break;case t.TEXT:if(n.textContent){const t=document[s(302)](s(332));t[s(305)]=n[s(305)]||"",t[s(301)][s(287)]="8px",r[s(273)](t)}break;default:r[s(301)][s(328)]=s(311),r[s(301)][s(262)]=s(316),r[s(305)]=e.adType+s(263)}return r}[Kt(294)](t){const e=Kt,n=this[e(321)][e(279)](t);if(!n)throw new Error("No renderer found for ad type: "+t);return n}createPlaceholder(t,e,n,s,i){const r=Kt;this[r(294)](n)[r(280)](t,e,s,i)}async[Kt(331)](e,n){const s=Kt;if(e.adType!==t.BANNER)return void(this[s(322)]&&console[s(256)](s(307)+e.adType));const i=this[s(294)](t.BANNER);await i[s(331)](e,n)}async renderAdSlider(t,e){const n=Kt,s=this[n(294)](t.adType);await s[n(275)](t,e)}async[Kt(277)](t){const e=Kt;if(!t[e(333)])throw new Error(e(281));const n=this[e(294)](t[e(298)]);await n[e(255)](t,t[e(333)]),t.isLoaded=!0}async[Kt(255)](t,e){const n=Kt,s=this[n(294)](t[n(298)]);await s[n(255)](t,e)}[Kt(310)](t){const e=Kt;this[e(294)](t[e(298)])[e(310)](t)}[Kt(309)](t){const e=Kt;return this[e(294)](t)[e(284)]()}[Kt(292)](t,e,n,s){return this[Kt(294)](e).calculateAdSize(t,n,s)}[Kt(293)](t){return new Promise((e,n)=>{const s=jt,i=new Image;i[s(313)]=()=>{const t=s;e({width:i[t(317)],height:i[t(299)]})},i[s(289)]=()=>{n(new Error(s(312)+t))},i[s(265)]=t})}async[Kt(261)](e,n,s){const i=Kt;if(s.adType!==t[i(266)])throw new Error("renderOptimizedBannerImage is only supported for BANNER ads");const r=this[i(294)](t[i(266)]);return await r[i(261)](e,n,s)}async calculateOptimalContainerSize(e,n,s){const i=Kt;if(s!==t[i(266)]){const t=this.getRenderer(s);return{width:i(268),height:t.getDefaultHeight(),aspectRatio:16/9}}const r=this[i(294)](t[i(266)]);return await r[i(257)](e,n)}log(t,...e){const n=Kt;this[n(322)]&&console[n(285)](n(318)+t,...e)}}const qt=Yt;function Jt(){const t=["ELEMENT_NODE","nodeType","removedNodes","advertisement","341268VIdeAm","❌ Failed to load ad for slot: ","warn","Failed to fetch ad data: ","New advertisement viewable tracked for slot:","destroy","viewabilityTracker","VIDEO","adstage-","❌ Failed to find element for viewability tracking: ","Ad slot not found: ","trackAdvertisementEvent","forEach","169fCRXqW"," (attempt ","onClick","handleViewableEvent","1767876NavOBQ","2bfJvaR","Ads module not initialized. Call AdStage.init() first.","language","toString","autoDestroy","Failed to refresh ad slot: ","7149070mhwqXi","renderFallback","adType","log","string","random","containerId","_id","height","광고 생성 중 오류 발생:","clear","_config","country","100%","createAdInternal","customControls","mutationObserver","9cSiGDv","disconnect","getAllSlots","native","🔍 Ad slot already cleaned up: ","debug"," ads for type: ","list","VIEWABLE","loadAdContentInBackground","config","270GoxTsJ","observe","muted","adRenderer","now","ms... (attempt ","fetchAdData","244293BplEoj","🚫 Advertisement not found with ID: ","refreshAdSlot","apiKey","destroyModule"," (element found)","createAd","style","status","getAttribute","API key not configured","advertisementEventTracker","GET","setupAutoCleanup","BANNER","🗑️ Ads module destroyed","hideControls","🔄 Retrying viewability tracking for slot: ","handleRemovedElement","interstitial","40648nhvYoF","delete","isLoaded","innerHTML","set","controls","startSimpleViewabilityTracking","create","playsinline","get","createAdWithRetry","from","data-adstage-slot-id","TEXT","📊 Advertisement event tracking enabled for slot: ","width","undefined","3743384WqvSlt","isReady","getConfig","json","setAttribute","🎯 Ads module initialized (sync mode) with auto-cleanup","[data-adstage-slot-id]","substr","slideInterval","Container not found: ","📊 Fetched specific ad with ID: ","getSlotById","_isReady","body",", filters:","maxLines","length","advertisements","error","auto-","deviceType","30UXcBqP","slots","adId","getElementById","autoSlide","renderAdElement"," attempts: ","default","🧹 Auto-cleanup: slot ","optimizeContainerForBannerAds","🎠 Slider will handle VIEWABLE events for "," ads automatically","🔄 Ad slot refreshed: ","ensureReady","append","createPlaceholder","video"," removed","459289lSOpYH","values","renderAdSlider","banner"," ads)","refresh","11MlkHIc"];return(Jt=function(){return t})()}function Yt(t,e){const n=Jt();return(Yt=function(t,e){return n[t-=166]})(t,e)}!function(){const t=Yt,e=Jt();for(;;)try{if(563919===parseInt(t(302))/1+parseInt(t(185))/2*(parseInt(t(167))/3)+parseInt(t(246))/4*(parseInt(t(219))/5)+-parseInt(t(284))/6*(-parseInt(t(226))/7)+-parseInt(t(263))/8*(-parseInt(t(208))/9)+-parseInt(t(191))/10*(-parseInt(t(308))/11)+-parseInt(t(184))/12*(parseInt(t(180))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gt{constructor(){const t=Yt;this[t(275)]=!1,this[t(202)]=null,this[t(285)]=new Map,this[t(237)]=null,this[t(222)]=null,this.mutationObserver=null}init(t){const e=Yt;this[e(202)]=t,this.advertisementEventTracker=new z(q.getBaseUrl(),t.apiKey,t[e(213)]||!1,this[e(285)]),this[e(222)]=new Wt(t[e(213)]||!1,this[e(237)]),this[e(239)](),this[e(275)]=!0,t[e(213)]&&console[e(194)](e(268))}[qt(264)](){return this[qt(275)]}[qt(265)](){return this._config}[qt(305)](e,n){const s=qt;this[s(297)]();const i={width:n?.[s(261)]||s(204),height:n?.height||"auto",autoSlide:n?.[s(288)]||!1,slideInterval:n?.[s(271)]||5e3,onClick:n?.onClick,adId:n?.[s(286)],language:n?.language,deviceType:n?.[s(283)],country:n?.country};return this[s(232)](e,t.BANNER,i)}text(e,n){const s=qt;this[s(297)]();const i={maxLines:n?.[s(278)]||3,style:n?.[s(233)]||s(291),onClick:n?.[s(182)],adId:n?.[s(286)],language:n?.[s(187)],deviceType:n?.deviceType,country:n?.country};return this[s(232)](e,t[s(259)],i)}[qt(300)](e,n){const s=qt;this[s(297)]();const i={width:n?.width||640,height:n?.[s(199)]||360,autoplay:void 0===n?.autoplay||n.autoplay,muted:void 0===n?.muted||n[s(221)],loop:void 0===n?.loop||n.loop,playsinline:!1!==n?.[s(254)],controls:void 0!==n?.[s(251)]&&n[s(251)],hideControls:n?.[s(242)]||!1,customControls:n?.[s(206)],autoSlide:!1,maxAds:1,onClick:n?.onClick,...n?.adId&&{adId:n[s(286)]}};return this[s(232)](e,t[s(174)],i)}[qt(211)](e,n){const s=qt;return this.ensureReady(),this[s(232)](e,t.NATIVE,n||{})}[qt(245)](e,n){const s=qt;return this[s(297)](),this[s(232)](e,t.INTERSTITIAL,n||{})}[qt(307)](t){const e=qt;this[e(297)]();const n=this[e(285)][e(255)](t);if(!n)throw new Error(e(177)+t);this[e(228)](n),this[e(202)]?.[e(213)]&&console[e(194)](e(296)+t)}[qt(172)](t){const e=qt;this.ensureReady();const n=this[e(285)][e(255)](t);if(!n)return void(this._config?.debug&&console[e(194)](e(212)+t));n[e(173)]&&n[e(173)][e(172)]();const s=document[e(287)](n[e(197)]);s&&(s[e(249)]=""),this[e(285)][e(247)](t),this[e(202)]?.[e(213)]&&console[e(194)]("🗑️ Ad slot destroyed: "+t)}[qt(210)](){const t=qt;return this.ensureReady(),Array[t(257)](this[t(285)][t(303)]())}[qt(274)](t){const e=qt;return this[e(297)](),this[e(285)].get(t)||null}[qt(232)](t,e,n){const s=qt;if(!this[s(202)]?.[s(229)])throw new Error(s(236));const i=s(175)+e+"-"+Date[s(223)]()+"-"+Math[s(196)]()[s(188)](36)[s(270)](2,9);return this[s(256)](t,e,n,i,0),i}async[qt(256)](t,e,n,s,i){const r=qt,o=[0,50,100,200,500];let a,c=null;if(typeof t===r(195)){if(a=t,c=document[r(287)](t),!c)return i<4?(this[r(202)]?.[r(213)]&&console[r(169)](r(272)+t+". Retrying in "+o[i+1]+r(224)+(i+1)+"/5)"),void setTimeout(()=>{this[r(256)](t,e,n,s,i+1)},o[i+1])):void console[r(281)]("Container not found after 5"+r(290)+t)}else c=t,a=c.id||r(282)+s,!c.id&&(c.id=a);try{this[r(205)](a,e,n,s,c)}catch(t){console[r(281)](r(200),t)}}createAdInternal(e,n,s,i,r){const o=qt;r[o(267)](o(258),i),this.adRenderer?.[o(299)](r,i,n,s,this[o(202)]);const a={id:i,containerId:e,adType:n,width:s[o(261)]||o(204),height:s.height||(n===t[o(259)]?"auto":250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(225)](n,s).then(t=>t[0]||null),render:t=>this[o(222)]?.renderAdElement(a,t),refresh:async()=>this[o(228)](a),destroy:()=>this.destroy(i)};this[o(285)][o(250)](i,a),this[o(217)](a),this[o(237)]&&this[o(202)]?.[o(213)]&&console.log(o(260)+i)}async loadAdContentInBackground(e){const n=qt;try{const s=await this.fetchAdData(e[n(193)],e[n(218)]);if(!s||0===s[n(279)])return void this[n(222)]?.[n(192)](e);e.adType===t[n(240)]&&s[n(279)]>0&&await(this[n(222)]?.[n(293)](e,s)),s[n(279)]>1||e[n(218)]?.[n(288)]?(await(this[n(222)]?.[n(304)](e,s)),this._config?.[n(213)]&&console[n(194)](n(294)+s[n(279)]+n(295))):(e[n(166)]=s[0],await(this[n(222)]?.[n(289)](e,s[0])),this[n(252)](e,s[0])),e[n(248)]=!0,this[n(202)]?.debug&&console[n(194)]("✅ Ad loaded for slot: "+e.id+" ("+s[n(279)]+n(306))}catch(t){console[n(281)](n(168)+e.id,t),this[n(222)]?.[n(192)](e)}}[qt(252)](t,e){const n=(s=0)=>{const i=Yt,r=document.getElementById(t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this._config?.[i(213)]&&console[i(194)](i(243)+t.id+i(181)+(s+1)+")")):console[i(169)](i(176)+t.id));const o=new V(r,async()=>{const n=i;await this[n(183)](e,t)});t.viewabilityTracker=o,this[i(202)]?.[i(213)]&&console[i(194)]("🎯 Simple viewability tracking started for slot: "+t.id+i(231))};n()}async[qt(183)](t,e){const n=qt;try{this[n(237)]&&(await this[n(237)][n(178)](t[n(198)],e.id,o[n(216)]),this[n(202)]?.[n(213)]&&console[n(194)]("✅ Simple viewable impression tracked for ad "+t._id))}catch(t){console[n(281)]("❌ Failed to track viewable impression:",t)}}async[qt(225)](t,e){const n=qt;if(!this[n(202)]?.[n(229)])throw new Error(n(236));if(e[n(286)]){const t=""+q[n(280)].detail(e[n(286)]),s=await fetch(t,{method:"GET",headers:B.create(this._config.apiKey)});if(!s.ok){if(404===s[n(234)])return console[n(169)](n(227)+e[n(286)]),[];throw new Error(n(170)+s[n(234)])}const i=await s[n(266)]();return this._config?.debug&&console[n(194)](n(273)+e[n(286)],i),[i]}const s=new URLSearchParams;s[n(298)](n(193),t),e[n(187)]&&s[n(298)](n(187),e[n(187)]),e[n(283)]&&s[n(298)](n(283),e[n(283)]),e[n(203)]&&s.append(n(203),e.country);const i=q.advertisements[n(215)]()+"?"+s.toString(),r=await fetch(i,{method:n(238),headers:B[n(253)](this[n(202)][n(229)])});if(!r.ok)throw new Error(n(170)+r[n(234)]);const o=(await r[n(266)]())[n(280)]||[];return this._config?.[n(213)]&&console[n(194)]("📊 Fetched "+o[n(279)]+n(214)+t+n(277),{language:e.language,deviceType:e[n(283)],country:e[n(203)]}),o}async[qt(228)](t){const e=qt;try{const n=await this[e(225)](t[e(193)],t[e(218)]||{});n&&n[e(279)]>0&&(t.advertisement=n[0],await(this[e(222)]?.renderAd(t)),this[e(237)]&&console[e(194)](e(171),t.id))}catch(n){console.error(e(190)+t.id,n)}}[qt(297)](){const t=qt;if(!this._isReady)throw new Error(t(186))}[qt(239)](){const t=qt;"undefined"!=typeof window&&typeof document!==t(262)&&(this[t(207)]&&this.mutationObserver[t(209)](),this[t(207)]=new MutationObserver(e=>{const n=t;e[n(179)](t=>{const e=n;t[e(311)].forEach(t=>{const n=e;t[n(310)]===Node[n(309)]&&this.handleRemovedElement(t)})})}),this[t(207)][t(220)](document[t(276)],{childList:!0,subtree:!0}),this._config?.[t(213)]&&console[t(194)]("🔍 Auto-cleanup MutationObserver enabled"))}[qt(244)](t){const e=qt,n=t[e(235)](e(258));if(n)return void this[e(189)](n);t.querySelectorAll(e(269))[e(179)](t=>{const n=e,s=t[n(235)](n(258));s&&this[n(189)](s)})}[qt(189)](t){const e=qt,n=this[e(285)].get(t);if(n)try{n[e(173)]&&n[e(173)][e(172)](),this[e(285)][e(247)](t),this._config?.[e(213)]&&console.log(e(292)+t+e(301))}catch(n){this[e(202)]?.[e(213)]&&console.warn("Auto-cleanup failed for slot "+t+":",n)}}[qt(230)](){const t=qt,e=this[t(202)]?.[t(213)];this[t(207)]&&(this[t(207)][t(209)](),this[t(207)]=null),this[t(285)][t(201)](),this[t(237)]=null,this[t(222)]=null,this[t(275)]=!1,this._config=null,e&&console[t(194)](t(241))}}var Xt=Qt;function Qt(t,e){var n=$t();return(Qt=function(t,e){return n[t-=418]})(t,e)}!function(){for(var t=Qt,e=$t();;)try{if(319524===parseInt(t(421))/1*(parseInt(t(426))/2)+-parseInt(t(419))/3*(-parseInt(t(437))/4)+parseInt(t(442))/5*(-parseInt(t(439))/6)+-parseInt(t(444))/7+parseInt(t(425))/8*(parseInt(t(422))/9)+-parseInt(t(428))/10+-parseInt(t(427))/11*(parseInt(t(452))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Zt{constructor(){var t=Qt;this._isReady=!1,this[t(449)]=null,this[t(430)]=null}[Xt(441)](t){var e=Xt;this._config={timeout:3e4,debug:!1,modules:[e(432),e(450),e(429)],...t},t[e(438)]&&q[e(424)](t[e(438)]),this._isReady=!0,t.debug&&console[e(434)](e(423),{modules:this._config.modules,endpoint:q.getBaseUrl(),mode:e(447)})}[Xt(453)](){return this._isReady}[Xt(440)](){return this[Xt(449)]}[Xt(418)](){return this[Xt(430)]}[Xt(436)](){return q[Xt(446)]()}[Xt(445)](){var t=Xt;return this[t(449)]?.[t(443)]||!1}[Xt(451)](){var t=Xt;return this[t(449)]?.modules||[]}isModuleEnabled(t){var e=Xt;return this[e(451)]()[e(420)](t)}updateConfig(t){var e=Xt;if(!this[e(449)])throw new Error(e(433));this[e(449)]={...this._config,...t},this[e(445)]()&&console[e(434)](e(448),t)}getApiHeaders(){var t=Xt;if(!this[t(449)]?.[t(435)])throw new Error("API key not available");return B[t(431)](this[t(449)][t(435)])}}function $t(){var t=["_config","events","getEnabledModules","3780lQGQbS","isReady","getOrganizationInfo","45MAgZNu","includes","402691HVeMxG","1683AlJLvC","✅ Config module initialized (sync mode)","setBaseUrl","26456qgTxHV","2aDeTfx","66LJnBZC","4723120nJIszO","config","_organizationInfo","create","ads","Config module not initialized","log","apiKey","getApiEndpoint","68452RsqtIP","baseUrl","6OcrEbE","getConfig","init","732650omjkyl","debug","2362773NFPLWL","isDebugMode","getBaseUrl","development","🔄 Config updated"];return($t=function(){return t})()}const te=ee;function ee(t,e){const n=ne();return(ee=function(t,e){return n[t-=471]})(t,e)}function ne(){const t=["Desktop Web","getAutoDetectedDeviceInfo","435141TjNFbj","getViewportInfo","android","SSR","Android","platform","849107DGVvRj","language","9HUMEKQ","getUserDeviceInfo","ios","onLine","95EoZjWU","isMobile","getPlatform","other","width","6333544xJSlUc","iOS","mapPlatformForEvents","4082210uUPEBz","1529921aLUcxF","144104jveBrV","12JXAyqf","isBrowser","_userProvidedDeviceInfo","0x0","mobile","ko-KR","setDeviceProperty","height","30vmpnRv","Mobile Web","clearDeviceInfo","cookieEnabled","toLowerCase","9649390AqQCLI","web","test","Unknown"];return(ne=function(){return t})()}!function(){const t=ee,e=ne();for(;;)try{if(779514===parseInt(t(485))/1+-parseInt(t(487))/2*(parseInt(t(506))/3)+-parseInt(t(486))/4*(parseInt(t(476))/5)+parseInt(t(495))/6*(parseInt(t(512))/7)+parseInt(t(481))/8+-parseInt(t(472))/9*(parseInt(t(500))/10)+parseInt(t(484))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{static getDeviceInfo(){const t=ee;return{...se[t(505)](),...se[t(489)]}}static[te(505)](){const t=te;if(!v[t(488)]())return{category:t(479),platform:t(509),model:"SSR",osVersion:t(509)};const e=navigator.userAgent[t(499)]();let n="desktop";/tablet|ipad/[t(502)](e)?n="tablet":T[t(477)]()&&(n=t(491));const s=T[t(478)]();return{category:n,platform:se[t(483)](s),model:navigator.platform,osVersion:navigator.platform,deviceId:T.generateDeviceId()}}static setDeviceInfo(t){const e=te;se._userProvidedDeviceInfo={...se[e(489)],...t}}static[te(493)](t,e){se[te(489)][t]=e}static[te(497)](){se[te(489)]={}}static[te(473)](){return{...se[te(489)]}}static[te(483)](t){const e=te;switch(t){case e(474):return e(482);case e(508):return e(510);case e(501):return e(496);case"desktop":return e(504);default:return e(503)}}static getDetailedInfo(){const t=te;if(!v[t(488)]())return{userAgent:"SSR",language:t(492),platform:t(509),cookieEnabled:!1,onLine:!0,screenResolution:t(490),viewportSize:t(490)};const e=v[t(507)]();return{userAgent:navigator.userAgent,language:navigator[t(471)]||t(492),platform:navigator[t(511)],cookieEnabled:navigator[t(498)],onLine:navigator[t(475)],screenResolution:screen.width+"x"+screen[t(494)],viewportSize:e[t(480)]+"x"+e[t(494)]}}}se[te(489)]={};const ie=ae;function re(){const t=["191718LrdIJR","3229060jxFdGy","language","7003500NnmrkV","_userProperties","18693024qVwksr","DateTimeFormat","getUserInfo","isBrowser","getCurrentUserProperties","ko-KR","getBaseUserInfo","split","9sEFAkY","206006NBmcKW","extractCountryFromLanguage","clearUserProperties","583152UcaWWa","timeZone","setUserProperties","98612mkJhsm"];return(re=function(){return t})()}!function(){const t=ae,e=re();for(;;)try{if(730590===parseInt(t(311))/1+parseInt(t(297))/2*(-parseInt(t(310))/3)+parseInt(t(296))/4+-parseInt(t(298))/5+parseInt(t(293))/6+-parseInt(t(300))/7+parseInt(t(302))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[ie(304)](){const t=ie;return{...oe[t(308)](),...oe[t(301)]}}static[ie(308)](){const t=ie;if(!v[t(305)]())return{language:t(307),country:"KR"};const e=navigator[t(299)]||t(307);return{language:e,country:oe.extractCountryFromLanguage(e)}}static[ie(312)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ie(309)]("-")[0]]||"KR"}static[ie(295)](t){const e=ie;oe[e(301)]={...oe[e(301)],...t}}static setUserProperty(t,e){oe[ie(301)][t]=e}static[ie(313)](){oe[ie(301)]={}}static[ie(306)](){return{...oe[ie(301)]}}static estimateLocation(){const t=ie;if(!v[t(305)]())return{timezone:"UTC",estimatedCountry:"KR"};const e=Intl[t(303)]().resolvedOptions()[t(294)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function ae(t,e){const n=re();return(ae=function(t,e){return n[t-=293]})(t,e)}oe[ie(301)]={};const ce=de;function de(t,e){const n=ue();return(de=function(t,e){return n[t-=416]})(t,e)}!function(){const t=de,e=ue();for(;;)try{if(549981===-parseInt(t(453))/1*(parseInt(t(422))/2)+-parseInt(t(433))/3*(parseInt(t(454))/4)+-parseInt(t(456))/5+-parseInt(t(443))/6*(parseInt(t(420))/7)+parseInt(t(440))/8*(parseInt(t(463))/9)+-parseInt(t(446))/10*(-parseInt(t(479))/11)+parseInt(t(447))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{static[ce(461)](){const t=ce;if(typeof window===t(429))return null;const e=new URLSearchParams(window.location.search),n={};let s=!1;const i=e.get(t(471));if(i)try{const e=decodeURIComponent(i),r=new URLSearchParams(e);for(const e of le.ALL_KEYS){const i=r[t(435)](e);i&&(n[e]=i,s=!0)}r.get(t(424))===t(441)&&(s=!0)}catch(e){console[t(480)]("Failed to parse adstage_referrer:",e)}for(const i of le[t(417)]){if(n[i])continue;const r=e[t(435)](i);r&&(n[i]=r,s=!0)}return s?(n.channel||(n[t(423)]?n[t(468)]=t(450):n[t(481)]?n[t(468)]=t(475):n[t(460)]?n[t(468)]=t(478):n[t(431)]?n[t(468)]="naver.searchad":n.liclid?n[t(468)]=t(459):n[t(472)]?n[t(468)]=t(455):n[t(427)]&&(n.channel="twitter.ads")),le[t(442)](n),n):null}static[ce(442)](t){const e=ce;if("undefined"!=typeof window)try{const n={...le[e(435)](),...t},s=JSON.stringify(n);try{sessionStorage.setItem(le[e(451)],s)}catch(t){}try{localStorage.setItem(le[e(451)],s)}catch(t){}}catch(t){console[e(480)](e(457),t)}}static[ce(435)](){const t=ce;if("undefined"==typeof window)return null;try{const e=sessionStorage?.getItem(le[t(451)]);if(e)return JSON[t(421)](e)}catch(t){}try{const e=localStorage?.[t(426)](le[t(451)]);if(e)return JSON[t(421)](e)}catch(t){}return null}static[ce(438)](){const t=ce;if(typeof window!==t(429)){try{sessionStorage?.[t(469)](le[t(451)])}catch(t){}try{localStorage?.[t(469)](le[t(451)])}catch(t){}}}static[ce(452)](){const t=ce,e=le[t(435)]();return null!==e&&Object[t(437)](e)[t(464)]>0}static hasClickId(){const t=le.get();return!!t&&le.CLICK_ID_KEYS.some(e=>t[e])}static shouldSendClickEvent(){const t=ce;if("undefined"==typeof window)return!1;const e=le.get();if(!e||!le.hasClickId())return!1;const n=e[t(423)]||e[t(481)]||e.ttclid||e.nclid||e.liclid||e[t(472)]||e.twclid;if(!n)return!1;return n!==sessionStorage.getItem("adstage_last_click_id")&&(sessionStorage[t(458)](t(436),n),!0)}static[ce(462)](){const t=ce;typeof window!==t(429)&&sessionStorage[t(458)](t(419),"true")}static isClickEventSent(){const t=ce;return typeof window!==t(429)&&sessionStorage.getItem(t(419))===t(441)}static toAttributionObject(){const t=ce,e=le.get();if(!e)return null;const n={};return e[t(423)]&&(n[t(423)]=e[t(423)]),e[t(481)]&&(n[t(481)]=e[t(481)]),e[t(460)]&&(n.ttclid=e.ttclid),e.nclid&&(n[t(431)]=e[t(431)]),e[t(468)]&&(n[t(468)]=e[t(468)]),e[t(416)]&&(n[t(416)]=e[t(416)]),e[t(474)]&&(n[t(477)]=e.campaign_id),e.ad_group&&(n[t(476)]=e.ad_group),e.ad_group_id&&(n[t(466)]=e[t(470)]),e[t(432)]&&(n.adCreative=e[t(432)]),e.creative_id&&(n[t(445)]=e[t(425)]),e[t(439)]&&(n.term=e[t(439)]),e.utm_source&&(n[t(449)]=e[t(449)]),e.utm_medium&&(n[t(482)]=e[t(482)]),e[t(473)]&&(n.utm_campaign=e[t(473)]),e.utm_content&&(n[t(465)]=e[t(465)]),e.utm_term&&(n.utm_term=e[t(448)]),Object[t(437)](n).length>0?n:null}}function ue(){const t=["150jMNHLJ","29203020XlSTVL","utm_term","utm_source","google.ads","STORAGE_KEY","hasParams","489138MgPNwR","49408JzWquJ","microsoft.ads","1661830tUecdV","Failed to store tracking params:","setItem","linkedin.ads","ttclid","captureFromUrl","markClickEventSent","9cgHFfO","length","utm_content","adGroupId","ad_group","channel","removeItem","ad_group_id","adstage_referrer","msclkid","utm_campaign","campaign_id","meta.ads","adGroup","campaignId","tiktok.ads","134255dvkyeg","warn","fbclid","utm_medium","campaign","ALL_KEYS","UTM_KEYS","adstage_click_event_sent","7227423EWQZAK","parse","2QMBDmB","gclid","adstage","creative_id","getItem","twclid","CAMPAIGN_KEYS","undefined","adstage_tracking_params","nclid","ad_creative","216wRufrf","CLICK_ID_KEYS","get","adstage_last_click_id","keys","clear","term","5413264irBKmN","true","store","6AWIcMg","liclid","creativeId"];return(ue=function(){return t})()}le[ce(451)]=ce(430),le[ce(434)]=[ce(423),ce(481),ce(460),"nclid",ce(444),ce(472),ce(427)],le[ce(428)]=[ce(416),"campaign_id",ce(467),"ad_group_id",ce(432),ce(425),ce(439)],le.UTM_KEYS=[ce(449),ce(482),ce(473),ce(465),"utm_term"],le[ce(417)]=[...le[ce(434)],...le[ce(428)],...le[ce(418)]];const pe=fe;function he(){const t=["setDeviceProperty","status","POST","📡 Request URL:","API key not configured for event tracking.","10FbNaPE","setItem","setDeviceInfo","apiKey","init","undefined","error","json","Event tracking failed: ","📱 Device info set:","clearDeviceInfo","📱 Device property set:","track","statusText","476IMdscy","📡 Attribution request URL:","debug","📦 Attribution request body:","11lnbIuh","4152BhOwDd","adstage_attribution_id","📱 User provided device info cleared","stringify","2144912dkbqci","isReady","warn","✅ Event tracked with attribution ID:","toAttributionObject","getItem","create","text","attributionId","trackWithAttributionId","events","API key not configured for attribution registration.","🔑 Request headers:","getCurrentUserProperties","application/json","registerAttribution","📊 Attribution included:","❌ Failed to register attribution:","❌ Failed to track event:","👤 User properties set:","810927KjGgsS","_config","❌ API Error Response:","Event data:","Events module not initialized. Call AdStage.init() first.","getUserInfo","_isReady","⏭️ No tracking parameters found, skipping attribution registration","setUserProperties","8058LDhpMr","getAttributionId","5464575ctsfhG","get","Attribution registration failed: ","1204YAAjdU","getConfig","sendEventToServer","📦 Request body:","✅ Event tracked:","getDeviceInfo","16633068JofCOM","log","2rOVOSw","getUserProperties","2931195LRFjHS"];return(he=function(){return t})()}function fe(t,e){const n=he();return(fe=function(t,e){return n[t-=334]})(t,e)}!function(){const t=fe,e=he();for(;;)try{if(505404===-parseInt(t(400))/1*(parseInt(t(349))/2)+-parseInt(t(336))/3*(-parseInt(t(341))/4)+-parseInt(t(351))/5+-parseInt(t(376))/6*(-parseInt(t(371))/7)+parseInt(t(380))/8+parseInt(t(338))/9*(-parseInt(t(357))/10)+parseInt(t(375))/11*(parseInt(t(347))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=fe;this[t(406)]=!1,this[t(401)]=null}[pe(361)](t){const e=pe;this[e(401)]=t,this[e(406)]=!0,t.debug&&console[e(348)]("📊 Events module initialized")}[pe(381)](){return this[pe(406)]}[pe(342)](){return this[pe(401)]}[pe(335)](t){const e=pe;oe[e(335)](t),this[e(401)]?.debug&&console[e(348)](e(399),t)}[pe(350)](){return oe[pe(393)]()}[pe(359)](t){const e=pe;se.setDeviceInfo(t),this[e(401)]?.[e(373)]&&console[e(348)](e(366),t)}[pe(352)](t,e){const n=pe;se[n(352)](t,e),this[n(401)]?.[n(373)]&&console[n(348)](n(368),t,e)}[pe(367)](){const t=pe;se[t(367)](),this[t(401)]?.debug&&console[t(348)](t(378))}getUserDeviceInfo(){return se.getUserDeviceInfo()}[pe(346)](){return se[pe(346)]()}getUserInfo(){return oe.getUserInfo()}[pe(393)](){return oe[pe(393)]()}async[pe(369)](t,e){const n=pe;if(this[n(406)])if(this[n(401)]?.[n(360)])try{const s=this[n(337)]();if(s){const i={eventName:t,sdkVersion:x(),device:se[n(346)](),user:oe[n(405)](),attributionId:s,params:e||{}};return await this.sendEventToServer(i),void(this[n(401)][n(373)]&&console[n(348)](n(383),t,s))}const i=le[n(384)](),r={eventName:t,sdkVersion:x(),device:se[n(346)](),user:oe.getUserInfo(),...i&&{attribution:i},params:e||{}};await this[n(343)](r),this[n(401)].debug&&(console[n(348)](n(345),t,e),i&&console[n(348)](n(396),i))}catch(s){console[n(363)](n(398),s),this[n(401)][n(373)]&&console.error(n(403),{eventName:t,properties:e})}else console[n(382)](n(356));else console[n(382)](n(404))}async[pe(395)](t){const e=pe;if(!this[e(406)])return console[e(382)]("Events module not initialized. Call AdStage.init() first."),null;if(!this[e(401)]?.[e(360)])return console.warn(e(391)),null;try{const n=le[e(339)]();if(!n||0===Object.keys(n).length)return this[e(401)].debug&&console[e(348)](e(334)),null;const s=await this.sendAttributionToServer({deviceId:t,referrerParams:n});if(this._config[e(373)]&&console[e(348)]("✅ Attribution registered:",s),s[e(388)]){try{localStorage[e(358)](e(377),s[e(388)])}catch(t){}try{sessionStorage.setItem(e(377),s[e(388)])}catch(t){}}return s}catch(t){return console[e(363)](e(397),t),null}}[pe(337)](){const t=pe;if(typeof window===t(362))return null;try{const e=sessionStorage[t(385)](t(377));if(e)return e}catch(t){}try{return localStorage[t(385)](t(377))}catch(t){}return null}async[pe(389)](t,e){return this[pe(369)](t,e)}async[pe(343)](t){const e=pe,n={...B[e(386)](this[e(401)][e(360)]),"Content-Type":e(394)};this[e(401)]?.[e(373)]&&(console[e(348)](e(392),n),console.log(e(355),q[e(390)][e(369)]()),console[e(348)](e(344),t));const s=await fetch(q.events[e(369)](),{method:"POST",headers:n,body:JSON[e(379)](t)});if(!s.ok){const t=await s[e(387)]();throw console[e(363)](e(402),t),new Error(e(365)+s[e(353)]+" "+s[e(370)])}}async sendAttributionToServer(t){const e=pe,n={...B[e(386)](this[e(401)][e(360)]),"Content-Type":"application/json"};this[e(401)]?.debug&&(console.log("🔑 Attribution request headers:",n),console[e(348)](e(372),q[e(390)][e(395)]()),console[e(348)](e(374),t));const s=await fetch(q[e(390)][e(395)](),{method:e(354),headers:n,body:JSON[e(379)](t)});if(!s.ok){const t=await s[e(387)]();throw console[e(363)]("❌ API Error Response:",t),new Error(e(340)+s.status+" "+s[e(370)])}return s[e(364)]()}}const me=ve;!function(){const t=ve,e=ye();for(;;)try{if(637664===-parseInt(t(319))/1*(parseInt(t(376))/2)+parseInt(t(384))/3*(parseInt(t(364))/4)+-parseInt(t(388))/5*(parseInt(t(302))/6)+-parseInt(t(338))/7*(parseInt(t(346))/8)+parseInt(t(360))/9+parseInt(t(361))/10*(parseInt(t(355))/11)+parseInt(t(336))/12*(-parseInt(t(337))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ie{constructor(){const t=ve;this[t(367)]=!1,this[t(315)]=null,this.config=new Zt,this[t(326)]=new Gt,this[t(332)]=new ge}static[me(374)](t){const e=me;!Ie[e(354)]&&(Ie[e(354)]=new Ie);const n=Ie.instance;if(!t[e(342)])throw new Error(e(350));n[e(315)]={timeout:3e4,debug:!1,modules:["ads","events",e(316)],...t},n[e(315)].baseUrl&&(q[e(304)](n[e(315)][e(303)]),t.debug&&console.log(e(381),n[e(315)][e(303)]));const s=n._config[e(390)]||["ads",e(332),e(316)];for(const t of s){const s=n[t];s&&typeof s[e(374)]===e(348)&&s.init(n[e(315)])}if(n[e(367)]=!0,"undefined"!=typeof window){const s=le[e(359)]();s&&t[e(368)]&&console[e(321)](e(393),s);const i=(()=>{const t=e;try{const e=new URLSearchParams(window[t(323)][t(308)]),n=new URLSearchParams((window[t(323)][t(351)]||"")[t(386)](/^#/,""));return e[t(314)](t(322))||n[t(314)](t(322))}catch{return null}})();if(i)try{localStorage[e(317)]("adstage_attribution_id",i),t[e(368)]&&console[e(321)]("🔗 Using attributionId from URL (attribution_id):",i)}catch(t){}const r=le[e(373)]();if(t.debug&&(console[e(321)]("🔍 Should send click event:",r),!r&&console[e(321)](e(391))),!i&&s&&le[e(387)]()){const s=(async()=>{const s=e;try{const e=n.generateDeviceId(),i=await n.events[s(356)](e);return i&&t[s(368)]&&console[s(321)](s(378),{attributionId:i[s(341)],channel:i[s(358)],campaign:i[s(385)],expiresAt:i[s(347)]}),i}catch(t){return console.error("❌ Failed to register attribution:",t),null}})();r&&s[e(318)](s=>{const i=e;try{const e=le[i(314)](),r=le[i(379)]();t.debug&&console[i(321)](i(313),{attributionId:s?.[i(341)],hasAttribution:!!s}),n[i(332)].track(i(310),{_autoGenerated:!0,_source:i(394),_timestamp:(new Date)[i(382)](),_platform:"web"}).then(()=>{const n=i;le[n(335)](),t[n(368)]&&console[n(321)](n(343),{attribution:r,trackingParams:e})})[i(352)](t=>{const e=i;console[e(345)](e(331),t)})}catch(t){console[i(345)](i(324),t)}})}else r&&setTimeout(()=>{const s=e;try{const e=le[s(314)](),i=le[s(379)]();n[s(332)].track("click",{_autoGenerated:!0,_source:s(394),_timestamp:(new Date).toISOString(),_platform:s(340)})[s(318)](()=>{const n=s;le[n(335)](),t.debug&&console[n(321)](n(343),{attribution:i,trackingParams:e})})[s(352)](t=>{const e=s;console[e(345)](e(331),t)})}catch(t){console[s(345)](s(324),t)}},100)}t[e(368)]&&console[e(321)](e(307),{version:e(339),modules:s,apiKey:t[e(342)][e(377)](0,8)+e(333),mode:e(320)})}static[me(365)](){const t=me;return Ie.instance?.[t(367)]||!1}static[me(383)](){const t=me;return Ie[t(354)]?.[t(315)]||null}static[me(357)](){const t=me;if(!Ie.instance)throw new Error(t(371));return Ie[t(354)]}static get[me(326)](){const t=me;try{return Ie[t(357)]()[t(326)]}catch(e){throw console[t(334)]("AdStage.ads accessed before initialization"),e}}static get[me(332)](){const t=me;try{return Ie[t(357)]()[t(332)]}catch(e){throw console[t(334)](t(362)),e}}static get[me(316)](){const t=me;try{return Ie.getInstance().config}catch(e){throw console[t(334)]("AdStage.config accessed before initialization"),e}}static[me(375)](){const t=me;Ie.instance&&(Ie.instance._isInitialized=!1,Ie[t(354)]._config=null)}generateDeviceId(){const t=me;if(typeof window===t(311))return t(389)+Math[t(363)]()[t(370)](36)[t(377)](2,15);const e=localStorage[t(353)](t(392));if(e)return e;const n=[navigator[t(312)],navigator[t(369)],screen[t(306)]+"x"+screen.height,(new Date).getTimezoneOffset(),navigator[t(309)]||0][t(349)]("|");let s=0;for(let e=0;e<n.length;e++){s=(s<<5)-s+n[t(305)](e),s&=s}const i="web-"+Math[t(330)](s)[t(370)](36)+"-"+Date[t(325)]()[t(370)](36);return localStorage[t(317)]("adstage_device_id",i),i}}function ve(t,e){const n=ye();return(ve=function(t,e){return n[t-=302]})(t,e)}function ye(){const t=["📊 Tracking parameters captured:","tracking_params","528CDcsWT","baseUrl","setBaseUrl","charCodeAt","width","🚀 AdStage SDK initialized (sync mode)","search","hardwareConcurrency","click","undefined","userAgent","🎯 Sending click event after attribution registration","get","_config","config","setItem","then","331686isthMZ","development","log","attribution_id","location","❌ Error in click event auto-tracking:","now","ads","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨",")의 viewable 추적 초기화됨","size","abs","❌ Failed to auto-track click event:","events","...","warn","markClickEventSent","722604nURpWC","26tRRfna","2657935JYMHDt","2.0.0","web","attributionId","apiKey","✅ Auto-tracked click event with tracking params:","from","error","8ZcPWXE","expiresAt","function","join","API key is required for AdStage initialization","hash","catch","getItem","instance","473VuJTDU","registerAttribution","getInstance","channel","captureFromUrl","10790334qpBiuG","78730ipWpyL","AdStage.events accessed before initialization","random","12FiwaEW","isReady","clear","_isInitialized","debug","language","toString","AdStage not initialized. Call AdStage.init() first.","📊 AdStage Debug: 현재 viewable 추적 상태","shouldSendClickEvent","init","reset","4rBNVaV","substring","✅ Attribution registered:","toAttributionObject","viewableTracker","🌐 API endpoint configured:","toISOString","getConfig","663846AtopBT","campaign","replace","hasClickId","22735fywZGB","server-","modules","⏭️ Skipping click event (duplicate or no click ID)","adstage_device_id"];return(ye=function(){return t})()}function be(t,e){var n=we();return(be=function(t,e){return n[t-=302]})(t,e)}function we(){var t=["events","resolve","58562pCflFD","AdStage not initialized. Call AdStage.init() first.","948NNdPEW","2774124UCWrng","153OPaRfU","1863960TawEyU","isReady","8080544JfBwxI","1011207jatRIc","track","warn","3918675vXwmGm","53560rvevXw","93PziDfG","getUserProperties"];return(we=function(){return t})()}Ie.debug={clearAllViewable:()=>{const t=me;dt[t(366)](),console[t(321)](t(327))},clearAdViewable:(t,e)=>{const n=me;dt.clearAdViewable(t,e),console[n(321)]("✅ AdStage Debug: 광고 "+t+"("+e+n(328))},getViewableStatus:()=>{const t=me;console[t(321)](t(372),{trackedCount:dt[t(380)][t(329)],trackedItems:Array[t(344)](dt[t(380)])})}},function(){for(var t=be,e=we();;)try{if(713578===-parseInt(t(312))/1+-parseInt(t(307))/2+parseInt(t(317))/3*(parseInt(t(316))/4)+-parseInt(t(315))/5+-parseInt(t(306))/6*(-parseInt(t(304))/7)+-parseInt(t(311))/8+parseInt(t(308))/9*(parseInt(t(309))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ke=h.createContext(null);function Ee(){const t=h.useContext(ke);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function xe(){var t=["9DudJph","30mNKtzH","1434867bCwAlG","1034635DYXkwW","1308rVjnnN","358810pThJmv","344718QfRqtI","7026912yGyHFz","171YcLALT","91360pwISXz","9235HOUSff"];return(xe=function(){return t})()}function Ae(t,e){var n=xe();return(Ae=function(t,e){return n[t-=481]})(t,e)}function Se(){const t=["434048ejERPR","50lrdHHw","25fpQFXA","6590166oELhld","1574176IfnRUX","config","7OQzfmZ","1439910nEILVG","9OUaqHO","2.0.0","4817sRnLtW","ads","180537pvmPAN","undefined","events","126402KSiChv"];return(Se=function(){return t})()}!function(){for(var t=Ae,e=xe();;)try{if(735656===parseInt(t(490))/1+-parseInt(t(481))/2*(parseInt(t(487))/3)+-parseInt(t(491))/4*(parseInt(t(486))/5)+parseInt(t(483))/6+-parseInt(t(489))/7+-parseInt(t(485))/8*(parseInt(t(484))/9)+parseInt(t(488))/10*(parseInt(t(482))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ce=Te;function Te(t,e){const n=Se();return(Te=function(t,e){return n[t-=209]})(t,e)}!function(){const t=Te,e=Se();for(;;)try{if(104742===parseInt(t(219))/1*(parseInt(t(210))/2)+-parseInt(t(221))/3+-parseInt(t(209))/4+-parseInt(t(211))/5*(parseInt(t(224))/6)+-parseInt(t(215))/7*(parseInt(t(213))/8)+-parseInt(t(217))/9*(parseInt(t(216))/10)+parseInt(t(212))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Re=Ce(218),Le=[Ce(220),Ce(223),Ce(214)];typeof window!==Ce(222)&&(window.AdStage=Ie),exports.AdStage=Ie,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[i,r]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&Ie.reset(),Ie.init(t),r(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),r(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:i,initialize:c,reset:()=>{try{Ie.reset(),s(!1),r(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(ke.Provider,{value:d,children:t})},exports.SDK_VERSION=Re,exports.SUPPORTED_MODULES=Le,exports.TrackingParamsModule=le,exports.getUserProperties=function(){var t=be;if(Ie[t(310)]())return Ie[t(302)][t(318)]();console[t(314)](t(305))},exports.setUserProperties=function(t){var e=be;Ie[e(310)]()?Ie.events.setUserProperties(t):console.warn(e(305))},exports.track=function(t,e){var n=be;return Ie[n(310)]()?Ie[n(302)][n(313)](t,e):(console[n(314)]("AdStage not initialized. Call AdStage.init() first."),Promise[n(303)]())},exports.useAdStageContext=Ee,exports.useAdStageInstance=function(){const{isInitialized:t}=Ee();return t?Ie:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
1
+ "use strict";var t,e,n,s,i,r,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(){var t=["VIEWABLE","WEB","MOBILE","TABLET","9474237WnWtuG","8074896XANZnU","5CGkivd","4385571UEiNGk","POPUP","DESKTOP","TEXT","5211864ZbXpYU","CLICK","1IZejoC","INTERSTITIAL","VIDEO","5521512sSPlQW","23795651bAcymA","193376AcJCAy","14dDqWJI","10pZbTKO"];return(f=function(){return t})()}function g(t,e){var n=f();return(g=function(t,e){return n[t-=296]})(t,e)}!function(){for(var t=g,e=f();;)try{if(889531===parseInt(t(313))/1*(-parseInt(t(297))/2)+-parseInt(t(307))/3+parseInt(t(311))/4+-parseInt(t(306))/5*(parseInt(t(305))/6)+-parseInt(t(298))/7*(-parseInt(t(316))/8)+-parseInt(t(304))/9*(parseInt(t(299))/10)+parseInt(t(296))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),e=t||(t={}),n=g,e.BANNER="BANNER",e.POPUP=n(308),e[n(314)]=n(314),e.NATIVE="NATIVE",e[n(315)]="VIDEO",e[n(310)]=n(310),(i=s||(s={}))[(r=g)(301)]="WEB",i[r(302)]=r(302),a=o||(o={}),c=g,a.VIEWABLE=c(300),a.CLICK=c(312),(l=d||(d={}))[(u=g)(309)]=u(309),l[u(302)]=u(302),l[u(303)]=u(303);const m=I;function I(t,e){const n=v();return(I=function(t,e){return n[t-=466]})(t,e)}function v(){const t=["pageXOffset","waitForElements",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ','❌ 컨테이너를 찾을 수 없습니다: "',"readyState","✅ 컨테이너 발견: ","safeAppendChild","699HWnTBj","documentElement","getScrollInfo","getComputedStyle","classList","safeAddClass","⏳ 컨테이너 대기 중: ","safeRemoveClass","ceil","title","isSSR","innerHeight","all","188397wuFdPt","waitForElement","getDocumentProperty","1954TKjaPs","textContent","isBrowser","번 시도)","safeAddEventListener","376MwddQD","safeRemoveChild","safeApplyStyles","⏳ 컨테이너 대기 시작: ","getViewportInfo","scrollTop","getWindowProperty","removeChild","createElement","ms (","3294320fEqmrd","href","referrer","번째 시도, ","setProperty","safeWindowOpen","✅ 컨테이너 즉시 발견: ","innerWidth","location","from","safeCreateElement","safeGetComputedStyle","min","undefined","1767180XxDVeX","3003485kQiqEo","forEach","30TikuQZ","safeGetElementById","safeSetInnerHTML","entries","435141ehDZqv","getElementById","style","querySelectorAll","canUseDOM","790003TeBbFR","querySelector","log","add","DOM을 사용할 수 없는 환경입니다.","isDOMReady","safeRemoveEventListener","waitForDOM"];return(v=function(){return t})()}!function(){const t=I,e=v();for(;;)try{if(561774===-parseInt(t(489))/1+-parseInt(t(520))/2*(-parseInt(t(504))/3)+-parseInt(t(477))/4+parseInt(t(478))/5+parseInt(t(480))/6*(parseInt(t(484))/7)+-parseInt(t(525))/8*(-parseInt(t(517))/9)+-parseInt(t(535))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static[m(522)](){return typeof window!==m(476)&&"undefined"!=typeof document}static[m(514)](){return!this[m(522)]()}static[m(488)](){const t=m;return this[t(522)]()&&void 0!==document[t(501)]}static[m(481)](t){return this[m(488)]()?document.getElementById(t):null}static safeQuerySelector(t){const e=m;return this.canUseDOM()?document[e(490)](t):null}static safeQuerySelectorAll(t){const e=m;return this.canUseDOM()?Array[e(472)](document[e(487)](t)):[]}static[m(473)](t){const e=m;return this[e(488)]()?document[e(533)](t):null}static[m(524)](t,e,n,s){this[m(488)]()&&t&&t.addEventListener(e,n,s)}static[m(495)](t,e,n,s){this[m(488)]()&&t&&t.removeEventListener(e,n,s)}static[m(531)](t,e){return this[m(522)]()?window[t]??e:e}static getDocumentProperty(t,e){return this[m(488)]()?document[t]??e:e}static[m(468)](t,e,n){return this[m(522)]()?window.open(t,e,n):null}static[m(474)](t){const e=m;return this[e(522)]()&&t?window[e(507)](t):null}static[m(494)](){const t=m;return!!this.canUseDOM()&&"loading"!==document[t(501)]}static[m(496)](){return new Promise(t=>{const e=I;this[e(488)]()?this.isDOMReady()?t():this[e(524)](document,"DOMContentLoaded",()=>t()):t()})}static[m(527)](t,e){const n=m;this[n(488)]()&&t&&Object[n(483)](e)[n(479)](([e,s])=>{const i=n;t[i(486)][i(467)](e,s)})}static[m(509)](t,e){const n=m;this.canUseDOM()&&t&&t[n(508)][n(492)](e)}static[m(511)](t,e){this.canUseDOM()&&t&&t.classList.remove(e)}static safeSetTextContent(t,e){const n=m;this[n(488)]()&&t&&(t[n(521)]=e)}static[m(482)](t,e){this[m(488)]()&&t&&(t.innerHTML=e)}static[m(503)](t,e){this[m(488)]()&&t&&e&&t.appendChild(e)}static[m(526)](t,e){const n=m;this[n(488)]()&&t&&e&&t[n(532)](e)}static getPageInfo(){const t=m;return{url:this[t(531)](t(471),{href:""})[t(536)],title:this[t(519)](t(513),""),referrer:this[t(519)](t(537),"")}}static[m(529)](){const t=m;return{width:this[t(531)](t(470),0),height:this[t(531)](t(515),0),pixelRatio:this[t(531)]("devicePixelRatio",1)}}static[m(506)](){const t=m;return{scrollTop:this[t(488)]()?window.pageYOffset||document[t(505)][t(530)]:0,scrollLeft:this[t(531)](t(497),0)}}static async[m(518)](t,e={}){const n=m,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this[n(488)]())throw new Error(n(493));const o=document[n(485)](t);return o?(r&&console[n(491)](n(469)+t),o):(r&&console[n(491)](n(528)+t+" (최대 "+s+"ms)"),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(512)](s/i),l=()=>{const n=a;c++;const u=document[n(485)](t);if(u)return r&&console[n(491)](n(502)+t+" ("+c+n(466)+c*i+"ms 경과)"),void e(u);if(c>=d){const e=n(500)+t+'"\n \n다음을 확인해보세요:\n1. HTML에 id="'+t+n(499)+s+n(534)+c+n(523);return r&&console.error(e),void o(new Error(e))}r&&c%10==0&&console.log(n(510)+t+" ("+c+"/"+d+")");const p=Math[n(475)](i*Math.pow(1.2,c),500);setTimeout(l,p)};setTimeout(l,i)}))}static async[m(498)](t,e={}){const n=m,s=t.map(t=>this[n(518)](t,e));return Promise[n(516)](s)}}const b=w;function w(t,e){const n=E();return(w=function(t,e){return n[t-=397]})(t,e)}!function(){const t=w,e=E();for(;;)try{if(924085===-parseInt(t(403))/1*(-parseInt(t(408))/2)+parseInt(t(398))/3+-parseInt(t(401))/4+parseInt(t(412))/5*(-parseInt(t(409))/6)+-parseInt(t(399))/7*(parseInt(t(397))/8)+-parseInt(t(400))/9+-parseInt(t(402))/10*(-parseInt(t(404))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const k=b(407);function E(){const t=["3.0.13","56rfYWpr","936DQbbDw","AdStageSDK/","userAgent","21025vBPezU","10913416qPxvmz","2876364JXnkvU","7cmXvBf","16588584mWsJYa","6721792PYvvtv","20nBSizy","49805zWDlTo","22629959koPPxO"," AdStageSDK/","undefined"];return(E=function(){return t})()}function x(){return k}const S=C;function A(){const t=["resolvedOptions","desktop"," .adstage-slider-wrapper","language","376yipYYz","DateTimeFormat","safeGetElementById","getScrollInfo","random","web","top","now","substr","collectDeviceInfo","ssr_device_","getPlatform","adstage_session_id","generateDeviceId","108ChuiXj","userAgent","352585YnnroB","getSlotPosition","615916EgwPxK","UTC","SSR","safeQuerySelector","height","colorDepth","adstage_device_id","568sEJZHe",",y:","width","android","timeZone","pixelRatio","generateSessionId","getItem","1.0.0","1692120hIlRmS","toLowerCase","6476913XxijqL","13637492MavBkH","3896bzLLzC","unknown","effectiveType","27LDvPoN","setItem","1631OCLgyK","isBrowser","20RaczdN","test","toString","connection","isMobile","getBoundingClientRect","scrollTop","round"];return(A=function(){return t})()}function C(t,e){const n=A();return(C=function(t,e){return n[t-=237]})(t,e)}!function(){const t=C,e=A();for(;;)try{if(871466===-parseInt(t(241))/1*(-parseInt(t(285))/2)+parseInt(t(244))/3*(parseInt(t(278))/4)+-parseInt(t(276))/5*(parseInt(t(274))/6)+-parseInt(t(246))/7*(parseInt(t(260))/8)+parseInt(t(239))/9*(-parseInt(t(248))/10)+parseInt(t(240))/11+-parseInt(t(237))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class T{static[S(273)](){const t=S;if(!y[t(247)]())return t(270)+Date[t(267)]();const e=localStorage[t(292)](t(284));if(e)return e;const n="device_"+Math[t(264)]().toString(36)[t(268)](2,9)+"_"+Date[t(267)]();return localStorage.setItem("adstage_device_id",n),n}static[S(291)](){const t=S;if(!y[t(247)]())return"ssr_session_"+Date[t(267)]();const e=sessionStorage.getItem(t(272));if(e)return e;const n="session_"+Math.random()[t(250)](36)[t(268)](2,9)+"_"+Date[t(267)]();return sessionStorage[t(245)](t(272),n),n}static[S(252)](){const t=S;return!!y[t(247)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(249)](navigator.userAgent)}static[S(271)](){const t=S;if(!y.isBrowser())return"web";const e=navigator[t(275)][t(238)]();return/iphone|ipad|ipod/[t(249)](e)?"ios":/android/[t(249)](e)?t(288):T[t(252)]()?t(265):t(257)}static[S(269)](){const t=S,e=y.getViewportInfo();return{deviceId:T.generateDeviceId(),sessionId:T[t(291)](),osVersion:y.isBrowser()?navigator.platform:t(280),deviceModel:y[t(247)]()?navigator.platform:"SSR",appVersion:t(293),sdkVersion:x(),language:y.isBrowser()&&navigator[t(259)]||"ko",country:"KR",ipAddress:"",userAgent:y[t(247)]()?navigator.userAgent:"SSR",timezone:y.isBrowser()?Intl[t(261)]()[t(256)]()[t(289)]:t(279),viewportWidth:e[t(287)],viewportHeight:e[t(282)],screenWidth:y[t(247)]()?screen[t(287)]:0,screenHeight:y.isBrowser()?screen[t(282)]:0,colorDepth:y[t(247)]()?screen[t(283)]:24,pixelRatio:e[t(290)],connectionType:y.isBrowser()?navigator[t(251)]?.[t(243)]||t(242):"unknown",platform:T[t(271)]()}}static[S(277)](t){const e=S;let n=y[e(262)](t);if(!n){const s=y[e(281)]("#"+t+e(258));s&&(n=s)}if(!n&&(n=y[e(281)]('[data-adstage-slot-id="'+t+'"]')),!n)return e(242);const s=n[e(253)](),i=y[e(263)]();return"x:"+Math[e(255)](s.left)+e(286)+Math[e(255)](s[e(266)]+i[e(254)])}}const R=D;function D(t,e){const n=_();return(D=function(t,e){return n[t-=452]})(t,e)}!function(){const t=D,e=_();for(;;)try{if(443583===parseInt(t(462))/1+parseInt(t(457))/2*(parseInt(t(466))/3)+-parseInt(t(458))/4*(-parseInt(t(456))/5)+parseInt(t(459))/6+parseInt(t(463))/7+parseInt(t(461))/8+-parseInt(t(454))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class L{static[R(453)](t,e){const n=R;if(!t)throw new Error(n(465));const s={"x-api-key":t,"Content-Type":e?.[n(460)]||n(452)};return"undefined"!=typeof navigator&&(s[n(455)]=e?.[n(464)]||navigator[n(464)]),s}static createForEvents(t,e){const n=L[R(453)](t);return e?.userAgent&&(n["User-Agent"]=e.userAgent),n}}function _(){const t=["86998esMFmu","4RVLEcg","3524856meTggV","contentType","2059528ZYUZgk","878972ZMAdji","5949104PkWvBb","userAgent","API key is required","3JhbxcR","application/json","create","23789880xIqKnV","User-Agent","2348215fIsbTY"];return(_=function(){return t})()}const z=U;function M(){const t=["string","5516273ucDMLW","statusText","getPageInfo","baseUrl","🚀 Sending advertisement event: ","platform","adType","now","🚀 AdvertisementEventTracker: Processing ","createForEvents","get","trackAdvertisementEvent","debug","32hHtXbh","text","slots","containerId","collectDeviceInfo","VIEWABLE","37806qrpWDv","⚠️ Slot not found for slotId: ","log","1438490mGaBhO","4571787roMUHk","130096QmwzYX","645rDXPXD","referrer","replace","status","width"," - ","📡 API Response Status: ","1787392uQDpoC","stringify","54nVIAjO","getElementById","27323KnCxiw","POST","parseNumericValue","length","NOT_SET","number",'[data-adstage-slot-id="',"⚠️ DOM element not found for slotId: ","...","substring","height","apiKey","❌ Failed to track advertisement event:","🌐 Full API call details:","warn"," event for ad ","deviceId"," in slot ","getSlotPosition","12TQprck","url","✅ Successfully tracked advertisement event: ","querySelector","/advertisements/events/"," (containerId: ","error","title"];return(M=function(){return t})()}function U(t,e){const n=M();return(U=function(t,e){return n[t-=141]})(t,e)}!function(){const t=U,e=M();for(;;)try{if(468531===parseInt(t(189))/1*(parseInt(t(166))/2)+parseInt(t(144))/3*(parseInt(t(177))/4)+-parseInt(t(178))/5*(parseInt(t(172))/6)+-parseInt(t(153))/7+parseInt(t(185))/8+-parseInt(t(187))/9*(-parseInt(t(175))/10)+parseInt(t(176))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class B{constructor(t,e,n,s){const i=U;this.baseUrl=t,this[i(200)]=e,this[i(165)]=n,this.slots=s}async[z(164)](t,e,n){const s=z;try{this[s(165)]&&console.log(s(161)+n+s(204)+t+s(142)+e);const i=this[s(168)][s(163)](e);if(!i)return void(this.debug&&console[s(203)](s(173)+e+". Skipping event tracking to prevent incorrect adType."));if(!(document[s(188)](i[s(169)])||document[s(147)](s(195)+e+'"]')))return void(this[s(165)]&&console[s(203)](s(196)+e+s(149)+i[s(169)]+"). Skipping event tracking."));const r=T[s(170)](),a={adType:i[s(159)],platform:r[s(158)],deviceId:r[s(141)],deviceInfo:r,pageUrl:y[s(155)]()[s(145)],pageTitle:y[s(155)]()[s(151)],referrer:y[s(155)]()[s(179)],slotId:e,slotPosition:T[s(143)](i[s(169)]),slotWidth:B[s(191)](i[s(182)]),slotHeight:B[s(191)](i[s(199)]),sessionId:r.sessionId,pageLoadTime:performance[s(160)](),metadata:{eventType:n,sdkVersion:x(),timestamp:Date[s(160)]()},...n===o[s(171)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(156)]+"/advertisements/events/"+t+"/"+n,d=L[s(162)](this.apiKey,a);this[s(165)]&&(console[s(174)](s(157)+n+" for ad "+t,{url:c,headers:d,eventData:a}),console[s(174)](s(202),{method:s(190),url:c,hasApiKey:!!this.apiKey,bodySize:JSON.stringify(a)[s(192)]}));const l=await fetch(c,{method:s(190),headers:d,body:JSON[s(186)](a)});if(this[s(165)]&&console.log(s(184)+l[s(181)]+" "+l[s(154)],{url:c,ok:l.ok}),!l.ok){const t=await l[s(167)]();throw new Error("API request failed: "+l[s(181)]+" "+l[s(154)]+s(183)+t)}this[s(165)]&&console[s(174)](s(146)+n+" for ad "+t)}catch(i){console.error(s(201),i),console[s(150)]("🔍 Debug info:",{baseUrl:this.baseUrl,apiKey:this.apiKey?this[s(200)][s(198)](0,8)+s(197):s(193),url:this[s(156)]+s(148)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[z(191)](t){const e=z;if(typeof t===e(194))return t;if(typeof t===e(152)){const n=parseFloat(t[e(180)](/px$/,""));return isNaN(n)?0:n}return 0}}var P=N;function O(){var t=["observe","8DwvCch","element","0px","warn","forEach","handleIntersection","disconnect","hidden","visible","4118891vOGZML","IntersectionObserver","7974324OFsSnS","45rEAbVL","IntersectionObserver not supported, viewability tracking disabled","isViewableTriggered","2697126kgjIrS","observer","destroy","481306RSLwdk","isDocumentVisible","686138wUCGae","initIntersectionObserver","onViewableCallback","6289440itJrca","676996xLuKZJ","intersectionRatio","visibilityState"];return(O=function(){return t})()}function N(t,e){var n=O();return(N=function(t,e){return n[t-=154]})(t,e)}!function(){for(var t=N,e=O();;)try{if(826385===parseInt(t(181))/1+parseInt(t(179))/2+parseInt(t(176))/3+-parseInt(t(157))/4*(-parseInt(t(173))/5)+-parseInt(t(156))/6+-parseInt(t(170))/7+-parseInt(t(161))/8*(parseInt(t(172))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class F{constructor(t,e){var n=N;this.observer=null,this.isViewableTriggered=!1,this[n(162)]=t,this[n(155)]=e,this[n(154)]()}initIntersectionObserver(){var t=N;t(171)in window?(this[t(177)]=new IntersectionObserver(e=>this[t(166)](e),{threshold:.5,rootMargin:t(163)}),this[t(177)][t(160)](this[t(162)])):console[t(164)](t(174))}[P(166)](t){var e=P;t[e(165)](t=>{var n=e;t[n(158)]>=.5&&this.isDocumentVisible()&&!this.isViewableTriggered&&(this[n(175)]=!0,this[n(155)]&&this.onViewableCallback())})}[P(180)](){var t=P;return!document[t(168)]&&document[t(159)]===t(169)}[P(178)](){var t=P;this[t(177)]&&(this[t(177)][t(167)](),this.observer=null)}}const V=W;function K(){const t=["advertisements","baseUrl","events","297463yxyeDD","1117835fdIHMb","1590832bCwZRz","/advertisements/events","registerAttribution","detail","startsWith","379448TCjKTK","setBaseUrl","20ogdoeT","/advertisements","477135SgrDgT","6Esemxg","16106103oZCWsp","track","list","production","2917338CRXNET","https://api.adstage.app","161IqwLMl","custom","https://beta-api.adstage.app"];return(K=function(){return t})()}!function(){const t=W,e=K();for(;;)try{if(747185===-parseInt(t(446))/1+-parseInt(t(463))/2+-parseInt(t(457))/3+parseInt(t(448))/4+parseInt(t(447))/5*(-parseInt(t(458))/6)+-parseInt(t(440))/7*(parseInt(t(453))/8)+parseInt(t(459))/9*(parseInt(t(455))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const H={production:V(464),beta:V(442)};V(462);const j={advertisements:{list:"/advertisements/list",detail:V(456),events:V(449)},events:{track:"/events/track",registerAttribution:"/events/register/attribution"}};function W(t,e){const n=K();return(W=function(t,e){return n[t-=440]})(t,e)}class X{constructor(t){const e=V;this[e(443)]={list:()=>""+this[e(444)]+j[e(443)][e(461)],detail:t=>""+this[e(444)]+j[e(443)][e(451)]+"/"+t,events:(t,n)=>""+this[e(444)]+j[e(443)][e(445)]+"/"+t+"/"+n},this[e(445)]={track:()=>""+this[e(444)]+j[e(445)][e(460)],registerAttribution:()=>""+this.baseUrl+j[e(445)][e(450)]},this[e(444)]=t||H.production}[V(454)](t){this[V(444)]=t}getBaseUrl(){return this[V(444)]}[V(441)](t){const e=V;return""+this[e(444)]+(t[e(452)]("/")?t:"/"+t)}}const q=new X;var G=Y;function Y(t,e){var n=J();return(Y=function(t,e){return n[t-=285]})(t,e)}function J(){var t=["🎯 Triggering initial VIEWABLE event: ad ","56360mMmqaM","log","1998RFsjdM"," (index: ","20VFjzMn","8XrFGiy","28VlIcjg","15071940oBjyyI","54064iKWLqj","trackSlideViewable","517rMcIQb","5087761bOhXZx","trackInitialSlideViewable","3720ZTpfjN","🎯 Triggering VIEWABLE event for slide change: ad "," (index: 0) in slot: ","_id","3305igtGCA","342264DGFuUl","VIEWABLE","668310PjDkCZ"];return(J=function(){return t})()}!function(){for(var t=Y,e=J();;)try{if(755403===-parseInt(t(292))/1*(-parseInt(t(290))/2)+-parseInt(t(304))/3*(-parseInt(t(288))/4)+-parseInt(t(301))/5*(parseInt(t(297))/6)+-parseInt(t(295))/7*(-parseInt(t(289))/8)+-parseInt(t(286))/9*(parseInt(t(306))/10)+parseInt(t(294))/11*(-parseInt(t(302))/12)+parseInt(t(291))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Z{static[G(293)](t,e,n,s,i=!1){var r=G;i&&console.log(r(298)+t[r(300)]+r(287)+n+") in slot: "+e.id),s(t[r(300)],e.id,o[r(303)])}static[G(296)](t,e,n,s=!1){var i=G;s&&console[i(285)](i(305)+t._id+i(299)+e.id),n(t._id,e.id,o[i(303)])}}const Q=tt;function $(){const t=["log","1490DmcBAH","469vOegcw","20557680fGatfs","stopPropagation","open","preventDefault","toLowerCase","24wXjRMe","forEach","style","CLICK","6COlPQe","12661sQJGTf"," -> ","adType","278914ppgXJr","cursor","_blank","linkUrl","396852YeokST","addClickEventForRenderer","click","addEventListener","_id","5MyaggS","pointer","addClickEvent"," ad clicked: ","842733xHcKFs","2688417pICxXE","isClickable","61602jseMLt"];return($=function(){return t})()}function tt(t,e){const n=$();return(tt=function(t,e){return n[t-=492]})(t,e)}!function(){const t=tt,e=$();for(;;)try{if(678347===parseInt(t(501))/1*(-parseInt(t(505))/2)+-parseInt(t(519))/3+-parseInt(t(509))/4*(parseInt(t(514))/5)+parseInt(t(521))/6*(parseInt(t(524))/7)+-parseInt(t(497))/8*(-parseInt(t(518))/9)+parseInt(t(523))/10*(-parseInt(t(502))/11)+parseInt(t(492))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class et{static[Q(516)](t,e,n,s,i=!1,r){const a=Q;e[a(508)]&&(t[a(499)][a(506)]=a(515),t.addEventListener(a(511),t=>{const c=a;if(t[c(495)](),t[c(493)](),s&&s(e[c(513)],n.id,o[c(500)]),window.open(e[c(508)],c(507)),i){const t=r||String(n.adType).toLowerCase();console[c(522)]("🔗 "+t+" ad clicked: "+e._id+c(503)+e[c(508)])}}))}static[Q(510)](t,e,n,s,i=!1,r){const a=Q;e.linkUrl&&(t.style[a(506)]="pointer",t[a(512)](a(511),t=>{const c=a;t[c(495)](),t[c(493)]();if(s()(e[c(513)],n.id,o.CLICK),window[c(494)](e[c(508)],c(507)),i){const t=r||String(n[c(504)])[c(496)]();console[c(522)]("🔗 "+t+c(517)+e[c(513)]+c(503)+e[c(508)])}}))}static addClickEventForSlider(t,e,n,s,i=!1,r){this.addClickEvent(t,e,n,s,i,r)}static[Q(520)](t){return Boolean(t.linkUrl)}static addClickEventsBatch(t,e,n,s,i=!1,r){const o=Q;t[o(498)]((t,a)=>{const c=o,d=e[a];d&&this[c(516)](t,d,n,s,i,r)})}}const nt=it;function st(){const t=["transform 0.4s ease-out","remove","block","body","width","white","50px","textContent","mouseenter","#f0f0f0","createElement","display","0.7","873477eyBbBA","hidden","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","Banner Ad","autoSlideInterval","changedTouches","borderColor","backgroundColor","flex","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","classList","style","overflow","297793FUyqDo","none","string","Video Ad","className","imageUrl","cssText","4gGXaXT","click","adstage-dots","border","1px dashed #ccc","8px","querySelectorAll","adType","adstage-dot","normal","color","padding","height","auto","length","1047219OBKYMf","active","touches","transform","forEach","addClickEventForSlider","add","src","0.9","opacity","entries","translateX(-","preventDefault","2wahBNg","#f9f9f9","abs","center","background","100px","14px","button","trackSlideViewable","every","847UXNmmg"," Ad","touchstart","adstage-slider-wrapper","addTouchSupport","div","appendChild","clientX","1px solid #666","setProperty","6035820zsUeKo","inline-block","adstage-ad adstage-","1261965CAeAqk","TEXT","100%","includes","adstage-slide","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","transition","toLowerCase","2956440CBGVdL",".adstage-dot","4542OBcUdF","cover","fontSize","mouseleave","videoUrl","children","contains","removeChild","setAttribute","#666666","addEventListener","BANNER","createSimpleAdElement","touchend","img","transparent"];return(st=function(){return t})()}function it(t,e){const n=st();return(it=function(t,e){return n[t-=321]})(t,e)}!function(){const t=it,e=st();for(;;)try{if(221564===parseInt(t(385))/1*(-parseInt(t(420))/2)+-parseInt(t(407))/3*(-parseInt(t(392))/4)+-parseInt(t(333))/5+-parseInt(t(343))/6*(-parseInt(t(430))/7)+-parseInt(t(341))/8+parseInt(t(372))/9+parseInt(t(330))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static createSimpleAdElement(e,n){const s=it,i=document[s(369)]("div");switch(i.className=s(332)+String(e[s(399)])[s(340)](),i[s(351)]("data-adstage-ad-id",n._id),i[s(351)]("data-adstage-slot-id",e.id),i[s(383)][s(370)]=s(361),i[s(383)][s(363)]=s(335),i[s(383)][s(404)]=s(405),e[s(399)]){case t[s(354)]:if(n[s(390)]){const t=document[s(369)](s(357));t[s(414)]=n.imageUrl,t[s(383)][s(363)]=s(335),t[s(383)][s(404)]=s(405),t[s(383)].objectFit=s(344),i[s(326)](t)}else i[s(383)][s(404)]=s(425),i.style[s(379)]=s(368),i.style[s(395)]="1px dashed #ccc",i.textContent=s(375);break;case t.VIDEO:if(n[s(347)]){const t=document[s(369)]("video");t[s(414)]=n[s(347)],t.style[s(363)]="100%",t[s(383)].height=s(405),i[s(326)](t)}else i[s(383)][s(404)]="200px",i.style[s(379)]="#000",i[s(383)].border=s(328),i.textContent=s(388),i.style[s(402)]=s(364);break;case t[s(334)]:if(n[s(366)]){const t=document[s(369)](s(325));t[s(366)]=n[s(366)]||"",t[s(383)].padding=s(397),t[s(383)][s(345)]=s(426),i[s(326)](t)}else i[s(383)][s(404)]=s(365),i.style[s(403)]=s(397),i.textContent="Text Ad";break;default:i[s(383)][s(404)]=s(425),i[s(383)].border=s(396),i[s(383)][s(379)]=s(421),i.textContent=e[s(399)]+s(321)}return i}static createSliderContainer(e,n,s,i,r=!1){const o=it,a=document[o(369)](o(325));a[o(389)]=o(323);const c={position:"relative",overflow:o(373)};if(e.width&&0!==e[o(363)]){let t;t="string"==typeof e.width&&(e[o(363)][o(336)]("px")||e[o(363)][o(336)]("%"))?e.width:e[o(363)]+"px",c[o(363)]=t,c.display="inline-block"}else c[o(370)]=o(331);if(e[o(404)]&&0!==e[o(404)]){const t="string"==typeof e.height?e[o(404)]:e.height+"px";c[o(404)]=t}Object[o(417)](c)[o(411)](([t,e])=>{const n=o;a.style[n(329)](t,e)});const d=!e[o(363)]||0===e[o(363)],l=!e[o(404)]||0===e[o(404)];if(d||l){const t=document[o(369)](o(325));if(t.style.cssText=o(338),!d&&e[o(363)]){let n;n=typeof e[o(363)]===o(387)?e[o(363)][o(336)]("px")||e.width[o(336)]("%")?e.width:e[o(363)]+"px":e.width+"px",t[o(383)].width=n,t[o(383)].whiteSpace=o(401)}document.body[o(326)](t);let s=0,i=0;n[o(411)](n=>{const r=o,a=this[r(355)](e,n);t[r(326)](a);const c=a.getBoundingClientRect();c.width>s&&(s=c[r(363)]),c[r(404)]>i&&(i=c[r(404)]),t[r(350)](a)}),d&&s>0&&(a[o(383)].width=s+"px",c[o(363)]=s+"px"),l&&i>0&&(a.style[o(404)]=i+"px",c[o(404)]=i+"px"),document[o(362)][o(350)](t)}const u=[...n,n[0]],p=document[o(369)](o(325));p[o(389)]="adstage-slide-container";const h={display:o(380),transition:o(359),width:100*u[o(406)]+"%"};e[o(404)]&&0!==e.height&&(h[o(404)]="100%"),Object.entries(h)[o(411)](([t,e])=>{p[o(383)].setProperty(t,e)}),u[o(411)]((t,n)=>{const s=o,a=document[s(369)](s(325));a[s(389)]=s(337);const c={width:100/u.length+"%","flex-shrink":"0",display:s(380),"align-items":s(423),"justify-content":s(423)};e[s(404)]&&0!==e[s(404)]&&(c[s(404)]=s(335)),Object[s(417)](c).forEach(([t,e])=>{const n=s;a[n(383)][n(329)](t,e)});const d=this[s(355)](e,t);et[s(412)](d,t,e,i,r,String(e[s(399)]).toLowerCase()),a.appendChild(d),p[s(326)](a)});const f=n[o(429)](e=>e[o(399)]===t[o(334)])?null:this.createMinimalDotIndicator(n[o(406)]);let g=0;const m=n.length,I=1e3*(s?.[o(376)]||3),v=(t,s=!1)=>{const a=o;g=t,s?p[a(383)][a(339)]=a(386):p.style[a(339)]=a(359),p[a(383)][a(410)]=a(418)+100/u.length*g+"%)";const c=g===m?0:g;if(f){f[a(398)](a(342))[a(411)]((t,e)=>{const n=a,s=t;e===c?(s[n(382)][n(413)](n(408)),s[n(383)][n(424)]="#666666",s[n(383)][n(378)]=n(352),s.style.opacity="1"):(s.classList[n(360)]("active"),s[n(383)].background=n(358),s.style[n(378)]="#cccccc",s[n(383)][n(416)]=n(371))})}Z[a(428)](n[c],e,c,i,r)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(398)](".adstage-dot").forEach((t,e)=>{const n=o;t[n(353)](n(393),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a.addEventListener(o(367),()=>{clearInterval(b)}),a[o(353)](o(346),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this.addTouchSupport(p,v,()=>g,m,y),a.appendChild(p),f&&a.appendChild(f),v(0),(!e[o(363)]||0===e[o(363)])&&setTimeout(()=>{const t=o,n=p[t(348)][0];if(n){const s=n[t(348)][0];if(s){const n=s.getBoundingClientRect();a.style[t(363)]=n[t(363)]+"px",(!e[t(404)]||0===e[t(404)])&&(a.style.height=n[t(404)]+"px"),a[t(383)][t(384)]=t(373)}}},10),a}static createMinimalDotIndicator(t){const e=it,n=document[e(369)](e(325));n[e(389)]=e(394),n[e(383)].cssText=e(374);for(let s=0;s<t;s++){const t=document.createElement(e(427));t[e(389)]=e(400),t.style[e(391)]=e(381),t.addEventListener(e(367),()=>{const n=e;!t[n(382)][n(349)](n(408))&&(t[n(383)][n(378)]="#999999",t[n(383)][n(416)]=n(415))}),t[e(353)](e(346),()=>{const n=e;!t[n(382)][n(349)](n(408))&&(t[n(383)][n(378)]="#cccccc",t[n(383)].opacity=n(371))}),n.appendChild(t)}return n}static[nt(324)](t,e,n,s,i){const r=nt;let o=0,a=!1;t.addEventListener(r(322),t=>{const e=r;o=t[e(409)][0][e(327)],a=!0}),t[r(353)]("touchmove",t=>{a&&t[r(419)]()}),t[r(353)](r(356),t=>{const c=r;if(!a)return;a=!1;const d=t[c(377)][0][c(327)],l=o-d;if(Math[c(422)](l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}const ot=at;function at(t,e){const n=dt();return(at=function(t,e){return n[t-=425]})(t,e)}!function(){const t=at,e=dt();for(;;)try{if(711007===-parseInt(t(427))/1+parseInt(t(437))/2*(parseInt(t(434))/3)+parseInt(t(428))/4*(-parseInt(t(430))/5)+parseInt(t(444))/6+-parseInt(t(429))/7*(parseInt(t(446))/8)+parseInt(t(435))/9+-parseInt(t(433))/10*(-parseInt(t(426))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ct{static[ot(445)](t,e,n=!1){const s=ot,i=t+"_"+e;return ct[s(442)][s(441)](i)?(n&&console.log(s(436)+t+s(443)+e),!0):(ct.viewableTracker[s(425)](i),n&&console[s(438)](s(431)+t+s(443)+e),!1)}static[ot(440)](){const t=ot;ct.viewableTracker[t(440)]()}static[ot(439)](t,e){const n=ot,s=t+"_"+e;ct[n(442)][n(432)](s)}}function dt(){const t=["clearAdViewable","clear","has","viewableTracker"," in slot ","3337230kFEhbK","isDuplicateViewable","46408pPwESb","add","22doRmXc","1417954EDqAKJ","28jCTImU","1092srjsYW","99115lKqTFi","✅ New viewable recorded for ad ","delete","11615750nMKIuN","3TWWnMy","765612wsskhJ","Duplicate viewable blocked for ad ","416510LAyiub","log"];return(dt=function(){return t})()}ct[ot(442)]=new Set;const lt=pt;!function(){const t=pt,e=ht();for(;;)try{if(401105===-parseInt(t(443))/1+-parseInt(t(467))/2*(-parseInt(t(446))/3)+-parseInt(t(456))/4+-parseInt(t(400))/5*(-parseInt(t(393))/6)+-parseInt(t(375))/7*(parseInt(t(453))/8)+parseInt(t(430))/9+-parseInt(t(408))/10*(-parseInt(t(462))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ut{constructor(t,e=!1,n){const s=pt;this[s(362)]=t,this[s(441)]=e,this[s(466)]=n||null}[lt(383)](t,e,n,s){const i=lt,r=document[i(372)]("div");r.id=e,r[i(365)]=i(474)+String(this[i(362)])[i(422)](),r.setAttribute(i(455),i(428)),r[i(386)](i(369),String(this[i(362)])),r[i(386)](i(450),e);const{width:o,height:a}=this[i(440)](t,n,s)||{width:i(392),height:this[i(473)]()};r.style[i(417)]=o,r.style[i(460)]=a;const c=s?.[i(439)]||n[i(439)]||i(447);this[i(436)](r,c),t.appendChild(r),this[i(441)]&&console[i(378)](i(457)+this.adType+" slot: "+e+" ("+o+i(454)+a+i(429)+c)}[lt(436)](t,e){const n=lt;switch(e){case n(447):t[n(452)][n(391)]=n(451),t[n(452)][n(374)]="none",t.style[n(360)]="0",t.innerHTML="";break;case"transparent":t[n(452)][n(391)]=n(451),t[n(452)][n(374)]=n(425),t.style[n(396)]="block",t[n(405)]="";break;case"subtle":t[n(452)][n(391)]=n(463),t[n(452)][n(374)]=n(425),t[n(452)][n(410)]=n(444),t[n(452)].display=n(438),t.style[n(406)]=n(394),t[n(452)].justifyContent=n(394),t[n(405)]=n(461);break;case n(388):t[n(452)][n(391)]=n(399),t.style[n(374)]="1px solid rgba(0, 0, 0, 0.08)",t.style[n(410)]="6px",t[n(452)][n(396)]=n(438),t[n(452)][n(406)]="center",t[n(452)][n(361)]=n(394),t[n(405)]=n(414);break;case n(441):t[n(452)].border="2px dashed #e74c3c",t[n(452)][n(396)]="flex",t.style.alignItems=n(394),t[n(452)][n(361)]="center",t[n(452)][n(391)]="rgba(231, 76, 60, 0.1)",t[n(452)][n(389)]=n(384),t[n(452)].fontFamily="monospace",t[n(452)][n(397)]=n(475),t[n(405)]=n(413)+this[n(362)]+n(435);break;default:t[n(452)][n(374)]="1px dashed #ccc",t[n(452)][n(396)]=n(438),t[n(452)].alignItems="center",t[n(452)][n(361)]="center",t[n(452)].backgroundColor=n(412),t[n(452)][n(389)]="#666",t[n(405)]="<span>Loading "+this.adType+n(435)}}[lt(440)](t,e,n){const s=lt,i=e[s(417)],r=e[s(460)];let o,a;if(o=typeof i===s(420)?i+"px":typeof i===s(415)?i:s(392),typeof r===s(420))a=r+"px";else if(typeof r===s(415)&&r!==s(392)&&"auto"!==r)a=r;else{const e=this[s(411)](t);e>0?(a=s(392),(n?.[s(441)]||this[s(441)])&&console[s(378)]("📏 Using 100% height (container: "+e+s(379))):(a=this[s(473)](),(n?.[s(441)]||this[s(441)])&&console[s(378)](s(390)+a+" for "+this[s(362)]))}return{width:o,height:a}}[lt(411)](t){const e=lt,n=window.getComputedStyle(t),s=parseFloat(n[e(460)]);if(!s||0===s){const s=parseFloat(n[e(433)]);if(s>0)return s;if(t.style[e(460)]&&t.style[e(460)]!==e(366)){const n=parseFloat(t.style[e(460)]);if(n>0)return n}const i=t[e(421)](e(460));if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}[lt(377)](){return async(t,e,n)=>{const s=pt;if(n===o[s(409)]){if(ct[s(382)](t,e,this[s(441)]))return void(this[s(441)]&&console[s(378)](s(458)+t+s(380)+e));this[s(441)]&&console[s(378)]("✅ New viewable recorded for ad "+t+s(380)+e)}if(this.advertisementEventTracker)try{this[s(441)]&&console[s(378)](s(442)+n+s(423)+t+s(380)+e),await this.advertisementEventTracker[s(363)](t,e,n),this.debug&&console[s(378)](s(471)+n+s(423)+t+s(380)+e)}catch(e){this[s(441)]&&console[s(370)](s(434)+n+s(418)+t+":",e)}else this[s(441)]&&console.warn("⚠️ AdvertisementEventTracker not available for "+n+s(371))}}[lt(395)](t){const e=lt,n=document.getElementById(t.id);if(n){const s=[...[n[e(431)](e(403)),n.closest(e(403)),n][e(472)](t=>t&&t[e(402)](e(455))),...[n.closest(e(367)),n.closest(".adstage-"+String(this[e(362)]).toLowerCase()),n[e(398)](e(385)),n.closest(e(459)),n.closest(e(469)),n.closest(e(426)),n[e(398)](e(470)),n[e(404)]].filter(Boolean)][0];if(s){let n=e(381);n=s[e(402)](e(455))?"adstage-official":s[e(465)][e(437)]("adstage-slot")?e(432):e(445),s[e(452)][e(419)]+=e(468),s.innerHTML="",s.setAttribute("data-adstage-empty","true"),this[e(441)]&&console.warn(e(449)+this[e(362)]+e(424)+n+e(387)+t.id,s)}else this[e(407)](t)}t[e(368)]=void 0,t[e(464)]=!0}[lt(407)](t){const e=lt,n=document[e(364)](t[e(376)]);if(n){n[e(405)]="";const s=document[e(372)]("div");s.id=t.id,s[e(365)]="adstage-slot adstage-empty adstage-"+String(this.adType)[e(422)](),s[e(386)](e(455),e(428)),s[e(386)](e(448),e(428)),s[e(386)]("data-adstage-slot",t.id),s[e(452)][e(419)]=e(427),n.appendChild(s),this[e(441)]&&console[e(416)](e(373)+this[e(362)]+e(401)+t.id)}}[lt(378)](t,...e){const n=lt;this.debug&&console[n(378)]("["+this.adType+"] "+t,...e)}}function pt(t,e){const n=ht();return(pt=function(t,e){return n[t-=360]})(t,e)}function ht(){const t=["9SzmHXM","invisible","data-adstage-empty","⚠️ ","data-adstage-slot","transparent","style","6704mrUtDM"," x ","data-adstage-container","1263084OBInzZ","📦 Placeholder created for ","🚫 Duplicate viewable blocked for ad ",'[class*="banner"]',"height",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"5522UMWUMO","rgba(0, 0, 0, 0.02)","isEmpty","classList","advertisementEventTracker","76404pNhMSn","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",'[class*="container"]','div[style*="min-height"]',"📊 Advertisement event tracked: ","filter","getDefaultHeight","adstage-slot adstage-","11px","opacity","justifyContent","adType","trackAdvertisementEvent","getElementById","className","auto",".adstage-slot","advertisement","data-adstage-type","error"," event","createElement","⚠️ Created empty ","border","5243qBjTVe","containerId","createEventTrackingCallback","log","px)"," in slot ","unknown","isDuplicateViewable","createPlaceholder","#e74c3c",'[class*="ad"]',"setAttribute","): ","minimal","color","📏 Using default height ","backgroundColor","100%","321042APhrus","center","renderFallback","display","fontSize","closest","rgba(248, 249, 250, 0.5)","55dUzkfM"," container: ","hasAttribute",'[data-adstage-container="true"]',"parentElement","innerHTML","alignItems","createEmptyContainer","6530rbPoMy","VIEWABLE","borderRadius","getContainerHeight","#f9f9f9","<span>Loading ",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"string","warn","width"," event for ad ","cssText","number","getAttribute","toLowerCase"," for ad "," container collapsed (","none",'div[style*="height"]',"\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","true",") - Mode: ","4166100tmPFJO","querySelector","adstage-class","minHeight","❌ Failed to track "," ad...</span>","applyPlaceholderStyle","contains","flex","placeholderMode","calculateAdSize","debug","🔄 Starting advertisement event tracking: ","149351xeciWl","4px","generic"];return(ht=function(){return t})()}const ft=gt;function gt(t,e){const n=mt();return(gt=function(t,e){return n[t-=159]})(t,e)}function mt(){const t=["slideInterval","❌ Failed to load optimized banner image:","3:2","containerId","optimizeContainerForBannerAds","applyOptimizedImageStyle","style","calculateOptimalContainerSize","Failed to load image: ","🔧 Banner container optimized for ","alt","center","#f0f0f0","common",", ratio=","toFixed","title","getBoundingClientRect","filter","objectPosition","66879qxYxQh","1dVKnRf","warn","Failed to calculate optimal banner size, using defaults:"," (strategy: ","100%","dominant","getElementById","BANNER","optimizedHeight","onload","4885YtodmK","getDefaultHeight","width","232JRHooX","count","📦 Banner container dimensions: ","src","className","calculateAdSize","11QmoJaZ","Banner Advertisement","onerror","<div>","set","value","average","aspectRatio","map","div","4:3","ratio","Image URL is not provided","renderOptimizedBannerImage","config","1004898VqjUpX","values","calculateOptimalHeight","selectOptimalSizeStrategy"," with ","✅ Optimized banner image rendered for ad: ","createEventTrackingCallback","_id","9401511EQJfMR","toString","Banner","length","display","3012XRkRiV","11849210jcUtnH","📊 Using standard ratio: ","1095420HDsxPl","55679ygOUUp","imageUrl","contain","img","cover","12LSUTDd",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"debug","objectFit","Banner container optimization failed, using default size:","294scazhp","block","naturalWidth","abs","16:9","get","allSettled","createSliderContainer","round","renderMultipleAds","250px","height","innerHTML","status","reduce","log","backgroundColor","1:1","createElement","loadImageDimensions","appendChild","name","borderRadius","naturalHeight"];return(mt=function(){return t})()}!function(){const t=gt,e=mt();for(;;)try{if(828147===parseInt(t(171))/1*(parseInt(t(221))/2)+parseInt(t(205))/3*(-parseInt(t(227))/4)+-parseInt(t(181))/5*(-parseInt(t(232))/6)+parseInt(t(213))/7+parseInt(t(184))/8*(-parseInt(t(170))/9)+-parseInt(t(219))/10*(-parseInt(t(190))/11)+-parseInt(t(218))/12*(parseInt(t(222))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It extends ut{constructor(e=!1,n){super(t[gt(178)],e,n)}[ft(182)](){return ft(242)}async renderAdElement(t,e){const n=ft,s=document[n(177)](t.containerId);if(!s)return;const i=document[n(250)](n(199));i[n(188)]="adstage-ad adstage-banner-ad";const r=t[n(179)],o=s.parentElement||s;if(r)i.style[n(183)]="100%",i[n(262)][n(243)]=String(r);else{const e=t.config,s={width:e?.[n(183)],height:e?.[n(243)]},{width:r,height:a}=this[n(189)](o,s,{debug:this[n(229)]});i.style[n(183)]=r,i.style[n(243)]=a}e.imageUrl?await this[n(203)](i,e,t):i[n(244)]=n(193)+(e[n(166)]||"Banner Ad")+"</div>",et.addClickEventForRenderer(i,e,t,()=>this[n(211)](),this[n(229)],"Banner"),s.innerHTML="",s.appendChild(i)}async[ft(241)](t,e){const n=ft,s=document[n(177)](t[n(259)]);if(!s)throw new Error("Container not found: "+t[n(259)]);await this[n(260)](t,e);const i=this.createEventTrackingCallback(),r={autoSlideInterval:(t[n(204)]?.[n(256)]||5e3)/1e3,...t[n(204)],optimizedHeight:t[n(179)],aspectRatio:t[n(197)]},o=rt[n(239)](t,e,r,i,this[n(229)]);o&&(s[n(244)]="",s[n(252)](o),this[n(229)]&&console[n(247)]("🎠 Banner carousel created for slot: "+t.id+n(209)+e[n(216)]+" ads (optimized: "+(t.optimizedHeight||"default")+")"))}async calculateOptimalContainerSize(t,e){const n=ft;if(!t[n(216)])return{width:n(175),height:this[n(182)](),aspectRatio:16/9};try{const s=(await Promise[n(238)](t[n(168)](t=>t[n(223)])[n(198)](t=>this[n(251)](t[n(223)]))))[n(168)](t=>"fulfilled"===t[n(245)])[n(198)](t=>t[n(195)]);if(0===s.length)return{width:"100%",height:this[n(182)](),aspectRatio:16/9};const i=this[n(208)](s),r=this[n(207)](s,e,i);return this[n(229)]&&console[n(247)]("📐 Optimal banner container calculated: "+e+"x"+r+n(174)+i+")"),{width:n(175),height:r+"px",aspectRatio:e/r}}catch(t){return console[n(172)](n(173),t),{width:"100%",height:this[n(182)](),aspectRatio:16/9}}}async[ft(260)](t,e){const n=ft;try{const s=document[n(177)](t[n(259)]),i=document[n(177)](t.id);if(!s||!i)return;const r=s[n(167)]()[n(183)]||300,o=await this[n(263)](e,r);i.style[n(243)]=o[n(243)],t.optimizedHeight=o[n(243)],t[n(197)]=o.aspectRatio,this[n(229)]&&console[n(247)](n(159)+e[n(216)]+" ads: "+o[n(243)])}catch(t){console.warn(n(231),t)}}[ft(208)](t){const e=ft,n=t.map(t=>t[e(183)]/t[e(243)]),s=new Map;n.forEach(t=>{const n=e,i=(Math[n(240)](10*t)/10)[n(214)]();s[n(194)](i,(s[n(237)](i)||0)+1)});const i=Math.max(...s[e(206)]()),r=t[e(216)];if(i/r>=.7)return e(176);const o=[16/9,4/3,1,1.5];return n[e(168)](t=>o.some(n=>Math[e(235)](t-n)<.1)).length/r>=.5?"common":e(196)}[ft(207)](t,e,n){const s=ft,i=t[s(198)](t=>t[s(183)]/t[s(243)]);switch(n){case s(176):{const t=new Map;i.forEach(e=>{const n=s,i=Math[n(240)](10*e)/10,r=i.toString(),o=t[n(237)](r);o?o[n(185)]++:t[n(194)](r,{ratio:i,count:1})});const n=Array.from(t[s(206)]())[s(246)]((t,e)=>e[s(185)]>t.count?e:t);return Math.round(e/n[s(201)])}case s(163):{const t=[{ratio:16/9,name:s(236)},{ratio:4/3,name:s(200)},{ratio:1,name:s(249)},{ratio:1.5,name:s(258)}],n=i.reduce((t,e)=>t+e,0)/i.length,r=t[s(246)]((t,e)=>Math[s(235)](e[s(201)]-n)<Math[s(235)](t[s(201)]-n)?e:t);return this.debug&&console[s(247)](s(220)+r[s(253)]+" (avg: "+n.toFixed(2)+")"),Math[s(240)](e/r[s(201)])}case s(196):default:{const t=i.reduce((t,e)=>t+e,0)/i.length;return Math[s(240)](e/t)}}}[ft(251)](t){return new Promise((e,n)=>{const s=gt,i=new Image;i[s(180)]=()=>{const t=s;e({width:i[t(234)],height:i[t(255)]})},i[s(192)]=()=>{n(new Error(s(264)+t))},i[s(187)]=t})}[ft(261)](t,e,n){const s=ft,i=e/n;Math[s(235)](i-1)<.1?(t[s(262)][s(230)]=s(226),t[s(262)][s(169)]=s(161)):i>1.3?(t[s(262)][s(230)]=s(224),t[s(262)][s(169)]=s(161),t.style[s(248)]=s(162)):i<.7?(t[s(262)][s(230)]="cover",t[s(262)][s(169)]="center"):(t[s(262)][s(230)]=s(226),t[s(262)][s(169)]="center"),this[s(229)]&&console.log("🎨 Banner image style applied: objectFit="+t[s(262)].objectFit+s(164)+i[s(165)](2))}async[ft(203)](t,e,n){const s=ft,i=document[s(250)](s(225));i[s(262)][s(183)]="100%",i[s(262)][s(243)]=s(175),i[s(262)][s(217)]=s(233),i.style[s(254)]="8px",i[s(160)]=e.title||s(191),t.innerHTML=s(228);try{if(!e[s(223)])throw new Error(s(202));const r=await this.loadImageDimensions(e[s(223)]),o=t[s(167)](),a=o.width,c=o.height;this[s(229)]&&(console.log("📸 Banner image dimensions: "+r[s(183)]+"x"+r.height),console[s(247)](s(186)+a+"x"+c));const d=r[s(183)]/r[s(243)],l=a/c;return this[s(261)](i,d,l),i[s(187)]=e[s(223)],t[s(244)]="",t[s(252)](i),et.addClickEventForRenderer(i,e,n,()=>this[s(211)](),this[s(229)],s(215)),this[s(229)]&&console[s(247)](s(210)+e[s(212)]),i}catch(r){return console.error(s(257),r),e[s(223)]&&(i.src=e[s(223)],i.style.objectFit=s(226),i[s(262)][s(169)]="center",t.innerHTML="",t[s(252)](i),et.addClickEventForRenderer(i,e,n,()=>this[s(211)](),this[s(229)],s(215))),i}}}function vt(t,e){const n=bt();return(vt=function(t,e){return n[t-=292]})(t,e)}const yt=vt;function bt(){const t=["title","16CcGyDN","2020914GMKKCc","801630cdInNn","59040iZFJGx","799113xtAnEo","setTextAdContent","2ZNIcQM","77598JZmBqL","textContent","81PmlIFH","createTextAdStyles","1053530qLUOlf","999568aIBdTU"];return(bt=function(){return t})()}!function(){const t=vt,e=bt();for(;;)try{if(175062===parseInt(t(305))/1+parseInt(t(304))/2*(-parseInt(t(301))/3)+-parseInt(t(296))/4+parseInt(t(295))/5+-parseInt(t(299))/6+-parseInt(t(302))/7*(parseInt(t(298))/8)+parseInt(t(293))/9*(parseInt(t(300))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class wt{static[yt(294)](t=!1){return"\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n "}static[yt(303)](t,e){const n=yt,s=e[n(292)]||e[n(297)]||"";t[n(292)]=s}}const kt=Et;function Et(t,e){const n=xt();return(Et=function(t,e){return n[t-=160]})(t,e)}function xt(){const t=["whiteSpace","37208qtZbEj","zIndex","9100597JUJONX","14596LKqEQk","div","changedTouches","auto","top","forEach","2698695QZbHLd","\n position: ","translateY(-20px)","translateY(20px)","body","addEventListener","createTextTransitionContainer","adstage-ad adstage-","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","abs","appendChild","opacity","fit-content","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","minHeight",";\n width: 100%;\n ",";\n ","2008784Swhdyv","touchmove","adstage-fade-slide-container","clientY","setProperty","push","relative","className","data-adstage-ad-id","autoSlideInterval",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","34FnowOW","_id",";\n top: ","height: 100%;","removeChild","\n position: relative;\n width: 100%;\n ","entries","36BURvPe","string",";\n transform: translateY(","toLowerCase","cssText","hidden","10uyxmAN","preventDefault","width","createElement","position","left","20px","transform","data-adstage-slot-id","touchend","441399LssjMd","createSimpleAdElement","touchstart","height: auto; min-height: fit-content;","Text","adstage-fade-slider-wrapper","style","absolute","clientX","height","699EefXVT","4228855RTELRn","adType","addTouchSupport","includes","setTextAdContent","setAttribute",";\n left: "];return(xt=function(){return t})()}!function(){const t=Et,e=xt();for(;;)try{if(565710===parseInt(t(234))/1*(-parseInt(t(192))/2)+-parseInt(t(225))/3*(-parseInt(t(237))/4)+parseInt(t(226))/5+parseInt(t(199))/6*(parseInt(t(215))/7)+parseInt(t(181))/8+-parseInt(t(164))/9+parseInt(t(205))/10*(-parseInt(t(236))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St{static[kt(216)](t,e){const n=kt,s=document[n(208)](n(238));return s[n(188)]=n(171)+String(t[n(227)])[n(202)](),s[n(231)](n(189),e[n(193)]),s.setAttribute(n(213),t.id),s.style[n(203)]=wt.createTextAdStyles(!0),wt[n(230)](s,e),s}static[kt(170)](t,e,n,s,i=!1){const r=kt,o=t[r(224)]&&0!==t[r(224)]&&t[r(224)]!==r(161),a=document[r(208)]("div");a[r(188)]=r(220);const c={position:r(187),overflow:r(204),display:"block"};if(!o&&(c[r(224)]=r(161),c[r(178)]=r(176)),t[r(207)]&&0!==t[r(207)]){let e;e=typeof t.width===r(200)&&(t[r(207)][r(229)]("px")||t[r(207)].includes("%"))?t.width:t[r(207)]+"px",c[r(207)]=e}if(t[r(224)]&&0!==t[r(224)]&&"auto"!==t[r(224)]&&o){let e;e=typeof t[r(224)]===r(200)&&(t[r(224)][r(229)]("px")||t.height[r(229)]("%"))?t[r(224)]:t[r(224)]+"px",c[r(224)]=e}Object[r(198)](c).forEach(([t,e])=>{const n=r;a.style[n(185)](t,e)});const d=document[r(208)](r(238));d[r(188)]=r(183),d[r(221)].cssText=r(197)+(o?"height: 100%;":r(218))+"\n ";let l=null;const u=!t[r(207)]||0===t.width,p=!t.height||0===t[r(224)]||void 0===t[r(224)]||t[r(224)]===r(161);if(u||p&&o){if(l=document[r(208)](r(238)),l[r(221)][r(203)]=r(177),!u&&t.width){let e;e=typeof t[r(207)]===r(200)&&(t[r(207)].includes("px")||t.width.includes("%"))?t[r(207)]:t[r(207)]+"px",l[r(221)][r(207)]=e,l[r(221)][r(233)]="normal"}document[r(168)][r(174)](l);let n=0,s=0;e[r(163)](e=>{const i=r,o=this[i(216)](t,e);l[i(174)](o);const a=o.getBoundingClientRect();a.width>n&&(n=a.width),a[i(224)]>s&&(s=a[i(224)]),l[i(196)](o)}),u&&n>0&&(a[r(221)][r(207)]=n+"px"),p&&s>0&&o&&(a[r(221)][r(224)]=s+"px"),document[r(168)].removeChild(l)}const h=[];e[r(163)]((e,n)=>{const a=r,c=document[a(208)](a(238));c[a(188)]="adstage-fade-slide";const l=0===n,u=o?a(222):l?"relative":a(222);c[a(221)][a(203)]=a(165)+u+a(194)+(u===a(222)?"0":a(161))+a(232)+(u===a(222)?"0":"auto")+a(179)+(o?a(195):"height: auto;")+a(172)+(0===n?"1":"0")+a(201)+(0===n?"0":a(211))+a(191)+(0===n?"2":"1")+a(180);const p=this[a(216)](t,e);et.addClickEventForSlider(p,e,t,s,i,a(219)),c[a(174)](p),d[a(174)](c),h[a(186)](c)});let f=0;const g=e.length,m=1e3*(n?.[r(190)]||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&("relative"===c[a(221)][a(209)]&&(c[a(221)].position=a(222),c.style[a(162)]="0",c[a(221)][a(210)]="0"),d.style[a(209)]=a(187),d[a(221)][a(162)]=a(161),d[a(221)][a(210)]=a(161)),c[a(221)].opacity="0",c.style[a(212)]=a(166),c[a(221)][a(235)]="1",d[a(221)][a(175)]="1",d.style[a(212)]="translateY(0)",d[a(221)].zIndex="2",h[a(163)]((t,e)=>{const s=a;e!==n&&e!==f&&(t.style.opacity="0",t.style[s(212)]=s(167),t.style[s(235)]="1",!o&&t[s(221)][s(209)]===s(187)&&(t[s(221)][s(209)]="absolute",t.style[s(162)]="0",t[s(221)][s(210)]="0"))}),f=n,Z.trackSlideViewable(e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a.addEventListener("mouseenter",()=>{clearInterval(v)}),a[r(169)]("mouseleave",()=>{v=setInterval(()=>{I(f+1)},m)}),St[r(228)](a,I,()=>f,g),a[r(174)](d),a}static[kt(228)](t,e,n,s){const i=kt;let r=0,o=0,a=!1;t.addEventListener(i(217),t=>{r=t.touches[0].clientX,o=t.touches[0].clientY,a=!0}),t[i(169)](i(182),t=>{a&&t[i(206)]()}),t[i(169)](i(214),t=>{const s=i;if(!a)return;a=!1;const c=t.changedTouches[0][s(223)],d=t[s(160)][0][s(184)],l=r-c,u=o-d;if(Math[s(173)](l)>Math[s(173)](u)&&Math[s(173)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}const At=Tt;function Ct(){const t=["webkitLineClamp","log","overflow","div","400176PnbEUP","width","webkitBoxOrient","getDefaultHeight","length","1046652aStVDF","optimizedHeight","display","height","aspectRatio","adstage-text-content","maxLines","adstage-ad adstage-text-ad","163680CigwHf","innerHTML","config","setTextAdContent","containerId","4252707HyMRRd","✨ Text transition created for slot: ","debug","858SoIemB","60px","renderMultipleAds","createElement","appendChild","className","1063290mEhEzo"," ads","✨ Single text ad rendered: ","getElementById","style","-webkit-box","renderAdElement","addClickEventForRenderer","16drlSVK","Container not found: ","Text","createEventTrackingCallback","_id","2113098mMeCLG","TEXT","cssText","3574whbBum"];return(Ct=function(){return t})()}function Tt(t,e){const n=Ct();return(Tt=function(t,e){return n[t-=146]})(t,e)}!function(){const t=Tt,e=Ct();for(;;)try{if(286028===-parseInt(t(176))/1+-parseInt(t(158))/2*(-parseInt(t(184))/3)+parseInt(t(168))/4+parseInt(t(190))/5+parseInt(t(155))/6+parseInt(t(163))/7+-parseInt(t(150))/8*(parseInt(t(181))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Rt extends ut{constructor(e=!1,n){super(t[Tt(156)],e,n)}[At(166)](){return At(185)}async[At(148)](t,e){const n=At,s=document[n(193)](t.containerId);if(!s)return;const i=document[n(187)](n(162));i.className=n(175);const r=t[n(169)],o=s.parentElement||s;if(r)i[n(146)].width="100%",i[n(146)][n(171)]=String(r);else{const e=t[n(178)],s={width:e?.width,height:e?.height},{width:r,height:a}=this.calculateAdSize(o,s,{debug:this[n(183)]});i[n(146)][n(164)]=r,i[n(146)][n(171)]=a}const a=document[n(187)]("div");a[n(189)]=n(173),a.style[n(157)]=wt.createTextAdStyles(!1),wt[n(179)](a,e);const c=t.config?.[n(174)];c&&"number"==typeof c&&(a[n(146)][n(170)]=n(147),a[n(146)][n(159)]=String(c),a.style[n(165)]="vertical",a[n(146)][n(161)]="hidden"),i[n(188)](a),et[n(149)](i,e,t,()=>this[n(153)](),this[n(183)],n(152)),s[n(177)]="",s[n(188)](i),this[n(183)]&&console[n(160)](n(192)+e[n(154)])}async[At(186)](t,e){const n=At,s=document[n(193)](t[n(180)]);if(!s)throw new Error(n(151)+t.containerId);const i=this[n(153)](),r={autoSlideInterval:(t.config?.slideInterval||5e3)/1e3,...t.config,optimizedHeight:t[n(169)],aspectRatio:t[n(172)]},o=St.createTextTransitionContainer(t,e,r,i,this[n(183)]);o&&(s[n(177)]="",s[n(188)](o),this[n(183)]&&console.log(n(182)+t.id+" with "+e[n(167)]+n(191)))}}const Dt=Lt;function Lt(t,e){const n=_t();return(Lt=function(t,e){return n[t-=417]})(t,e)}function _t(){const t=["display","warn","cssText","preload","scale(1)","VIEWABLE","🎬 Final video settings:","hideControls","52482BGpDvy","35067ezOQVc","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","relative","play","🎬 Single video rendered for VIDEO slot: ","193JbaBdD","🎬 Video controls setting:","28VOMEsS","hideCurrentTime"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","style","hideVolumeSlider","none","2944mbgSrT","videoUrl","addEventListener","🎬 Initial autoplay attempt after timeout...","mouseenter","🎬 Autoplay completely failed:","renderAdElement"," (autoplay: ","hideMuteButton","🎬 Single video ad rendered: ","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","🎬 Video element created for ad: ","createElement","loop","adstage-video-default-controls","textContent","src","block","1087305EeYerH","addClickEventForRenderer","Video thumbnail","1692252pGmJba","Video","contain","⚠️ No video advertisements available for slot: ","Video fallback","autoplay","muted","height"," !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: ","70EigOWr","transform","img","🎬 Video config received:","🔊 Video mute toggled: ","containerId","hideProgressBar","renderVideoElementDirect","objectFit","imageUrl","\n video::-webkit-media-controls-play-button {\n display: ","getElementById","VIDEO","🎬 Video metadata loaded, attempting autoplay...","alt","catch","error","playsinline","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","length"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: "," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","controls","\n pointer-events: none;\n ","adstage-video-container","🎬 Video data loaded, attempting autoplay...","360px","createEventTrackingCallback","title","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","_id","loadedmetadata","position","customControls"," !important;\n }\n ","99vtzhNh","Container not found: ",", loop: ","1287272lJgkxa"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","🎬 Video can play, attempting autoplay...","head","appendChild","Click to unmute","debug","canplay","rgba(0, 0, 0, 0.7)","className","adstage-video-mute-button","mouseleave","background","metadata","log","div","innerHTML","width","paused","100%","renderMultipleAds","608180aoLSEc"];return(_t=function(){return t})()}!function(){const t=Lt,e=_t();for(;;)try{if(150607===-parseInt(t(491))/1*(-parseInt(t(499))/2)+-parseInt(t(486))/3*(-parseInt(t(493))/4)+parseInt(t(517))/5+parseInt(t(485))/6*(parseInt(t(529))/7)+-parseInt(t(455))/8+parseInt(t(520))/9+parseInt(t(476))/10*(-parseInt(t(452))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class zt extends ut{constructor(e=!1,n){super(t[Lt(428)],e,n)}getDefaultHeight(){return Lt(443)}async[Dt(505)](t,e){const n=Dt,s=document[n(427)](t[n(421)]);if(!s)return;const i=document[n(511)](n(470));i[n(464)]="adstage-video-container",i[n(496)].cssText=n(446),this[n(423)](i,e,t),s[n(471)]="",s[n(459)](i),this.debug&&console.log(n(508)+e._id)}async[Dt(475)](t,e){const n=Dt,s=document.getElementById(t[n(421)]);if(!s)throw new Error(n(453)+t[n(421)]);if(e[n(435)]>0){const i=e[0],r=document[n(511)](n(470));r[n(464)]=n(441),r[n(496)][n(479)]=n(487),this[n(423)](r,i,t),s[n(471)]="",s[n(459)](r);const a=this[n(444)]();setTimeout(()=>{const e=n;a(i._id,t.id,o[e(482)])},100),this.debug&&console[n(469)](n(490)+t.id+" ("+i[n(447)]+")")}else this.debug&&console[n(478)](n(523)+t.id)}[Dt(423)](t,e,n){const s=Dt;t[s(496)][s(449)]=s(488);const i=document.createElement("video");i[s(496)][s(472)]=s(474),i[s(496)].height=s(474),i[s(496)][s(424)]=s(522),i[s(480)]=s(468);const r=n.config;if(this[s(461)]&&console.log(s(419),r),i[s(439)]=!1,i[s(525)]=!1!==r?.autoplay,i.muted=!0,i[s(512)]=!1!==r?.[s(512)],this.debug&&console[s(469)](s(483),{autoplay:i[s(525)],muted:i[s(526)],loop:i.loop,controls:i.controls}),!1!==r?.[s(433)]&&i.setAttribute(s(433),""),!0===r?.controls&&(i[s(439)]=!0,this[s(461)]&&console[s(469)]("🎬 User explicitly enabled controls, overriding default")),r?.[s(484)])i[s(439)]=!1,i[s(496)].cssText+=s(440);else if(r?.[s(450)]){if(i.controls){const t=document[s(511)](s(496));t[s(514)]=s(426)+(r[s(450)].hidePlayButton?"none":s(516))+s(495)+(r[s(450)][s(422)]?s(498):s(516))+s(436)+(r.customControls[s(494)]?s(498):s(516))+s(456)+(r[s(450)].hideRemainingTime?s(498):s(516))+s(437)+(r[s(450)][s(497)]?"none":s(516))+s(438)+(r[s(450)][s(507)]?"none":s(516))+s(528)+(r[s(450)].hideFullscreenButton?"none":s(516))+s(451),document[s(458)][s(459)](t)}}else if(i[s(439)]){const t=document[s(511)](s(496));t.id=s(513),t[s(514)]=s(509),!document.getElementById(s(513))&&document.head[s(459)](t)}this[s(461)]&&console[s(469)](s(492),i.controls?"enabled":"disabled (default)");const o=document.createElement("button");o[s(464)]=s(465),o[s(496)].cssText=s(434),r?.[s(484)]&&(o[s(496)][s(477)]=s(498));const a=()=>{const t=s;o.innerHTML=i[t(526)]?'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ':'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',o[t(445)]=i.muted?t(460):"Click to mute"};if(a(),o[s(501)]("click",t=>{const e=s;t.stopPropagation(),i[e(526)]=!i[e(526)],a(),this[e(461)]&&console[e(469)](e(420)+(i.muted?e(526):"unmuted"))}),o[s(501)](s(503),()=>{const t=s;o.style[t(467)]="rgba(0, 0, 0, 0.9)",o[t(496)][t(417)]="scale(1.1)"}),o[s(501)](s(466),()=>{const t=s;o[t(496)][t(467)]=t(463),o[t(496)][t(417)]=t(481)}),e[s(500)]){i[s(515)]=e[s(500)];const t=()=>{const t=s;i.autoplay&&i.muted&&i[t(473)]&&i[t(489)]()[t(431)](e=>{const n=t;this[n(461)]&&(console[n(478)]("🎬 Auto-play was prevented:",e),console[n(478)]("🎬 Trying muted autoplay fallback...")),i[n(526)]=!0,i.play()[n(431)](t=>{const e=n;this[e(461)]&&console.error(e(504),t)})})};i.addEventListener(s(448),()=>{const e=s;this[e(461)]&&console[e(469)](e(429)),t()}),i[s(501)](s(462),()=>{const e=s;this[e(461)]&&console[e(469)](e(457)),t()}),i[s(501)]("loadeddata",()=>{const e=s;this[e(461)]&&console[e(469)](e(442)),t()}),setTimeout(()=>{const e=s;this[e(461)]&&console[e(469)](e(502)),t()},100)}else if(e[s(425)]){const n=document[s(511)](s(418));return n.src=e[s(425)],n[s(496)][s(472)]="100%",n[s(496)][s(527)]=s(474),n.style[s(424)]=s(522),n[s(430)]=e.title||s(519),void t.appendChild(n)}et[s(518)](i,e,n,()=>this[s(444)](),this.debug,s(521)),i.addEventListener("error",i=>{const r=s;if(console[r(432)]("Video load failed:",i),e[r(425)]){const s=document[r(511)](r(418));s[r(515)]=e[r(425)],s[r(496)][r(472)]=r(474),s.style[r(527)]="100%",s[r(496)][r(424)]=r(522),s[r(430)]=e[r(445)]||r(519),et[r(518)](s,e,n,()=>this[r(444)](),this[r(461)],r(524)),t[r(471)]="",t.appendChild(s)}}),t[s(459)](i),t.appendChild(o),this[s(461)]&&console[s(469)](s(510)+e[s(447)]+s(506)+i[s(525)]+", muted: "+i.muted+s(454)+i[s(512)]+")")}}const Mt=Ut;function Ut(t,e){const n=Bt();return(Ut=function(t,e){return n[t-=208]})(t,e)}function Bt(){const t=["renderMultipleAds","mouseleave","textContent","#2563eb","addEventListener","Native Advertisement","Learn More","#3b82f6","click","NATIVE","length","appendChild","): ","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","1898445GznNEN","containerId","getDefaultHeight","debug","renderAdElement","mouseenter","1265745EbLAEd","img","alt","🏠 Single native ad rendered: ","786600GSDjfd","1699089XzUCpz","log","_blank","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","639762gyEXvp","div","1JMIaLD","src","adstage-ad adstage-native-ad","style","imageUrl","button","linkUrl","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","advertisementEventTracker","createElement","9861416PpPVCd","_id","open","innerHTML","backgroundColor","1734408cuUYRt","title","cssText","className"];return(Bt=function(){return t})()}!function(){const t=Ut,e=Bt();for(;;)try{if(684589===parseInt(t(227))/1*(-parseInt(t(242))/2)+parseInt(t(210))/3+-parseInt(t(220))/4+-parseInt(t(216))/5+-parseInt(t(225))/6+parseInt(t(221))/7+parseInt(t(237))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Pt extends ut{constructor(e=!1,n){super(t[Ut(255)],e,n)}[Mt(212)](){return"200px"}async[Mt(214)](t,e){const n=Mt,s=document.getElementById(t[n(211)]);if(!s)return;const i=document[n(236)](n(226));if(i[n(245)]=n(229),i.style[n(244)]="\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ",e[n(243)]){const t=document.createElement("h3");t[n(248)]=e[n(243)],t[n(230)].cssText="\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ",i[n(257)](t)}if(e[n(248)]){const t=document[n(236)]("p");t[n(248)]=e.textContent,t.style[n(244)]="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",i[n(257)](t)}if(e[n(231)]){const t=document[n(236)]("div");t[n(230)][n(244)]=n(234);const s=document[n(236)](n(217));s[n(228)]=e.imageUrl,s[n(218)]=e.title||n(251),s.style[n(244)]=n(209),t[n(257)](s),i[n(257)](t)}if(e[n(233)]){const t=document[n(236)](n(232));t.textContent=n(252),t[n(230)][n(244)]=n(224),t[n(250)](n(254),()=>{const t=n;this[t(235)]&&console[t(222)]("Native click tracked for ad: "+e._id),window[t(239)](e[t(233)],t(223))}),t[n(250)](n(215),()=>{const e=n;t[e(230)][e(241)]=e(249)}),t.addEventListener(n(247),()=>{const e=n;t.style[e(241)]=e(253)}),i[n(257)](t)}s[n(240)]="",s[n(257)](i),this[n(213)]&&console[n(222)](n(219)+e[n(238)])}async[Mt(246)](t,e){const n=Mt;e[n(256)]>0?(await this[n(214)](t,e[0]),this[n(213)]&&console[n(222)]("🏠 Native ad rendered (first of "+e.length+n(208)+t.id)):this[n(213)]&&console.warn("⚠️ No native advertisements available for slot: "+t.id)}}function Ot(){const t=["head","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","Interstitial Advertisement","log","debug","adstage-interstitial-styles","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","backgroundColor","linkUrl","title","appendChild","closeInterstitial","textContent","getDefaultHeight","1669723bfwGxP","\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ","\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ","): ","removeChild","cssText","removeEventListener","10pMCuff","🖼️ Interstitial ad rendered (first of ","renderAdElement","2175184XwwkWS","_id","open","body","alt","Escape","style","#6b7280","⚠️ No interstitial advertisements available for slot: ","button","mouseleave","parentNode","#2563eb","containerId","mouseenter","renderMultipleAds","_blank","#f3f4f6","9790605UEaqFM","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","400px","Interstitial click tracked for ad: ","8RYPSAp","keydown","warn","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","9kqCCGX","length","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","createElement","#e5e7eb","click","className","img","innerHTML","imageUrl","🖼️ Interstitial ad closed","6TagVIl","key","div","3184034CmxCFV","getElementById","33280764YCNzkF","8401905pdygjt","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","color","addEventListener","animation","11410917XXmXth","🖼️ Interstitial ad rendered: "];return(Ot=function(){return t})()}const Nt=Ft;function Ft(t,e){const n=Ot();return(Ft=function(t,e){return n[t-=349]})(t,e)}!function(){const t=Ft,e=Ot();for(;;)try{if(906237===parseInt(t(419))/1+-parseInt(t(395))/2+parseInt(t(381))/3*(parseInt(t(355))/4)+-parseInt(t(398))/5*(-parseInt(t(392))/6)+parseInt(t(403))/7+parseInt(t(377))/8*(-parseInt(t(373))/9)+parseInt(t(352))/10*(-parseInt(t(397))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Vt extends ut{constructor(e=!1,n){super(t.INTERSTITIAL,e,n)}[Nt(418)](){return Nt(375)}async[Nt(354)](t,e){const n=Nt;if(!document.getElementById(t[n(368)]))return;const s=document.createElement(n(394));s[n(387)]="adstage-interstitial-overlay",s[n(361)][n(350)]=n(421);const i=document[n(384)]("div");i.className="adstage-interstitial-content",i[n(361)][n(350)]=n(406);const r=document[n(384)](n(364));if(r[n(389)]="×",r[n(361)][n(350)]=n(420),r.addEventListener(n(386),()=>{this[n(416)](s)}),r[n(401)]("mouseenter",()=>{const t=n;r[t(361)][t(412)]=t(385),r.style.color="#374151"}),r[n(401)](n(365),()=>{const t=n;r[t(361)].backgroundColor=t(372),r[t(361)][t(400)]=t(362)}),e[n(390)]){const t=document.createElement(n(388));t.src=e[n(390)],t[n(359)]=e[n(414)]||n(407),t[n(361)].cssText=n(380),i.appendChild(t)}if(e[n(414)]){const t=document.createElement("h2");t[n(417)]=e.title,t[n(361)][n(350)]=n(374),i.appendChild(t)}if(e[n(417)]){const t=document[n(384)]("p");t[n(417)]=e[n(417)],t[n(361)].cssText=n(383),i[n(415)](t)}if(e[n(413)]){const t=document[n(384)]("button");t[n(417)]="Get Started",t[n(361)].cssText=n(411),t[n(401)]("click",()=>{const t=n;this.advertisementEventTracker&&console[t(408)](t(376)+e[t(356)]),window[t(357)](e[t(413)],t(371)),this[t(416)](s)}),t.addEventListener(n(369),()=>{const e=n;t.style.backgroundColor=e(367)}),t[n(401)](n(365),()=>{const e=n;t.style[e(412)]="#3b82f6"}),i[n(415)](t)}const o=t=>{const e=n;t[e(393)]===e(360)&&(this[e(416)](s),document[e(351)](e(378),o))};if(document[n(401)]("keydown",o),s[n(401)](n(386),t=>{t.target===s&&this.closeInterstitial(s)}),!document[n(396)](n(410))){const t=document.createElement(n(361));t.id=n(410),t.textContent=n(399),document[n(405)][n(415)](t)}i[n(415)](r),s[n(415)](i),document[n(358)].appendChild(s),this[n(409)]&&console[n(408)](n(404)+e[n(356)])}async[Nt(370)](t,e){const n=Nt;e[n(382)]>0?(await this.renderAdElement(t,e[0]),this[n(409)]&&console[n(408)](n(353)+e[n(382)]+n(422)+t.id)):this[n(409)]&&console[n(379)](n(363)+t.id)}[Nt(416)](t){const e=Nt;t[e(361)][e(402)]="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(366)]&&t[n(366)][n(349)](t)},300),this[e(409)]&&console[e(408)](e(391))}}const Kt=Ht;function Ht(t,e){const n=jt();return(Ht=function(t,e){return n[t-=237]})(t,e)}function jt(){const t=["calculateAdSize","255920TyFWsZ","86044obPWOl","width","isLoaded","[AdRenderer] ","renderOptimizedBannerImage is only supported for BANNER ads","debug","setAttribute","getRenderer","130WTDMyE","3736915lmXfgM","1430StddgQ","optimizeContainerForBannerAds","data-adstage-slot-id","No renderer found for ad type: ","createElement","naturalWidth","BANNER","renderOptimizedBannerImage","toLowerCase","data-adstage-ad-id","NATIVE","appendChild","calculateOptimalContainerSize","Failed to load image: ","⚠️ Container optimization is only supported for BANNER ads, got: ","onload","renderAdElement","renderAd","height","8px","advertisementEventTracker"," renderers","100%","loadImageDimensions","border","log","184584YdGwlY","TEXT","set","style","padding","src","textContent","backgroundColor","videoUrl","config","187oSShIT","renderFallback","VIDEO","objectFit","27qWVllz","INTERSTITIAL","947832ILzjQk","initializeRenderers","5179WaJlmg","1px dashed #ccc","advertisement","renderers","warn","#f9f9f9","getDefaultHeight","🏭 AdRenderer factory initialized with ","imageUrl","232tbgHco","size","createPlaceholder","3TGGmlZ","No advertisement to render","adType","8286JnRbMo","img"];return(jt=function(){return t})()}!function(){const t=Ht,e=jt();for(;;)try{if(394551===-parseInt(t(256))/1*(parseInt(t(265))/2)+-parseInt(t(268))/3*(parseInt(t(275))/4)+-parseInt(t(285))/5*(-parseInt(t(271))/6)+-parseInt(t(284))/7+-parseInt(t(238))/8*(parseInt(t(252))/9)+-parseInt(t(274))/10*(-parseInt(t(248))/11)+parseInt(t(254))/12*(parseInt(t(283))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Wt{constructor(t=!1,e){const n=Ht;this.renderers=new Map,this[n(280)]=t,this[n(305)]=e||null,this[n(255)]()}[Kt(255)](){const e=Kt;this[e(259)][e(240)](t[e(291)],new It(this[e(280)],this[e(305)])),this[e(259)].set(t[e(239)],new Rt(this[e(280)],this[e(305)])),this[e(259)][e(240)](t[e(250)],new zt(this[e(280)],this.advertisementEventTracker)),this.renderers.set(t[e(295)],new Pt(this[e(280)],this[e(305)])),this[e(259)][e(240)](t[e(253)],new Vt(this.debug,this[e(305)])),this[e(280)]&&console[e(237)](e(263)+this[e(259)][e(266)]+e(306))}createAdElement(e,n){const s=Kt,i=this[s(282)](e[s(270)]),r=document[s(289)]("div");r.className="adstage-ad adstage-"+String(e[s(270)])[s(293)](),r[s(281)](s(294),n._id),r[s(281)](s(287),e.id);const{width:o,height:a}=i[s(273)](r,e[s(247)]||{},n);switch(r[s(241)][s(276)]=o,r[s(241)][s(303)]=a,r[s(241)].display="block",e[s(270)]){case t[s(291)]:if(n[s(264)]){const t=document.createElement(s(272));t[s(243)]=n[s(264)],t[s(241)][s(276)]=s(307),t[s(241)][s(303)]=s(307),t[s(241)][s(251)]="cover",r[s(296)](t)}break;case t[s(250)]:if(n[s(246)]){const t=document[s(289)]("video");t[s(243)]=n[s(246)],t[s(241)][s(276)]="100%",t[s(241)][s(303)]=s(307),r[s(296)](t)}break;case t[s(239)]:if(n[s(244)]){const t=document[s(289)]("div");t[s(244)]=n[s(244)]||"",t[s(241)][s(242)]=s(304),r[s(296)](t)}break;default:r[s(241)][s(309)]=s(257),r[s(241)][s(245)]=s(261),r.textContent=e.adType+" Ad"}return r}[Kt(282)](t){const e=Kt,n=this[e(259)].get(t);if(!n)throw new Error(e(288)+t);return n}[Kt(267)](t,e,n,s,i){const r=Kt;this[r(282)](n)[r(267)](t,e,s,i)}async[Kt(286)](e,n){const s=Kt;if(e[s(270)]!==t[s(291)])return void(this[s(280)]&&console[s(260)](s(299)+e.adType));const i=this[s(282)](t[s(291)]);await i[s(286)](e,n)}async renderAdSlider(t,e){const n=this.getRenderer(t.adType);await n.renderMultipleAds(t,e)}async[Kt(302)](t){const e=Kt;if(!t.advertisement)throw new Error(e(269));const n=this[e(282)](t[e(270)]);await n[e(301)](t,t[e(258)]),t[e(277)]=!0}async[Kt(301)](t,e){const n=Kt,s=this.getRenderer(t[n(270)]);await s[n(301)](t,e)}renderFallback(t){const e=Kt;this[e(282)](t[e(270)])[e(249)](t)}getDefaultHeightForAdType(t){return this.getRenderer(t).getDefaultHeight()}[Kt(273)](t,e,n,s){const i=Kt;return this[i(282)](e)[i(273)](t,n,s)}[Kt(308)](t){return new Promise((e,n)=>{const s=Ht,i=new Image;i[s(300)]=()=>{e({width:i[s(290)],height:i.naturalHeight})},i.onerror=()=>{n(new Error(s(298)+t))},i[s(243)]=t})}async[Kt(292)](e,n,s){const i=Kt;if(s[i(270)]!==t[i(291)])throw new Error(i(279));const r=this.getRenderer(t.BANNER);return await r.renderOptimizedBannerImage(e,n,s)}async[Kt(297)](e,n,s){const i=Kt;if(s!==t.BANNER){const t=this[i(282)](s);return{width:i(307),height:t[i(262)](),aspectRatio:16/9}}const r=this[i(282)](t.BANNER);return await r[i(297)](e,n)}[Kt(237)](t,...e){const n=Kt;this[n(280)]&&console[n(237)](n(278)+t,...e)}}const Xt=qt;function qt(t,e){const n=Yt();return(qt=function(t,e){return n[t-=308]})(t,e)}!function(){const t=qt,e=Yt();for(;;)try{if(373790===-parseInt(t(334))/1*(-parseInt(t(388))/2)+parseInt(t(319))/3*(-parseInt(t(369))/4)+parseInt(t(337))/5*(parseInt(t(361))/6)+-parseInt(t(380))/7*(parseInt(t(363))/8)+-parseInt(t(405))/9*(parseInt(t(426))/10)+parseInt(t(407))/11+parseInt(t(441))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gt{constructor(){const t=qt;this[t(308)]=!1,this[t(317)]=null,this[t(333)]=new Map,this[t(432)]=null,this.adRenderer=null,this[t(386)]=null}[Xt(329)](t){const e=Xt;this[e(317)]=t,this[e(432)]=new B(q[e(379)](),t[e(434)],t[e(438)]||!1,this.slots),this[e(326)]=new Wt(t.debug||!1,this.advertisementEventTracker),this[e(442)](),this._isReady=!0,t[e(438)]&&console[e(322)](e(406))}isReady(){return this._isReady}[Xt(316)](){return this._config}banner(e,n){const s=Xt;this[s(422)]();const i={width:n?.[s(357)]||"100%",height:n?.height||s(398),autoSlide:n?.[s(331)]||!1,slideInterval:n?.[s(371)]||5e3,onClick:n?.[s(415)],adId:n?.[s(396)],language:n?.[s(370)],deviceType:n?.deviceType,country:n?.[s(410)]};return this[s(425)](e,t.BANNER,i)}[Xt(397)](e,n){const s=Xt;this[s(422)]();const i={maxLines:n?.maxLines||3,style:n?.[s(400)]||s(353),onClick:n?.onClick,adId:n?.[s(396)],language:n?.language,deviceType:n?.[s(314)],country:n?.[s(410)]};return this[s(425)](e,t[s(356)],i)}[Xt(377)](e,n){const s=Xt;this[s(422)]();const i={width:n?.width||640,height:n?.[s(355)]||360,autoplay:void 0===n?.[s(330)]||n[s(330)],muted:void 0===n?.[s(336)]||n.muted,loop:void 0===n?.[s(332)]||n[s(332)],playsinline:!1!==n?.[s(312)],controls:void 0!==n?.[s(389)]&&n[s(389)],hideControls:n?.[s(351)]||!1,customControls:n?.[s(412)],autoSlide:!1,maxAds:1,onClick:n?.[s(415)],...n?.adId&&{adId:n[s(396)]}};return this[s(425)](e,t[s(439)],i)}native(e,n){const s=Xt;return this[s(422)](),this[s(425)](e,t[s(409)],n||{})}[Xt(354)](e,n){const s=Xt;return this[s(422)](),this[s(425)](e,t.INTERSTITIAL,n||{})}[Xt(421)](t){const e=Xt;this.ensureReady();const n=this[e(333)][e(429)](t);if(!n)throw new Error(e(327)+t);this[e(345)](n),this._config?.[e(438)]&&console[e(322)](e(374)+t)}destroy(t){const e=Xt;this[e(422)]();const n=this[e(333)].get(t);if(!n)return void(this[e(317)]?.debug&&console[e(322)](e(313)+t));n[e(446)]&&n[e(446)][e(392)]();const s=document.getElementById(n.containerId);s&&(s[e(376)]=""),this[e(333)][e(445)](t),this._config?.[e(438)]&&console[e(322)](e(320)+t)}getAllSlots(){const t=Xt;return this[t(422)](),Array.from(this.slots[t(385)]())}[Xt(393)](t){const e=Xt;return this[e(422)](),this[e(333)][e(429)](t)||null}[Xt(425)](t,e,n){const s=Xt;if(!this[s(317)]?.[s(434)])throw new Error(s(360));const i=s(430)+e+"-"+Date.now()+"-"+Math[s(384)]()[s(427)](36)[s(365)](2,9);return this[s(311)](t,e,n,i,0),i}async createAdWithRetry(t,e,n,s,i){const r=Xt,o=[0,50,100,200,500];let a,c=null;if(typeof t===r(414)){if(a=t,c=document[r(344)](t),!c)return i<4?(this[r(317)]?.[r(438)]&&console[r(383)](r(323)+t+r(375)+o[i+1]+r(402)+(i+1)+"/5)"),void setTimeout(()=>{this[r(311)](t,e,n,s,i+1)},o[i+1])):void console[r(350)](r(418)+5+r(444)+t)}else c=t,a=c.id||"auto-"+s,!c.id&&(c.id=a);try{this[r(359)](a,e,n,s,c)}catch(t){console[r(350)]("광고 생성 중 오류 발생:",t)}}[Xt(359)](e,n,s,i,r){const o=Xt;r[o(341)]("data-adstage-slot-id",i),this[o(326)]?.[o(436)](r,i,n,s,this[o(317)]);const a={id:i,containerId:e,adType:n,width:s.width||"100%",height:s[o(355)]||(n===t[o(356)]?o(398):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(394)](n,s)[o(440)](t=>t[0]||null),render:t=>this.adRenderer?.[o(324)](a,t),refresh:async()=>this[o(345)](a),destroy:()=>this[o(392)](i)};this[o(333)].set(i,a),this[o(411)](a),this[o(432)]&&this[o(317)]?.[o(438)]&&console[o(322)](o(399)+i)}async[Xt(411)](e){const n=Xt;try{const s=await this[n(394)](e[n(347)],e.config);if(!s||0===s.length)return void this[n(326)]?.[n(424)](e);e[n(347)]===t[n(328)]&&s[n(338)]>0&&await(this[n(326)]?.[n(390)](e,s)),s[n(338)]>1||e.config?.[n(331)]?(await(this[n(326)]?.[n(378)](e,s)),this._config?.[n(438)]&&console[n(322)](n(335)+s[n(338)]+n(373))):(e[n(362)]=s[0],await(this[n(326)]?.[n(324)](e,s[0])),this[n(352)](e,s[0])),e[n(413)]=!0,this[n(317)]?.debug&&console[n(322)]("✅ Ad loaded for slot: "+e.id+" ("+s[n(338)]+n(391))}catch(t){console.error(n(423)+e.id,t),this.adRenderer?.[n(424)](e)}}[Xt(352)](t,e){const n=(s=0)=>{const i=qt,r=document[i(344)](t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this[i(317)]?.[i(438)]&&console[i(322)](i(417)+t.id+i(387)+(s+1)+")")):console[i(383)](i(419)+t.id));const o=new F(r,async()=>{await this.handleViewableEvent(e,t)});t.viewabilityTracker=o,this._config?.[i(438)]&&console[i(322)]("🎯 Simple viewability tracking started for slot: "+t.id+i(420))};n()}async[Xt(367)](t,e){const n=Xt;try{this[n(432)]&&(await this[n(432)].trackAdvertisementEvent(t[n(342)],e.id,o[n(408)]),this[n(317)]?.debug&&console[n(322)](n(318)+t[n(342)]))}catch(t){console[n(350)](n(368),t)}}async[Xt(394)](t,e){const n=Xt;if(!this[n(317)]?.apiKey)throw new Error(n(360));if(e.adId){const t=""+q.advertisements[n(403)](e[n(396)]),s=await fetch(t,{method:n(404),headers:L[n(435)](this._config[n(434)])});if(!s.ok){if(404===s.status)return console.warn(n(382)+e[n(396)]),[];throw new Error(n(448)+s[n(447)])}const i=await s.json();return this[n(317)]?.debug&&console[n(322)](n(364)+e[n(396)],i),[i]}const s=new URLSearchParams;s[n(339)](n(347),t),e[n(370)]&&s[n(339)](n(370),e[n(370)]),e[n(314)]&&s.append(n(314),e[n(314)]),e[n(410)]&&s[n(339)](n(410),e[n(410)]);const i=q[n(395)].list()+"?"+s[n(427)](),r=await fetch(i,{method:n(404),headers:L[n(435)](this[n(317)][n(434)])});if(!r.ok)throw new Error(n(448)+r[n(447)]);const o=(await r.json())[n(395)]||[];return this[n(317)]?.debug&&console[n(322)](n(437)+o.length+" ads for type: "+t+n(433),{language:e[n(370)],deviceType:e.deviceType,country:e.country}),o}async[Xt(345)](t){const e=Xt;try{const n=await this[e(394)](t[e(347)],t.config||{});n&&n[e(338)]>0&&(t[e(362)]=n[0],await(this[e(326)]?.renderAd(t)),this[e(432)]&&console.log(e(381),t.id))}catch(n){console.error(e(349)+t.id,n)}}[Xt(422)](){if(!this._isReady)throw new Error("Ads module not initialized. Call AdStage.init() first.")}[Xt(442)](){const t=Xt;typeof window!==t(310)&&typeof document!==t(310)&&(this[t(386)]&&this[t(386)][t(346)](),this[t(386)]=new MutationObserver(e=>{const n=t;e[n(343)](t=>{const e=n;t[e(321)].forEach(t=>{const n=e;t[n(325)]===Node.ELEMENT_NODE&&this[n(401)](t)})})}),this[t(386)][t(428)](document[t(358)],{childList:!0,subtree:!0}),this[t(317)]?.[t(438)]&&console[t(322)](t(309)))}[Xt(401)](t){const e=Xt,n=t[e(315)]("data-adstage-slot-id");if(n)return void this[e(443)](n);t[e(431)]("[data-adstage-slot-id]")[e(343)](t=>{const n=e,s=t[n(315)](n(416));s&&this.autoDestroy(s)})}[Xt(443)](t){const e=Xt,n=this[e(333)][e(429)](t);if(n)try{n[e(446)]&&n[e(446)][e(392)](),this[e(333)][e(445)](t),this[e(317)]?.[e(438)]&&console[e(322)](e(348)+t+e(340))}catch(n){this[e(317)]?.[e(438)]&&console[e(383)](e(366)+t+":",n)}}destroyModule(){const t=Xt,e=this._config?.debug;this[t(386)]&&(this[t(386)][t(346)](),this[t(386)]=null),this.slots.clear(),this[t(432)]=null,this[t(326)]=null,this._isReady=!1,this[t(317)]=null,e&&console[t(322)](t(372))}}function Yt(){const t=["renderAdSlider","getBaseUrl","1015882xfzeFe","New advertisement viewable tracked for slot:","🚫 Advertisement not found with ID: ","warn","random","values","mutationObserver"," (attempt ","318FnfAUa","controls","optimizeContainerForBannerAds"," ads)","destroy","getSlotById","fetchAdData","advertisements","adId","text","auto","📊 Advertisement event tracking enabled for slot: ","style","handleRemovedElement","ms... (attempt ","detail","GET","2061018BoUCSO","🎯 Ads module initialized (sync mode) with auto-cleanup","7715829iMMlXX","VIEWABLE","NATIVE","country","loadAdContentInBackground","customControls","isLoaded","string","onClick","data-adstage-slot-id","🔄 Retrying viewability tracking for slot: ","Container not found after ","❌ Failed to find element for viewability tracking: "," (element found)","refresh","ensureReady","❌ Failed to load ad for slot: ","renderFallback","createAd","20brOWOQ","toString","observe","get","adstage-","querySelectorAll","advertisementEventTracker",", filters:","apiKey","create","createPlaceholder","📊 Fetched ","debug","VIDEO","then","10700484zMUIDu","setupAutoCleanup","autoDestroy"," attempts: ","delete","viewabilityTracker","status","Failed to fetch ad data: ","_isReady","🔍 Auto-cleanup MutationObserver enabled","undefined","createAdWithRetry","playsinline","🔍 Ad slot already cleaned up: ","deviceType","getAttribute","getConfig","_config","✅ Simple viewable impression tracked for ad ","3YjBDHs","🗑️ Ad slot destroyed: ","removedNodes","log","Container not found: ","renderAdElement","nodeType","adRenderer","Ad slot not found: ","BANNER","init","autoplay","autoSlide","loop","slots","342SFOpOr","🎠 Slider will handle VIEWABLE events for ","muted","560ywJvHx","length","append"," removed","setAttribute","_id","forEach","getElementById","refreshAdSlot","disconnect","adType","🧹 Auto-cleanup: slot ","Failed to refresh ad slot: ","error","hideControls","startSimpleViewabilityTracking","default","interstitial","height","TEXT","width","body","createAdInternal","API key not configured","7818LSEmVi","advertisement","32BdbWtE","📊 Fetched specific ad with ID: ","substr","Auto-cleanup failed for slot ","handleViewableEvent","❌ Failed to track viewable impression:","1524648npfFdt","language","slideInterval","🗑️ Ads module destroyed"," ads automatically","🔄 Ad slot refreshed: ",". Retrying in ","innerHTML","video"];return(Yt=function(){return t})()}function Jt(){var t=["7678720hkOsqD","isReady","_config","getApiEndpoint","194087GDhdjX","getEnabledModules","development","log","🔄 Config updated","debug","API key not available","includes","isDebugMode","_isReady","Config module not initialized","2226DYlWkk","ads","getApiHeaders","90789DzWWxF","950782PZluui","events","✅ Config module initialized (sync mode)","2695RFrHzV","modules","isModuleEnabled","getConfig","_organizationInfo","apiKey","baseUrl","3155360RIhpWE","updateConfig","config","init","1157730xfxtIy"];return(Jt=function(){return t})()}var Zt=Qt;function Qt(t,e){var n=Jt();return(Qt=function(t,e){return n[t-=195]})(t,e)}!function(){for(var t=Qt,e=Jt();;)try{if(796422===-parseInt(t(227))/1+parseInt(t(208))/2+-parseInt(t(207))/3+-parseInt(t(218))/4+parseInt(t(222))/5+-parseInt(t(204))/6*(-parseInt(t(211))/7)+parseInt(t(223))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{constructor(){var t=Qt;this._isReady=!1,this[t(225)]=null,this[t(215)]=null}[Zt(221)](t){var e=Zt;this[e(225)]={timeout:3e4,debug:!1,modules:[e(205),e(209),e(220)],...t},t.baseUrl&&q.setBaseUrl(t[e(217)]),this[e(202)]=!0,t[e(198)]&&console[e(196)](e(210),{modules:this[e(225)][e(212)],endpoint:q.getBaseUrl(),mode:e(195)})}[Zt(224)](){return this._isReady}[Zt(214)](){return this[Zt(225)]}getOrganizationInfo(){return this._organizationInfo}[Zt(226)](){return q.getBaseUrl()}[Zt(201)](){var t=Zt;return this[t(225)]?.[t(198)]||!1}[Zt(228)](){var t=Zt;return this[t(225)]?.modules||[]}[Zt(213)](t){var e=Zt;return this.getEnabledModules()[e(200)](t)}[Zt(219)](t){var e=Zt;if(!this._config)throw new Error(e(203));this[e(225)]={...this[e(225)],...t},this[e(201)]()&&console[e(196)](e(197),t)}[Zt(206)](){var t=Zt;if(!this[t(225)]?.[t(216)])throw new Error(t(199));return L.create(this[t(225)].apiKey)}}const te=ee;function ee(t,e){const n=se();return(ee=function(t,e){return n[t-=344]})(t,e)}!function(){const t=ee,e=se();for(;;)try{if(409009===-parseInt(t(352))/1+-parseInt(t(364))/2*(parseInt(t(386))/3)+parseInt(t(360))/4*(-parseInt(t(362))/5)+parseInt(t(378))/6+-parseInt(t(384))/7*(-parseInt(t(365))/8)+parseInt(t(358))/9+parseInt(t(369))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ne{static[te(370)](){const t=te;return{...ne[t(361)](),...ne[t(346)]}}static[te(361)](){const t=te;if(!y[t(380)]())return{category:t(353),platform:t(344),model:t(344),osVersion:t(344)};const e=navigator.userAgent.toLowerCase();let n=t(376);/tablet|ipad/.test(e)?n=t(379):T[t(345)]()&&(n="mobile");const s=T[t(351)]();return{category:n,platform:ne[t(371)](s),model:navigator[t(349)],osVersion:navigator[t(349)],deviceId:T[t(381)]()}}static[te(368)](t){const e=te;ne[e(346)]={...ne[e(346)],...t}}static setDeviceProperty(t,e){ne[te(346)][t]=e}static[te(354)](){ne[te(346)]={}}static[te(363)](){return{...ne[te(346)]}}static[te(371)](t){const e=te;switch(t){case e(372):return e(348);case e(367):return e(385);case e(373):return e(347);case e(376):return"Desktop Web";default:return e(383)}}static[te(355)](){const t=te;if(!y[t(380)]())return{userAgent:t(344),language:t(356),platform:t(344),cookieEnabled:!1,onLine:!0,screenResolution:t(377),viewportSize:"0x0"};const e=y[t(375)]();return{userAgent:navigator[t(366)],language:navigator[t(359)]||"ko-KR",platform:navigator[t(349)],cookieEnabled:navigator[t(382)],onLine:navigator[t(374)],screenResolution:screen[t(357)]+"x"+screen[t(350)],viewportSize:e[t(357)]+"x"+e[t(350)]}}}function se(){const t=["ios","web","onLine","getViewportInfo","desktop","0x0","2606220ytQUEE","tablet","isBrowser","generateDeviceId","cookieEnabled","Unknown","345513PHYpIK","Android","33KAKqaF","SSR","isMobile","_userProvidedDeviceInfo","Mobile Web","iOS","platform","height","getPlatform","255675rToPoe","other","clearDeviceInfo","getDetailedInfo","ko-KR","width","7155774DJpfoY","language","83788SNYZzj","getAutoDetectedDeviceInfo","70KqcEtW","getUserDeviceInfo","101482WQmgeb","32miXQws","userAgent","android","setDeviceInfo","892010IEaKea","getDeviceInfo","mapPlatformForEvents"];return(se=function(){return t})()}ne[te(346)]={};const ie=re;function re(t,e){const n=oe();return(re=function(t,e){return n[t-=420]})(t,e)}function oe(){const t=["getCurrentUserProperties","getBaseUserInfo","language","44lxNIGp","split","timeZone","1791XHAMDR","188794apMmtf","7496GvStHH","getUserInfo","10dFgcAH","556dAHzOj","2107770xtLmsb","clearUserProperties","setUserProperty","DateTimeFormat","resolvedOptions","ko-KR","_userProperties","estimateLocation","extractCountryFromLanguage","6126tyDwVK","14202460JTeoKR","1455936FjGZdy","35OFWxJk","setUserProperties","isBrowser","UTC","6886380VBassy"];return(oe=function(){return t})()}!function(){const t=re,e=oe();for(;;)try{if(763107===parseInt(t(434))/1*(parseInt(t(431))/2)+parseInt(t(445))/3*(-parseInt(t(435))/4)+-parseInt(t(436))/5+-parseInt(t(447))/6*(-parseInt(t(448))/7)+parseInt(t(432))/8*(parseInt(t(430))/9)+parseInt(t(446))/10+parseInt(t(427))/11*(-parseInt(t(423))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ae{static[ie(433)](){return{...ae[ie(425)](),...ae._userProperties}}static[ie(425)](){const t=ie;if(!y.isBrowser())return{language:t(441),country:"KR"};const e=navigator[t(426)]||"ko-KR";return{language:e,country:ae.extractCountryFromLanguage(e)}}static[ie(444)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ie(428)]("-")[0]]||"KR"}static[ie(420)](t){const e=ie;ae[e(442)]={...ae[e(442)],...t}}static[ie(438)](t,e){ae[ie(442)][t]=e}static[ie(437)](){ae[ie(442)]={}}static[ie(424)](){return{...ae[ie(442)]}}static[ie(443)](){const t=ie;if(!y[t(421)]())return{timezone:t(422),estimatedCountry:"KR"};const e=Intl[t(439)]()[t(440)]()[t(429)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}ae._userProperties={};const ce=ue;function de(){const t=["parse","linkedin.ads","removeItem","toAttributionObject","stringify","tiktok.ads","utm_source","6Fhpugp","twclid","utm_medium","campaign","fbclid","2010782BTPlZr","ad_group_id","adGroup","campaignId","setItem","ad_group","creative_id","Failed to store tracking params:","campaign_id","location","CAMPAIGN_KEYS","3769305aqAqAP","1247828fCUhhv","warn","hasParams","3nTLkUr","microsoft.ads","adGroupId","Failed to parse adstage_referrer:","isClickEventSent","liclid","488TSynzA","getItem","hasClickId","adstage_last_click_id","STORAGE_KEY","undefined","CLICK_ID_KEYS","get","utm_term","adstage_referrer","utm_content","search","true","nclid","363RNpcIo","keys","82320fbokbC","store","adstage_tracking_params","UTM_KEYS","channel","gclid","utm_campaign","markClickEventSent","6697512XQFZdA","msclkid","ttclid","ad_creative","1129148fraljt","ALL_KEYS","adstage_click_event_sent","280810qhBSaL","term"];return(de=function(){return t})()}!function(){const t=ue,e=de();for(;;)try{if(635334===parseInt(t(454))/1+-parseInt(t(471))/2*(parseInt(t(486))/3)+parseInt(t(483))/4+parseInt(t(482))/5*(-parseInt(t(466))/6)+-parseInt(t(442))/7*(parseInt(t(492))/8)+parseInt(t(450))/9+parseInt(t(457))/10*(parseInt(t(506))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class le{static captureFromUrl(){const t=ue;if(typeof window===t(497))return null;const e=new URLSearchParams(window[t(480)][t(503)]),n={};let s=!1;const i=e[t(499)](t(501));if(i)try{const e=decodeURIComponent(i),r=new URLSearchParams(e);for(const e of le[t(455)]){const i=r[t(499)](e);i&&(n[e]=i,s=!0)}r[t(499)]("adstage")===t(504)&&(s=!0)}catch(e){console[t(484)](t(489),e)}for(const i of le.ALL_KEYS){if(n[i])continue;const r=e[t(499)](i);r&&(n[i]=r,s=!0)}return s?(n[t(446)]||(n.gclid?n[t(446)]="google.ads":n[t(470)]?n[t(446)]="meta.ads":n.ttclid?n[t(446)]=t(464):n[t(505)]?n[t(446)]="naver.searchad":n.liclid?n.channel=t(460):n[t(451)]?n.channel=t(487):n[t(467)]&&(n[t(446)]="twitter.ads")),le[t(443)](n),n):null}static[ce(443)](t){const e=ce;if("undefined"!=typeof window)try{const n={...le[e(499)](),...t},s=JSON[e(463)](n);try{sessionStorage.setItem(le.STORAGE_KEY,s)}catch(t){}try{localStorage[e(475)](le.STORAGE_KEY,s)}catch(t){}}catch(t){console[e(484)](e(478),t)}}static get(){const t=ce;if(typeof window===t(497))return null;try{const e=sessionStorage?.[t(493)](le.STORAGE_KEY);if(e)return JSON[t(459)](e)}catch(t){}try{const e=localStorage?.getItem(le[t(496)]);if(e)return JSON.parse(e)}catch(t){}return null}static clear(){const t=ce;if(typeof window!==t(497)){try{sessionStorage?.removeItem(le[t(496)])}catch(t){}try{localStorage?.[t(461)](le[t(496)])}catch(t){}}}static[ce(485)](){const t=le.get();return null!==t&&Object.keys(t).length>0}static hasClickId(){const t=le.get();return!!t&&le.CLICK_ID_KEYS.some(e=>t[e])}static shouldSendClickEvent(){const t=ce;if(typeof window===t(497))return!1;const e=le.get();if(!e||!le[t(494)]())return!1;const n=e[t(447)]||e[t(470)]||e[t(452)]||e[t(505)]||e[t(491)]||e.msclkid||e[t(467)];if(!n)return!1;return n!==sessionStorage.getItem("adstage_last_click_id")&&(sessionStorage[t(475)](t(495),n),!0)}static[ce(449)](){const t=ce;typeof window!==t(497)&&sessionStorage[t(475)](t(456),"true")}static[ce(490)](){const t=ce;return typeof window!==t(497)&&sessionStorage[t(493)](t(456))===t(504)}static[ce(462)](){const t=ce,e=le.get();if(!e)return null;const n={};return e[t(447)]&&(n[t(447)]=e[t(447)]),e[t(470)]&&(n[t(470)]=e.fbclid),e.ttclid&&(n[t(452)]=e[t(452)]),e[t(505)]&&(n.nclid=e.nclid),e.channel&&(n.channel=e[t(446)]),e[t(469)]&&(n.campaign=e[t(469)]),e[t(479)]&&(n[t(474)]=e[t(479)]),e.ad_group&&(n[t(473)]=e.ad_group),e[t(472)]&&(n[t(488)]=e[t(472)]),e[t(453)]&&(n.adCreative=e[t(453)]),e[t(477)]&&(n.creativeId=e[t(477)]),e[t(458)]&&(n[t(458)]=e[t(458)]),e.utm_source&&(n[t(465)]=e[t(465)]),e.utm_medium&&(n[t(468)]=e[t(468)]),e[t(448)]&&(n.utm_campaign=e.utm_campaign),e[t(502)]&&(n[t(502)]=e.utm_content),e.utm_term&&(n[t(500)]=e[t(500)]),Object[t(441)](n).length>0?n:null}}function ue(t,e){const n=de();return(ue=function(t,e){return n[t-=441]})(t,e)}le[ce(496)]=ce(444),le[ce(498)]=[ce(447),ce(470),ce(452),"nclid","liclid",ce(451),ce(467)],le[ce(481)]=[ce(446),ce(469),ce(479),ce(476),ce(472),ce(453),"creative_id",ce(458)],le[ce(445)]=[ce(465),ce(468),ce(448),ce(502),"utm_term"],le[ce(455)]=[...le[ce(498)],...le[ce(481)],...le.UTM_KEYS];const pe=fe;function he(){const t=["track","📊 Events module initialized","setUserProperties","warn","keys","Attribution registration failed: ","events","📱 User provided device info cleared","getDeviceInfo","API key not configured for attribution registration.","sendEventToServer","1090USLanx","1486255wnhZzc","clearDeviceInfo","🔑 Attribution request headers:","adstage_attribution_id","124728pOzCch","getUserDeviceInfo","stringify","_isReady","📡 Attribution request URL:","application/json","undefined","⏭️ No tracking parameters found, skipping attribution registration","8FnZzbk","getCurrentUserProperties","debug","attributionId","text","log","Events module not initialized. Call AdStage.init() first.","statusText","2446083YHxRhE","Event tracking failed: ","38649EOHaEG","👤 User properties set:","setDeviceProperty","📊 Attribution included:","setDeviceInfo","✅ Event tracked:","get","registerAttribution","status","getUserInfo","42152hcPalR","getItem","sendAttributionToServer","create","🔑 Request headers:","❌ Failed to track event:","230342tNLnGz","init","toAttributionObject","📡 Request URL:","📱 Device property set:","❌ API Error Response:","getAttributionId","error","✅ Event tracked with attribution ID:","Event data:","apiKey","POST","30kbAyer","✅ Attribution registered:","❌ Failed to register attribution:","_config","setItem","12NLTkXd","📦 Request body:","284893ZiAgis"];return(he=function(){return t})()}function fe(t,e){const n=he();return(fe=function(t,e){return n[t-=326]})(t,e)}!function(){const t=fe,e=he();for(;;)try{if(191451===-parseInt(t(351))/1+parseInt(t(385))/2+-parseInt(t(369))/3*(parseInt(t(332))/4)+parseInt(t(347))/5+-parseInt(t(327))/6*(parseInt(t(334))/7)+-parseInt(t(359))/8*(parseInt(t(367))/9)+-parseInt(t(346))/10*(-parseInt(t(379))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{constructor(){const t=fe;this[t(354)]=!1,this[t(330)]=null}[pe(386)](t){const e=pe;this[e(330)]=t,this[e(354)]=!0,t[e(361)]&&console.log(e(336))}isReady(){return this[pe(354)]}getConfig(){return this[pe(330)]}[pe(337)](t){const e=pe;ae[e(337)](t),this[e(330)]?.[e(361)]&&console.log(e(370),t)}getUserProperties(){return ae[pe(360)]()}[pe(373)](t){const e=pe;ne[e(373)](t),this[e(330)]?.[e(361)]&&console[e(364)]("📱 Device info set:",t)}[pe(371)](t,e){const n=pe;ne.setDeviceProperty(t,e),this[n(330)]?.debug&&console[n(364)](n(389),t,e)}clearDeviceInfo(){const t=pe;ne[t(348)](),this[t(330)]?.[t(361)]&&console[t(364)](t(342))}getUserDeviceInfo(){return ne[pe(352)]()}getDeviceInfo(){return ne[pe(343)]()}getUserInfo(){return ae.getUserInfo()}getCurrentUserProperties(){return ae[pe(360)]()}async[pe(335)](t,e){const n=pe;if(this[n(354)])if(this[n(330)]?.[n(395)])try{const s=this[n(391)]();if(s){const i={eventName:t,sdkVersion:x(),device:ne.getDeviceInfo(),user:ae[n(378)](),attributionId:s,params:e||{}};return await this[n(345)](i),void(this[n(330)][n(361)]&&console.log(n(393),t,s))}const i=le[n(387)](),r={eventName:t,sdkVersion:x(),device:ne[n(343)](),user:ae[n(378)](),...i&&{attribution:i},params:e||{}};await this[n(345)](r),this[n(330)][n(361)]&&(console[n(364)](n(374),t,e),i&&console[n(364)](n(372),i))}catch(s){console[n(392)](n(384),s),this[n(330)][n(361)]&&console.error(n(394),{eventName:t,properties:e})}else console[n(338)]("API key not configured for event tracking.");else console[n(338)]("Events module not initialized. Call AdStage.init() first.")}async[pe(376)](t){const e=pe;if(!this._isReady)return console[e(338)](e(365)),null;if(!this._config?.[e(395)])return console[e(338)](e(344)),null;try{const n=le[e(375)]();if(!n||0===Object[e(339)](n).length)return this[e(330)][e(361)]&&console[e(364)](e(358)),null;const s=await this.sendAttributionToServer({deviceId:t,referrerParams:n});if(this[e(330)][e(361)]&&console[e(364)](e(328),s),s[e(362)]){try{localStorage[e(331)](e(350),s.attributionId)}catch(t){}try{sessionStorage.setItem(e(350),s[e(362)])}catch(t){}}return s}catch(t){return console.error(e(329),t),null}}[pe(391)](){const t=pe;if(typeof window===t(357))return null;try{const t=sessionStorage.getItem("adstage_attribution_id");if(t)return t}catch(t){}try{return localStorage[t(380)](t(350))}catch(t){}return null}async trackWithAttributionId(t,e){return this[pe(335)](t,e)}async sendEventToServer(t){const e=pe,n={...L.create(this[e(330)][e(395)]),"Content-Type":e(356)};this[e(330)]?.[e(361)]&&(console.log(e(383),n),console.log(e(388),q[e(341)][e(335)]()),console[e(364)](e(333),t));const s=await fetch(q[e(341)][e(335)](),{method:e(326),headers:n,body:JSON[e(353)](t)});if(!s.ok){const t=await s[e(363)]();throw console[e(392)](e(390),t),new Error(e(368)+s[e(377)]+" "+s[e(366)])}}async[pe(381)](t){const e=pe,n={...L[e(382)](this._config[e(395)]),"Content-Type":e(356)};this[e(330)]?.debug&&(console[e(364)](e(349),n),console.log(e(355),q[e(341)][e(376)]()),console[e(364)]("📦 Attribution request body:",t));const s=await fetch(q[e(341)].registerAttribution(),{method:e(326),headers:n,body:JSON[e(353)](t)});if(!s.ok){const t=await s[e(363)]();throw console[e(392)](e(390),t),new Error(e(340)+s[e(377)]+" "+s.statusText)}return s.json()}}const me=ye;!function(){const t=ye,e=ve();for(;;)try{if(119543===-parseInt(t(467))/1*(parseInt(t(509))/2)+parseInt(t(431))/3+-parseInt(t(424))/4+parseInt(t(422))/5*(-parseInt(t(502))/6)+-parseInt(t(455))/7+parseInt(t(498))/8*(parseInt(t(426))/9)+parseInt(t(503))/10*(parseInt(t(479))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Ie{constructor(){const t=ye;this[t(433)]=!1,this[t(486)]=null,this[t(458)]=new $t,this.ads=new Gt,this[t(478)]=new ge}static[me(508)](t){const e=me;!Ie.instance&&(Ie.instance=new Ie);const n=Ie[e(491)];if(!t[e(430)])throw new Error(e(443));n._config={timeout:3e4,debug:!1,modules:["ads",e(478),e(458)],...t},n._config[e(477)]&&(q.setBaseUrl(n._config[e(477)]),t.debug&&console[e(449)](e(474),n[e(486)][e(477)]));const s=n[e(486)][e(484)]||[e(423),"events",e(458)];for(const t of s){const s=n[t];s&&typeof s[e(508)]===e(429)&&s.init(n._config)}if(n._isInitialized=!0,"undefined"!=typeof window){const s=le.captureFromUrl();s&&t.debug&&console[e(449)](e(487),s);const i=(()=>{const t=e;try{const e=new URLSearchParams(window[t(461)][t(469)]),n=new URLSearchParams((window[t(461)][t(506)]||"")[t(425)](/^#/,""));return e[t(497)]("attribution_id")||n[t(497)]("attribution_id")}catch{return null}})();if(i)try{localStorage[e(480)](e(507),i),t[e(456)]&&console[e(449)]("🔗 Using attributionId from URL (attribution_id):",i)}catch(t){}const r=le[e(452)]();if(t.debug&&(console[e(449)]("🔍 Should send click event:",r),!r&&console[e(449)](e(496))),!i&&s&&le[e(463)]()){const s=(async()=>{const s=e;try{const e=n[s(437)](),i=await n[s(478)].registerAttribution(e);return i&&t.debug&&console[s(449)](s(444),{attributionId:i[s(505)],channel:i[s(485)],campaign:i[s(439)],expiresAt:i.expiresAt}),i}catch(t){return console[s(501)](s(481),t),null}})();r&&s.then(s=>{const i=e;try{const e=le[i(497)](),r=le[i(447)]();t.debug&&console[i(449)](i(464),{attributionId:s?.[i(505)],hasAttribution:!!s}),n[i(478)][i(427)](i(489),{_autoGenerated:!0,_source:i(499),_timestamp:(new Date)[i(482)](),_platform:"web"})[i(450)](()=>{const n=i;le[n(493)](),t[n(456)]&&console.log(n(459),{attribution:r,trackingParams:e})})[i(492)](t=>{const e=i;console[e(501)](e(471),t)})}catch(t){console[i(501)](i(457),t)}})}else r&&setTimeout(()=>{const s=e;try{const e=le[s(497)](),i=le[s(447)]();n[s(478)][s(427)]("click",{_autoGenerated:!0,_source:s(499),_timestamp:(new Date)[s(482)](),_platform:s(500)})[s(450)](()=>{const n=s;le[n(493)](),t[n(456)]&&console[n(449)](n(459),{attribution:i,trackingParams:e})})[s(492)](t=>{console[s(501)]("❌ Failed to auto-track click event:",t)})}catch(t){console[s(501)]("❌ Error in click event auto-tracking:",t)}},100)}t[e(456)]&&console[e(449)](e(453),{version:e(454),modules:s,apiKey:t[e(430)][e(462)](0,8)+e(476),mode:e(436)})}static isReady(){const t=me;return Ie[t(491)]?._isInitialized||!1}static[me(432)](){const t=me;return Ie[t(491)]?.[t(486)]||null}static[me(468)](){const t=me;if(!Ie.instance)throw new Error("AdStage not initialized. Call AdStage.init() first.");return Ie[t(491)]}static get[me(423)](){const t=me;try{return Ie[t(468)]().ads}catch(e){throw console[t(494)](t(483)),e}}static get events(){const t=me;try{return Ie.getInstance().events}catch(e){throw console[t(494)]("AdStage.events accessed before initialization"),e}}static get[me(458)](){const t=me;try{return Ie[t(468)]()[t(458)]}catch(e){throw console[t(494)](t(473)),e}}static reset(){const t=me;Ie[t(491)]&&(Ie.instance[t(433)]=!1,Ie.instance._config=null)}[me(437)](){const t=me;if("undefined"==typeof window)return t(448)+Math[t(451)]()[t(438)](36)[t(462)](2,15);const e=localStorage[t(460)]("adstage_device_id");if(e)return e;const n=[navigator.userAgent,navigator[t(441)],screen[t(465)]+"x"+screen[t(475)],(new Date)[t(490)](),navigator[t(466)]||0][t(428)]("|");let s=0;for(let e=0;e<n[t(470)];e++){s=(s<<5)-s+n.charCodeAt(e),s&=s}const i=t(510)+Math[t(434)](s)[t(438)](36)+"-"+Date[t(435)]()[t(438)](36);return localStorage[t(480)]("adstage_device_id",i),i}}function ve(){const t=["attributionId","hash","adstage_attribution_id","init","36624hYmQEN","web-","7515KOGHpo","ads","712212GdakGU","replace","9pQMIrd","track","join","function","apiKey","156591SsFDhr","getConfig","_isInitialized","abs","now","development","generateDeviceId","toString","campaign","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","language","viewableTracker","API key is required for AdStage initialization","✅ Attribution registered:","from",")의 viewable 추적 초기화됨","toAttributionObject","server-","log","then","random","shouldSendClickEvent","🚀 AdStage SDK initialized (sync mode)","2.0.0","441868lLQbTT","debug","❌ Error in click event auto-tracking:","config","✅ Auto-tracked click event with tracking params:","getItem","location","substring","hasClickId","🎯 Sending click event after attribution registration","width","hardwareConcurrency","9iIiLaT","getInstance","search","length","❌ Failed to auto-track click event:","✅ AdStage Debug: 광고 ","AdStage.config accessed before initialization","🌐 API endpoint configured:","height","...","baseUrl","events","600204lGBIXO","setItem","❌ Failed to register attribution:","toISOString","AdStage.ads accessed before initialization","modules","channel","_config","📊 Tracking parameters captured:","📊 AdStage Debug: 현재 viewable 추적 상태","click","getTimezoneOffset","instance","catch","markClickEventSent","warn","clear","⏭️ Skipping click event (duplicate or no click ID)","get","1837272YxOJtp","tracking_params","web","error","552OviHuZ","70GKiXzz","clearAdViewable"];return(ve=function(){return t})()}function ye(t,e){const n=ve();return(ye=function(t,e){return n[t-=422]})(t,e)}function be(t,e){var n=we();return(be=function(t,e){return n[t-=148]})(t,e)}function we(){var t=["88851uJMcfm","events","944814ZvhQGW","678360lEBrzS","isReady","AdStage not initialized. Call AdStage.init() first.","105596ZjbOEw","9hrzluH","track","170jNFUEz","getUserProperties","resolve","30kludwU","55JlpXln","warn","11408220Hqkzkt","308904lBsbHk","243yGNsHd","17282zkcFYW"];return(we=function(){return t})()}Ie.debug={clearAllViewable:()=>{const t=me;ct[t(495)](),console[t(449)](t(440))},clearAdViewable:(t,e)=>{const n=me;ct[n(504)](t,e),console[n(449)](n(472)+t+"("+e+n(446))},getViewableStatus:()=>{const t=me;console[t(449)](t(488),{trackedCount:ct[t(442)].size,trackedItems:Array[t(445)](ct.viewableTracker)})}},function(){for(var t=be,e=we();;)try{if(673915===parseInt(t(155))/1*(-parseInt(t(166))/2)+-parseInt(t(150))/3+-parseInt(t(154))/4*(parseInt(t(157))/5)+-parseInt(t(160))/6*(-parseInt(t(148))/7)+-parseInt(t(164))/8*(-parseInt(t(165))/9)+parseInt(t(163))/10+parseInt(t(161))/11*(-parseInt(t(151))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ke=h.createContext(null);function Ee(){const t=h.useContext(ke);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function xe(){var t=["2907CmwLvR","2022ymCbSW","1622CKnZwp","1300792RbgMYC","6HNlZbp","693WLVdXJ","18152EgieqS","83331qKcHmq","2499775NxEqzN","67930CXsKcb","12710138oYEHln"];return(xe=function(){return t})()}function Se(t,e){var n=xe();return(Se=function(t,e){return n[t-=244]})(t,e)}!function(){for(var t=Se,e=xe();;)try{if(926412===parseInt(t(254))/1*(parseInt(t(244))/2)+-parseInt(t(249))/3+parseInt(t(245))/4+parseInt(t(250))/5+-parseInt(t(246))/6*(parseInt(t(252))/7)+-parseInt(t(248))/8*(-parseInt(t(253))/9)+-parseInt(t(251))/10*(parseInt(t(247))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=Ce;function Ce(t,e){const n=De();return(Ce=function(t,e){return n[t-=136]})(t,e)}!function(){const t=Ce,e=De();for(;;)try{if(934073===-parseInt(t(137))/1*(-parseInt(t(147))/2)+-parseInt(t(146))/3+parseInt(t(136))/4+-parseInt(t(149))/5+parseInt(t(143))/6*(-parseInt(t(150))/7)+-parseInt(t(138))/8*(parseInt(t(140))/9)+-parseInt(t(144))/10*(-parseInt(t(141))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Te=Ae(142),Re=[Ae(145),"events",Ae(139)];function De(){const t=["undefined","2631550BDOSnL","7CxsETh","903232maJypq","201899kZfzFX","40dThECs","config","2558169Oaqqad","51341015aavifh","2.0.0","2996808ROrUHx","10yWRpnO","ads","5142048lbTvoc","2nTgOzW"];return(De=function(){return t})()}typeof window!==Ae(148)&&(window.AdStage=Ie),exports.AdStage=Ie,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[i,r]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&Ie.reset(),Ie.init(t),r(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),r(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:i,initialize:c,reset:()=>{try{Ie.reset(),s(!1),r(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(ke.Provider,{value:d,children:t})},exports.SDK_VERSION=Te,exports.SUPPORTED_MODULES=Re,exports.TrackingParamsModule=le,exports.getUserProperties=function(){var t=be;if(Ie[t(152)]())return Ie.events[t(158)]();console.warn("AdStage not initialized. Call AdStage.init() first.")},exports.setUserProperties=function(t){var e=be;Ie[e(152)]()?Ie[e(149)].setUserProperties(t):console[e(162)](e(153))},exports.track=function(t,e){var n=be;return Ie.isReady()?Ie[n(149)][n(156)](t,e):(console.warn(n(153)),Promise[n(159)]())},exports.useAdStageContext=Ee,exports.useAdStageInstance=function(){const{isInitialized:t}=Ee();return t?Ie:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};