1(()=>{var e={n:t=>{var a=t&&t.__esModule?()=>t.default:()=>t;return e.d(a,{a}),a},d:(t,a)=>{for(var o in a)e.o(a,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:a[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};(()=>{"use strict";const t=window.wp.domReady;var a=e.n(t);const o=()=>{try{return window.self!==window.top}catch(e){return!0}},r="starter-templates-iframe-preview-data",n=()=>{let e="";const t=document.querySelector(".site-logo-img img");return t&&(e=t.src),e};let s=n();const l=(e,t)=>{if(!e)return"";if(e){const a=e.match(/'([^']+)'/);return a?a[1]:"inherit"===e?t:e}return t||void 0},i=e=>{switch(e.value.param){case"siteLogo":const t=document.querySelectorAll(".site-logo-img img");""===s&&(s=n());let a=e.value.data.url||s;if(a=e.value.data.dataUri||a,0===t.length&&""!==a){const t=document.createElement("span");t.classList.add("site-logo-img");const o=document.createElement("a");o.setAttribute("class","custom-logo-link"),o.setAttribute("href","#"),o.setAttribute("aria-current","page"),t.appendChild(o);const r=document.createElement("img");r.classList.add("custom-logo"),r.setAttribute("src",a),o.appendChild(r);const n=document.getElementById("ast-desktop-header").querySelectorAll(".ast-site-identity")[0],s=n.querySelectorAll(".ast-site-title-wrap")[0];n.insertBefore(t,s);const l=e.value.data.width||"";""!==l&&(r.style.width=l+"px",r.style.maxWidth=l+"px")}else if(""!==a)for(const[o,r]of Object.entries(t)){r.removeAttribute("srcset"),r.setAttribute("src",a);const t=e.value.data.width;""!==t&&(r.style.width=t+"px",r.style.maxWidth=t+"px")}break;case"colorPalette":const o=e.value.data.colors||[],r=starter_templates_zip_preview.AstColorPaletteVarPrefix,i=starter_templates_zip_preview.AstEleColorPaletteVarPrefix;if(0===o.length){document.querySelector("body").classList.remove("starter-templates-preview-palette");const e=document.getElementsByClassName("starter-templates-preview-palette");return void(e.length>0&&e[0].remove())}document.querySelector("body").classList.add("starter-templates-preview-palette");const d=Object.entries(o).map(((e,t)=>[`--e-global-color-${i[t].replace(/-/g,"")}: ${e[1]};`,`${r}${t}: ${e[1]};`,`--wp--preset--color--${i[t]}: ${e[1]};`])).map((e=>e.join(""))).join("");let c=document.getElementById("starter-templates-preview-palette-css");c||(c=document.createElement("style"),c.id="starter-templates-preview-palette-css",c.setAttribute("rel","stylesheet"),document.head.appendChild(c)),c.innerHTML=`.starter-templates-preview-palette{ ${d} }`;break;case"siteTypography":if(!Object.keys(e.value.data).length){const e=document.getElementById("starter-templates-typography");return void(e&&e.remove())}(e=>{if(!e)return;if(!document.getElementById("google-fonts-domain")){const e=document.createElement("link");e.id="google-fonts-domain",e.setAttribute("rel","preconnect"),e.setAttribute("href","https://fonts.gstatic.com"),document.head.appendChild(e)}let t=document.getElementById("st-previw-google-fonts-url");t||(t=document.createElement("link"),t.id="st-previw-google-fonts-url",t.setAttribute("rel","stylesheet"),document.head.appendChild(t));const a=[];let o=e["body-font-family"]||"",r=parseInt(e["body-font-weight"])||"";r&&(r=`:wght@${r}`),o&&(o=l(o),o=o.replace(" ","+"),a.push(`family=${o}${r}`));let n=e["headings-font-family"]||"",s=parseInt(e["headings-font-weight"])||"";s&&(s=`:wght@${s}`),n&&(n=l(n,o),n=n.replace(" ","+"),a.push(`family=${n}${s}`));const i=`https://fonts.googleapis.com/css2?${a.join("&")}&display=swap`;t.setAttribute("href",i)})(e.value.data),(e=>{if(!e)return;let t=document.getElementById("starter-templates-typography");t||(t=document.createElement("style"),t.id="starter-templates-typography",t.setAttribute("rel","stylesheet"),document.head.appendChild(t));let a="";a+="body, button, input, select, textarea, .ast-button, .ast-custom-button {",a+="\tfont-family: "+e["body-font-family"]+";",a+="\tfont-weight: "+e["body-font-weight"]+";",a+="\tfont-size: "+e["font-size-body"].desktop+e["font-size-body"]["desktop-unit"]+";",a+="\tline-height: "+e["body-line-height"]+";",a+="}",a+="h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a {",a+="\tfont-family: "+e["headings-font-family"]+";",a+="\tline-height: "+e["headings-line-height"]+";",a+="\tfont-weight: "+e["headings-font-weight"]+";",a+="}",["h1","h2","h3","h4","h5","h6"].forEach((t=>{const o="inherit"===e["font-family-"+t]?e["headings-font-family"]:e["font-family-"+t],r="inherit"===e["font-weight-"+t]?e["headings-font-weight"]:e["font-weight-"+t];let n="";void 0!==o&&""!==o&&(n+=`${t}, .entry-content ${t} {`,n+="\tfont-family: "+o+";"),void 0!==e["line-height-"+t]&&""!==e["line-height-"+t]&&(n+="\tline-height: "+e["line-height-"+t]+";"),void 0!==r&&""!==r&&(n+="\tfont-weight: "+r+";"),a+=""!==n?n+"}":""})),t.innerHTML=a})(e.value.data);break;case"siteTitle":(e=>{const t=document.getElementById("ast-desktop-header"),a=t&&t.querySelectorAll(".ast-site-identity")[0],o=a&&a.querySelectorAll(".ast-site-title-wrap")[0];o&&(o.style.display=e?"block":"none")})(e.value.data);break;
1case"clearPreviewAssets":const m=document.getElementById("starter-templates-typography");m&&m.remove(),document.querySelector("body").classList.remove("starter-templates-preview-palette");const p=document.getElementsByClassName("starter-templates-preview-palette");p.length>0&&p[0].remove();break;case"completeOnboarding":localStorage.removeItem("starter-templates-iframe-preview-data")}};window.addEventListener("message",(function(e){if(o()&&(console.log("addEventListener message: ",e),"object"==typeof e.data&&"starterTemplatePreviewDispatch"===e.data.call)){const t=e.data;let a=JSON.parse(localStorage.getItem(r));null===a&&(a={},a.data={}),a.data[t.value.param]=t.value.data,delete a.data.clearPreviewAssets,t.url=window.location.origin,a.url=window.location.origin,"cleanStorage"===t.value.param?(delete a.data.cleanStorage,a.data.siteLogo=t.value.data,a.data.colorPalette={},a.data.siteTypography={},Object.keys(a.data).map((e=>i({value:{param:e,data:a.data[e]}})))):i(t),localStorage.setItem(r,JSON.stringify(a))}}),!1),a()((()=>{if(!o())return;const e=document.createElement("style");e.id="starter-templates-logo-css",document.getElementsByTagName("head")[0].appendChild(e),e.innerHTML=".site-logo-img img { transition: unset; } #wpadminbar { display: none; } html{ margin-top: 0 !important; }}";const t=(a=r,JSON.parse(localStorage.getItem(a)));var a;t&&Object.keys(t.data).map((e=>i({value:{param:e,data:t.data[e]}})))}))})()})(); 2!function(){"use strict";var t={145:function(t,r,e){function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}e.d(r,{A:function(){return n}})},369:function(t,r,e){function n(t){if(Array.isArray(t))return t}e.d(r,{A:function(){return n}})},848:function(t,r,e){function n(t,r,e,n,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void e(t)}a.done?r(u):Promise.resolve(u).then(n,o)}function o(t){return function(){var r=this,e=arguments;return new Promise(function(o,i){var c=t.apply(r,e);function a(t){n(c,o,i,a,u,"next",t)}function u(t){n(c,o,i,a,u,"throw",t)}a(void 0)})}}e.d(r,{A:function(){return o}})},986:function(t,r,e){function n(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i,c,a=[],u=!0,s=!1;try{if(i=(e=e.call(t)).next,0===r){if(Object(e)!==e)return;u=!1}else for(;!(u=(n=i.call(e)).done)&&(a.push(n.value),a.length!==r);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=e.return&&(c=e.return(),Object(c)!==c))return}finally{if(s)throw o}}return a}}e.d(r,{A:function(){return n}})},562:function(t,r,e){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.d(r,{A:function(){return n}})},453:function(t,r,e){e.d(r,{A:function(){return a}});var n=e(369),o=e(986),i=e(800),c=e(562);function a(t,r){return(0,n.A)(t)||(0,o.A)(t,r)||(0,i.A)(t,r)||(0,c.A)()}},800:function(t,r,e){e.d(r,{A:function(){return o}});var n=e(145);function o(t,r){if(t){if("string"==typeof t)return(0,n.A)(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?(0,n.A)(t,r):void 0}}}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.exports}e.d=function(t,r){if(Array.isArray(r))for(var n=0;n<r.length;){var o=r[n++],i=r[n++];e.o(t,o)?0===i&&n++:0===i?Object.defineProperty(t,o,{enumerable:!0,value:r[n++]}):Object.defineProperty(t,o,{enumerable:!0,get:i})}else for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)};var n=e(848),o=e(453);function i(){var t,r,e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",o=e.toStringTag||"@@toStringTag";function a(e,n,o,i){var a=n&&n.prototype instanceof s?n:s,l=Object.create(a.prototype);return c(l,"_invoke",function(e,n,o){var i,c,a,s=0,l=o||[],f=!1,y={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(r,e){return i=r,c=0,a=t,y.n=e,u}};function d(e,n){for(c=e,a=n,r=0;!f&&s&&!o&&r<l.length;r++){var o,i=l[r],d=y.p,p=i[2];e>3?(o=p===n)&&(a=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=e<2&&d<i[1])?(c=0,y.v=n,y.n=i[1]):d<p&&(o=e<3||i[0]>n||n>p)&&(i[4]=e,i[5]=n,y.n=p,c=0))}if(o||e>1)return u;throw f=!0,n}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,p),c=l,a=p;(r=c<2?t:a)||!f;){i||(c?c<3?(c>1&&(y.n=-1),d(c,a)):y.n=a:y.v=a);try{if(s=2,i){if(c||(o="next"),r=i[o]){if(!(r=r.call(i,a)))throw TypeError("iterator result is not an object");
2if(!r.done)return r;a=r.value,c<2&&(c=0)}else 1===c&&(r=i.return)&&r.call(i),c<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((r=(f=y.n<0)?a:e.call(n,y))!==u)break}catch(r){i=t,c=1,a=r}finally{s=1}}return{value:r,done:f}}}(e,o,i),!0),l}var u={};function s(){}function l(){}function f(){}r=Object.getPrototypeOf;var y=[][n]?r(r([][n]())):(c(r={},n,function(){return this}),r),d=f.prototype=s.prototype=Object.create(y);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return l.prototype=f,c(d,"constructor",f),c(f,"constructor",l),l.displayName="GeneratorFunction",c(f,o,"GeneratorFunction"),c(d),c(d,o,"Generator"),c(d,n,function(){return this}),c(d,"toString",function(){return"[object Generator]"}),(i=function(){return{w:a,m:p}})()}function c(t,r,e,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}c=function(t,r,e,n){function i(r,e){c(t,r,function(t){return this._invoke(r,e,t)})}r?o?o(t,r,{value:e,enumerable:!n,configurable:!n,writable:!n}):t[r]=e:(i("next",0),i("throw",1),i("return",2))},c(t,r,e,n)}document.addEventListener("DOMContentLoaded",function(){var t=hostinger_reach_subscription_block_data.translations;document.querySelectorAll(".hostinger-reach-block-subscription-form").forEach(function(r){var e=r.querySelector(".reach-subscription-message"),c=r.querySelector(".reach-subscription-message__icon-success"),a=r.querySelector(".reach-subscription-message__icon-error"),u=r.querySelector(".reach-subscription-message__text"),s=r.querySelector(".hostinger-reach-block-form-fields");r.addEventListener("submit",function(l){l.preventDefault();var f=r.querySelector('button[type="submit"]'),y=new FormData(r),d={};y.forEach(function(t,r){if(r.includes(".")){var e=r.split("."),n=(0,o.A)(e,2),i=n[0],c=n[1];d[i]||(d[i]={}),d[i][c]=t}else d[r]=t}),f.disabled=!0,fetch(hostinger_reach_subscription_block_data.endpoint,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":hostinger_reach_subscription_block_data.nonce},body:JSON.stringify(d)}).then(function(){var o=(0,n.A)(i().m(function n(o){var l;return i().w(function(n){for(;;)switch(n.n){case 0:if(e.style.display="flex",r.reset(),!o.ok){n.n=1;break}u.textContent=t.thanks,e.classList.add("is-success"),s.style.display="none",c.style.display="block",a.style.display="none",n.n=4;break;case 1:return n.n=2,o.json();case 2:if(!(l=n.v).errors){n.n=3;break}u.textContent=l.errors,e.style.display="block",e.classList.add("is-error"),f.disabled=!1,c.style.display="none",a.style.display="block",n.n=4;break;case 3:throw new Error;case 4:return n.a(2)}},n)}));return function(_x){return o.apply(this,arguments)}}()).catch(function(r){e.textContent=t.error,e.style.display="block",f.disabled=!1})})})})}();
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.