1try{ 2 3(()=>{"use strict";var t={744:(t,e,n)=>{var o=n(795);e.H=o.createRoot,o.hydrateRoot},795:t=>{t.exports=window.ReactDOM}},e={};const n=window.React;var o=function n(o){var s=e[o];if(void 0!==s)return s.exports;var r=e[o]={exports:{}};return t[o](r,r.exports,n),r.exports}(744);const s=t=>{try{const e=new URL(t);return["http:","https:"].includes(e.protocol)?e.toString():null}catch(e){return"string"==typeof t&&t.startsWith("/")&&!t.startsWith("//")?t:null}},r=t=>{const e=(new DOMParser).parseFromString(t,"text/html"),n=["b","strong","i","em","span","a","br"],o=["style","href","target","rel","class"];return e.body.querySelectorAll("*").forEach((t=>{n.includes(t.tagName.toLowerCase())?[...t.attributes].forEach((e=>{if(o.includes(e.name)||t.removeAttribute(e.name),"href"===e.name){const n=s(e.value);n?t.setAttribute("href",n):t.removeAttribute("href")}})):t.remove()})),e.body.innerHTML},a="linear-gradient(135deg, #0040E3, #18D4FD)",l=(t,e)=>{return null==(n=e)||""===n||Array.isArray(n)&&0===n.length||"object"==typeof n&&0===Object.keys(n).length||"string"==typeof n&&""===n.trim()||"number"==typeof n&&0===n?"":`${t}: ${e};`;var n},i=(t,e=!0,n=!0,o=!0)=>{const{type:r="solid",color:i="",gradient:c=a,image:d={},position:u="center center",attachment:m="",repeat:b="no-repeat",size:$="",overlayColor:p=""}=t||{};return"gradient"===r&&n?l("background",c):"image"===r&&o?`background: ${(t=>{const e=s(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"})(d?.url)};\n\t\t\t\t${l("background-color",p)}\n\t\t\t\t${l("background-position",u)}\n\t\t\t\t${l("background-size",$)}\n\t\t\t\t${l("background-repeat",b)}\n\t\t\t\t${l("background-attachment",m)}\n\t\t\t\t${l("background-repeat",b)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&l("background",i)},c=t=>{const{width:e="",style:n="solid",color:o="",side:s="all",radius:r=""}=t||{},a=t=>{const e=s?.toLowerCase();return e?.includes("all")||e?.includes(t)},i=`${e} ${n} ${o}`,c=`\n\t\t${e&&0!==parseInt(e)?["top","right","bottom","left"].map((t=>a(t)?`border-${t}: ${i};`:"")).join(""):""}\n\t\t${l("border-radius",r)}\n\t`;return c},d=(t,e="box")=>{const{hOffset:n="0px",vOffset:o="0px",blur:s="0px",spreed:r="0px",color:a="#7090b0",isInset:l=!1}=t||{},i=`${n} ${o} ${s}`;return("text"===e?`${i} ${a}`:`${i} ${r} ${a} ${l?"inset":""}`)||"none"},u=t=>{const{side:e=2,vertical:n="0px",horizontal:o="0px",top:s="0px",right:r="0px",bottom:a="0px",left:l="0px"}=t||{};return 2===e?`${n} ${o}`:`${s} ${r} ${a} ${l}`},m=(t,e,n=!0)=>{const{fontFamily:o="Default",fontCategory:s="sans-serif",fontVariant:r=400,fontWeight:a,isUploadFont:i=!0,fontSize:c={desktop:null,tablet:null,mobile:null},fontStyle:d,textTransform:u,textDecoration:m,lineHeight:b,letterSpace:$}=e||{},p=!n||!o||"Default"===o,g=c?.desktop||c,h=c?.tablet||g,f=c?.mobile||h,x=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},y=`\n\t\t${p?"":`font-family: '${o}', ${s};`}\n\t\t${l("font-weight",a)}\n\t\t${l("font-size",x(g))}\n\t\t${l("font-style",d)}\n\t\t${l("text-transform",u)}\n\t\t${l("text-decoration",m)}\n\t\t${l("line-height",b)}\n\t\t${l("letter-spacing",$)}\n\t`,w=r&&400!==r?"400i"===r?":ital@1":r?.includes("00i")?`: ital, wght@1, ${r?.replace("00i","00")} `:`: wght@${r} `:"",v=p?"":`https://fonts.googleapis.com/css2?family=${o?.split(" ").join("+")}${w.replace(/ /g,"")}&display=swap`;return{googleFontLink:!i||p?"":`@import url(${v});`,styles:`${t}{\n\t\t\t${y}\n\t\t}\n\t\t@media only screen and (max-width: 1024px) {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",x(h))}\n\t\t\t}\n\t\t}\n\t\t@media only screen and (max-width: 640px) {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",x(f))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},b=("undefined"!=typeof ctbpricingurl&&ctbpricingurl,({attributes:t,id:e})=>{const{boxPosition:o,width:s,background:a,padding:l,shadow:b,alignment:$,boxBG:p,boxWidth:g,boxHeight:h,boxSpace:f,boxBorder:x,boxSh
3adow:y,digitTypo:w,digitColor:v,labelTypo:E,labelColor:L,sepType:k,sepSize:C,sepColor:S}=t,D=`#${e}`,M=`${D} .countdownItems`,T=`${M} .countdownItem`,A=`${D} .ctbCountdownTime`;return(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:r(`\n\t\t${m("",w)?.googleFontLink}\n\t\t${m("",E)?.googleFontLink}\n\t\t${m(`${T} .digit`,w)?.styles}\n\t\t${m(`${T} .label`,E)?.styles}\n\n\t\t${D}{\n\t\t\talign-items: ${$};\n\t\t\tjustify-content: ${$};\n\t\t}\n\t\t${A}{\n\t\t\tjustify-content: 'center';\n\t\t\twidth: ${["0px","0%","0em"].includes(s)?"auto":s};\n\t\t\t${i(a)}\n\t\t\tpadding: ${u(l)};\n\t\t\tbox-shadow: ${d(b)};\n\t\t}\n\t\t${M}{\n\t\t\tjustify-content: ${o};\n\t\t\tgap: ${f};\n\t\t\tmargin: 0\n\t\t}\n\t\t${T}{\n\t\t\t${i(p)}\n\t\t\twidth: ${g};\n\t\t\theight: ${h};\n\t\t\t${c(x)}\n\t\t\tbox-shadow: ${d(y)};\n\t\t}\n\t\t${T} .digit{\n\t\t\tcolor: ${v};\n\t\t}\n\t\t${T} .label{\n\t\t\tcolor: ${L};\n\t\t}\n\n\t\t${M} .separator::before{\n\t\t\tcontent: '${k}';\n\t\t\tfont-size: ${C}px;\n\t\t\tcolor: ${S};\n\t\t}\n\t\t`).replace(/\s+/g," ")}})}),$=t=>t>(new Date).getTime()?(t-(new Date).getTime())/1e3:0,p=t=>Math.floor(t%86400/3600),g=t=>Math.floor(t%3600/60),h=t=>Math.floor(t%60),f=t=>t<10?("0"+t).slice(-2):t,x=(t,e=!0,o=!0,s=!0)=>{const[r,a]=(0,n.useState)($(t));return(0,n.useEffect)((()=>{const e=setInterval((()=>{a($(t))}),1e3);return()=>clearInterval(e)}),[t]),((t,e=!0,n=!0,o=!0)=>{const s=(r=t,Math.floor(r/86400));var r;const a=e?p(t):24*s+p(t),l=n?g(t):60*a+g(t),i=o?h(t):60*l+h(t);return{days:s,hours:a,minutes:l,seconds:i,expired:!(s+a+l+i>0)}})(r,e,o,s)},y=({attributes:t,Box:e,isBackend:o=!1,custom:s={}})=>{const{destDate:r,boxIsInline:a,isLabels:l,isDays:i,daysLabel:c,isHours:d,hoursLabel:u,isMinutes:m,minutesLabel:b,isSeconds:$,secondsLabel:p,isSep:g}=t,h=new Date(r).getTime(),{days:y,hours:w,minutes:v,seconds:E}=x(h,i,d,m),L=a?"inline":"";return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(e,{is:i,boxClass:`countdownDays ${L}`,digit:f(y),isLabels:l,label:c,onChange:t=>o&&s.setAttributes({daysLabel:t})}),g&&i&&(d||m||$)&&(0,n.createElement)("span",{className:"separator"}),(0,n.createElement)(e,{is:d,boxClass:`countdownHours ${L}`,digit:f(w),isLabels:l,label:u,onChange:t=>o&&s.setAttributes({hoursLabel:t})}),g&&d&&(m||$)&&(0,n.createElement)("span",{className:"separator"}),(0,n.createElement)(e,{is:m,boxClass:`countdownMinutes ${L}`,digit:f(v),isLabels:l,label:b,onChange:t=>o&&s.setAttributes({minutesLabel:t})}),g&&m&&$&&(0,n.createElement)("span",{className:"separator"}),(0,n.createElement)(e,{is:$,boxClass:`countdownSeconds ${L}`,digit:f(E),isLabels:l,label:p,onChange:t=>o&&s.setAttributes({secondsLabel:t})}))},w=({attributes:t,Box:e,closeEl:o,isBackend:s=!1,custom:r={}})=>{const{isResponsive:a,isDismiss:l}=t;return(0,n.createElement)("div",{className:"ctbCountdownTime"},(0,n.createElement)("div",{className:"countdownItems "+(a?"ctbResponsive":"")},(0,n.createElement)(y,{attributes:t,Box:e,isBackend:s,custom:r})),l&&o)},v=(0,n.createElement)("svg",{className:"countdownClose",xmlns:"http:; 4 5 6 7} 8catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://octocon.com/wp-content/plugins/countdown-time/build/view.js\n- Error message: "+ e.message);}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.