"use strict";var CPMindTag=(()=>{var W=["banner_static","banner_gif","banner_html5"];function P(e){let t=e.dataset.campaignId??"",n=e.dataset.creativeId??"",i=e.dataset.creativeType??"",o=e.dataset.endpoint??"";if(!t||!n||!o||!W.includes(i))return null;let r=new URLSearchParams(location.search).has("cpmind_debug")||e.dataset.debug==="true";return{campaignId:t,creativeId:n,creativeType:i,endpoint:o,debug:r}}function I(){if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();let e=new Uint8Array(16);crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=Array.from(e).map(n=>n.toString(16).padStart(2,"0")).join("");return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}function D(){let e=navigator.userAgent.toLowerCase();return/ipad|tablet|(android(?!.*mobile))/.test(e)?"tablet":/mobile|iphone|ipod|android|blackberry|windows phone/.test(e)||window.innerWidth<=768&&"ontouchstart"in window?"mobile":"desktop"}function L(e){return{impressionId:I(),deviceType:D(),timestampStart:0,timestampEnd:0,timeInViewSec:0,maxContinuousViewSec:0,visiblePixelsPct:0,viewStart:null,shareOfScreenSamples:[],shareOfScreenMax:0,s3:{scroll_speed_avg_px_s:null,scroll_speed_max_px_s:null,scroll_speed_std_dev:null,pause_count:null,pause_duration_total_ms:null,scroll_streaks:null,direction_changes:null,reading_pattern_detected:null,is_momentum_scroll:null},tabActiveTimeMs:0,tabTotalTimeMs:0,tabSwitchesCount:0,visibilityStateHistory:[],tabSessionStart:Date.now(),clicked:!1,hoverCount:0,hoverDurationMaxMs:0,hoverDurationTotalMs:0,hoverToClickLatencyMs:null,cursorProximityMinPx:1/0,cursorTrajectoryEntropy:0,tapCount:0,touchStartEndDeltaMs:null,zoom:!1,swipeCount:0,lastHoverStart:null,creativePositionYPx:0,pageHeightTotalPx:0,isAboveTheFold:!1,competingAdsVisible:0,viewabilityPersistenceSamples:[],lastUserEventTimestamp:null,eventsDuringImpression:0,sent:!1}}function A(e,t){let n=e.timestampEnd||Date.now(),i=e.timeInViewSec,o=e.maxContinuousViewSec;if(e.viewStart!==null){let f=(n-e.viewStart)/1e3;i+=f,o=Math.max(o,f)}let r=e.shareOfScreenSamples,a=r.length>0?r.reduce((f,h)=>f+h,0)/r.length:0,s=n-(e.timestampStart||n),c=document.visibilityState==="visible"?e.tabActiveTimeMs+(n-e.tabSessionStart):e.tabActiveTimeMs,l=Math.min(c,s),u=e.viewabilityPersistenceSamples,d=u.length>0?u.filter(Boolean).length/u.length*100:0,m=e.lastUserEventTimestamp!==null?Math.max(0,n-e.lastUserEventTimestamp):Math.max(0,n-(e.timestampStart||n)),v=e.s3===null?null:e.s3;return{impression_id:e.impressionId,campaign_id:t.campaignId,creative_id:t.creativeId,creative_type:t.creativeType,device_type:e.deviceType,timestamp_start:e.timestampStart||n,timestamp_end:n,signals:{s1:{time_in_view_sec:Math.round(i*1e3)/1e3,mrc_compliant:i>=1,visible_pixels_pct:e.visiblePixelsPct,max_continuous_view_sec:Math.round(o*1e3)/1e3},s2:{share_of_screen_avg_pct:Math.round(a*100)/100,share_of_screen_max_pct:e.shareOfScreenMax},s3:v,s4:{tab_active_time_ms:Math.round(l),tab_total_time_ms:Math.round(s),tab_switches_count:e.tabSwitchesCount,visibility_state_history:e.visibilityStateHistory},s5:{clicked:e.clicked,hover_count:e.deviceType==="desktop"?e.hoverCount:null,hover_duration_max_ms:e.deviceType==="desktop"?e.hoverDurationMaxMs:null,hover_duration_total_ms:e.deviceType==="desktop"?e.hoverDurationTotalMs:null,hover_to_click_latency_ms:e.deviceType==="desktop"?e.hoverToClickLatencyMs:null,cursor_proximity_min_px:e.deviceType==="desktop"?e.cursorProximityMinPx===1/0?null:e.cursorProximityMinPx:null,cursor_trajectory_entropy:e.deviceType==="desktop"?e.cursorTrajectoryEntropy:null,tap_count:e.deviceType!=="desktop"?e.tapCount:null,touch_start_end_delta_ms:e.deviceType!=="desktop"?e.touchStartEndDeltaMs:null,zoom:e.deviceType!=="desktop"?e.zoom:null,swipe_count:e.deviceType!=="desktop"?e.swipeCount:null},s7:{creative_position_y_px:e.creativePositionYPx,page_height_total_px:e.pageHeightTotalPx||document.documentElement.scrollHeight,is_above_the_fold:e.isAboveTheFold,competing_ads_visible:e.competingAdsVisible,viewability_persistence_pct:Math.round(d*100)/100}},presence:{last_user_event_timestamp:e.lastUserEventTimestamp,time_since_last_event_ms:Math.round(m),events_count_during_impression:e.eventsDuringImpression}}}function H(e,t,n){if(typeof IntersectionObserver>"u")return;new IntersectionObserver(o=>{let r=o[o.length-1];if(!r)return;let a=Date.now(),s=r.intersectionRatio>=.5,c=Math.round(r.intersectionRatio*100);if(t.visiblePixelsPct=c,s)t.timestampStart===0&&(t.timestampStart=a,n.debug&&console.log("[CPMind S1] First viewport entry:",{timestamp:a,intersectionRatio:r.intersectionRatio})),t.viewStart===null&&(t.viewStart=a);else if(t.viewStart!==null){let l=(a-t.viewStart)/1e3;t.timeInViewSec+=l,l>t.maxContinuousViewSec&&(t.maxContinuousViewSec=l),t.viewStart=null,n.debug&&console.log("[CPMind S1] Exited viewport:",{segmentSec:l.toFixed(3),totalTimeInViewSec:t.timeInViewSec.toFixed(3),maxContinuousViewSec:t.maxContinuousViewSec.toFixed(3)})}n.debug&&console.log("[CPMind S1] State:",{inView:s,visiblePixelsPct:c,timeInViewSec:t.timeInViewSec.toFixed(3),maxContinuousViewSec:t.maxContinuousViewSec.toFixed(3)})},{threshold:[0,.5,1]}).observe(e)}function R(e,t,n){let i=null;function o(){if(t.sent||t.viewStart===null)return;let r=e.getBoundingClientRect(),a=window.innerWidth,s=window.innerHeight,c=a*s;if(c===0)return;let l=Math.max(0,r.left),u=Math.max(0,r.top),d=Math.min(r.right,a),m=Math.min(r.bottom,s),v=Math.max(0,d-l),f=Math.max(0,m-u),h=v*f,p=Math.min(100,h/c*100);if(t.shareOfScreenSamples.push(p),p>t.shareOfScreenMax&&(t.shareOfScreenMax=p),n.debug){let _=t.shareOfScreenSamples.reduce((b,w)=>b+w,0)/t.shareOfScreenSamples.length;console.log("[CPMind S2] Sample:",{shareOfScreen:p.toFixed(2)+"%",shareOfScreenMax:t.shareOfScreenMax.toFixed(2)+"%",avgSoFar:_.toFixed(2)+"%",samples:t.shareOfScreenSamples.length})}}i=setInterval(o,500),o(),window.addEventListener("pagehide",()=>{i!==null&&(clearInterval(i),i=null)},{once:!0})}function q(e,t){e.count++;let n=t-e.mean;e.mean+=n/e.count,e.m2+=n*(t-e.mean)}function K(e){return e.count<2?0:Math.sqrt(e.m2/(e.count-1))}function Z(){var e;try{return window.self===window.top||(e=window.top)==null||e.document,!1}catch{return!0}}function y(e){let t=e.getBoundingClientRect(),n=t.top+t.height/2;return Math.abs(n)<=300}function O(e,t,n){if(Z()){t.s3=null,n.debug&&console.log("[CPMind S3] Cross-domain iframe detected \u2014 S3 = null");return}let i={count:0,mean:0,m2:0},o=window.scrollY,r=performance.now(),a=0,s=!1,c=null,l=null,u=[],d=null,m=!1,v=0;window.addEventListener("touchstart",()=>{m=!0},{passive:!0}),window.addEventListener("touchend",()=>{m=!1,v=performance.now()},{passive:!0});function f(){if(s=!1,!y(e)){o=window.scrollY,r=performance.now();return}let p=performance.now(),_=window.scrollY,b=Math.abs(_-o),w=(p-r)/1e3;if(w>0&&b>=0){let g=b/w;if(q(i,g),t.s3!==null){let B=t.s3.scroll_speed_max_px_s??0;t.s3.scroll_speed_max_px_s=Math.max(B,g),t.s3.scroll_speed_avg_px_s=i.mean,t.s3.scroll_speed_std_dev=K(i)}let S=_>o?1:_0&&(u[0]??0)=3&&(t.s3!==null&&(t.s3.scroll_streaks=(t.s3.scroll_streaks??0)+1),u.length=0),g<=150?d===null?d=p:p-d>=2e3&&t.s3!==null&&(t.s3.reading_pattern_detected=!0):d=null;let E=!m&&p-v<3e3&&v>0;E&&t.s3!==null&&(t.s3.is_momentum_scroll=!0),n.debug&&console.log("[CPMind S3] Scroll frame:",{speed:g.toFixed(1)+" px/s",avg:i.mean.toFixed(1)+" px/s",direction:S===1?"down":S===-1?"up":"none",isMomentum:E})}c!==null&&clearTimeout(c),l!==null&&(l=null),c=setTimeout(()=>{var S;if(!y(e))return;l=performance.now(),t.s3!==null&&(t.s3.pause_count=(t.s3.pause_count??0)+1),n.debug&&console.log("[CPMind S3] Pause detected:",{pauseCount:(S=t.s3)==null?void 0:S.pause_count});let g=setInterval(()=>{if(l===null){clearInterval(g);return}if(!y(e)){l=null,clearInterval(g);return}let M=performance.now()-l;t.s3!==null&&(t.s3.pause_duration_total_ms=(t.s3.pause_duration_total_ms??0)+100),M>3e4&&clearInterval(g)},100)},500),o=_,r=p}function h(){if(l!==null&&t.s3!==null){let p=performance.now()-l;t.s3.pause_duration_total_ms=(t.s3.pause_duration_total_ms??0)+p,l=null}s||(s=!0,requestAnimationFrame(f))}window.addEventListener("scroll",h,{passive:!0}),t.s3!==null&&(t.s3.scroll_speed_avg_px_s=0,t.s3.scroll_speed_max_px_s=0,t.s3.scroll_speed_std_dev=0,t.s3.pause_count=0,t.s3.pause_duration_total_ms=0,t.s3.scroll_streaks=0,t.s3.direction_changes=0,t.s3.reading_pattern_detected=!1,t.s3.is_momentum_scroll=!1)}function V(e,t){e.tabSessionStart=Date.now(),e.visibilityStateHistory.push({state:document.visibilityState==="visible"?"visible":"hidden",timestamp:Date.now()});function n(){let i=Date.now();if(document.visibilityState==="hidden"){let r=i-e.tabSessionStart;e.tabActiveTimeMs+=r,e.tabSwitchesCount++,e.visibilityStateHistory.push({state:"hidden",timestamp:i}),t.debug&&console.log("[CPMind S4] Tab hidden:",{activeSegmentMs:r,totalActiveTimeMs:e.tabActiveTimeMs,switchesCount:e.tabSwitchesCount})}else e.tabSessionStart=i,e.visibilityStateHistory.push({state:"visible",timestamp:i}),t.debug&&console.log("[CPMind S4] Tab visible:",{totalActiveTimeMs:e.tabActiveTimeMs,switchesCount:e.tabSwitchesCount})}document.addEventListener("visibilitychange",n),t.debug&&console.log("[CPMind S4] Initialized:",{initialState:document.visibilityState,tabSessionStart:e.tabSessionStart})}function G(e,t,n){let i=Math.max(n.left-e,0,e-n.right),o=Math.max(n.top-t,0,t-n.bottom);return Math.sqrt(i*i+o*o)}function J(e,t){return(Math.atan2(t,e)*180/Math.PI+360)%360}function Q(e,t){let n=Math.abs(e-t)%360;return n>180?360-n:n}function tt(e,t,n){let i=null,o=null,r=null,a=0,s=0;e.addEventListener("click",()=>{t.clicked=!0,t.lastHoverStart!==null&&(t.hoverToClickLatencyMs=Date.now()-t.lastHoverStart),n.debug&&console.log("[CPMind S5] Clicked:",{hoverToClickLatencyMs:t.hoverToClickLatencyMs})}),e.addEventListener("mouseenter",()=>{t.hoverCount++,t.lastHoverStart=Date.now(),n.debug&&console.log("[CPMind S5] Hover enter:",{hoverCount:t.hoverCount})}),e.addEventListener("mouseleave",()=>{if(t.lastHoverStart!==null){let m=Date.now()-t.lastHoverStart;t.hoverDurationTotalMs+=m,m>t.hoverDurationMaxMs&&(t.hoverDurationMaxMs=m),t.lastHoverStart=null,n.debug&&console.log("[CPMind S5] Hover leave:",{hoverDurationMs:m,hoverDurationMaxMs:t.hoverDurationMaxMs,hoverDurationTotalMs:t.hoverDurationTotalMs})}});let c=!1,l=0,u=0;function d(){c=!1;let m=e.getBoundingClientRect(),v=G(l,u,m);if(v1||Math.abs(h)>1){let p=J(f,h);a++,r!==null&&Q(p,r)>30&&s++,r=p,t.cursorTrajectoryEntropy=a>1?Math.min(1,s/(a-1)):0}}i=l,o=u}}document.addEventListener("mousemove",m=>{l=m.clientX,u=m.clientY,c||(c=!0,requestAnimationFrame(d))},{passive:!0})}function et(e,t,n){let i=null,o=null,r=null;e.addEventListener("touchstart",s=>{let c=s.touches[0];c&&(i=c.clientY,o=c.clientX,r=Date.now())},{passive:!0}),e.addEventListener("touchend",s=>{if(r===null)return;let c=Date.now()-r;t.touchStartEndDeltaMs=c;let l=s.changedTouches[0];if(l&&o!==null&&i!==null){let u=Math.abs(l.clientX-o),d=Math.abs(l.clientY-i);u<10&&d<10&&c<300&&(t.tapCount++,t.clicked=!0,n.debug&&console.log("[CPMind S5] Tap on creative:",{tapCount:t.tapCount,touchDurationMs:c}))}i=null,o=null,r=null},{passive:!0}),e.addEventListener("touchmove",s=>{if(i===null||o===null)return;let c=s.touches[0];if(!c)return;let l=c.clientX-o,u=c.clientY-i,d=Math.sqrt(l*l+u*u);d>=30&&(t.swipeCount++,o=c.clientX,i=c.clientY,n.debug&&console.log("[CPMind S5] Swipe detected:",{swipeCount:t.swipeCount,distance:d.toFixed(1)}))},{passive:!0}),window.addEventListener("gesturechange",()=>{t.zoom=!0,n.debug&&console.log("[CPMind S5] Zoom detected (gesturechange)")},{passive:!0});let a=null;e.addEventListener("touchstart",s=>{if(s.touches.length===2){let c=s.touches[0],l=s.touches[1],u=l.clientX-c.clientX,d=l.clientY-c.clientY;a=Math.sqrt(u*u+d*d)}},{passive:!0}),e.addEventListener("touchmove",s=>{if(s.touches.length===2&&a!==null){let c=s.touches[0],l=s.touches[1],u=l.clientX-c.clientX,d=l.clientY-c.clientY,m=Math.sqrt(u*u+d*d);Math.abs(m-a)>10&&(t.zoom=!0,n.debug&&console.log("[CPMind S5] Zoom detected (pinch)"))}},{passive:!0}),e.addEventListener("touchend",()=>{a=null},{passive:!0})}function k(e,t,n){t.deviceType==="desktop"?tt(e,t,n):et(e,t,n)}var nt=['iframe[src*="doubleclick.net"]','iframe[src*="googlesyndication.com"]','iframe[src*="googletagservices.com"]','iframe[src*="adfox.ru"]','iframe[src*="begun.ru"]','iframe[src*="criteo.com"]','iframe[src*="rtbhouse.com"]','iframe[src*="yandex.ru/adv"]','iframe[src*="ssp.rambler.ru"]','[class*="adsbygoogle"]','[id*="yandex_rtb"]','[class*="banner-ad"]','[class*="ad-banner"]','[class*="advertisement"]',"ins.adsbygoogle"];function it(e){let t=e.getBoundingClientRect();return t.width>0&&t.height>0&&t.top0&&t.left0}function F(e){let t=0;for(let n of nt){let i;try{i=document.querySelectorAll(n)}catch{continue}for(let o of i)o===e||e.contains(o)||it(o)&&t++}return t}function N(e){let t=e.getBoundingClientRect();return Math.round(t.top+window.scrollY)}function ot(e){let t=e.getBoundingClientRect();return t.top0}function Y(e,t,n){t.pageHeightTotalPx=Math.max(document.documentElement.scrollHeight,document.documentElement.offsetHeight,document.body.scrollHeight,document.body.offsetHeight),t.creativePositionYPx=N(e),t.isAboveTheFold=ot(e),t.competingAdsVisible=F(e),n.debug&&console.log("[CPMind S7] Initial state:",{creativePositionYPx:t.creativePositionYPx,pageHeightTotalPx:t.pageHeightTotalPx,isAboveTheFold:t.isAboveTheFold,competingAdsVisible:t.competingAdsVisible,relativePosition:(t.creativePositionYPx/t.pageHeightTotalPx).toFixed(3)});let i=setInterval(()=>{let o=t.viewStart!==null;if(t.viewabilityPersistenceSamples.push(o),t.competingAdsVisible=F(e),t.pageHeightTotalPx=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,t.pageHeightTotalPx),t.creativePositionYPx=N(e),n.debug){let r=t.viewabilityPersistenceSamples.filter(Boolean).length,a=t.viewabilityPersistenceSamples.length,s=a>0?(r/a*100).toFixed(1):"0.0";console.log("[CPMind S7] Sample:",{isInView:o,persistencePct:s+"%",competingAdsVisible:t.competingAdsVisible,pageHeightTotalPx:t.pageHeightTotalPx})}},1e3);window.addEventListener("pagehide",()=>{clearInterval(i)},{once:!0})}function U(e,t){let n=["mousemove","mousedown","mouseup","touchstart","touchend","touchmove","keydown","keyup","scroll","click"],i=0,o=100;function r(){let a=Date.now();e.eventsDuringImpression++,a-i>=o&&(e.lastUserEventTimestamp=a,i=a,t.debug&&console.log("[CPMind Presence] User event:",{eventsCount:e.eventsDuringImpression,lastUserEventTimestamp:a}))}for(let a of n)document.addEventListener(a,r,{passive:!0,capture:!1});return t.debug&&console.log("[CPMind Presence] Initialized, tracking:",n.join(", ")),()=>{for(let a of n)document.removeEventListener(a,r,{capture:!1})}}function x(e,t){if(e.sent||e.timestampStart===0)return;e.timestampEnd=Date.now(),e.sent=!0;let n=A(e,t);t.debug&&console.log("[CPMind] Final payload:",JSON.stringify(n,null,2)),rt(n,t.endpoint)}function rt(e,t){let n=JSON.stringify(e);if(typeof navigator.sendBeacon=="function"){let i=new Blob([n],{type:"application/json"});if(navigator.sendBeacon(t,i))return}at(n,t)}function at(e,t){fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:e,keepalive:!0}).catch(()=>{})}function $(e,t,n,i){e.addEventListener("click",()=>{x(t,n)},{capture:!0}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&(x(t,n),i==null||i())}),window.addEventListener("pagehide",()=>{x(t,n),i==null||i()})}var lt={position:"fixed",bottom:"16px",right:"16px",zIndex:"2147483647",backgroundColor:"rgba(15, 18, 26, 0.92)",color:"#f1f5f9",fontFamily:"'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace",fontSize:"11px",lineHeight:"1.6",padding:"10px 14px",borderRadius:"6px",minWidth:"260px",maxWidth:"360px",boxShadow:"0 4px 16px rgba(0,0,0,0.5)",pointerEvents:"none",userSelect:"none"},j="#64748b",C="#32d345",X="#fb923c",ct="#f1f5f9",z="#1e293b",T=class{constructor(t,n){this.intervalId=null;this.session=n,this.el=document.createElement("div"),this.el.setAttribute("id","cpmind-debug-overlay");for(let[i,o]of Object.entries(lt))this.el.style[i]=o;document.body.appendChild(this.el),this.render(),this.intervalId=setInterval(()=>this.render(),250),window.addEventListener("pagehide",()=>this.destroy(),{once:!0}),console.log("%c[CPMind Debug] Overlay initialized","color: #4ade80; font-weight: bold;"),console.log("[CPMind Debug] Creative element:",t),console.log("[CPMind Debug] Session ID:",n.impressionId)}getCurrentTimeInView(){let t=this.session.timeInViewSec;return this.session.viewStart!==null&&(t+=(Date.now()-this.session.viewStart)/1e3),t}getTabActivePct(){let t=this.session.tabActiveTimeMs,n=Date.now()-(this.session.timestampStart||Date.now());return n===0?"100%":(t/n*100).toFixed(1)+"%"}getShareOfScreenAvg(){let t=this.session.shareOfScreenSamples;return t.length===0?"0%":(t.reduce((i,o)=>i+o,0)/t.length).toFixed(1)+"%"}row(t,n,i=!1){return`
${t}: ${n}
`}render(){let t=this.session,n=t.viewStart!==null,i=this.getCurrentTimeInView(),o=n?`\u2713 viewport \u226550%`:`\u2717 viewport <50%`,r="none";t.clicked?r="clicked":t.zoom?r="zoom":t.swipeCount>0?r=`swipe\xD7${t.swipeCount}`:t.tapCount>0?r=`tap\xD7${t.tapCount}`:t.hoverDurationMaxMs>0?r=`hover ${t.hoverDurationMaxMs}ms`:t.hoverCount>0&&(r=`hover\xD7${t.hoverCount}`);let a=t.s3===null?"n/a (iframe)":`${(t.s3.scroll_speed_avg_px_s??0).toFixed(0)} px/s`;this.el.innerHTML=`
CPMind Debug
`+o+`
${i.toFixed(1)}s \u0432 \u0437\u043E\u043D\u0435 \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u0438
`+this.row("S1 time_in_view",i.toFixed(2)+"s")+this.row("S1 mrc_compliant",i>=1?"true":"false",i<1)+this.row("S1 max_continuous",t.maxContinuousViewSec.toFixed(2)+"s")+this.row("S1 visible_pct",t.visiblePixelsPct+"%")+this.row("S2 share_avg",this.getShareOfScreenAvg())+this.row("S2 share_max",t.shareOfScreenMax.toFixed(1)+"%")+this.row("S3 scroll_speed",a,t.s3===null)+this.row("S3 pauses",t.s3!==null?String(t.s3.pause_count??0):"n/a")+this.row("S3 dir_changes",t.s3!==null?String(t.s3.direction_changes??0):"n/a")+this.row("S4 tab_active",this.getTabActivePct(),t.tabSwitchesCount>0)+this.row("S4 switches",String(t.tabSwitchesCount))+this.row("S5 top_event",r,r==="none")+this.row("Presence events",String(t.eventsDuringImpression),t.eventsDuringImpression===0)+`
id: ${t.impressionId.slice(0,8)}... \xB7 ${t.deviceType}
`}destroy(){this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}};(function(e,t){"use strict";try{n()}catch(i){console.warn("[CPMind] Initialization error:",i)}function n(){let i=t.querySelectorAll("[data-cpmind-creative]");if(i.length!==0)for(let o of i){let r=P(o);if(!r){console.warn("[CPMind] Missing required data attributes on [data-cpmind-creative]:",o);continue}let a=L(r);H(o,a,r),R(o,a,r),O(o,a,r),V(a,r),k(o,a,r),Y(o,a,r);let s=U(a,r);r.debug&&new T(o,a),$(o,a,r,s)}}})(window,document);})();