diff --git a/composer.lock b/composer.lock index c6c49b3c..3e5328c2 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f10dd3fce095d31626ae8b2b9a0c7fa6", + "content-hash": "a1c7ac17ddd9a6d94dbe3417399f5d40", "packages": [ { "name": "automattic/jetpack-a8c-mc-stats", @@ -12,7 +12,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "d3c389c3e1a16e8fd3ac146e53eaa22ca62bd76f" + "reference": "fb0f1dc3d91c6dfb6c8334a82c26ad5c9de92269" }, "require": { "php": ">=7.0" @@ -62,7 +62,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "4e890f321a19c151c49180aac71109916a6ce995" + "reference": "81ba7fc3a1a52baffc2723c984b36ed1989d182d" }, "require": { "php": ">=7.0" @@ -124,7 +124,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "7bb146b06afd83c0e69d8fb05ed7b46ce5d5d314" + "reference": "68ea3a3267f1338c3ea5be3148e7b21f12f118a7" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -190,11 +190,11 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blaze", - "reference": "dcfd40e0ece814d1636a210d00982f5414c390e7" + "reference": "dbb5063a3b616beb1e56be353af4ff598b58087c" }, "require": { "automattic/jetpack-assets": "^2.3.5", - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-constants": "^2.0.4", "automattic/jetpack-plans": "^0.4.8", "automattic/jetpack-redirect": "^2.0.3", @@ -268,7 +268,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blocks", - "reference": "32120fd55edb118c8732519293d79d45060bdef3" + "reference": "71c202cd2ae7ffb70864dbe6e431cd7f38225d23" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -327,7 +327,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-calypsoify", - "reference": "8ca9e8b5df83e37ce14c0fa3889508aaa591b8d7" + "reference": "833f327486d38228afbf4bd98e4411d7a4f2013c" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -389,7 +389,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-classic-theme-helper", - "reference": "dcdb468616fa23acb56aa43428ab7ecf4348aec0" + "reference": "1b75469abf9727d28db8dc422c22484c8f2b44b0" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -457,7 +457,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-compat", - "reference": "c7be513d7532e95bac55a473d0392877c09fea8d" + "reference": "74b419d6fbf854be1e76ab9b8d19efcdd0177d53" }, "require": { "php": ">=7.0" @@ -490,11 +490,11 @@ }, { "name": "automattic/jetpack-connection", - "version": "2.12.5", + "version": "2.13.0-alpha.1725337798", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "16b09d01110bb5ce56bb1a7302603844d770efa2" + "reference": "8b85366f3eb85394d08389455e8496ee4851177c" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -527,7 +527,7 @@ "link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "2.12.x-dev" + "dev-trunk": "2.13.x-dev" }, "dependencies": { "test-only": [ @@ -578,7 +578,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "88c7e072d79cc58a45b399103ab45a1242bd1b7e" + "reference": "d9310014fba0a6563a5f8ee707c0d1e4cdcbf318" }, "require": { "php": ">=7.0" @@ -629,7 +629,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "0377314e0ae939c28ea7c157d8d38fb27f2d245e" + "reference": "f8b48577e34efb9db55fece3b06fea3a0472dab9" }, "require": { "php": ">=7.0" @@ -679,7 +679,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-google-analytics", - "reference": "7c78ec284206920fd5c4cebf84b0390978b9a54c" + "reference": "2e04e21ac0f5f088b9938bd7351c98269d725eb4" }, "require": { "automattic/jetpack-status": "^3.3.4", @@ -747,7 +747,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "02e64bc6639f86c3d735a45a3ea1103b2f099705" + "reference": "58079b4ff70433ad86564a3b0b56292f99db4f3f" }, "require": { "php": ">=7.0" @@ -802,12 +802,12 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "e3a812ddbd7ee4074b7cae2c958592334c8d416b" + "reference": "bf969a1c0ed22267b2a62439c523083d0b488e99" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", "automattic/jetpack-assets": "^2.3.5", - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-device-detection": "^2.1.4", "automattic/jetpack-logo": "^2.0.4", "automattic/jetpack-redirect": "^2.0.3", @@ -874,7 +874,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "25ee103306ee1d0e6aa299650ee04d0df4f1df48" + "reference": "fb7b40bec7b1e72c38095fe4e95ebbb230476a4c" }, "require": { "php": ">=7.0" @@ -924,13 +924,13 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-masterbar", - "reference": "501464913b2f1586ae1cee1c145c7f1750f9b8f3" + "reference": "cd79714c288cd941ec48e640112053a6dabfdb69" }, "require": { "automattic/jetpack-assets": "^2.3.5", "automattic/jetpack-blaze": "^0.22.8", "automattic/jetpack-compat": "^3.0.2", - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-device-detection": "^2.1.4", "automattic/jetpack-jitm": "^3.1.19", "automattic/jetpack-logo": "^2.0.4", @@ -1003,7 +1003,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "1f0009deb0da66c3dac2fedc5ef77e6a380905dc" + "reference": "65d9aa2685f434a3016259f6db537c6152a074f6" }, "require": { "automattic/jetpack-assets": "^2.3.5", @@ -1011,7 +1011,7 @@ "automattic/jetpack-calypsoify": "^0.1.5", "automattic/jetpack-classic-theme-helper": "^0.5.4", "automattic/jetpack-compat": "^3.0.2", - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-google-analytics": "^0.2.3", "automattic/jetpack-masterbar": "^0.8.1", "automattic/jetpack-redirect": "^2.0.3", @@ -1083,7 +1083,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "3c6f7f396b74d663af639a9482aaee2c191bbc40" + "reference": "955795d08a4d72c28508cad4fb25c38751b62874" }, "require": { "php": ">=7.0" @@ -1141,10 +1141,10 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "0cae88c40b37825e010d468b4417318898264402" + "reference": "83ca07dac8e2adbcf730208bfbfe7dc7fea79753" }, "require": { - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "php": ">=7.0" }, "require-dev": { @@ -1206,7 +1206,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "535ff61a343cd14cf97746a485860a3cf5177bfd" + "reference": "5b05c3d5aba6a86510acb5e8fe20b3d736ef0674" }, "require": { "automattic/jetpack-status": "^3.3.4", @@ -1258,7 +1258,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "3562c0b99a71ee007e66505462e3b228550b403a" + "reference": "f61946d4442973013b4535251f70a843bf41d8be" }, "require": { "php": ">=7.0" @@ -1309,10 +1309,10 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "ad88512df558424f7c95ae8553f9d218646010c7" + "reference": "049c6d9c1c15b6956e7a9144e79888ac0e23cf53" }, "require": { - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-constants": "^2.0.4", "automattic/jetpack-status": "^3.3.4", "php": ">=7.0" @@ -1373,10 +1373,10 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats-admin", - "reference": "002892437756858b1ff3729805dcd41e97e0939b" + "reference": "9ee4fb05e2df8c46ad8d4ff1332aab2b1b41096a" }, "require": { - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-constants": "^2.0.4", "automattic/jetpack-jitm": "^3.1.19", "automattic/jetpack-plans": "^0.4.8", @@ -1443,7 +1443,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "299ef3f5d6e07306ea9ddac36eeaa81d359ca3fb" + "reference": "8ee80b1c59f08879810a92833aa7becd3300d1f1" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -1504,10 +1504,10 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "644a0ad8256f94248fcc905a06f4eb69d680fb12" + "reference": "a6655b9110e8d449d4d38cda17e824f0bd1ec21c" }, "require": { - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-constants": "^2.0.4", "automattic/jetpack-ip": "^0.2.3", "automattic/jetpack-password-checker": "^0.3.2", @@ -1579,10 +1579,10 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/scheduled-updates", - "reference": "993a41cdf87aa7361c7e8fd1cdc1b7969156d7e4" + "reference": "28b0c5f966661c795f8539a9eef01ddf535ab4c3" }, "require": { - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-constants": "^2.0.4", "automattic/jetpack-plans": "^0.4.8", "automattic/jetpack-status": "^3.3.4", @@ -1728,7 +1728,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-changelogger", - "reference": "578f0b9c55f50ab297ebb96ff83da106848d243d" + "reference": "b41f39cce4461a27540a77288c1933faf7a2a31a" }, "require": { "php": ">=7.0", diff --git a/vendor/automattic/jetpack-blaze/build/editor.asset.php b/vendor/automattic/jetpack-blaze/build/editor.asset.php index 8cd2ae39..2ff4d612 100644 --- a/vendor/automattic/jetpack-blaze/build/editor.asset.php +++ b/vendor/automattic/jetpack-blaze/build/editor.asset.php @@ -1 +1 @@ - array('jetpack-script-data', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '44386680b1ea0c6eb99d'); + array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '87b12b704edf22f91a29'); diff --git a/vendor/automattic/jetpack-blaze/build/editor.js b/vendor/automattic/jetpack-blaze/build/editor.js index 56127ea6..b7208f38 100644 --- a/vendor/automattic/jetpack-blaze/build/editor.js +++ b/vendor/automattic/jetpack-blaze/build/editor.js @@ -1 +1 @@ -(()=>{var e={1113:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(8468);const i=(0,s.forwardRef)((function({icon:e,size:t=24,...n},i){return(0,s.cloneElement)(e,{width:t,height:t,...n,ref:i})}))},3512:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(5573),i=n(790);const r=(0,i.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(s.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},6941:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let s=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(i=s))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(3212)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3212:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,r,o=null;function c(...e){if(!c.enabled)return;const s=c,i=Number(new Date),r=i-(n||i);s.diff=r,s.prev=n,s.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";o++;const r=t.formatters[i];if("function"==typeof r){const t=e[o];n=r.call(s,t),e.splice(o,1),o--}return n})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=s,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,r=t.enabled(e)),r),set:e=>{o=e}}),"function"==typeof t.init&&t.init(c),c}function s(e,n){const s=t(this.namespace+(void 0===n?":":n)+e);return s.log=this.log,s}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),i=s.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,s=60*n,i=24*s,r=7*i,o=365.25*i;function c(e,t,n,s){var i=t>=1.5*n;return Math.round(e/n)+" "+s+(i?"s":"")}e.exports=function(e,a){a=a||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*o;case"weeks":case"week":case"w":return a*r;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*s;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===u&&isFinite(e))return a.long?function(e){var r=Math.abs(e);if(r>=i)return c(e,r,i,"day");if(r>=s)return c(e,r,s,"hour");if(r>=n)return c(e,r,n,"minute");if(r>=t)return c(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=i)return Math.round(e/i)+"d";if(r>=s)return Math.round(e/s)+"h";if(r>=n)return Math.round(e/n)+"m";if(r>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var s=n(6941);const i=n.n(s)()("dops:analytics");let r,o;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){o={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,s,i,r,o){c.ga.recordPurchase(e,t,n,s,i,r,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(i("- Super Props: %o",r),t=Object.assign(t,r)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(o&&(e={userId:"u-"+o.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),i("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,s){c.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==s&&(r+=" [Option Value: "+s+"]"),i(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,s)},recordPurchase:function(e,t,n,s,i,r,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){o&&window._tkq.push(["identifyUser",o.ID,o.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},a=c},5932:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l});var s=n(6439),i=n(3832);function r(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const o=r("JsonParseError"),c=r("JsonParseAfterRedirectError"),a=r("Api404Error"),u=r("Api404AfterRedirectError"),d=r("FetchNetworkError");const l=new function(e,t){let n=e,r=e,o={"X-WP-Nonce":t},c={credentials:"same-origin",headers:o},a={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})},u=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",s=n.length?n.split("&"):[];return s.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+s.join("&")};const d={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){r=e},setApiNonce(e){o={"X-WP-Nonce":e},c={credentials:"same-origin",headers:o},a={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t,i)=>{const r={registration_nonce:e,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),i&&(r.from=i),h(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(r)}).then(p).then(g)},fetchAuthorizationUrl:e=>l((0,i.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(p).then(g),fetchSiteConnectionData:()=>l(`${n}jetpack/v4/connection/data`,c).then(g),fetchSiteConnectionStatus:()=>l(`${n}jetpack/v4/connection`,c).then(g),fetchSiteConnectionTest:()=>l(`${n}jetpack/v4/connection/test`,c).then(p).then(g),fetchUserConnectionData:()=>l(`${n}jetpack/v4/connection/data`,c).then(g),fetchUserTrackingSettings:()=>l(`${n}jetpack/v4/tracking/settings`,c).then(p).then(g),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(p).then(g),disconnectSite:()=>h(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(p).then(g),fetchConnectUrl:()=>l(`${n}jetpack/v4/connection/url`,c).then(p).then(g),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(p).then(g),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,a).then(p).then(g),fetchConnectedPlugins:()=>l(`${n}jetpack/v4/connection/plugins`,c).then(p).then(g),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(p).then(g),fetchModules:()=>l(`${n}jetpack/v4/module/all`,c).then(p).then(g),fetchModule:e=>l(`${n}jetpack/v4/module/${e}`,c).then(p).then(g),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(p).then(g),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,a,{body:JSON.stringify(t)}).then(p).then(g),updateSettings:e=>h(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(p).then(g),getProtectCount:()=>l(`${n}jetpack/v4/module/protect/data`,c).then(p).then(g),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(p).then(g),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(g),getVaultPressData:()=>l(`${n}jetpack/v4/module/vaultpress/data`,c).then(p).then(g),installPlugin:(e,t)=>{const s={slug:e,status:"active"};return t&&(s.source=t),h(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(s)}).then(p).then(g)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(g),getAkismetData:()=>l(`${n}jetpack/v4/module/akismet/data`,c).then(p).then(g),checkAkismetKey:()=>l(`${n}jetpack/v4/module/akismet/key/check`,c).then(p).then(g),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(p).then(g),fetchStatsData:e=>l(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(p).then(g).then(m),getPluginUpdates:()=>l(`${n}jetpack/v4/updates/plugins`,c).then(p).then(g),getPlans:()=>l(`${n}jetpack/v4/plans`,c).then(p).then(g),fetchSettings:()=>l(`${n}jetpack/v4/settings`,c).then(p).then(g),updateSetting:e=>h(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(p).then(g),fetchSiteData:()=>l(`${n}jetpack/v4/site`,c).then(p).then(g).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>l(`${n}jetpack/v4/site/features`,c).then(p).then(g).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>l(`${n}jetpack/v4/site/products`,c).then(p).then(g),fetchSitePurchases:()=>l(`${n}jetpack/v4/site/purchases`,c).then(p).then(g).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>l(`${n}jetpack/v4/site/benefits`,c).then(p).then(g).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>l(`${n}jetpack/v4/site/discount`,c).then(p).then(g).then((e=>e.data)),fetchSetupQuestionnaire:()=>l(`${n}jetpack/v4/setup/questionnaire`,c).then(p).then(g),fetchRecommendationsData:()=>l(`${n}jetpack/v4/recommendations/data`,c).then(p).then(g),fetchRecommendationsProductSuggestions:()=>l(`${n}jetpack/v4/recommendations/product-suggestions`,c).then(p).then(g),fetchRecommendationsUpsell:()=>l(`${n}jetpack/v4/recommendations/upsell`,c).then(p).then(g),fetchRecommendationsConditional:()=>l(`${n}jetpack/v4/recommendations/conditional`,c).then(p).then(g),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>l(`${n}jetpack/v4/products`,c).then(p).then(g),fetchRewindStatus:()=>l(`${n}jetpack/v4/rewind`,c).then(p).then(g).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>l(`${n}jetpack/v4/scan`,c).then(p).then(g).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(p).then(g),fetchPluginsData:()=>l(`${n}jetpack/v4/plugins`,c).then(p).then(g),fetchIntroOffers:()=>l(`${n}jetpack/v4/intro-offers`,c).then(p).then(g),fetchVerifySiteGoogleStatus:e=>l(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,c).then(p).then(g),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(p).then(g),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(p).then(g),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(p).then(g),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(p).then(g),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(p).then(g),getUserLicensesCounts:()=>l(`${n}jetpack/v4/licensing/user/counts`,c).then(p).then(g),getUserLicenses:()=>l(`${n}jetpack/v4/licensing/user/licenses`,c).then(p).then(g),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(p).then(g),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(p),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(p).then(g),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,a).then(p),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(p).then(g),fetchSearchPlanInfo:()=>l(`${r}jetpack/v4/search/plan`,c).then(p).then(g),fetchSearchSettings:()=>l(`${r}jetpack/v4/search/settings`,c).then(p).then(g),updateSearchSettings:e=>h(`${r}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(p).then(g),fetchSearchStats:()=>l(`${r}jetpack/v4/search/stats`,c).then(p).then(g),fetchWafSettings:()=>l(`${n}jetpack/v4/waf`,c).then(p).then(g),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,a,{body:JSON.stringify(e)}).then(p).then(g),fetchWordAdsSettings:()=>l(`${n}jetpack/v4/wordads/settings`,c).then(p).then(g),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(e)}),fetchSearchPricing:()=>l(`${r}jetpack/v4/search/pricing`,c).then(p).then(g),fetchMigrationStatus:()=>l(`${n}jetpack/v4/migration/status`,c).then(p).then(g),fetchBackupUndoEvent:()=>l(`${n}jetpack/v4/site/backup/undo-event`,c).then(p).then(g),fetchBackupPreflightStatus:()=>l(`${n}jetpack/v4/site/backup/preflight`,c).then(p).then(g)};function l(e,t){return fetch(u(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(f)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new a})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function g(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new c(n):new o}function f(){throw new d}},6439:(e,t,n)=>{let s={};try{s=n(226)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),s={missingConfig:!0}}const i=e=>Object.hasOwn(s,e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return s[e]}}},9660:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var s=n(5932),i=n(7999),r=n(7143),o=n(1609),c=n(4293);const a=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{},u=({registrationNonce:e=a.registrationNonce,apiRoot:t=a.apiRoot,apiNonce:n=a.apiNonce,redirectUri:i,autoTrigger:u,from:d,skipUserConnection:l}={})=>{const{registerSite:p,connectUser:g,refreshConnectedPlugins:h}=(0,r.useDispatch)(c.a),f=(0,r.useSelect)((e=>e(c.a).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:C,userConnectionData:y,connectedPlugins:w,connectionErrors:v,isRegistered:k,isUserConnected:S,hasConnectedOwner:E,isOfflineMode:b}=(0,r.useSelect)((e=>({siteIsRegistering:e(c.a).getSiteIsRegistering(),userIsConnecting:e(c.a).getUserIsConnecting(),userConnectionData:e(c.a).getUserConnectionData(),connectedPlugins:e(c.a).getConnectedPlugins(),connectionErrors:e(c.a).getConnectionErrors(),isOfflineMode:e(c.a).getIsOfflineMode(),...e(c.a).getConnectionStatus()}))),_=()=>l?i?(window.location=i,Promise.resolve(i)):Promise.resolve():g({from:d,redirectUri:i}),j=t=>(t&&t.preventDefault(),k?_():p({registrationNonce:e,redirectUri:i,from:d}).then((()=>_())));return(0,o.useEffect)((()=>{s.Ay.setApiRoot(t),s.Ay.setApiNonce(n)}),[t,n]),(0,o.useEffect)((()=>{!u||m||C||j()}),[]),{handleRegisterSite:j,handleConnectUser:_,refreshConnectedPlugins:h,isRegistered:k,isUserConnected:S,siteIsRegistering:m,userIsConnecting:C,registrationError:f,userConnectionData:y,hasConnectedOwner:E,connectedPlugins:w,connectionErrors:v,isOfflineMode:b}}},3935:(e,t,n)=>{"use strict";n.d(t,{A1:()=>a,Ay:()=>S,DO:()=>c,Ij:()=>o,Kl:()=>g,LW:()=>u,MU:()=>h,XY:()=>d,ZO:()=>r,dz:()=>l,gH:()=>p,v_:()=>i});var s=n(5932);const i="SET_CONNECTION_STATUS",r="SET_CONNECTION_STATUS_IS_FETCHING",o="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",u="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",l="DISCONNECT_USER_SUCCESS",p="SET_CONNECTED_PLUGINS",g="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",f=e=>({type:i,connectionStatus:e}),m=e=>({type:o,isRegistering:e}),C=e=>({type:c,isConnecting:e}),y=e=>({type:a,registrationError:e}),w=()=>({type:u}),v=e=>({type:d,authorizationUrl:e}),k=e=>({type:p,connectedPlugins:e});const S={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:r,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:C,setRegistrationError:y,clearRegistrationError:w,setAuthorizationUrl:v,registerSite:function*({registrationNonce:e,redirectUri:t,from:n=""}){yield w(),yield m(!0);try{const s=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:n};return yield f({isRegistered:!0}),yield v(s.authorizeUrl),yield m(!1),Promise.resolve(s)}catch(e){return yield y(e),yield m(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:n}={}){yield C(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}},disconnectUserSuccess:()=>({type:l}),setConnectedPlugins:k,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>s.Ay.fetchConnectedPlugins().then((n=>{e(k(n)),t(n)})))),setConnectionErrors:e=>({type:g,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},2494:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(5932),i=n(7143),r=n(4660);const o={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>s.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:n})=>s.Ay.registerSite(e,t,n),CONNECT_USER:(0,i.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:n,redirectUri:s}={})=>new Promise(((i,o)=>{e(r.A).getAuthorizationUrl(s).then((e=>{const s=n||(e=>window.location.assign(e)),r=new URL(e);t&&r.searchParams.set("from",encodeURIComponent(t));const o=r.toString();s(o),i(o)})).catch((e=>{o(e)}))}))))}},5051:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(7143),i=n(3935);const r=(0,s.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case i.v_:return{...e,...t.connectionStatus};case i.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===i.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===i.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===i.DO?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case i.LW:return!1;case i.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===i.XY?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===i.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===i.Kl?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===i.MU?t.isConnecting:e})},8019:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(7143),i=n(3935),r=n(4660);const o={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const n=Boolean(e.authorizationUrl),i=(0,s.select)(r.A).hasFinishedResolution("getAuthorizationUrl",t);return n&&!i&&(0,s.dispatch)(r.A).finishResolution("getAuthorizationUrl",t),n},*fulfill(e){const t=yield i.Ay.fetchAuthorizationUrl(e);yield i.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},2676:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},8734:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(7143);class i{static store=null;static mayBeInit(e,t){null===i.store&&(i.store=(0,s.createReduxStore)(e,t),(0,s.register)(i.store))}}const r=i},4660:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s="jetpack-connection"},4293:(e,t,n)=>{"use strict";n.d(t,{a:()=>d.A});var s=n(7999),i=n(3935),r=n(2494),o=n(5051),c=n(8019),a=n(2676),u=n(8734),d=n(4660);const l=window.JP_CONNECTION_INITIAL_STATE||(0,s.getScriptData)()?.connection;l||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),u.A.mayBeInit(d.A,{__experimentalUseThunks:!0,reducer:o.A,actions:i.Ay,selectors:a.A,resolvers:c.A,controls:r.A,initialState:l||{}})},5985:(e,t,n)=>{"use strict";n.d(t,{st:()=>s.A});n(2034),n(5595),n(3265);var s=n(3489);n(6923),n(5877),n(335),n(8290)},5877:(e,t,n)=>{"use strict";n(1609)},335:(e,t,n)=>{"use strict";n(8468)},3489:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var s=n(372),i=n(9660),r=n(8468);const{tracks:o}=s.A,{recordEvent:c}=o,a=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:a={}}={})=>{const[u,d]=(0,r.useState)(!1),{isUserConnected:l,isRegistered:p,userConnectionData:g={}}=(0,i.A)(),{wpcomUser:{login:h,ID:f}={},blogId:m}=g.currentUser||{},C=(0,r.useCallback)((async(e,t={})=>{l&&f&&h&&c(e,t)}),[l,f,h]);return(0,r.useEffect)((()=>{l&&f&&h&&m&&s.A.initialize(f,h,{blog_id:m})}),[m,f,h,l]),(0,r.useEffect)((()=>{const s=e?`${t}_${e}_${n}`:null;p&&s&&(u||(C(s,a),d(!0)))}),[u,t,e,n,p,a,C]),{recordEvent:C,tracks:o}}},6923:(e,t,n)=>{"use strict";n(7143),n(8468),n(8290)},7105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p,E9:()=>l});var s=n(7143),i=n(2634),r=n(4478),o=n(8290);const c="SET_JETPACK_MODULES",a="SET_MODULE_UPDATING";function u(e){return l({isLoading:e})}function d(e,t){return{type:a,name:e,isUpdating:t}}function l(e){return{type:c,options:e}}const p={updateJetpackModuleStatus:function*(e){try{yield d(e.name,!0),yield(0,r.sB)(e);const t=yield(0,r.wz)();return yield l({data:t}),!0}catch(e){const t=(0,s.select)(o.F).getJetpackModules();return yield l(t),!1}finally{yield d(e.name,!1)}},setJetpackModules:l,fetchModules:function*(){if((0,i.Sy)())return!0;try{yield u(!0);const e=yield(0,r.wz)();return yield l({data:e}),!0}catch(e){const t=(0,s.select)(o.F).getJetpackModules();return yield l(t),!1}finally{yield u(!1)}}}},4478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,sB:()=>a,wz:()=>c});var s=n(1455),i=n.n(s);const r="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",c=()=>({type:r}),a=e=>({type:o,settings:e}),u={[r]:function(){return i()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return i()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});var s=n(7143),i=n(7105),r=n(4478),o=n(8862),c=n(2701),a=n(1640);const u="jetpack-modules",d=(0,s.createReduxStore)(u,{reducer:o.A,actions:i.Ay,controls:r.Ay,resolvers:c.A,selectors:a.A});(0,s.register)(d);const l=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==l&&(0,s.dispatch)(u).setJetpackModules({data:{...l}})},8862:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const s={isLoading:!1,isUpdating:{},data:{}},i=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(7105),i=n(4478);const r={getJetpackModules:function*(){try{const e=yield(0,i.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(2634);const i={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,n)=>{"use strict";var s=n(7723);n(3832),n(6087);const __=s.__;__("Upgrade your plan to use video covers","jetpack-blaze"),__("Upgrade your plan to upload audio","jetpack-blaze")},2034:(e,t,n)=>{"use strict";n(2279)},2634:(e,t,n)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===s()}n.d(t,{Sy:()=>i})},5595:(e,t,n)=>{"use strict";n(6072),n(9491)},6368:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(6427);function i(){return React.createElement(s.SVG,{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(s.G,{clipPath:"url(#clip0_4728_49296)"},React.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#D9D9D9"}),React.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"black"}),React.createElement(s.Path,{d:"M14.8665 6.68544C14.7139 6.50468 14.4652 6.43826 14.2436 6.52015C14.0224 6.60204 13.875 6.81412 13.875 7.05149V8.71684C13.875 9.02893 13.6226 9.2829 13.3125 9.2829C13.0024 9.2829 12.75 9.02893 12.75 8.71684V4.72989C12.75 4.56762 12.681 4.41365 12.5602 4.3061C12.4354 4.19515 12.3622 4.13288 12.3622 4.13288C12.1537 3.95627 11.8485 3.95552 11.6389 4.13175C11.4086 4.32572 6 8.9327 6 13.434C6 16.7632 8.69175 19.472 12 19.472C15.3082 19.472 18 16.7632 18 13.434C18 10.9267 16.296 8.38022 14.8665 6.68544ZM12.0728 18.5274C11.508 18.544 10.9699 18.3259 10.5259 17.9742C8.3535 16.2537 10.3856 13.4982 11.4469 12.3106C11.7435 11.9789 12.2584 11.9807 12.555 12.3125C13.2742 13.1178 14.4375 14.6416 14.4375 16.0756C14.4375 17.4059 13.3853 18.4885 12.0728 18.5274Z",fill:"white"})))}},226:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-blaze"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-blaze"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-blaze"}},7999:e=>{"use strict";e.exports=window.JetpackScriptDataModule},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6087:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},4309:e=>{"use strict";e.exports=window.wp.editPost},3656:e=>{"use strict";e.exports=window.wp.editor},8468:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},2279:e=>{"use strict";e.exports=window.wp.plugins},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},6072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(5985),t=n(6427),s=n(9491),i=n(7143),r=n(4309),o=n(3656),c=n(8468),a=n(7723),u=n(1113),d=n(3512),l=n(2279),p=n(6368);const __=a.__,g=()=>{const{blazeUrlTemplate:n}=window?.blazeInitialState||{},{tracks:a}=(0,e.st)(),l=(0,c.useCallback)((()=>a.recordEvent("jetpack_editor_blaze_publish_click")),[a]),{isPostPublished:g,isPublishingPost:h,postId:f,postType:m,postVisibility:C}=(0,i.useSelect)((e=>({isPostPublished:e(o.store).isCurrentPostPublished(),isPublishingPost:e(o.store).isPublishingPost(),postId:e(o.store).getCurrentPostId(),postType:e(o.store).getCurrentPostType(),postVisibility:e(o.store).getEditedPostVisibility()}))),y=(0,s.usePrevious)(h),w={name:"blaze-panel",title:__("Promote with Blaze","jetpack-blaze"),className:"blaze-panel",icon:React.createElement(p.A,null),initialOpen:!0},v=n.link.replace("__POST_ID__",f),k=()=>!!["page","post","product"].includes(m)&&!(!g||"password"===C||"private"===C);if((0,c.useEffect)((()=>{y&&!h&&k()&&g&&a.recordEvent("jetpack_editor_blaze_post_publish_panel_view")}),[a,h,g,y]),!k())return null;const S={page:__("Blaze this page","jetpack-blaze"),post:__("Blaze this post","jetpack-blaze"),product:__("Blaze this product","jetpack-blaze")}[m]??__("Blaze this post","jetpack-blaze");return React.createElement(r.PluginPostPublishPanel,w,React.createElement(t.PanelRow,null,React.createElement("p",null,__("Reach a larger audience boosting the content to the WordPress.com community of blogs and sites.","jetpack-blaze"))),React.createElement("div",{role:"link",className:"post-publish-panel__postpublish-buttons",tabIndex:0,onClick:l,onKeyDown:l},React.createElement(t.Button,{variant:"secondary",href:v,target:"_top"},S,n.external&&React.createElement(u.A,{icon:d.A,className:"blaze-panel-outbound-link__external_icon"}))))};(0,l.getPlugin)("jetpack-blaze")||(0,l.registerPlugin)("jetpack-blaze",{render:g})})()})(); \ No newline at end of file +(()=>{var e={113:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(468);const o=(0,s.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,s.cloneElement)(e,{width:t,height:t,...n,ref:o})}))},512:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(573),o=n(790);const r=(0,o.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(s.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},941:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let s=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(o=s))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(212)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},212:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,r,i=null;function a(...e){if(!a.enabled)return;const s=a,o=Number(new Date),r=o-(n||o);s.diff=r,s.prev=n,s.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";i++;const r=t.formatters[o];if("function"==typeof r){const t=e[i];n=r.call(s,t),e.splice(i,1),i--}return n})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=s,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,r=t.enabled(e)),r),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function s(e,n){const s=t(this.namespace+(void 0===n?":":n)+e);return s.log=this.log,s}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),o=s.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,s=60*n,o=24*s,r=7*o,i=365.25*o;function a(e,t,n,s){var o=t>=1.5*n;return Math.round(e/n)+" "+s+(o?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*r;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*s;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return c.long?function(e){var r=Math.abs(e);if(r>=o)return a(e,r,o,"day");if(r>=s)return a(e,r,s,"hour");if(r>=n)return a(e,r,n,"minute");if(r>=t)return a(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=o)return Math.round(e/o)+"d";if(r>=s)return Math.round(e/s)+"h";if(r>=n)return Math.round(e/n)+"m";if(r>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(941);const o=n.n(s)()("dops:analytics");let r,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const a={initialize:function(e,t,n){a.setUser(e,t),a.setSuperProps(n),a.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){a.tracks.recordPageView(e),a.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,s,o,r,i){a.ga.recordPurchase(e,t,n,s,o,r,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(o("- Super Props: %o",r),t=Object.assign(t,r)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};a.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){a.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};a.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),a.ga.initialized=!0)},recordPageView:function(e,t){a.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,s){a.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==s&&(r+=" [Option Value: "+s+"]"),o(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,s)},recordPurchase:function(e,t,n,s,o,r,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=a},985:(e,t,n)=>{"use strict";n.d(t,{st:()=>s.A});n(34),n(595),n(265);var s=n(489);n(923),n(877),n(335),n(290)},877:(e,t,n)=>{"use strict";n(609)},335:(e,t,n)=>{"use strict";n(468)},489:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(372),o=n(384),r=n(468);const{tracks:i}=s.A,{recordEvent:a}=i,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[u,l]=(0,r.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:g={}}=(0,o.useConnection)(),{wpcomUser:{login:w,ID:f}={},blogId:C}=g.currentUser||{},m=(0,r.useCallback)((async(e,t={})=>{d&&f&&w&&a(e,t)}),[d,f,w]);return(0,r.useEffect)((()=>{d&&f&&w&&C&&s.A.initialize(f,w,{blog_id:C})}),[C,f,w,d]),(0,r.useEffect)((()=>{const s=e?`${t}_${e}_${n}`:null;p&&s&&(u||(m(s,c),l(!0)))}),[u,t,e,n,p,c,m]),{recordEvent:m,tracks:i}}},923:(e,t,n)=>{"use strict";n(143),n(468),n(290)},105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p,E9:()=>d});var s=n(143),o=n(634),r=n(478),i=n(290);const a="SET_JETPACK_MODULES",c="SET_MODULE_UPDATING";function u(e){return d({isLoading:e})}function l(e,t){return{type:c,name:e,isUpdating:t}}function d(e){return{type:a,options:e}}const p={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,r.sB)(e);const t=yield(0,r.wz)();return yield d({data:t}),!0}catch(e){const t=(0,s.select)(i.F).getJetpackModules();return yield d(t),!1}finally{yield l(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,o.Sy)())return!0;try{yield u(!0);const e=yield(0,r.wz)();return yield d({data:e}),!0}catch(e){const t=(0,s.select)(i.F).getJetpackModules();return yield d(t),!1}finally{yield u(!1)}}}},478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,sB:()=>c,wz:()=>a});var s=n(455),o=n.n(s);const r="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",a=()=>({type:r}),c=e=>({type:i,settings:e}),u={[r]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},290:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});var s=n(143),o=n(105),r=n(478),i=n(862),a=n(701),c=n(640);const u="jetpack-modules",l=(0,s.createReduxStore)(u,{reducer:i.A,actions:o.Ay,controls:r.Ay,resolvers:a.A,selectors:c.A});(0,s.register)(l);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,s.dispatch)(u).setJetpackModules({data:{...d}})},862:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const s={isLoading:!1,isUpdating:{},data:{}},o=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},701:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(105),o=n(478);const r={getJetpackModules:function*(){try{const e=yield(0,o.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},640:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(634);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},265:(e,t,n)=>{"use strict";var s=n(723);n(832),n(87);const __=s.__;__("Upgrade your plan to use video covers","jetpack-blaze"),__("Upgrade your plan to upload audio","jetpack-blaze")},34:(e,t,n)=>{"use strict";n(279)},634:(e,t,n)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===s()}n.d(t,{Sy:()=>o})},595:(e,t,n)=>{"use strict";n(72),n(491)},368:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(427);function o(){return React.createElement(s.SVG,{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(s.G,{clipPath:"url(#clip0_4728_49296)"},React.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#D9D9D9"}),React.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"black"}),React.createElement(s.Path,{d:"M14.8665 6.68544C14.7139 6.50468 14.4652 6.43826 14.2436 6.52015C14.0224 6.60204 13.875 6.81412 13.875 7.05149V8.71684C13.875 9.02893 13.6226 9.2829 13.3125 9.2829C13.0024 9.2829 12.75 9.02893 12.75 8.71684V4.72989C12.75 4.56762 12.681 4.41365 12.5602 4.3061C12.4354 4.19515 12.3622 4.13288 12.3622 4.13288C12.1537 3.95627 11.8485 3.95552 11.6389 4.13175C11.4086 4.32572 6 8.9327 6 13.434C6 16.7632 8.69175 19.472 12 19.472C15.3082 19.472 18 16.7632 18 13.434C18 10.9267 16.296 8.38022 14.8665 6.68544ZM12.0728 18.5274C11.508 18.544 10.9699 18.3259 10.5259 17.9742C8.3535 16.2537 10.3856 13.4982 11.4469 12.3106C11.7435 11.9789 12.2584 11.9807 12.555 12.3125C13.2742 13.1178 14.4375 14.6416 14.4375 16.0756C14.4375 17.4059 13.3853 18.4885 12.0728 18.5274Z",fill:"white"})))}},384:e=>{"use strict";e.exports=window.JetpackConnection},609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},87:e=>{"use strict";e.exports=window.lodash},455:e=>{"use strict";e.exports=window.wp.apiFetch},427:e=>{"use strict";e.exports=window.wp.components},491:e=>{"use strict";e.exports=window.wp.compose},143:e=>{"use strict";e.exports=window.wp.data},309:e=>{"use strict";e.exports=window.wp.editPost},656:e=>{"use strict";e.exports=window.wp.editor},468:e=>{"use strict";e.exports=window.wp.element},723:e=>{"use strict";e.exports=window.wp.i18n},279:e=>{"use strict";e.exports=window.wp.plugins},573:e=>{"use strict";e.exports=window.wp.primitives},832:e=>{"use strict";e.exports=window.wp.url},72:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(985),t=n(427),s=n(491),o=n(143),r=n(309),i=n(656),a=n(468),c=n(723),u=n(113),l=n(512),d=n(279),p=n(368);const __=c.__,g=()=>{const{blazeUrlTemplate:n}=window?.blazeInitialState||{},{tracks:c}=(0,e.st)(),d=(0,a.useCallback)((()=>c.recordEvent("jetpack_editor_blaze_publish_click")),[c]),{isPostPublished:g,isPublishingPost:w,postId:f,postType:C,postVisibility:m}=(0,o.useSelect)((e=>({isPostPublished:e(i.store).isCurrentPostPublished(),isPublishingPost:e(i.store).isPublishingPost(),postId:e(i.store).getCurrentPostId(),postType:e(i.store).getCurrentPostType(),postVisibility:e(i.store).getEditedPostVisibility()}))),h=(0,s.usePrevious)(w),y={name:"blaze-panel",title:__("Promote with Blaze","jetpack-blaze"),className:"blaze-panel",icon:React.createElement(p.A,null),initialOpen:!0},v=n.link.replace("__POST_ID__",f),b=()=>!!["page","post","product"].includes(C)&&!(!g||"password"===m||"private"===m);if((0,a.useEffect)((()=>{h&&!w&&b()&&g&&c.recordEvent("jetpack_editor_blaze_post_publish_panel_view")}),[c,w,g,h]),!b())return null;const F={page:__("Blaze this page","jetpack-blaze"),post:__("Blaze this post","jetpack-blaze"),product:__("Blaze this product","jetpack-blaze")}[C]??__("Blaze this post","jetpack-blaze");return React.createElement(r.PluginPostPublishPanel,y,React.createElement(t.PanelRow,null,React.createElement("p",null,__("Reach a larger audience boosting the content to the WordPress.com community of blogs and sites.","jetpack-blaze"))),React.createElement("div",{role:"link",className:"post-publish-panel__postpublish-buttons",tabIndex:0,onClick:d,onKeyDown:d},React.createElement(t.Button,{variant:"secondary",href:v,target:"_top"},F,n.external&&React.createElement(u.A,{icon:l.A,className:"blaze-panel-outbound-link__external_icon"}))))};(0,d.getPlugin)("jetpack-blaze")||(0,d.registerPlugin)("jetpack-blaze",{render:g})})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-blaze/composer.json b/vendor/automattic/jetpack-blaze/composer.json index 3c080179..26355920 100644 --- a/vendor/automattic/jetpack-blaze/composer.json +++ b/vendor/automattic/jetpack-blaze/composer.json @@ -6,7 +6,7 @@ "require": { "php": ">=7.0", "automattic/jetpack-assets": "^2.3.5", - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-constants": "^2.0.4", "automattic/jetpack-plans": "^0.4.8", "automattic/jetpack-redirect": "^2.0.3", diff --git a/vendor/automattic/jetpack-connection/CHANGELOG.md b/vendor/automattic/jetpack-connection/CHANGELOG.md index ada08c23..75742f7e 100644 --- a/vendor/automattic/jetpack-connection/CHANGELOG.md +++ b/vendor/automattic/jetpack-connection/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.13.0-alpha] - unreleased + +This is an alpha version! The changes listed here are not final. + +### Changed +- Updated connection js to load its bundle via connection package + ## [2.12.5] - 2024-08-29 ### Changed - Sync: Remove the checksum for active plugins if present when sync is not active, so it gets recalculated when sync gets activated [#39098] @@ -1167,6 +1174,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Separate the connection library into its own package. +[2.13.0-alpha]: https://github.com/Automattic/jetpack-connection/compare/v2.12.5...v2.13.0-alpha [2.12.5]: https://github.com/Automattic/jetpack-connection/compare/v2.12.4...v2.12.5 [2.12.4]: https://github.com/Automattic/jetpack-connection/compare/v2.12.3...v2.12.4 [2.12.3]: https://github.com/Automattic/jetpack-connection/compare/v2.12.2...v2.12.3 diff --git a/vendor/automattic/jetpack-connection/composer.json b/vendor/automattic/jetpack-connection/composer.json index 39a92a6d..4f192e7e 100644 --- a/vendor/automattic/jetpack-connection/composer.json +++ b/vendor/automattic/jetpack-connection/composer.json @@ -59,7 +59,7 @@ "link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "2.12.x-dev" + "dev-trunk": "2.13.x-dev" }, "dependencies": { "test-only": [ diff --git a/vendor/automattic/jetpack-connection/dist/identity-crisis.asset.php b/vendor/automattic/jetpack-connection/dist/identity-crisis.asset.php index 39aa2b50..3488f9a3 100644 --- a/vendor/automattic/jetpack-connection/dist/identity-crisis.asset.php +++ b/vendor/automattic/jetpack-connection/dist/identity-crisis.asset.php @@ -1 +1 @@ - array('react', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => 'a57e6a841c06301bc4cd'); + array('react', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => 'f6bce0e6b8e0527839ee'); diff --git a/vendor/automattic/jetpack-connection/dist/identity-crisis.js b/vendor/automattic/jetpack-connection/dist/identity-crisis.js index 451a9b9b..8e19a70d 100644 --- a/vendor/automattic/jetpack-connection/dist/identity-crisis.js +++ b/vendor/automattic/jetpack-connection/dist/identity-crisis.js @@ -1,7 +1,7 @@ -(()=>{var e={8325:()=>{},3810:()=>{},3055:()=>{},9521:()=>{},4804:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(5067)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5067:(e,t,n)=>{e.exports=function(e){function t(e){let n,s,a,o=null;function c(...e){if(!c.enabled)return;const r=c,s=Number(new Date),a=s-(n||s);r.diff=a,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";o++;const a=t.formatters[s];if("function"==typeof a){const t=e[o];n=a.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=r,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(s!==t.namespaces&&(s=t.namespaces,a=t.enabled(e)),a),set:e=>{o=e}}),"function"==typeof t.init&&t.init(c),c}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,r=60*n,s=24*r,a=7*s,o=365.25*s;function c(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,i){i=i||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var i=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*o;case"weeks":case"week":case"w":return i*a;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*r;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===l&&isFinite(e))return i.long?function(e){var a=Math.abs(e);if(a>=s)return c(e,a,s,"day");if(a>=r)return c(e,a,r,"hour");if(a>=n)return c(e,a,n,"minute");if(a>=t)return c(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=s)return Math.round(e/s)+"d";if(a>=r)return Math.round(e/r)+"h";if(a>=n)return Math.round(e/n)+"m";if(a>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},1583:(e,t,n)=>{"use strict";var r=n(1752);function s(){}function a(){}a.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,a,o){if(o!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:s};return n.PropTypes=n,n}},3619:(e,t,n)=>{e.exports=n(1583)()},1752:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4804);const s=n.n(r)()("dops:analytics");let a,o;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){o={ID:e,username:t}},setSuperProps:function(e){a=e},assignSuperProps:function(e){a=Object.assign(a||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,a,o){c.ga.recordPurchase(e,t,n,r,s,a,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(s("- Super Props: %o",a),t=Object.assign(t,a)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){s("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(o&&(e={userId:"u-"+o.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),s("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),s(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,a,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:a}),window.ga("ecommerce:send")}},identifyUser:function(){o&&window._tkq.push(["identifyUser",o.ID,o.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},i=c},5932:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var r=n(6439),s=n(3832);function a(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const o=a("JsonParseError"),c=a("JsonParseAfterRedirectError"),i=a("Api404Error"),l=a("Api404AfterRedirectError"),d=a("FetchNetworkError");const p=new function(e,t){let n=e,a=e,o={"X-WP-Nonce":t},c={credentials:"same-origin",headers:o},i={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const d={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){a=e},setApiNonce(e){o={"X-WP-Nonce":e},c={credentials:"same-origin",headers:o},i={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t,s)=>{const a={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(a.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(a.redirect_uri=t),s&&(a.from=s),h(`${n}jetpack/v4/connection/register`,i,{body:JSON.stringify(a)}).then(m).then(u)},fetchAuthorizationUrl:e=>p((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(m).then(u),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(u),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,c).then(u),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,c).then(m).then(u),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(u),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,c).then(m).then(u),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,i,{body:JSON.stringify(e)}).then(m).then(u),disconnectSite:()=>h(`${n}jetpack/v4/connection`,i,{body:JSON.stringify({isActive:!1})}).then(m).then(u),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,c).then(m).then(u),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,i,{body:JSON.stringify({linked:!1})}).then(m).then(u),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,i).then(m).then(u),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,c).then(m).then(u),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,i).then(m).then(u),fetchModules:()=>p(`${n}jetpack/v4/module/all`,c).then(m).then(u),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,c).then(m).then(u),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!0})}).then(m).then(u),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,i,{body:JSON.stringify(t)}).then(m).then(u),updateSettings:e=>h(`${n}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(m).then(u),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,c).then(m).then(u),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,i,{body:JSON.stringify({reset:!0})}).then(m).then(u),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(u),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,c).then(m).then(u),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify(r)}).then(m).then(u)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(u),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,c).then(m).then(u),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,c).then(m).then(u),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,i,{body:JSON.stringify({api_key:e})}).then(m).then(u),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(m).then(u).then(f),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,c).then(m).then(u),getPlans:()=>p(`${n}jetpack/v4/plans`,c).then(m).then(u),fetchSettings:()=>p(`${n}jetpack/v4/settings`,c).then(m).then(u),updateSetting:e=>h(`${n}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(m).then(u),fetchSiteData:()=>p(`${n}jetpack/v4/site`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,c).then(m).then(u),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,c).then(m).then(u).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,c).then(m).then(u),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,c).then(m).then(u),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,c).then(m).then(u),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,c).then(m).then(u),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,c).then(m).then(u),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,i,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>p(`${n}jetpack/v4/products`,c).then(m).then(u),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,c).then(m).then(u).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,i,{body:JSON.stringify({dismissed:!0})}).then(m).then(u),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,c).then(m).then(u),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,c).then(m).then(u),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,c).then(m).then(u),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,i,{body:JSON.stringify({keyring_id:e})}).then(m).then(u),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,i,{body:JSON.stringify(e)}).then(m).then(u),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,i,{body:JSON.stringify(e)}).then(m).then(u),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,i,{body:JSON.stringify(e)}).then(m).then(u),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,i,{body:JSON.stringify({license:e})}).then(m).then(u),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,c).then(m).then(u),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,c).then(m).then(u),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,i,{body:JSON.stringify({last_detached_count:e})}).then(m).then(u),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,i,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,i).then(m),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,i,{body:JSON.stringify({redirect_uri:e})}).then(m).then(u),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,i).then(m),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,i,{body:JSON.stringify({licenses:e})}).then(m).then(u),fetchSearchPlanInfo:()=>p(`${a}jetpack/v4/search/plan`,c).then(m).then(u),fetchSearchSettings:()=>p(`${a}jetpack/v4/search/settings`,c).then(m).then(u),updateSearchSettings:e=>h(`${a}jetpack/v4/search/settings`,i,{body:JSON.stringify(e)}).then(m).then(u),fetchSearchStats:()=>p(`${a}jetpack/v4/search/stats`,c).then(m).then(u),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,c).then(m).then(u),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,i,{body:JSON.stringify(e)}).then(m).then(u),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,c).then(m).then(u),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,i,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${a}jetpack/v4/search/pricing`,c).then(m).then(u),fetchMigrationStatus:()=>p(`${n}jetpack/v4/migration/status`,c).then(m).then(u),fetchBackupUndoEvent:()=>p(`${n}jetpack/v4/site/backup/undo-event`,c).then(m).then(u),fetchBackupPreflightStatus:()=>p(`${n}jetpack/v4/site/backup/preflight`,c).then(m).then(u)};function p(e,t){return fetch(l(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new i})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function u(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new c(n):new o}function g(){throw new d}},7142:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8579),s=n.n(r),a=n(7723),o=n(2231),c=n(1609),i=n.n(c);const __=a.__,l=({logoColor:e="#069e08",showText:t=!0,className:n,height:r=32,...a})=>{const c=t?"0 0 118 32":"0 0 32 32";return i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:c,className:(0,o.A)("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:r},a,{role:"img"}),i().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-connection")),i().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&i().createElement(i().Fragment,null,i().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),i().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),i().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),i().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),i().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),i().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),i().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},6461:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3619),s=n.n(r),a=n(1609),o=n.n(a);n(8325);const c=({color:e="#FFFFFF",className:t="",size:n=20})=>{const r=t+" jp-components-spinner",s={width:n,height:n,fontSize:n,borderTopColor:e},a={borderTopColor:e,borderRightColor:e};return o().createElement("div",{className:r},o().createElement("div",{className:"jp-components-spinner__outer",style:s},o().createElement("div",{className:"jp-components-spinner__inner",style:a})))};c.propTypes={color:s().string,className:s().string,size:s().number};const i=c},3924:(e,t,n)=>{"use strict";function r(e,t={}){const n={};let r;if("undefined"!=typeof window&&(r=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{A:()=>r})},6439:(e,t,n)=>{let r={};try{r=n(9005)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>Object.hasOwn(r,e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return r[e]}}},3685:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(3924),s=n(6461),a=n(6427),o=n(7143),c=n(6087),i=n(7723),l=n(3619),d=n.n(l),p=n(1609),m=n.n(p),u=n(3207),h=n(1057),g=n(6043),f=n(6576);const __=i.__,k=e=>{const{isStartingFresh:t=!1,startFreshCallback:n=()=>{},customContent:l={},hasError:d=!1,isDevelopmentSite:p}=e,h=(0,g.A)(e.wpcomHomeUrl),k=(0,g.A)(e.currentUrl),y=(0,o.useSelect)((e=>e(u.a).getIsActionInProgress()),[]),_=l.startFreshButtonLabel||__("Create a fresh connection","jetpack-connection");return m().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(d?" jp-idc__idc-screen__card-action-error":"")},m().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},m().createElement("h4",null,l.startFreshCardTitle?(0,c.createInterpolateElement)(l.startFreshCardTitle,{em:m().createElement("em",null)}):__("Treat each site as independent sites","jetpack-connection")),m().createElement("p",null,p?(0,c.createInterpolateElement)(l.startFreshCardBodyText||(0,i.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ +(()=>{var e={8325:()=>{},3810:()=>{},3055:()=>{},9521:()=>{},4804:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(5067)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5067:(e,t,n)=>{e.exports=function(e){function t(e){let n,s,a,o=null;function c(...e){if(!c.enabled)return;const r=c,s=Number(new Date),a=s-(n||s);r.diff=a,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";o++;const a=t.formatters[s];if("function"==typeof a){const t=e[o];n=a.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=r,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(s!==t.namespaces&&(s=t.namespaces,a=t.enabled(e)),a),set:e=>{o=e}}),"function"==typeof t.init&&t.init(c),c}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,r=60*n,s=24*r,a=7*s,o=365.25*s;function c(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,i){i=i||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var i=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*o;case"weeks":case"week":case"w":return i*a;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*r;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===l&&isFinite(e))return i.long?function(e){var a=Math.abs(e);if(a>=s)return c(e,a,s,"day");if(a>=r)return c(e,a,r,"hour");if(a>=n)return c(e,a,n,"minute");if(a>=t)return c(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=s)return Math.round(e/s)+"d";if(a>=r)return Math.round(e/r)+"h";if(a>=n)return Math.round(e/n)+"m";if(a>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},1583:(e,t,n)=>{"use strict";var r=n(1752);function s(){}function a(){}a.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,a,o){if(o!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:s};return n.PropTypes=n,n}},3619:(e,t,n)=>{e.exports=n(1583)()},1752:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4804);const s=n.n(r)()("dops:analytics");let a,o;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){o={ID:e,username:t}},setSuperProps:function(e){a=e},assignSuperProps:function(e){a=Object.assign(a||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,a,o){c.ga.recordPurchase(e,t,n,r,s,a,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(s("- Super Props: %o",a),t=Object.assign(t,a)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){s("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(o&&(e={userId:"u-"+o.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),s("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){c.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),s(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,a,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:a}),window.ga("ecommerce:send")}},identifyUser:function(){o&&window._tkq.push(["identifyUser",o.ID,o.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},i=c},5932:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var r=n(6439),s=n(3832);function a(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const o=a("JsonParseError"),c=a("JsonParseAfterRedirectError"),i=a("Api404Error"),l=a("Api404AfterRedirectError"),d=a("FetchNetworkError");const p=new function(e,t){let n=e,a=e,o={"X-WP-Nonce":t},c={credentials:"same-origin",headers:o},i={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",r=n.length?n.split("&"):[];return r.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+r.join("&")};const d={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){a=e},setApiNonce(e){o={"X-WP-Nonce":e},c={credentials:"same-origin",headers:o},i={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t,s)=>{const a={registration_nonce:e,no_iframe:!0};return(0,r.jetpackConfigHas)("consumer_slug")&&(a.plugin_slug=(0,r.jetpackConfigGet)("consumer_slug")),null!==t&&(a.redirect_uri=t),s&&(a.from=s),h(`${n}jetpack/v4/connection/register`,i,{body:JSON.stringify(a)}).then(m).then(u)},fetchAuthorizationUrl:e=>p((0,s.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(m).then(u),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(u),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,c).then(u),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,c).then(m).then(u),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(u),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,c).then(m).then(u),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,i,{body:JSON.stringify(e)}).then(m).then(u),disconnectSite:()=>h(`${n}jetpack/v4/connection`,i,{body:JSON.stringify({isActive:!1})}).then(m).then(u),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,c).then(m).then(u),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,i,{body:JSON.stringify({linked:!1})}).then(m).then(u),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,i).then(m).then(u),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,c).then(m).then(u),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,i).then(m).then(u),fetchModules:()=>p(`${n}jetpack/v4/module/all`,c).then(m).then(u),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,c).then(m).then(u),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!0})}).then(m).then(u),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,i,{body:JSON.stringify(t)}).then(m).then(u),updateSettings:e=>h(`${n}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(m).then(u),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,c).then(m).then(u),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,i,{body:JSON.stringify({reset:!0})}).then(m).then(u),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(m).then(u),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,c).then(m).then(u),installPlugin:(e,t)=>{const r={slug:e,status:"active"};return t&&(r.source=t),h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify(r)}).then(m).then(u)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(m).then(u),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,c).then(m).then(u),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,c).then(m).then(u),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,i,{body:JSON.stringify({api_key:e})}).then(m).then(u),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(m).then(u).then(f),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,c).then(m).then(u),getPlans:()=>p(`${n}jetpack/v4/plans`,c).then(m).then(u),fetchSettings:()=>p(`${n}jetpack/v4/settings`,c).then(m).then(u),updateSetting:e=>h(`${n}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(m).then(u),fetchSiteData:()=>p(`${n}jetpack/v4/site`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,c).then(m).then(u),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,c).then(m).then(u).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,c).then(m).then(u),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,c).then(m).then(u),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,c).then(m).then(u),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,c).then(m).then(u),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,c).then(m).then(u),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,i,{body:JSON.stringify({data:e})}).then(m),fetchProducts:()=>p(`${n}jetpack/v4/products`,c).then(m).then(u),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,c).then(m).then(u).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,c).then(m).then(u).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,i,{body:JSON.stringify({dismissed:!0})}).then(m).then(u),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,c).then(m).then(u),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,c).then(m).then(u),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,c).then(m).then(u),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,i,{body:JSON.stringify({keyring_id:e})}).then(m).then(u),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,i,{body:JSON.stringify(e)}).then(m).then(u),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,i,{body:JSON.stringify(e)}).then(m).then(u),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,i,{body:JSON.stringify(e)}).then(m).then(u),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,i,{body:JSON.stringify({license:e})}).then(m).then(u),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,c).then(m).then(u),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,c).then(m).then(u),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,i,{body:JSON.stringify({last_detached_count:e})}).then(m).then(u),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,i,{body:JSON.stringify({step:e})}).then(m),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,i).then(m),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,i,{body:JSON.stringify({redirect_uri:e})}).then(m).then(u),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,i).then(m),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,i,{body:JSON.stringify({licenses:e})}).then(m).then(u),fetchSearchPlanInfo:()=>p(`${a}jetpack/v4/search/plan`,c).then(m).then(u),fetchSearchSettings:()=>p(`${a}jetpack/v4/search/settings`,c).then(m).then(u),updateSearchSettings:e=>h(`${a}jetpack/v4/search/settings`,i,{body:JSON.stringify(e)}).then(m).then(u),fetchSearchStats:()=>p(`${a}jetpack/v4/search/stats`,c).then(m).then(u),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,c).then(m).then(u),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,i,{body:JSON.stringify(e)}).then(m).then(u),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,c).then(m).then(u),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,i,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${a}jetpack/v4/search/pricing`,c).then(m).then(u),fetchMigrationStatus:()=>p(`${n}jetpack/v4/migration/status`,c).then(m).then(u),fetchBackupUndoEvent:()=>p(`${n}jetpack/v4/site/backup/undo-event`,c).then(m).then(u),fetchBackupPreflightStatus:()=>p(`${n}jetpack/v4/site/backup/preflight`,c).then(m).then(u)};function p(e,t){return fetch(l(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(g)}function f(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function m(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new i})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function u(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new c(n):new o}function g(){throw new d}},7142:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8579),s=n.n(r),a=n(7723),o=n(2231),c=n(1609),i=n.n(c);const __=a.__,l=({logoColor:e="#069e08",showText:t=!0,className:n,height:r=32,...a})=>{const c=t?"0 0 118 32":"0 0 32 32";return i().createElement("svg",s()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:c,className:(0,o.A)("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:r},a,{role:"img"}),i().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-connection")),i().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&i().createElement(i().Fragment,null,i().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),i().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),i().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),i().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),i().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),i().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),i().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},6461:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3619),s=n.n(r),a=n(1609),o=n.n(a);n(8325);const c=({color:e="#FFFFFF",className:t="",size:n=20})=>{const r=t+" jp-components-spinner",s={width:n,height:n,fontSize:n,borderTopColor:e},a={borderTopColor:e,borderRightColor:e};return o().createElement("div",{className:r},o().createElement("div",{className:"jp-components-spinner__outer",style:s},o().createElement("div",{className:"jp-components-spinner__inner",style:a})))};c.propTypes={color:s().string,className:s().string,size:s().number};const i=c},3924:(e,t,n)=>{"use strict";function r(e,t={}){const n={};let r;if("undefined"!=typeof window&&(r=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),r&&(n.calypso_env=r);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{A:()=>r})},6439:(e,t,n)=>{let r={};try{r=n(9074)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),r={missingConfig:!0}}const s=e=>Object.hasOwn(r,e);e.exports={jetpackConfigHas:s,jetpackConfigGet:e=>{if(!s(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return r[e]}}},3685:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(3924),s=n(6461),a=n(6427),o=n(7143),c=n(6087),i=n(7723),l=n(3619),d=n.n(l),p=n(1609),m=n.n(p),u=n(3207),h=n(1057),g=n(6043),f=n(6576);const __=i.__,k=e=>{const{isStartingFresh:t=!1,startFreshCallback:n=()=>{},customContent:l={},hasError:d=!1,isDevelopmentSite:p}=e,h=(0,g.A)(e.wpcomHomeUrl),k=(0,g.A)(e.currentUrl),y=(0,o.useSelect)((e=>e(u.a).getIsActionInProgress()),[]),_=l.startFreshButtonLabel||__("Create a fresh connection","jetpack-connection");return m().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(d?" jp-idc__idc-screen__card-action-error":"")},m().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},m().createElement("h4",null,l.startFreshCardTitle?(0,c.createInterpolateElement)(l.startFreshCardTitle,{em:m().createElement("em",null)}):__("Treat each site as independent sites","jetpack-connection")),m().createElement("p",null,p?(0,c.createInterpolateElement)(l.startFreshCardBodyText||(0,i.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ __("

Recommended for

development sitessites that need access to all Jetpack features

Please note that creating a fresh connection for %1$s would require restoring the connection on %2$s if that site is cloned back to production. Learn more.

","jetpack-connection"),k,h),{p:m().createElement("p",null),hostname:m().createElement("strong",null),em:m().createElement("em",null),strong:m().createElement("strong",null),list:m().createElement("ul",null),item:m().createElement("li",null),safeModeLink:m().createElement("a",{href:l.supportURL||(0,r.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}):(0,c.createInterpolateElement)(l.startFreshCardBodyText||(0,i.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ __("%1$s settings, stats, and subscribers will start fresh. %2$s will keep its data as is.","jetpack-connection"),k,h),{hostname:m().createElement("strong",null),em:m().createElement("em",null),strong:m().createElement("strong",null)}))),m().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},m().createElement("div",null,p?null:((e,t)=>m().createElement("div",null,m().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},e),m().createElement(a.Dashicon,{icon:"minus",className:"jp-idc__idc-screen__card-action-separator"}),m().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},t)))(h,k)),m().createElement(a.Button,{className:"jp-idc__idc-screen__card-action-button",label:_,onClick:n,disabled:y},t?m().createElement(s.A,null):_),d&&(v=l.supportURL,m().createElement(f.A,null,(0,c.createInterpolateElement)(__("Could not create the connection. Retry or find out more here.","jetpack-connection"),{a:m().createElement("a",{href:v||(0,r.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})))));var v};k.propTypes={wpcomHomeUrl:d().string.isRequired,currentUrl:d().string.isRequired,isStartingFresh:d().bool,startFreshCallback:d().func,customContent:d().shape(h.A),hasError:d().bool,isDevelopmentSite:d().bool};const y=k},6930:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(3924),s=n(6461),a=n(6427),o=n(7143),c=n(6087),i=n(7723),l=n(3619),d=n.n(l),p=n(1609),m=n.n(p),u=n(3207),h=n(1057),g=n(6043),f=n(6576);const __=i.__,k=e=>{const t=(0,g.A)(e.wpcomHomeUrl),n=(0,g.A)(e.currentUrl),l=(0,o.useSelect)((e=>e(u.a).getIsActionInProgress()),[]),{isMigrating:d=!1,migrateCallback:p=()=>{},customContent:h={},hasError:k=!1}=e,y=h.migrateButtonLabel||__("Move your settings","jetpack-connection");return m().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(k?" jp-idc__idc-screen__card-action-error":"")},m().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},m().createElement("h4",null,h.migrateCardTitle?(0,c.createInterpolateElement)(h.migrateCardTitle,{em:m().createElement("em",null)}):__("Move Jetpack data","jetpack-connection")),m().createElement("p",null,(0,c.createInterpolateElement)(h.migrateCardBodyText||(0,i.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ __("Move all your settings, stats and subscribers to your other URL, %1$s. %2$s will be disconnected from Jetpack.","jetpack-connection"),n,t),{hostname:m().createElement("strong",null),em:m().createElement("em",null),strong:m().createElement("strong",null)}))),m().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},m().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},t),m().createElement(a.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-action-separator"}),m().createElement("div",{className:"jp-idc__idc-screen__card-action-sitename"},n),m().createElement(a.Button,{className:"jp-idc__idc-screen__card-action-button",label:y,onClick:p,disabled:l},d?m().createElement(s.A,null):y),k&&(_=h.supportURL,m().createElement(f.A,null,(0,c.createInterpolateElement)(__("Could not move your settings. Retry or find out more here.","jetpack-connection"),{a:m().createElement("a",{href:_||(0,r.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})))));var _};k.propTypes={wpcomHomeUrl:d().string.isRequired,currentUrl:d().string.isRequired,isMigrating:d().bool,migrateCallback:d().func,customContent:d().shape(h.A),hasError:d().bool};const y=k},9882:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1609),s=n.n(r);const a=()=>s().createElement("svg",{className:"error-gridicon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:24},s().createElement("rect",{x:"0",fill:"none",width:"24",height:"24"}),s().createElement("g",null,s().createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))},6576:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1609),s=n.n(r),a=n(9882);n(3810);const o=e=>{const{children:t}=e;return s().createElement("div",{className:"jp-idc__error-message"},s().createElement(a.A,null),s().createElement("span",null,t))}},7459:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(5932),s=n(7143),a=n(3619),o=n.n(a),c=n(1609),i=n.n(c),l=n(8101),d=n(5574),p=n(8502),m=n(3207),u=n(1057),h=n(2879),g=n(8979);const f=e=>{const{logo:t,customContent:n={},wpcomHomeUrl:a,currentUrl:o,apiNonce:u,apiRoot:f,redirectUri:k,tracksUserData:y,tracksEventData:_,isAdmin:v,possibleDynamicSiteUrlDetected:E,isDevelopmentSite:b}=e,[C,w]=(0,c.useState)(!1),j=(0,s.useSelect)((e=>e(m.a).getErrorType()),[]),{isMigrating:S,migrateCallback:A}=(0,l.A)((0,c.useCallback)((()=>{w(!0)}),[w])),{isStartingFresh:F,startFreshCallback:I}=(0,p.A)(k),{isFinishingMigration:U,finishMigrationCallback:T}=(0,d.A)();return(0,c.useEffect)((()=>{r.Ay.setApiRoot(f),r.Ay.setApiNonce(u),(0,h.f)(_,y),_&&(Object.hasOwn(_,"isAdmin")&&_.isAdmin?(0,h.A)("notice_view"):(0,h.A)("non_admin_notice_view",{page:!!Object.hasOwn(_,"currentScreen")&&_.currentScreen}))}),[f,u,y,_]),i().createElement(g.A,{logo:t,customContent:n,wpcomHomeUrl:a,currentUrl:o,redirectUri:k,isMigrating:S,migrateCallback:A,isMigrated:C,finishMigrationCallback:T,isFinishingMigration:U,isStartingFresh:F,startFreshCallback:I,isAdmin:v,hasStaySafeError:"safe-mode"===j,hasFreshError:"start-fresh"===j,hasMigrateError:"migrate"===j,possibleDynamicSiteUrlDetected:E,isDevelopmentSite:b})};f.propTypes={logo:o().object,customContent:o().shape(u.A),wpcomHomeUrl:o().string.isRequired,currentUrl:o().string.isRequired,redirectUri:o().string.isRequired,apiRoot:o().string.isRequired,apiNonce:o().string.isRequired,tracksUserData:o().object,tracksEventData:o().object,isAdmin:o().bool.isRequired,possibleDynamicSiteUrlDetected:o().bool,isDevelopmentSite:o().bool};const k=f},1217:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(3924),s=n(6087),a=n(7723),o=n(3619),c=n.n(o),i=n(1609),l=n.n(i),d=n(1057),p=n(6043),m=n(3685),u=n(6930),h=n(1133);const __=a.__,g=e=>{const{wpcomHomeUrl:t,currentUrl:n,isMigrating:o=!1,migrateCallback:c,isStartingFresh:i=!1,startFreshCallback:d,customContent:g={},hasMigrateError:f=!1,hasFreshError:k=!1,hasStaySafeError:y=!1,possibleDynamicSiteUrlDetected:_=!1,isDevelopmentSite:v}=e,E=(0,p.A)(e.wpcomHomeUrl),b=(0,p.A)(e.currentUrl);return l().createElement(l().Fragment,null,l().createElement("h2",null,g.mainTitle?(0,s.createInterpolateElement)(g.mainTitle,{em:l().createElement("em",null)}):__("Safe Mode has been activated","jetpack-connection")),l().createElement("p",null,v?(0,s.createInterpolateElement)(g.mainBodyText||(0,a.sprintf)(/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ __("Your site is in Safe Mode because %1$s appears to be a staging or development copy of %2$s.2 sites that are telling Jetpack they’re the same site. Learn more or troubleshoot common Safe mode issues.","jetpack-connection"),b,E),{span:l().createElement("span",{style:{display:"block"}}),hostname:l().createElement("strong",null),em:l().createElement("em",null),strong:l().createElement("strong",null),safeModeLink:l().createElement("a",{href:g.supportURL||(0,r.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}):(0,s.createInterpolateElement)(g.mainBodyText||__("Your site is in Safe Mode because you have 2 Jetpack-powered sites that appear to be duplicates. Two sites that are telling Jetpack they’re the same site. Learn more about safe mode.","jetpack-connection"),{safeModeLink:l().createElement("a",{href:g.supportURL||(0,r.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),_&&l().createElement("p",null,(0,s.createInterpolateElement)(g.dynamicSiteUrlText||__("Notice: It appears that your 'wp-config.php' file might be using dynamic site URL values. Dynamic site URLs could cause Jetpack to enter Safe Mode. Learn how to set a static site URL.","jetpack-connection"),{dynamicSiteUrlSupportLink:l().createElement("a",{href:g.dynamicSiteUrlSupportLink||(0,r.A)("jetpack-idcscreen-dynamic-site-urls"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),l().createElement("h3",null,__("Please select an option","jetpack-connection")),l().createElement("div",{className:"jp-idc__idc-screen__cards"+(f||k?" jp-idc__idc-screen__cards-error":"")},v?l().createElement(l().Fragment,null,l().createElement(m.A,{wpcomHomeUrl:t,currentUrl:n,isStartingFresh:i,startFreshCallback:d,customContent:g,hasError:k,isDevelopmentSite:v}),l().createElement("div",{className:"jp-idc__idc-screen__cards-separator"},"or"),l().createElement(h.A,{hasError:y,customContent:g,isDevelopmentSite:v})):l().createElement(l().Fragment,null,l().createElement(u.A,{wpcomHomeUrl:t,currentUrl:n,isMigrating:o,migrateCallback:c,customContent:g,hasError:f}),l().createElement("div",{className:"jp-idc__idc-screen__cards-separator"},"or"),l().createElement(m.A,{wpcomHomeUrl:t,currentUrl:n,isStartingFresh:i,startFreshCallback:d,customContent:g,hasError:k,isDevelopmentSite:v}))),v?null:l().createElement(h.A,{hasError:y,customContent:g}))};g.propTypes={wpcomHomeUrl:c().string.isRequired,currentUrl:c().string.isRequired,isMigrating:c().bool,migrateCallback:c().func,isStartingFresh:c().bool,startFreshCallback:c().func,customContent:c().shape(d.A),hasMigrateError:c().bool,hasFreshError:c().bool,hasStaySafeError:c().bool,possibleDynamicSiteUrlDetected:c().bool,isDevelopmentSite:c().bool};const f=g},4295:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(6461),s=n(6427),a=n(6087),o=n(7723),c=n(3619),i=n.n(c),l=n(1609),d=n.n(l),p=n(1057),m=n(6043);const __=o.__,u=e=>{const{finishCallback:t=()=>{},isFinishing:n=!1,customContent:c={}}=e,i=(0,m.A)(e.wpcomHomeUrl),l=(0,m.A)(e.currentUrl),p=__("Got it, thanks","jetpack-connection");return d().createElement(d().Fragment,null,d().createElement("h2",null,c.migratedTitle?(0,a.createInterpolateElement)(c.migratedTitle,{em:d().createElement("em",null)}):__("Your Jetpack settings have migrated successfully","jetpack-connection")),d().createElement("p",null,(0,a.createInterpolateElement)(c.migratedBodyText||(0,o.sprintf)(/* translators: %1$s: The current site domain name. */ __("Safe Mode has been switched off for %1$s website and Jetpack is fully functional.","jetpack-connection"),l),{hostname:d().createElement("strong",null),em:d().createElement("em",null),strong:d().createElement("strong",null)})),d().createElement("div",{className:"jp-idc__idc-screen__card-migrated"},d().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},i),d().createElement(s.Dashicon,{icon:"arrow-down-alt",className:"jp-idc__idc-screen__card-migrated-separator"}),d().createElement(s.Dashicon,{icon:"arrow-right-alt",className:"jp-idc__idc-screen__card-migrated-separator-wide"}),d().createElement("div",{className:"jp-idc__idc-screen__card-migrated-hostname"},l)),d().createElement(s.Button,{className:"jp-idc__idc-screen__card-action-button jp-idc__idc-screen__card-action-button-migrated",onClick:t,label:p},n?d().createElement(r.A,null):p))};u.propTypes={wpcomHomeUrl:i().string.isRequired,currentUrl:i().string.isRequired,finishCallback:i().func,isFinishing:i().bool,customContent:i().shape(p.A)};const h=u},9291:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(3924),s=n(6087),a=n(7723),o=n(3619),c=n.n(o),i=n(1609),l=n.n(i),d=n(1057);const __=a.__,p=e=>{const{customContent:t={}}=e;return l().createElement(l().Fragment,null,l().createElement("h2",null,t.nonAdminTitle?(0,s.createInterpolateElement)(t.nonAdminTitle,{em:l().createElement("em",null)}):__("Safe Mode has been activated","jetpack-connection")),l().createElement("p",null,(0,s.createInterpolateElement)(t.nonAdminBodyText||__("This site is in Safe Mode because there are 2 Jetpack-powered sites that appear to be duplicates. 2 sites that are telling Jetpack they’re the same site. Learn more about safe mode.","jetpack-connection"),{safeModeLink:l().createElement("a",{href:t.supportURL||(0,r.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"}),em:l().createElement("em",null),strong:l().createElement("strong",null)})),t.nonAdminBodyText?"":l().createElement("p",null,__("An administrator of this site can take Jetpack out of Safe Mode.","jetpack-connection")))};p.propTypes={customContent:c().shape(d.A)};const m=p},8979:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(7142),s=n(6087),a=n(7723),o=n(3619),c=n.n(o),i=n(1609),l=n.n(i),d=n(1057),p=n(1217),m=n(4295),u=n(9291);n(3055);const __=a.__,h=e=>{const{logo:t=l().createElement(r.A,{height:24}),customContent:n={},wpcomHomeUrl:a,currentUrl:o,redirectUri:c,isMigrating:i=!1,migrateCallback:d,isMigrated:h=!1,finishMigrationCallback:g,isFinishingMigration:f=!1,isStartingFresh:k=!1,startFreshCallback:y,isAdmin:_,hasMigrateError:v=!1,hasFreshError:E=!1,hasStaySafeError:b=!1,possibleDynamicSiteUrlDetected:C=!1,isDevelopmentSite:w}=e,j=_?"":l().createElement(u.A,{customContent:n});let S="";return _&&(S=h?l().createElement(m.A,{wpcomHomeUrl:a,currentUrl:o,finishCallback:g,isFinishing:f,customContent:n}):l().createElement(p.A,{wpcomHomeUrl:a,currentUrl:o,redirectUri:c,customContent:n,isMigrating:i,migrateCallback:d,isStartingFresh:k,startFreshCallback:y,hasMigrateError:v,hasFreshError:E,hasStaySafeError:b,possibleDynamicSiteUrlDetected:C,isDevelopmentSite:w})),l().createElement("div",{className:"jp-idc__idc-screen"+(h?" jp-idc__idc-screen__success":"")},l().createElement("div",{className:"jp-idc__idc-screen__header"},l().createElement("div",{className:"jp-idc__idc-screen__logo"},((e,t)=>"string"==typeof e||e instanceof String?l().createElement("img",{src:e,alt:t,className:"jp-idc__idc-screen__logo-image"}):e)(t,n.logoAlt||"")),l().createElement("div",{className:"jp-idc__idc-screen__logo-label"},n.headerText?(0,s.createInterpolateElement)(n.headerText,{em:l().createElement("em",null),strong:l().createElement("strong",null)}):__("Safe Mode","jetpack-connection"))),j,S)};h.propTypes={logo:c().object,customContent:c().shape(d.A),wpcomHomeUrl:c().string.isRequired,currentUrl:c().string.isRequired,redirectUri:c().string.isRequired,isMigrating:c().bool,migrateCallback:c().func,isMigrated:c().bool,finishMigrationCallback:c().func,isFinishingMigration:c().bool,isStartingFresh:c().bool,startFreshCallback:c().func,isAdmin:c().bool.isRequired,hasMigrateError:c().bool,hasFreshError:c().bool,hasStaySafeError:c().bool,possibleDynamicSiteUrlDetected:c().bool,isDevelopmentSite:c().bool};const g=h},1133:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(5932),s=n(6461),a=n(3924),o=n(6427),c=n(9491),i=n(7143),l=n(6087),d=n(7723),p=n(3832),m=n(3619),u=n.n(m),h=n(1609),g=n.n(h),f=n(3207),k=n(1057),y=n(2879),_=n(6576);n(9521);const __=d.__,v=e=>g().createElement(_.A,null,(0,l.createInterpolateElement)(__("Could not stay in safe mode. Retry or find out more here.","jetpack-connection"),{a:g().createElement("a",{href:e||(0,a.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})})),E=e=>{const{isActionInProgress:t,setIsActionInProgress:n,setErrorType:c,clearErrorType:i,hasError:d=!1,customContent:m,isDevelopmentSite:u}=e,[f,k]=(0,h.useState)(!1),_=m.stayInSafeModeButtonLabel||__("Stay in Safe mode","jetpack-connection"),E=(0,h.useCallback)((()=>{t||(k(!0),n(!0),i(),(0,y.A)("confirm_safe_mode"),r.Ay.confirmIDCSafeMode().then((()=>{window.location.href=(0,p.removeQueryArgs)(window.location.href,"jetpack_idc_clear_confirmation","_wpnonce")})).catch((e=>{throw n(!1),k(!1),c("safe-mode"),e})))}),[t,n,c,i]);return g().createElement(g().Fragment,null,u?g().createElement("div",{className:"jp-idc__idc-screen__card-action-base"+(d?" jp-idc__idc-screen__card-action-error":"")},g().createElement("div",{className:"jp-idc__idc-screen__card-action-top"},g().createElement("h4",null,m.safeModeTitle?(0,l.createInterpolateElement)(m.safeModeTitle,{em:g().createElement("em",null)}):__("Stay in Safe Mode","jetpack-connection")),g().createElement("div",null,(0,l.createInterpolateElement)(m.startFreshCardBodyText||/* translators: %1$s: The current site domain name. %2$s: The original site domain name. */ -__("

Recommended for

short-lived test sitessites that will be cloned back to production after testing

Please note that staying in Safe mode will disable some Jetpack features, including security features such as SSO, firewall, and site monitor. Learn more.

","jetpack-connection"),{p:g().createElement("p",null),hostname:g().createElement("strong",null),em:g().createElement("em",null),strong:g().createElement("strong",null),list:g().createElement("ul",null),item:g().createElement("li",null),safeModeLink:g().createElement("a",{href:m.supportURL||(0,a.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}))),g().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},g().createElement(o.Button,{className:"jp-idc__idc-screen__card-action-button-secondary",label:_,onClick:E,disabled:t},f?g().createElement(s.A,{color:"black"}):_),d&&v(m.supportURL))):g().createElement("div",{className:"jp-idc__safe-mode"},f?g().createElement("div",{className:"jp-idc__safe-mode__staying-safe"},g().createElement(s.A,{color:"black"}),g().createElement("span",null,__("Finishing setting up Safe mode…","jetpack-connection"))):(b=E,C=t,(0,l.createInterpolateElement)(__("Or decide later and stay in ","jetpack-connection"),{button:g().createElement(o.Button,{label:__("Safe mode","jetpack-connection"),variant:"link",onClick:b,disabled:C})})),d&&v(m.supportURL)));var b,C};E.propTypes={isActionInProgress:u().bool,setIsActionInProgress:u().func.isRequired,setErrorType:u().func.isRequired,clearErrorType:u().func.isRequired,hasError:u().bool,customContent:u().shape(k.A),isDevelopmentSite:u().bool};const b=(0,c.compose)([(0,i.withSelect)((e=>({isActionInProgress:e(f.a).getIsActionInProgress()}))),(0,i.withDispatch)((e=>({setIsActionInProgress:e(f.a).setIsActionInProgress,setErrorType:e(f.a).setErrorType,clearErrorType:e(f.a).clearErrorType})))])(E)},5574:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609);const s=()=>{const[e,t]=(0,r.useState)(!1),n=(0,r.useCallback)((()=>{e||(t(!0),window.location.reload())}),[e,t]);return{isFinishingMigration:e,finishMigrationCallback:n}}},8101:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5932),s=n(7143),a=n(1609),o=n(3207),c=n(2879);const i=e=>{const[t,n]=(0,a.useState)(!1),i=(0,s.useSelect)((e=>e(o.a).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:d,clearErrorType:p}=(0,s.useDispatch)(o.a);return{isMigrating:t,migrateCallback:(0,a.useCallback)((()=>{i||((0,c.A)("migrate"),l(!0),n(!0),p(),r.Ay.migrateIDC().then((()=>{n(!1),e&&"[object Function]"==={}.toString.call(e)&&e()})).catch((e=>{throw l(!1),n(!1),d("migrate"),e})))}),[n,e,i,l,d,p])}}},8502:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5932),s=n(7143),a=n(1609),o=n(3207),c=n(2879);const i=e=>{const[t,n]=(0,a.useState)(!1),i=(0,s.useSelect)((e=>e(o.a).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:d,clearErrorType:p}=(0,s.useDispatch)(o.a);return{isStartingFresh:t,startFreshCallback:(0,a.useCallback)((()=>{i||((0,c.A)("start_fresh"),l(!0),n(!0),p(),r.Ay.startIDCFresh(e).then((e=>{window.location.href=e+"&from=idc-notice"})).catch((e=>{throw l(!1),n(!1),d("start-fresh"),e})))}),[n,i,l,e,d,p])}}},8269:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o,Xs:()=>r,sL:()=>a,xj:()=>s});const r="SET_IS_ACTION_IN_PROGRESS",s="SET_ERROR_TYPE",a="CLEAR_ERROR_TYPE",o={setIsActionInProgress:e=>({type:r,isInProgress:e}),setErrorType:e=>({type:s,errorType:e}),clearErrorType:()=>({type:a})}},2093:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7143),s=n(8269);const a=(0,r.combineReducers)({isActionInProgress:(e=!1,t)=>t.type===s.Xs?t.isInProgress:e,errorType:(e=null,t)=>{switch(t.type){case s.xj:return t.errorType;case s.sL:return null}return e}})},8918:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getIsActionInProgress:e=>e.isActionInProgress||!1,getErrorType:e=>e.errorType||null}},1908:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7143);class s{static store=null;static mayBeInit(e,t){null===s.store&&(s.store=(0,r.createReduxStore)(e,t),(0,r.register)(s.store))}}const a=s},3207:(e,t,n)=>{"use strict";n.d(t,{a:()=>c});var r=n(8269),s=n(2093),a=n(8918),o=n(1908);const c="jetpack-idc";o.A.mayBeInit(c,{reducer:s.A,actions:r.Ay,selectors:a.A})},1057:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(3619),s=n.n(r);const a={headerText:s().string,logoAlt:s().string,mainTitle:s().string,mainBodyText:s().string,migratedTitle:s().string,migratedBodyText:s().string,migrateCardTitle:s().string,migrateButtonLabel:s().string,migrateCardBodyText:s().string,startFreshCardTitle:s().string,startFreshCardBodyText:s().string,startFreshButtonLabel:s().string,nonAdminTitle:s().string,nonAdminBodyText:s().string,supportURL:s().string,stayInSafeModeButtonLabel:s().string}},6043:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>/^https?:\/\//.test(e)?new URL(e).hostname:e.replace(/\/$/,"")},2879:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,f:()=>s});var r=n(372);function s(e,t){t&&Object.hasOwn(t,"userid")&&Object.hasOwn(t,"username")&&r.A.initialize(t.userid,t.username),e&&(Object.hasOwn(e,"blogID")&&r.A.assignSuperProps({blog_id:e.blogID}),Object.hasOwn(e,"platform")&&r.A.assignSuperProps({platform:e.platform})),r.A.setMcAnalyticsEnabled(!0)}function a(e,t={}){void 0!==t&&"object"==typeof t||(t={}),e&&e.length&&void 0!==r.A&&r.A.tracks&&r.A.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,r.A.tracks.recordEvent(e,t),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),r.A.mc.bumpStat("jetpack-idc",e))}},9005:e=>{"use strict";if(void 0==={consumer_slug:"identity_crisis"}){var t=new Error('Cannot find module \'{"consumer_slug":"identity_crisis"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"identity_crisis"}},1609:e=>{"use strict";e.exports=window.React},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},3832:e=>{"use strict";e.exports=window.wp.url},8579:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function r(e){var t,n,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;ts});const s=function(){for(var e,t,n=0,s="",a=arguments.length;n{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(7459),t=n(6087),r=n(1609),s=n.n(r);window.addEventListener("load",(()=>function(){if(!Object.hasOwn(window,"JP_IDENTITY_CRISIS__INITIAL_STATE"))return;const n=document.getElementById(window.JP_IDENTITY_CRISIS__INITIAL_STATE.containerID||"jp-identity-crisis-container");if(null===n)return;const{WP_API_root:r,WP_API_nonce:a,wpcomHomeUrl:o,currentUrl:c,redirectUri:i,tracksUserData:l,tracksEventData:d,isSafeModeConfirmed:p,consumerData:m,isAdmin:u,possibleDynamicSiteUrlDetected:h,isDevelopmentSite:g}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;if(!p){const p=s().createElement(e.A,{wpcomHomeUrl:o,currentUrl:c,apiRoot:r,apiNonce:a,redirectUri:i,tracksUserData:l||{},tracksEventData:d,customContent:Object.hasOwn(m,"customContent")?m.customContent:{},isAdmin:u,logo:Object.hasOwn(m,"logo")?m.logo:void 0,possibleDynamicSiteUrlDetected:h,isDevelopmentSite:g});t.createRoot(n).render(p)}}()))})()})(); \ No newline at end of file +__("

Recommended for

short-lived test sitessites that will be cloned back to production after testing

Please note that staying in Safe mode will disable some Jetpack features, including security features such as SSO, firewall, and site monitor. Learn more.

","jetpack-connection"),{p:g().createElement("p",null),hostname:g().createElement("strong",null),em:g().createElement("em",null),strong:g().createElement("strong",null),list:g().createElement("ul",null),item:g().createElement("li",null),safeModeLink:g().createElement("a",{href:m.supportURL||(0,a.A)("jetpack-support-safe-mode"),rel:"noopener noreferrer",target:"_blank"})}))),g().createElement("div",{className:"jp-idc__idc-screen__card-action-bottom"},g().createElement(o.Button,{className:"jp-idc__idc-screen__card-action-button-secondary",label:_,onClick:E,disabled:t},f?g().createElement(s.A,{color:"black"}):_),d&&v(m.supportURL))):g().createElement("div",{className:"jp-idc__safe-mode"},f?g().createElement("div",{className:"jp-idc__safe-mode__staying-safe"},g().createElement(s.A,{color:"black"}),g().createElement("span",null,__("Finishing setting up Safe mode…","jetpack-connection"))):(b=E,C=t,(0,l.createInterpolateElement)(__("Or decide later and stay in ","jetpack-connection"),{button:g().createElement(o.Button,{label:__("Safe mode","jetpack-connection"),variant:"link",onClick:b,disabled:C})})),d&&v(m.supportURL)));var b,C};E.propTypes={isActionInProgress:u().bool,setIsActionInProgress:u().func.isRequired,setErrorType:u().func.isRequired,clearErrorType:u().func.isRequired,hasError:u().bool,customContent:u().shape(k.A),isDevelopmentSite:u().bool};const b=(0,c.compose)([(0,i.withSelect)((e=>({isActionInProgress:e(f.a).getIsActionInProgress()}))),(0,i.withDispatch)((e=>({setIsActionInProgress:e(f.a).setIsActionInProgress,setErrorType:e(f.a).setErrorType,clearErrorType:e(f.a).clearErrorType})))])(E)},5574:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609);const s=()=>{const[e,t]=(0,r.useState)(!1),n=(0,r.useCallback)((()=>{e||(t(!0),window.location.reload())}),[e,t]);return{isFinishingMigration:e,finishMigrationCallback:n}}},8101:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5932),s=n(7143),a=n(1609),o=n(3207),c=n(2879);const i=e=>{const[t,n]=(0,a.useState)(!1),i=(0,s.useSelect)((e=>e(o.a).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:d,clearErrorType:p}=(0,s.useDispatch)(o.a);return{isMigrating:t,migrateCallback:(0,a.useCallback)((()=>{i||((0,c.A)("migrate"),l(!0),n(!0),p(),r.Ay.migrateIDC().then((()=>{n(!1),e&&"[object Function]"==={}.toString.call(e)&&e()})).catch((e=>{throw l(!1),n(!1),d("migrate"),e})))}),[n,e,i,l,d,p])}}},8502:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5932),s=n(7143),a=n(1609),o=n(3207),c=n(2879);const i=e=>{const[t,n]=(0,a.useState)(!1),i=(0,s.useSelect)((e=>e(o.a).getIsActionInProgress()),[]),{setIsActionInProgress:l,setErrorType:d,clearErrorType:p}=(0,s.useDispatch)(o.a);return{isStartingFresh:t,startFreshCallback:(0,a.useCallback)((()=>{i||((0,c.A)("start_fresh"),l(!0),n(!0),p(),r.Ay.startIDCFresh(e).then((e=>{window.location.href=e+"&from=idc-notice"})).catch((e=>{throw l(!1),n(!1),d("start-fresh"),e})))}),[n,i,l,e,d,p])}}},8269:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o,Xs:()=>r,sL:()=>a,xj:()=>s});const r="SET_IS_ACTION_IN_PROGRESS",s="SET_ERROR_TYPE",a="CLEAR_ERROR_TYPE",o={setIsActionInProgress:e=>({type:r,isInProgress:e}),setErrorType:e=>({type:s,errorType:e}),clearErrorType:()=>({type:a})}},2093:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7143),s=n(8269);const a=(0,r.combineReducers)({isActionInProgress:(e=!1,t)=>t.type===s.Xs?t.isInProgress:e,errorType:(e=null,t)=>{switch(t.type){case s.xj:return t.errorType;case s.sL:return null}return e}})},8918:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getIsActionInProgress:e=>e.isActionInProgress||!1,getErrorType:e=>e.errorType||null}},1908:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7143);class s{static store=null;static mayBeInit(e,t){null===s.store&&(s.store=(0,r.createReduxStore)(e,t),(0,r.register)(s.store))}}const a=s},3207:(e,t,n)=>{"use strict";n.d(t,{a:()=>c});var r=n(8269),s=n(2093),a=n(8918),o=n(1908);const c="jetpack-idc";o.A.mayBeInit(c,{reducer:s.A,actions:r.Ay,selectors:a.A})},1057:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(3619),s=n.n(r);const a={headerText:s().string,logoAlt:s().string,mainTitle:s().string,mainBodyText:s().string,migratedTitle:s().string,migratedBodyText:s().string,migrateCardTitle:s().string,migrateButtonLabel:s().string,migrateCardBodyText:s().string,startFreshCardTitle:s().string,startFreshCardBodyText:s().string,startFreshButtonLabel:s().string,nonAdminTitle:s().string,nonAdminBodyText:s().string,supportURL:s().string,stayInSafeModeButtonLabel:s().string}},6043:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>/^https?:\/\//.test(e)?new URL(e).hostname:e.replace(/\/$/,"")},2879:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,f:()=>s});var r=n(372);function s(e,t){t&&Object.hasOwn(t,"userid")&&Object.hasOwn(t,"username")&&r.A.initialize(t.userid,t.username),e&&(Object.hasOwn(e,"blogID")&&r.A.assignSuperProps({blog_id:e.blogID}),Object.hasOwn(e,"platform")&&r.A.assignSuperProps({platform:e.platform})),r.A.setMcAnalyticsEnabled(!0)}function a(e,t={}){void 0!==t&&"object"==typeof t||(t={}),e&&e.length&&void 0!==r.A&&r.A.tracks&&r.A.mc&&(e=0!==(e=e.replace(/-/g,"_")).indexOf("jetpack_idc_")?"jetpack_idc_"+e:e,r.A.tracks.recordEvent(e,t),e=(e=e.replace("jetpack_idc_","")).replace(/_/g,"-"),r.A.mc.bumpStat("jetpack-idc",e))}},9074:e=>{"use strict";if(void 0==={consumer_slug:"connection_package"}){var t=new Error('Cannot find module \'{"consumer_slug":"connection_package"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"connection_package"}},1609:e=>{"use strict";e.exports=window.React},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},3832:e=>{"use strict";e.exports=window.wp.url},8579:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function r(e){var t,n,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;ts});const s=function(){for(var e,t,n=0,s="",a=arguments.length;n{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(7459),t=n(6087),r=n(1609),s=n.n(r);window.addEventListener("load",(()=>function(){if(!Object.hasOwn(window,"JP_IDENTITY_CRISIS__INITIAL_STATE"))return;const n=document.getElementById(window.JP_IDENTITY_CRISIS__INITIAL_STATE.containerID||"jp-identity-crisis-container");if(null===n)return;const{WP_API_root:r,WP_API_nonce:a,wpcomHomeUrl:o,currentUrl:c,redirectUri:i,tracksUserData:l,tracksEventData:d,isSafeModeConfirmed:p,consumerData:m,isAdmin:u,possibleDynamicSiteUrlDetected:h,isDevelopmentSite:g}=window.JP_IDENTITY_CRISIS__INITIAL_STATE;if(!p){const p=s().createElement(e.A,{wpcomHomeUrl:o,currentUrl:c,apiRoot:r,apiNonce:a,redirectUri:i,tracksUserData:l||{},tracksEventData:d,customContent:Object.hasOwn(m,"customContent")?m.customContent:{},isAdmin:u,logo:Object.hasOwn(m,"logo")?m.logo:void 0,possibleDynamicSiteUrlDetected:h,isDevelopmentSite:g});t.createRoot(n).render(p)}}()))})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-connection/dist/images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg b/vendor/automattic/jetpack-connection/dist/images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg new file mode 100644 index 00000000..13f5651c Binary files /dev/null and b/vendor/automattic/jetpack-connection/dist/images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg differ diff --git a/vendor/automattic/jetpack-connection/dist/images/disconnect-thanks-5873bfac56a9bd7322cd.jpg b/vendor/automattic/jetpack-connection/dist/images/disconnect-thanks-5873bfac56a9bd7322cd.jpg new file mode 100644 index 00000000..a191ec9e Binary files /dev/null and b/vendor/automattic/jetpack-connection/dist/images/disconnect-thanks-5873bfac56a9bd7322cd.jpg differ diff --git a/vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php b/vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php new file mode 100644 index 00000000..2beea2c9 --- /dev/null +++ b/vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php @@ -0,0 +1 @@ + array('jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '633f5b84c0735e749fc1'); diff --git a/vendor/automattic/jetpack-connection/dist/jetpack-connection.css b/vendor/automattic/jetpack-connection/dist/jetpack-connection.css new file mode 100644 index 00000000..906dc1dd --- /dev/null +++ b/vendor/automattic/jetpack-connection/dist/jetpack-connection.css @@ -0,0 +1 @@ +.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px #00000014}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:calc(var(--spacing-base)*3)}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.rna{overflow:hidden}.rna .jp-connection__connect-screen-layout__left{position:relative;z-index:2}.rna .jp-connection__connect-screen-layout__left h2{font-weight:700;margin-top:0}.rna .jp-connection__connect-screen-layout__left h3{margin-top:24px}@media(min-width:600px){.rna .jp-connection__connect-screen-layout__left{padding:4rem 6rem 4rem 4rem}}@media(min-width:1080px){.rna .jp-connection__connect-screen-required-plan__pricing-card{position:absolute;right:calc(var(--spacing-base)*-45);top:calc(var(--spacing-base)*9.25)}}.rna .jp-connection__connect-screen-required-plan__pricing-card .jp-components__pricing-card{border-radius:var(--jp-border-radius-rna);max-width:100%;width:425px}.rna .jp-connection__connect-screen-required-plan__pricing-card .jp-components__pricing-card__title{margin-top:.625rem}@media(min-width:960px){.rna .jp-connection__connect-screen-required-plan__pricing-card .jp-components__pricing-card{padding:3rem}}.rna .jp-connection__connect-screen-required-plan__pricing-card .components-button{margin-bottom:0}.rna .jp-backup-dashboard-promotion ul.jp-product-promote li{margin-bottom:.75rem}.rna .jp-connection__connect-screen-layout__color-blobs{clip-path:polygon(100% 0,100% 100%,0 0,0 0);display:none;height:677px;position:absolute;right:0;top:0;width:363px;z-index:1}.rna .jp-connection__connect-screen-layout__color-blobs__blue,.rna .jp-connection__connect-screen-layout__color-blobs__green,.rna .jp-connection__connect-screen-layout__color-blobs__yellow{border-radius:50%;filter:blur(50px);position:absolute}.rna .jp-connection__connect-screen-layout__color-blobs__blue{background-color:var(--jp-blue-5);height:400px;right:-100px;top:-275px;width:400px;z-index:3}.rna .jp-connection__connect-screen-layout__color-blobs__yellow{background-color:var(--jp-yellow-5);height:250px;right:-25px;top:10px;width:250px;z-index:2}.rna .jp-connection__connect-screen-layout__color-blobs__green{background-color:var(--jp-green-5);height:300px;right:0;top:175px;width:300px;z-index:1}@media(min-width:1080px){.rna .jp-connection__connect-screen-layout__color-blobs{display:initial}}.jp-connection__connect-screen{--spacing-base:8px}.jp-connection__connect-screen__loading{display:none}.jp-connection__connect-screen .terms-of-service{margin-bottom:calc(var(--spacing-base)*3);margin-top:calc(var(--spacing-base)*4);max-width:360px}.jp-connection__connect-screen .terms-of-service a{text-decoration:underline}.jp-connection__connect-screen .jp-action-button{margin-top:40px}.jp-connection__connect-screen .jp-action-button--button{border-radius:4px;font-weight:600}.jp-connection__connect-screen .jp-action-button button{max-width:100%}.jp-connection__connect-screen .jp-action-button button:disabled{color:#fff6}@media(max-width:782px){.jp-connection__connect-screen .jp-action-button button{max-width:none;width:100%}}.jp-connection__connect-screen__loading-message{position:absolute;clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.jp-connection__connect-screen__loading-message:empty{display:none}.jp-connection__connect-screen__footer{margin-top:32px}.WQVtrU6q0L1Igcj7wCrQ{margin:0;padding:0}.UujoBFTnQNY2cWU2SIsH{font-size:var(--font-headline-medium);font-weight:700;line-height:52px}.TeGO5V_thHw5lDAm1_2M{font-weight:700}.TeGO5V_thHw5lDAm1_2M,.WolQzb2MsSgiNmLtc7_j{font-size:var(--font-headline-small);line-height:40px}.WolQzb2MsSgiNmLtc7_j{font-weight:400}.hUB0JT8p1T2Hw28N6qC8{font-weight:500}.gKZWDv5chz3_O3Syp74H,.hUB0JT8p1T2Hw28N6qC8{font-size:var(--font-title-medium);line-height:32px}.gKZWDv5chz3_O3Syp74H{font-weight:600}.zY2No8Ga4b8shbOQGhnv{font-size:var(--font-title-small);font-weight:500;line-height:30px}.tIj0D1t8Cc892ikmgFPZ{font-size:var(--font-body);font-weight:400;line-height:24px}.KdcN0BnOaVeVhyLRKqhS{font-size:var(--font-body-small);font-weight:400;line-height:24px}.dso3Rh3tl3Xv1GumBktz{font-weight:400}.dso3Rh3tl3Xv1GumBktz,.mQ1UlbN9u4Mg9byO8m7v{font-size:var(--font-body-extra-small);line-height:20px}.mQ1UlbN9u4Mg9byO8m7v{font-weight:700}.PItlW5vRExLnTj4a8eLE{font-size:var(--font-body-extra-small);font-weight:600;line-height:16px}.TwRpPlktzxhmFVeua7P5{margin:calc(var( --spacing-base )*0)}.zVfqx7gyb3o9mxfGynn1{margin-left:calc(var( --spacing-base )*0);margin-right:calc(var( --spacing-base )*0)}.iSHVzNiB9iVleGljaQxy{margin-bottom:calc(var( --spacing-base )*0)}.iSHVzNiB9iVleGljaQxy,.xqDIp6cNVr_E6RXaiPyD{margin-top:calc(var( --spacing-base )*0)}.S8EwaXk1kyPizt6x4WH2{margin-right:calc(var( --spacing-base )*0)}.ODX5Vr1TARoLFkDDFooD{margin-bottom:calc(var( --spacing-base )*0)}.cphJ8dCpfimnky7P2FHg{margin-left:calc(var( --spacing-base )*0)}.PFgIhNxIyiSuNvQjAIYj{margin:calc(var( --spacing-base )*1)}.M2jKmUzDxvJjjVEPU3zn{margin-left:calc(var( --spacing-base )*1);margin-right:calc(var( --spacing-base )*1)}.io15gAh8tMTNbSEfwJKk{margin-bottom:calc(var( --spacing-base )*1)}.io15gAh8tMTNbSEfwJKk,.rcTN5uw9xIEeMEGL3Xi_{margin-top:calc(var( --spacing-base )*1)}.CQSkybjq2TcRM1Xo9COV{margin-right:calc(var( --spacing-base )*1)}.hfqOWgq6_MEGdFE82eOY{margin-bottom:calc(var( --spacing-base )*1)}.I8MxZQYTbuu595yfesWA{margin-left:calc(var( --spacing-base )*1)}.kQkc6rmdpvLKPkyoJtVQ{margin:calc(var( --spacing-base )*2)}.j6vFPxWuu4Jan2ldoxpp{margin-left:calc(var( --spacing-base )*2);margin-right:calc(var( --spacing-base )*2)}.hqr39dC4H_AbactPAkCG{margin-bottom:calc(var( --spacing-base )*2)}.c3dQnMi16C6J6Ecy4283,.hqr39dC4H_AbactPAkCG{margin-top:calc(var( --spacing-base )*2)}.YNZmHOuRo6hU7zzKfPdP{margin-right:calc(var( --spacing-base )*2)}.Db8lbak1_wunpPk8NwKU{margin-bottom:calc(var( --spacing-base )*2)}.ftsYE5J9hLzquQ0tA5dY{margin-left:calc(var( --spacing-base )*2)}.Det4MHzLUW7EeDnafPzq{margin:calc(var( --spacing-base )*3)}.h_8EEAztC29Vve1datb5{margin-left:calc(var( --spacing-base )*3);margin-right:calc(var( --spacing-base )*3)}.YXIXJ0h1k47u6hzK8KcM{margin-bottom:calc(var( --spacing-base )*3)}.YXIXJ0h1k47u6hzK8KcM,.soADBBkcIKCBXzCTuV9_{margin-top:calc(var( --spacing-base )*3)}.zSX59ziEaEWGjnpZa4uV{margin-right:calc(var( --spacing-base )*3)}.yrVTnq_WBMbejg89c2ZQ{margin-bottom:calc(var( --spacing-base )*3)}.UKtHPJnI2cXBWtPDm5hM{margin-left:calc(var( --spacing-base )*3)}.guexok_Tqd5Tf52hRlbT{margin:calc(var( --spacing-base )*4)}.oS1E2KfTBZkJ3F0tN7T6{margin-left:calc(var( --spacing-base )*4);margin-right:calc(var( --spacing-base )*4)}.DN1OhhXi6AoBgEdDSbGd{margin-bottom:calc(var( --spacing-base )*4)}.DN1OhhXi6AoBgEdDSbGd,.ot2kkMcYHv53hLZ4LSn0{margin-top:calc(var( --spacing-base )*4)}.A1krOZZhlQ6Sp8Cy4bly{margin-right:calc(var( --spacing-base )*4)}.pkDbXXXL32237M0hokEh{margin-bottom:calc(var( --spacing-base )*4)}.XXv4kDTGvEnQeuGKOPU3{margin-left:calc(var( --spacing-base )*4)}.yGqHk1a57gaISwkXwXe6{margin:calc(var( --spacing-base )*5)}.X8cghM358X3DkXLc9aNK{margin-left:calc(var( --spacing-base )*5);margin-right:calc(var( --spacing-base )*5)}.GdfSmGwHlFnN2S6xBn1f{margin-bottom:calc(var( --spacing-base )*5)}.GdfSmGwHlFnN2S6xBn1f,.yqeuzwyGQ7zG0avrGqi_{margin-top:calc(var( --spacing-base )*5)}.g9emeCkuHvYhveiJbfXO{margin-right:calc(var( --spacing-base )*5)}.Lvk3dqcyHbZ07QCRlrUQ{margin-bottom:calc(var( --spacing-base )*5)}.r3yQECDQ9qX0XZzXlVAg{margin-left:calc(var( --spacing-base )*5)}.aQhlPwht2Cz1X_63Miw0{margin:calc(var( --spacing-base )*6)}.JyHb0vK3wJgpblL9s5j8{margin-left:calc(var( --spacing-base )*6);margin-right:calc(var( --spacing-base )*6)}.cY2gULL1lAv6WPNIRuf3{margin-bottom:calc(var( --spacing-base )*6)}.NBWQ9Lwhh_fnry3lg_p7,.cY2gULL1lAv6WPNIRuf3{margin-top:calc(var( --spacing-base )*6)}.yIOniNe5E40C8fWvBm5V{margin-right:calc(var( --spacing-base )*6)}.t30usboNSyqfQWIwHvT3{margin-bottom:calc(var( --spacing-base )*6)}.Nm_TyFkYCMhOoghoToKJ{margin-left:calc(var( --spacing-base )*6)}.C4qJKoBXpgKtpmrqtEKB{margin:calc(var( --spacing-base )*7)}.S93Srbu6NQ_PBr7DmTiD{margin-left:calc(var( --spacing-base )*7);margin-right:calc(var( --spacing-base )*7)}.fJj8k6gGJDks3crUZxOS{margin-bottom:calc(var( --spacing-base )*7)}.cW6D6djs7Ppm7fD7TeoV,.fJj8k6gGJDks3crUZxOS{margin-top:calc(var( --spacing-base )*7)}.DuCnqNfcxcP3Z__Yo5Ro{margin-right:calc(var( --spacing-base )*7)}.im8407m2fw5vOg7O2zsw{margin-bottom:calc(var( --spacing-base )*7)}.G0fbeBgvz2sh3uTP9gNl{margin-left:calc(var( --spacing-base )*7)}.kvW3sBCxRxUqz1jrVMJl{margin:calc(var( --spacing-base )*8)}.tOjEqjLONQdkiYx_XRnw{margin-left:calc(var( --spacing-base )*8);margin-right:calc(var( --spacing-base )*8)}.op5hFSx318zgxsoZZNLN{margin-bottom:calc(var( --spacing-base )*8)}.c9WfNHP6TFKWIfLxv52J,.op5hFSx318zgxsoZZNLN{margin-top:calc(var( --spacing-base )*8)}.sBA75QqcqRwwYSHJh2wc{margin-right:calc(var( --spacing-base )*8)}.GpL6idrXmSOM6jB8Ohsf{margin-bottom:calc(var( --spacing-base )*8)}.HbtWJoQwpgGycz8dGzeT{margin-left:calc(var( --spacing-base )*8)}.uxX3khU88VQ_Ah49Ejsa{padding:calc(var( --spacing-base )*0)}.KX0FhpBKwKzs9fOUdbNz{padding-left:calc(var( --spacing-base )*0);padding-right:calc(var( --spacing-base )*0)}.PfK8vKDyN32dnimlzYjz{padding-bottom:calc(var( --spacing-base )*0)}.PfK8vKDyN32dnimlzYjz,.emxLHRjQuJsImnPbQIzE{padding-top:calc(var( --spacing-base )*0)}.kJ8WzlpTVgdViXt8ukP9{padding-right:calc(var( --spacing-base )*0)}.tg_UIUI11VBzrTAn2AzJ{padding-bottom:calc(var( --spacing-base )*0)}.uczvl8kaz84oPQJ2DB2R{padding-left:calc(var( --spacing-base )*0)}.o7UHPcdVK3lt7q3lqV4o{padding:calc(var( --spacing-base )*1)}.IDqEOxvDoYrFYxELPmtX{padding-left:calc(var( --spacing-base )*1);padding-right:calc(var( --spacing-base )*1)}.DdywPW2qSYlu2pt8tpO2{padding-bottom:calc(var( --spacing-base )*1)}.DdywPW2qSYlu2pt8tpO2,.npy3hw4A5QSkDicb2CJJ{padding-top:calc(var( --spacing-base )*1)}.LgbptTApNY5NwLQvEFAt{padding-right:calc(var( --spacing-base )*1)}.WZQy2SZuZso59bUsXXyl{padding-bottom:calc(var( --spacing-base )*1)}.o331apInxNunbYB3SfPE{padding-left:calc(var( --spacing-base )*1)}.fMPIyD9Vqki1Lrc_yJnG{padding:calc(var( --spacing-base )*2)}.i2pMcTcdrr10IQoiSm_L{padding-left:calc(var( --spacing-base )*2);padding-right:calc(var( --spacing-base )*2)}.eA702gn32kwptiI1obXH{padding-bottom:calc(var( --spacing-base )*2)}.eA702gn32kwptiI1obXH,.o9bGieUKcYc8o0Ij9oZX{padding-top:calc(var( --spacing-base )*2)}.SwZcFez1RDqWsOFjB5iG{padding-right:calc(var( --spacing-base )*2)}.eHpLc_idmuEqeqCTvqkN{padding-bottom:calc(var( --spacing-base )*2)}.vU39i2B4P1fUTMB2l6Vo{padding-left:calc(var( --spacing-base )*2)}.JHWNzBnE29awhdu5BEh1{padding:calc(var( --spacing-base )*3)}.X72lGbb56L3KFzC2xQ9N{padding-left:calc(var( --spacing-base )*3);padding-right:calc(var( --spacing-base )*3)}.BzfNhRG8wXdCEB5ocQ6e{padding-bottom:calc(var( --spacing-base )*3)}.BzfNhRG8wXdCEB5ocQ6e,.srV0KSDC83a2fiimSMMQ{padding-top:calc(var( --spacing-base )*3)}.lUWfkmbQjCskhcNwkyCm{padding-right:calc(var( --spacing-base )*3)}.Ts0dIlc3aTSL7V4cIHis{padding-bottom:calc(var( --spacing-base )*3)}.CzlqQXXhX6MvorArFZ8B{padding-left:calc(var( --spacing-base )*3)}.TqMPkQtR_DdZuKb5vBoV{padding:calc(var( --spacing-base )*4)}.a7UrjhI69Vetlcj9ZVzz{padding-left:calc(var( --spacing-base )*4);padding-right:calc(var( --spacing-base )*4)}.StEhBzGs2Gi5dDEkjhAv{padding-bottom:calc(var( --spacing-base )*4)}.FGneZfZyvYrt1dG0zcnm,.StEhBzGs2Gi5dDEkjhAv{padding-top:calc(var( --spacing-base )*4)}.APEH216rpdlJWgD2fHc8{padding-right:calc(var( --spacing-base )*4)}.oGwXC3ohCic9XnAj6x69{padding-bottom:calc(var( --spacing-base )*4)}.U6gnT9y42ViPNOcNzBwb{padding-left:calc(var( --spacing-base )*4)}.IpdRLBwnHqbqFrixgbYC{padding:calc(var( --spacing-base )*5)}.HgNeXvkBa9o3bQ5fvFZm{padding-left:calc(var( --spacing-base )*5);padding-right:calc(var( --spacing-base )*5)}.tJtFZM3XfPG9v9TSDfN1{padding-bottom:calc(var( --spacing-base )*5)}.PdifHW45QeXYfK568uD8,.tJtFZM3XfPG9v9TSDfN1{padding-top:calc(var( --spacing-base )*5)}.mbLkWTTZ0Za_BBbFZ5b2{padding-right:calc(var( --spacing-base )*5)}.vVWpZpLlWrkTt0hMk8XU{padding-bottom:calc(var( --spacing-base )*5)}.RxfaJj5a1Nt6IavEo5Zl{padding-left:calc(var( --spacing-base )*5)}.SppJULDGdnOGcjZNCYBy{padding:calc(var( --spacing-base )*6)}.palY2nLwdoyooPUm9Hhk{padding-left:calc(var( --spacing-base )*6);padding-right:calc(var( --spacing-base )*6)}.WYw1JvZC0ppLdvSAPhr_{padding-bottom:calc(var( --spacing-base )*6)}.WYw1JvZC0ppLdvSAPhr_,.YEEJ9b90ueQaPfiU8aeN{padding-top:calc(var( --spacing-base )*6)}.QE0ssnsKvWJMqlhPbY5u{padding-right:calc(var( --spacing-base )*6)}.n8yA3jHlMRyLd5UIfoND{padding-bottom:calc(var( --spacing-base )*6)}.tXHmxYnHzbwtfxEaG51n{padding-left:calc(var( --spacing-base )*6)}.kBTsPKkO_3g_tLkj77Um{padding:calc(var( --spacing-base )*7)}.RyhrFx6Y1FGDrGAAyaxm{padding-left:calc(var( --spacing-base )*7);padding-right:calc(var( --spacing-base )*7)}.CBwRpB0bDN3iEdQPPMJO{padding-bottom:calc(var( --spacing-base )*7)}.CBwRpB0bDN3iEdQPPMJO,.vQVSq6SvWKbOMu6r4H6b{padding-top:calc(var( --spacing-base )*7)}.oBy5__aEADMsH46mrgFX{padding-right:calc(var( --spacing-base )*7)}.KVEXoJqf1s92j0JMdNmN{padding-bottom:calc(var( --spacing-base )*7)}.ZMXGNrNaKW3k_3TLz0Fq{padding-left:calc(var( --spacing-base )*7)}.tuiR9PhkHXhGyEgzRZRI{padding:calc(var( --spacing-base )*8)}.U7454qyWkQNa2iaSJziu{padding-left:calc(var( --spacing-base )*8);padding-right:calc(var( --spacing-base )*8)}.VLYIv2GVocjuN93e8HC8{padding-bottom:calc(var( --spacing-base )*8)}.VLYIv2GVocjuN93e8HC8,.X1rm9DQ1zLGLfogja5Gn{padding-top:calc(var( --spacing-base )*8)}.JS7G6kAuqJo5GIuF8S5t{padding-right:calc(var( --spacing-base )*8)}.Y8F9ga1TDCMbM1lj4gUz{padding-bottom:calc(var( --spacing-base )*8)}.AJuyNGrI63BOWql719H8{padding-left:calc(var( --spacing-base )*8)}.terms-of-service{color:var(--jp-black);font-size:var(--font-body)}.terms-of-service .terms-of-service__link{color:var(--jp-green-50);text-decoration:underline;white-space:nowrap}.zI5tJ_qhWE6Oe6Lk75GY{--wp-admin-theme-color:var(--jp-black);--wp-admin-theme-color-darker-10:var(--jp-black-80);--wp-admin-theme-color-darker-20:var(--jp-black-80);--wp-admin-border-width-focus:1.51px;border-radius:var(--jp-border-radius);font-weight:600;justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo{height:calc(var(--spacing-base)*5);padding:var(--spacing-base);width:calc(var(--spacing-base)*5)}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo>svg:first-child{margin:0;padding:0}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo.Na39I683LAaSA99REg14{height:calc(var(--spacing-base)*4);min-width:calc(var(--spacing-base)*4);padding:calc(var(--spacing-base)/2);width:calc(var(--spacing-base)*4)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF:not(.tuBt2DLqimiImoqVzPqo){font-size:var(--font-body);height:auto;line-height:24px;padding:var(--spacing-base) calc(var(--spacing-base)*3)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF:not(.tuBt2DLqimiImoqVzPqo).paGLQwtPEaJmtArCcmyK{padding:var(--spacing-base) calc(var(--spacing-base)*2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo){font-size:var(--font-body-extra-small);height:auto;line-height:20px;padding:calc(var(--spacing-base)/2) var(--spacing-base)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo).paGLQwtPEaJmtArCcmyK>svg:first-child{margin-right:calc(var(--spacing-base)/2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo)>.components-spinner{height:20px}.zI5tJ_qhWE6Oe6Lk75GY.lZAo6_oGfclXOO9CC6Rd{font-weight:400}.zI5tJ_qhWE6Oe6Lk75GY.xJDOiJxTt0R_wSl8Ipz_{min-width:100%}.zI5tJ_qhWE6Oe6Lk75GY.is-primary:disabled,.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:disabled{background:var(--jp-gray);color:var(--jp-gray-20)}.zI5tJ_qhWE6Oe6Lk75GY.is-secondary{background:var(--jp-white);box-shadow:inset 0 0 0 1.51px var(--jp-black)}.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:active:not(:disabled),.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:hover:not(:disabled){background:var(--jp-gray-0)}.zI5tJ_qhWE6Oe6Lk75GY.is-link.Na39I683LAaSA99REg14,.zI5tJ_qhWE6Oe6Lk75GY.is-link.ipS7tKy9GntCS4R3vekF{padding:0}.zI5tJ_qhWE6Oe6Lk75GY.is-link:hover:not(:disabled){text-decoration-thickness:3px}.zI5tJ_qhWE6Oe6Lk75GY.is-link:focus:not(:disabled){text-decoration-line:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary{box-shadow:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:not(:disabled){background:var(--jp-red-50);box-shadow:inset 0 0 0 1px var(--jp-red-50);color:var(--jp-white)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:hover:not(:disabled){background:var(--jp-red-60);box-shadow:inset 0 0 0 1px var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:focus:not(:disabled){background:var(--jp-red-70);box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-white)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:active:not(:disabled){background:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary{box-shadow:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:not(:disabled){background:var(--jp-white);box-shadow:inset 0 0 0 1.5px var(--jp-red-50);color:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:hover:not(:disabled){background:var(--jp-red-0);box-shadow:inset 0 0 0 1.5px var(--jp-red-60);color:var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:focus:not(:disabled){box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-red-70)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:active:not(:disabled){background:var(--jp-gray-0)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:not(:disabled){color:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:hover:not(:disabled){box-shadow:none;color:var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:focus:not(:disabled){box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-red-70)}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6{position:relative}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6.has-icon{justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6>:not(.components-spinner){visibility:hidden}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6>.components-spinner{margin:0;position:absolute}.CDuBjJp_8jxzx5j6Nept{margin-left:calc(var(--spacing-base)/2)}.TcCZnGE6mad8Dvz9pCZi{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PHBhdGggc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIvPjxwYXRoIGZpbGw9IiNENjM2MzkiIGQ9Ik0xMyA3aC0ydjZoMnpNMTMgMTVoLTJ2MmgyeiIvPjwvc3ZnPg==) no-repeat 0 0;color:var(--jp-red);line-height:25px;padding-left:25px}._mn6o2Dtm5pfFWc8_A1K{--spacing-base:8px;min-width:264px}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:calc(100% - 384px - var(--spacing-base)*4)}.jp-connection__connect-screen-required-plan{background:linear-gradient(90deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}.jp-connection__connect-screen-required-plan ul.jp-product-promote{margin-block-end:calc(var(--spacing-base)*4);margin-block-start:calc(var(--spacing-base)*3)}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{position:absolute;right:calc(var(--spacing-base)*12);top:calc(var(--spacing-base)*8)}}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button:disabled{background:var(--jp-gray)!important;color:var(--jp-gray-20)!important}.jp-connection__connect-screen-required-plan__pricing-card .terms-of-service{margin-bottom:var(--spacing-base);margin-top:calc(var(--spacing-base)*4)}.jp-connection__connect-screen-required-plan__with-subscription{display:flex;flex-wrap:wrap;gap:1ch;justify-content:flex-start;line-height:1;margin-top:calc(var(--spacing-base)*4)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button.is-primary{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);height:auto;line-height:20px;font:inherit;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button.is-primary:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button.is-primary:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-right-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px #00000014;max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-right:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;left:0;position:absolute;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info,.jp-components__pricing-card__tos{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px}.jp-components__pricing-card__tos{margin-top:24px}@keyframes R2i0K45dEF157drbVRPI{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.NisihrgiIKl_knpYJtfg{animation:R2i0K45dEF157drbVRPI 1.5s infinite;background-color:var(--jp-gray);height:100%;width:100%}.jp-iframe-wrap{text-align:center}.fade-in{animation:fadeIn 1.5s ease;-webkit-animation:fadeIn 1.5s ease;-moz-animation:fadeIn 1.5s ease;-o-animation:fadeIn 1.5s ease;-ms-animation:fadeIn 1.5s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}to{opacity:1}}.urouayitSUT8zW0V3p_0{margin-bottom:0}.iXXJlk08gFDeCvsTTlNQ{border:1px solid var(--jp-gray);border-left:6px solid var(--jp-red-50);border-radius:var(--jp-border-radius);box-shadow:0 4px 8px #00000008,0 1px 2px #0000000f;box-sizing:border-box;color:var(--jp-gray-80);font-size:16px;line-height:22px;margin:0;padding:calc(var(--spacing-base)*2) calc(var(--spacing-base)*3) calc(var(--spacing-base)*2) calc(var(--spacing-base)*3)}.iXXJlk08gFDeCvsTTlNQ.is-error{background-color:var(--jp-white)}.iXXJlk08gFDeCvsTTlNQ .components-notice__content{align-items:flex-start;display:flex;flex-direction:column;margin:0;padding:12px 4px}.iXXJlk08gFDeCvsTTlNQ .is-link{color:var(--jp-black);font-size:16px;font-weight:600}.iXXJlk08gFDeCvsTTlNQ .components-notice__dismiss{align-self:center}.iXXJlk08gFDeCvsTTlNQ .MWqRqr7q6fgvLxitcWYk,.iXXJlk08gFDeCvsTTlNQ .MWqRqr7q6fgvLxitcWYk:active,.iXXJlk08gFDeCvsTTlNQ .MWqRqr7q6fgvLxitcWYk:hover,.iXXJlk08gFDeCvsTTlNQ .MWqRqr7q6fgvLxitcWYk:visited{align-items:center;background:#000;border-radius:var(--jp-border-radius);color:var(--jp-white);cursor:pointer;font-size:16px;font-weight:600;justify-content:center;letter-spacing:-.01em;line-height:24px;margin-left:calc(var(--spacing-base)*2 + 24px);margin-top:24px;padding:8px 24px;text-decoration:none}.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .MWqRqr7q6fgvLxitcWYk,.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .MWqRqr7q6fgvLxitcWYk:active,.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .MWqRqr7q6fgvLxitcWYk:hover,.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .MWqRqr7q6fgvLxitcWYk:visited{margin-left:0;margin-top:0;white-space:nowrap}.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .components-notice__content{align-items:center;flex-direction:row}.e6hHy8BZ7ZKPSXbIC0UG{margin-bottom:25px}.jXz8LnXNzMDdtHqkG0sZ{display:flex;flex-grow:1;margin-right:var(--spacing-base)}.jXz8LnXNzMDdtHqkG0sZ>svg{align-self:flex-start;flex-shrink:0}.jXz8LnXNzMDdtHqkG0sZ .jp-components-spinner,.jXz8LnXNzMDdtHqkG0sZ>svg{margin-right:calc(var(--spacing-base)*2)}@keyframes rotate-spinner{to{transform:rotate(1turn)}}.jp-components-spinner{align-items:center;display:flex}.jp-components-spinner__inner,.jp-components-spinner__outer{animation:3s linear infinite;animation-name:rotate-spinner;border:.1em solid #0000;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-right-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,#0000,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;left:0;position:absolute;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-right:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:left}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-left:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:left;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-right:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:right}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-right:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:1rem;margin-right:0}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,');content:"";display:block;height:8px;left:24px;position:absolute;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8, ')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid #0000;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:left;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-right:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%) rotate(45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:#0000;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-right:40px}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--jp-gray-40:#787c82;--jp-gray-50:#646970;--jp-gray-60:#50575e;--jp-gray-70:#3c434a;--jp-gray-80:#2c3338;--jp-gray-90:#1d2327;--jp-gray-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-5:#f5e6b3;--jp-yellow-10:#f2cf75;--jp-yellow-40:#c08c00;--jp-orange-20:#faa754;--jp-blue-5:#ced9f2;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--jp-pink:#c9356e;--jp-green-0:#f0f2eb;--jp-green-5:#d0e6b8;--jp-green-10:#9dd977;--jp-green-20:#64ca43;--jp-green-30:#2fb41f;--jp-green-40:#069e08;--jp-green-50:#008710;--jp-green-60:#007117;--jp-green-70:#005b18;--jp-green-80:#004515;--jp-green-90:#003010;--jp-green-100:#001c09;--jp-green:#069e08;--jp-green-primary:var(--jp-green-40);--jp-green-secondary:var(--jp-green-30);--jp-border-radius:4px;--jp-border-radius-rna:8px;--jp-menu-border-height:1px;--jp-underline-thickness:2px;--jp-modal-padding-large:32px;--jp-modal-padding:24px;--jp-modal-padding-small:16px;--jp-modal-radius:8px;--jp-button-padding:8px;--jp-button-radius:4px;--jp-gap:16px;--jp-highlight:#3858e9}:where(body){font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;min-height:100%;padding:0}.jp-wrap{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.jp-row{display:grid;grid-gap:24px;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.jp-row{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.jp-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.sm-col-span-1{grid-column-end:span 1}.sm-col-span-2{grid-column-end:span 2}.sm-col-span-3{grid-column-end:span 3}.sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.md-col-span-1{grid-column-end:span 1}.md-col-span-2{grid-column-end:span 2}.md-col-span-3{grid-column-end:span 3}.md-col-span-4{grid-column-end:span 4}.md-col-span-5{grid-column-end:span 5}.md-col-span-6{grid-column-end:span 6}.md-col-span-7{grid-column-end:span 7}.md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.lg-col-span-1{grid-column-end:span 1}.lg-col-span-2{grid-column-end:span 2}.lg-col-span-3{grid-column-end:span 3}.lg-col-span-4{grid-column-end:span 4}.lg-col-span-5{grid-column-end:span 5}.lg-col-span-6{grid-column-end:span 6}.lg-col-span-7{grid-column-end:span 7}.lg-col-span-8{grid-column-end:span 8}.lg-col-span-9{grid-column-end:span 9}.lg-col-span-10{grid-column-end:span 10}.lg-col-span-11{grid-column-end:span 11}.lg-col-span-12{grid-column-end:span 12}}@media(max-width:960px){.md-col-span-0{display:none}}@media(max-width:600px){.sm-col-span-0{display:none}}.jp-cut{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 64px 16px 24px;position:relative;text-decoration:none}.jp-cut,.jp-cut span{display:block}.jp-cut span:last-of-type{font-weight:600}.jp-cut:focus span:last-of-type,.jp-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;position:absolute;right:24px;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-connection__manage-dialog{--spacing-base:8px;border-radius:3px;margin:auto;width:1200px}.jp-connection__manage-dialog__content{align-items:center;background:var(--jp-white-off);display:flex;flex-direction:column;justify-content:center;padding:80px;text-align:center}.jp-connection__manage-dialog__content h1{font-size:var(--font-title-large);font-weight:700;line-height:1.2;margin:0}.jp-connection__manage-dialog__large-text{font-size:1.25rem;font-weight:600;margin-bottom:calc(var(--spacing-base)*4);margin-top:calc(var(--spacing-base)*3);max-width:60%}.jp-connection__manage-dialog__actions{align-items:center;background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;box-sizing:border-box;margin:0!important;max-width:1200px!important;padding:calc(var(--spacing-base)*4) calc(var(--spacing-base)*5);position:sticky}.jp-connection__manage-dialog__link{color:var(--jp-black)}.jp-connection__manage-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__manage-dialog__link:focus{color:var(--jp-black)}.jp-connection__manage-dialog__button-wrap button{float:right}.jp-connection__manage-dialog__action-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:var(--spacing-base) auto;max-width:100%;padding:1rem 2rem;text-align:left;width:750px}.jp-connection__manage-dialog__action-card__card-headline{font-size:var(--font-body);font-weight:600;line-height:calc(var(--spacing-base)*3);text-decoration:none}.jp-connection__manage-dialog__action-card__icon{float:right}.jp-connection__manage-dialog__action-card .transfer{color:var(--jp-black);fill:var(--jp-black)}.jp-connection__manage-dialog__action-card .disconnect{color:var(--jp-red);fill:var(--jp-red)}.jp-connection__manage-dialog .components-modal__header{display:none}.jp-connection__manage-dialog .components-modal__content{margin:0;padding:0} \ No newline at end of file diff --git a/vendor/automattic/jetpack-connection/dist/jetpack-connection.js b/vendor/automattic/jetpack-connection/dist/jetpack-connection.js new file mode 100644 index 00000000..20bae828 --- /dev/null +++ b/vendor/automattic/jetpack-connection/dist/jetpack-connection.js @@ -0,0 +1,7 @@ +/*! For license information please see jetpack-connection.js.LICENSE.txt */ +!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.JetpackConnection=n():e.JetpackConnection=n()}(self,(()=>(()=>{var e={7689:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={error:"TcCZnGE6mad8Dvz9pCZi",button:"_mn6o2Dtm5pfFWc8_A1K"}},2258:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},9535:()=>{},8403:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},6406:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},4319:()=>{},8325:()=>{},9634:()=>{},4495:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={reset:"WQVtrU6q0L1Igcj7wCrQ","headline-medium":"UujoBFTnQNY2cWU2SIsH","headline-small":"TeGO5V_thHw5lDAm1_2M","headline-small-regular":"WolQzb2MsSgiNmLtc7_j","title-medium":"hUB0JT8p1T2Hw28N6qC8","title-medium-semi-bold":"gKZWDv5chz3_O3Syp74H","title-small":"zY2No8Ga4b8shbOQGhnv",body:"tIj0D1t8Cc892ikmgFPZ","body-small":"KdcN0BnOaVeVhyLRKqhS","body-extra-small":"dso3Rh3tl3Xv1GumBktz","body-extra-small-bold":"mQ1UlbN9u4Mg9byO8m7v",label:"PItlW5vRExLnTj4a8eLE","m-0":"TwRpPlktzxhmFVeua7P5","mx-0":"zVfqx7gyb3o9mxfGynn1","my-0":"iSHVzNiB9iVleGljaQxy","mt-0":"xqDIp6cNVr_E6RXaiPyD","mr-0":"S8EwaXk1kyPizt6x4WH2","mb-0":"ODX5Vr1TARoLFkDDFooD","ml-0":"cphJ8dCpfimnky7P2FHg","m-1":"PFgIhNxIyiSuNvQjAIYj","mx-1":"M2jKmUzDxvJjjVEPU3zn","my-1":"io15gAh8tMTNbSEfwJKk","mt-1":"rcTN5uw9xIEeMEGL3Xi_","mr-1":"CQSkybjq2TcRM1Xo9COV","mb-1":"hfqOWgq6_MEGdFE82eOY","ml-1":"I8MxZQYTbuu595yfesWA","m-2":"kQkc6rmdpvLKPkyoJtVQ","mx-2":"j6vFPxWuu4Jan2ldoxpp","my-2":"hqr39dC4H_AbactPAkCG","mt-2":"c3dQnMi16C6J6Ecy4283","mr-2":"YNZmHOuRo6hU7zzKfPdP","mb-2":"Db8lbak1_wunpPk8NwKU","ml-2":"ftsYE5J9hLzquQ0tA5dY","m-3":"Det4MHzLUW7EeDnafPzq","mx-3":"h_8EEAztC29Vve1datb5","my-3":"YXIXJ0h1k47u6hzK8KcM","mt-3":"soADBBkcIKCBXzCTuV9_","mr-3":"zSX59ziEaEWGjnpZa4uV","mb-3":"yrVTnq_WBMbejg89c2ZQ","ml-3":"UKtHPJnI2cXBWtPDm5hM","m-4":"guexok_Tqd5Tf52hRlbT","mx-4":"oS1E2KfTBZkJ3F0tN7T6","my-4":"DN1OhhXi6AoBgEdDSbGd","mt-4":"ot2kkMcYHv53hLZ4LSn0","mr-4":"A1krOZZhlQ6Sp8Cy4bly","mb-4":"pkDbXXXL32237M0hokEh","ml-4":"XXv4kDTGvEnQeuGKOPU3","m-5":"yGqHk1a57gaISwkXwXe6","mx-5":"X8cghM358X3DkXLc9aNK","my-5":"GdfSmGwHlFnN2S6xBn1f","mt-5":"yqeuzwyGQ7zG0avrGqi_","mr-5":"g9emeCkuHvYhveiJbfXO","mb-5":"Lvk3dqcyHbZ07QCRlrUQ","ml-5":"r3yQECDQ9qX0XZzXlVAg","m-6":"aQhlPwht2Cz1X_63Miw0","mx-6":"JyHb0vK3wJgpblL9s5j8","my-6":"cY2gULL1lAv6WPNIRuf3","mt-6":"NBWQ9Lwhh_fnry3lg_p7","mr-6":"yIOniNe5E40C8fWvBm5V","mb-6":"t30usboNSyqfQWIwHvT3","ml-6":"Nm_TyFkYCMhOoghoToKJ","m-7":"C4qJKoBXpgKtpmrqtEKB","mx-7":"S93Srbu6NQ_PBr7DmTiD","my-7":"fJj8k6gGJDks3crUZxOS","mt-7":"cW6D6djs7Ppm7fD7TeoV","mr-7":"DuCnqNfcxcP3Z__Yo5Ro","mb-7":"im8407m2fw5vOg7O2zsw","ml-7":"G0fbeBgvz2sh3uTP9gNl","m-8":"kvW3sBCxRxUqz1jrVMJl","mx-8":"tOjEqjLONQdkiYx_XRnw","my-8":"op5hFSx318zgxsoZZNLN","mt-8":"c9WfNHP6TFKWIfLxv52J","mr-8":"sBA75QqcqRwwYSHJh2wc","mb-8":"GpL6idrXmSOM6jB8Ohsf","ml-8":"HbtWJoQwpgGycz8dGzeT","p-0":"uxX3khU88VQ_Ah49Ejsa","px-0":"KX0FhpBKwKzs9fOUdbNz","py-0":"PfK8vKDyN32dnimlzYjz","pt-0":"emxLHRjQuJsImnPbQIzE","pr-0":"kJ8WzlpTVgdViXt8ukP9","pb-0":"tg_UIUI11VBzrTAn2AzJ","pl-0":"uczvl8kaz84oPQJ2DB2R","p-1":"o7UHPcdVK3lt7q3lqV4o","px-1":"IDqEOxvDoYrFYxELPmtX","py-1":"DdywPW2qSYlu2pt8tpO2","pt-1":"npy3hw4A5QSkDicb2CJJ","pr-1":"LgbptTApNY5NwLQvEFAt","pb-1":"WZQy2SZuZso59bUsXXyl","pl-1":"o331apInxNunbYB3SfPE","p-2":"fMPIyD9Vqki1Lrc_yJnG","px-2":"i2pMcTcdrr10IQoiSm_L","py-2":"eA702gn32kwptiI1obXH","pt-2":"o9bGieUKcYc8o0Ij9oZX","pr-2":"SwZcFez1RDqWsOFjB5iG","pb-2":"eHpLc_idmuEqeqCTvqkN","pl-2":"vU39i2B4P1fUTMB2l6Vo","p-3":"JHWNzBnE29awhdu5BEh1","px-3":"X72lGbb56L3KFzC2xQ9N","py-3":"BzfNhRG8wXdCEB5ocQ6e","pt-3":"srV0KSDC83a2fiimSMMQ","pr-3":"lUWfkmbQjCskhcNwkyCm","pb-3":"Ts0dIlc3aTSL7V4cIHis","pl-3":"CzlqQXXhX6MvorArFZ8B","p-4":"TqMPkQtR_DdZuKb5vBoV","px-4":"a7UrjhI69Vetlcj9ZVzz","py-4":"StEhBzGs2Gi5dDEkjhAv","pt-4":"FGneZfZyvYrt1dG0zcnm","pr-4":"APEH216rpdlJWgD2fHc8","pb-4":"oGwXC3ohCic9XnAj6x69","pl-4":"U6gnT9y42ViPNOcNzBwb","p-5":"IpdRLBwnHqbqFrixgbYC","px-5":"HgNeXvkBa9o3bQ5fvFZm","py-5":"tJtFZM3XfPG9v9TSDfN1","pt-5":"PdifHW45QeXYfK568uD8","pr-5":"mbLkWTTZ0Za_BBbFZ5b2","pb-5":"vVWpZpLlWrkTt0hMk8XU","pl-5":"RxfaJj5a1Nt6IavEo5Zl","p-6":"SppJULDGdnOGcjZNCYBy","px-6":"palY2nLwdoyooPUm9Hhk","py-6":"WYw1JvZC0ppLdvSAPhr_","pt-6":"YEEJ9b90ueQaPfiU8aeN","pr-6":"QE0ssnsKvWJMqlhPbY5u","pb-6":"n8yA3jHlMRyLd5UIfoND","pl-6":"tXHmxYnHzbwtfxEaG51n","p-7":"kBTsPKkO_3g_tLkj77Um","px-7":"RyhrFx6Y1FGDrGAAyaxm","py-7":"CBwRpB0bDN3iEdQPPMJO","pt-7":"vQVSq6SvWKbOMu6r4H6b","pr-7":"oBy5__aEADMsH46mrgFX","pb-7":"KVEXoJqf1s92j0JMdNmN","pl-7":"ZMXGNrNaKW3k_3TLz0Fq","p-8":"tuiR9PhkHXhGyEgzRZRI","px-8":"U7454qyWkQNa2iaSJziu","py-8":"VLYIv2GVocjuN93e8HC8","pt-8":"X1rm9DQ1zLGLfogja5Gn","pr-8":"JS7G6kAuqJo5GIuF8S5t","pb-8":"Y8F9ga1TDCMbM1lj4gUz","pl-8":"AJuyNGrI63BOWql719H8"}},1772:()=>{},9064:()=>{},381:()=>{},4175:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={heading:"urouayitSUT8zW0V3p_0",notice:"iXXJlk08gFDeCvsTTlNQ",button:"MWqRqr7q6fgvLxitcWYk","bigger-than-medium":"YLcXAoc82nypTPaKSAcd",error:"e6hHy8BZ7ZKPSXbIC0UG",message:"jXz8LnXNzMDdtHqkG0sZ"}},7419:()=>{},785:()=>{},255:()=>{},3732:()=>{},2057:()=>{},9903:(e,n,t)=>{"use strict";t.d(n,{i:()=>i});const o={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function i(e){return o[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},4761:(e,n,t)=>{"use strict";t.d(n,{vA:()=>c});var o=t(9903),i=t(8449);function c(e,n,t={}){const c=(0,o.i)(n);if(!c||isNaN(e))return null;const{decimal:r,grouping:s,precision:a,symbol:l}={...c,...t},p=e<0?"-":"",d=Math.abs(e),u=Math.floor(d);return{sign:p,symbol:l,integer:(0,i.A)(d,a,r,s).split(r)[0],fraction:a>0?(0,i.A)(d-u,a,r,s).slice(1):""}}},8449:(e,n,t)=>{"use strict";function o(e,n=0,t=".",o=","){const i=(e+"").replace(/[^0-9+\-Ee.]/g,""),c=isFinite(+i)?+i:0,r=isFinite(+n)?Math.abs(n):0,s=(r?function(e,n){const t=Math.pow(10,n);return""+(Math.round(e*t)/t).toFixed(n)}(c,r):""+Math.round(c)).split(".");return s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(s[1]||"").lengtho})},7750:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var o=t(6087);const i=(0,o.forwardRef)((function({icon:e,size:n=24,...t},i){return(0,o.cloneElement)(e,{width:n,height:n,...t,ref:i})}))},1386:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(5573),i=t(790);const c=(0,i.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(o.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},8391:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(5573),i=t(790);const c=(0,i.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i.jsx)(o.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},4804:(e,n,t)=>{n.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;n.splice(1,0,t,"color: inherit");let o=0,i=0;n[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))})),n.splice(i,0,t)},n.save=function(e){try{e?n.storage.setItem("debug",e):n.storage.removeItem("debug")}catch(e){}},n.load=function(){let e;try{e=n.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},n.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage=function(){try{return localStorage}catch(e){}}(),n.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.log=console.debug||console.log||(()=>{}),e.exports=t(5067)(n);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5067:(e,n,t)=>{e.exports=function(e){function n(e){let t,i,c,r=null;function s(...e){if(!s.enabled)return;const o=s,i=Number(new Date),c=i-(t||i);o.diff=c,o.prev=t,o.curr=i,t=i,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,i)=>{if("%%"===t)return"%";r++;const c=n.formatters[i];if("function"==typeof c){const n=e[r];t=c.call(o,n),e.splice(r,1),r--}return t})),n.formatArgs.call(o,e);(o.log||n.log).apply(o,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=o,s.destroy=n.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==n.namespaces&&(i=n.namespaces,c=n.enabled(e)),c),set:e=>{r=e}}),"function"==typeof n.init&&n.init(s),s}function o(e,t){const o=n(this.namespace+(void 0===t?":":t)+e);return o.log=this.log,o}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){const e=[...n.names.map(i),...n.skips.map(i).map((e=>"-"+e))].join(",");return n.enable(""),e},n.enable=function(e){let t;n.save(e),n.namespaces=e,n.names=[],n.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),i=o.length;for(t=0;t{n[t]=e[t]})),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let t=0;for(let n=0;n{var n=1e3,t=60*n,o=60*t,i=24*o,c=7*i,r=365.25*i;function s(e,n,t,o){var i=n>=1.5*t;return Math.round(e/t)+" "+o+(i?"s":"")}e.exports=function(e,a){a=a||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*r;case"weeks":case"week":case"w":return a*c;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*t;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===l&&isFinite(e))return a.long?function(e){var c=Math.abs(e);if(c>=i)return s(e,c,i,"day");if(c>=o)return s(e,c,o,"hour");if(c>=t)return s(e,c,t,"minute");if(c>=n)return s(e,c,n,"second");return e+" ms"}(e):function(e){var c=Math.abs(e);if(c>=i)return Math.round(e/i)+"d";if(c>=o)return Math.round(e/o)+"h";if(c>=t)return Math.round(e/t)+"m";if(c>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},1583:(e,n,t)=>{"use strict";var o=t(1752);function i(){}function c(){}c.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,c,r){if(r!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:c,resetWarningCache:i};return t.PropTypes=t,t}},3619:(e,n,t)=>{e.exports=t(1583)()},1752:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},372:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(4804);const i=t.n(o)()("dops:analytics");let c,r;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const s={initialize:function(e,n,t){s.setUser(e,n),s.setSuperProps(t),s.identifyUser()},setGoogleAnalyticsEnabled:function(e,n=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=n},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,n){r={ID:e,username:n}},setSuperProps:function(e){c=e},assignSuperProps:function(e){c=Object.assign(c||{},e)},mc:{bumpStat:function(e,n){const t=function(e,n){let t="";if("object"==typeof e){for(const n in e)t+="&x_"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]);i("Bumping stats %o",e)}else t="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(n),i('Bumping stat "%s" in group "%s"',n,e);return t}(e,n);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+t+"&t="+Math.random())},bumpStatWithPageView:function(e,n){const t=function(e,n){let t="";if("object"==typeof e){for(const n in e)t+="&"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]);i("Built stats %o",e)}else t="&"+encodeURIComponent(e)+"="+encodeURIComponent(n),i('Built stat "%s" in group "%s"',n,e);return t}(e,n);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+t+"&t="+Math.random())}},pageView:{record:function(e,n){s.tracks.recordPageView(e),s.ga.recordPageView(e,n)}},purchase:{record:function(e,n,t,o,i,c,r){s.ga.recordPurchase(e,n,t,o,i,c,r)}},tracks:{recordEvent:function(e,n){n=n||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(c&&(i("- Super Props: %o",c),n=Object.assign(n,c)),i('Record event "%s" called with props %s',e,JSON.stringify(n)),window._tkq.push(["recordEvent",e,n])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const n="object"==typeof e?e:{target:e};s.tracks.recordEvent("jetpack_wpa_click",n)},recordPageView:function(e){s.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};s.ga.initialized||(r&&(e={userId:"u-"+r.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),s.ga.initialized=!0)},recordPageView:function(e,n){s.ga.initialize(),i("Recording Page View ~ [URL: "+e+"] [Title: "+n+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:n}))},recordEvent:function(e,n,t,o){s.ga.initialize();let c="Recording Event ~ [Category: "+e+"] [Action: "+n+"]";void 0!==t&&(c+=" [Option Label: "+t+"]"),void 0!==o&&(c+=" [Option Value: "+o+"]"),i(c),this.googleAnalyticsEnabled&&window.ga("send","event",e,n,t,o)},recordPurchase:function(e,n,t,o,i,c,r){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:o,currency:r}),window.ga("ecommerce:addItem",{id:e,name:n,sku:t,price:i,quantity:c}),window.ga("ecommerce:send")}},identifyUser:function(){r&&window._tkq.push(["identifyUser",r.ID,r.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},a=s},5932:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>d});var o=t(6439),i=t(3832);function c(e){class n extends Error{constructor(...n){super(...n),this.name=e}}return n}const r=c("JsonParseError"),s=c("JsonParseAfterRedirectError"),a=c("Api404Error"),l=c("Api404AfterRedirectError"),p=c("FetchNetworkError");const d=new function(e,n){let t=e,c=e,r={"X-WP-Nonce":n},s={credentials:"same-origin",headers:r},a={method:"post",credentials:"same-origin",headers:Object.assign({},r,{"Content-type":"application/json"})},l=function(e){const n=e.split("?"),t=n.length>1?n[1]:"",o=t.length?t.split("&"):[];return o.push("_cacheBuster="+(new Date).getTime()),n[0]+"?"+o.join("&")};const p={setApiRoot(e){t=e},setWpcomOriginApiUrl(e){c=e},setApiNonce(e){r={"X-WP-Nonce":e},s={credentials:"same-origin",headers:r},a={method:"post",credentials:"same-origin",headers:Object.assign({},r,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,n,i)=>{const c={registration_nonce:e,no_iframe:!0};return(0,o.jetpackConfigHas)("consumer_slug")&&(c.plugin_slug=(0,o.jetpackConfigGet)("consumer_slug")),null!==n&&(c.redirect_uri=n),i&&(c.from=i),g(`${t}jetpack/v4/connection/register`,a,{body:JSON.stringify(c)}).then(u).then(m)},fetchAuthorizationUrl:e=>d((0,i.addQueryArgs)(`${t}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(u).then(m),fetchSiteConnectionData:()=>d(`${t}jetpack/v4/connection/data`,s).then(m),fetchSiteConnectionStatus:()=>d(`${t}jetpack/v4/connection`,s).then(m),fetchSiteConnectionTest:()=>d(`${t}jetpack/v4/connection/test`,s).then(u).then(m),fetchUserConnectionData:()=>d(`${t}jetpack/v4/connection/data`,s).then(m),fetchUserTrackingSettings:()=>d(`${t}jetpack/v4/tracking/settings`,s).then(u).then(m),updateUserTrackingSettings:e=>g(`${t}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(u).then(m),disconnectSite:()=>g(`${t}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(u).then(m),fetchConnectUrl:()=>d(`${t}jetpack/v4/connection/url`,s).then(u).then(m),unlinkUser:()=>g(`${t}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(u).then(m),reconnect:()=>g(`${t}jetpack/v4/connection/reconnect`,a).then(u).then(m),fetchConnectedPlugins:()=>d(`${t}jetpack/v4/connection/plugins`,s).then(u).then(m),setHasSeenWCConnectionModal:()=>g(`${t}jetpack/v4/seen-wc-connection-modal`,a).then(u).then(m),fetchModules:()=>d(`${t}jetpack/v4/module/all`,s).then(u).then(m),fetchModule:e=>d(`${t}jetpack/v4/module/${e}`,s).then(u).then(m),activateModule:e=>g(`${t}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(u).then(m),deactivateModule:e=>g(`${t}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,n)=>g(`${t}jetpack/v4/module/${e}`,a,{body:JSON.stringify(n)}).then(u).then(m),updateSettings:e=>g(`${t}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(u).then(m),getProtectCount:()=>d(`${t}jetpack/v4/module/protect/data`,s).then(u).then(m),resetOptions:e=>g(`${t}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(u).then(m),activateVaultPress:()=>g(`${t}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(u).then(m),getVaultPressData:()=>d(`${t}jetpack/v4/module/vaultpress/data`,s).then(u).then(m),installPlugin:(e,n)=>{const o={slug:e,status:"active"};return n&&(o.source=n),g(`${t}jetpack/v4/plugins`,a,{body:JSON.stringify(o)}).then(u).then(m)},activateAkismet:()=>g(`${t}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(u).then(m),getAkismetData:()=>d(`${t}jetpack/v4/module/akismet/data`,s).then(u).then(m),checkAkismetKey:()=>d(`${t}jetpack/v4/module/akismet/key/check`,s).then(u).then(m),checkAkismetKeyTyped:e=>g(`${t}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(u).then(m),fetchStatsData:e=>d(function(e){let n=`${t}jetpack/v4/module/stats/data`;-1!==n.indexOf("?")?n+=`&range=${encodeURIComponent(e)}`:n+=`?range=${encodeURIComponent(e)}`;return n}(e),s).then(u).then(m).then(_),getPluginUpdates:()=>d(`${t}jetpack/v4/updates/plugins`,s).then(u).then(m),getPlans:()=>d(`${t}jetpack/v4/plans`,s).then(u).then(m),fetchSettings:()=>d(`${t}jetpack/v4/settings`,s).then(u).then(m),updateSetting:e=>g(`${t}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(u).then(m),fetchSiteData:()=>d(`${t}jetpack/v4/site`,s).then(u).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${t}jetpack/v4/site/features`,s).then(u).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${t}jetpack/v4/site/products`,s).then(u).then(m),fetchSitePurchases:()=>d(`${t}jetpack/v4/site/purchases`,s).then(u).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${t}jetpack/v4/site/benefits`,s).then(u).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${t}jetpack/v4/site/discount`,s).then(u).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${t}jetpack/v4/setup/questionnaire`,s).then(u).then(m),fetchRecommendationsData:()=>d(`${t}jetpack/v4/recommendations/data`,s).then(u).then(m),fetchRecommendationsProductSuggestions:()=>d(`${t}jetpack/v4/recommendations/product-suggestions`,s).then(u).then(m),fetchRecommendationsUpsell:()=>d(`${t}jetpack/v4/recommendations/upsell`,s).then(u).then(m),fetchRecommendationsConditional:()=>d(`${t}jetpack/v4/recommendations/conditional`,s).then(u).then(m),saveRecommendationsData:e=>g(`${t}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(u),fetchProducts:()=>d(`${t}jetpack/v4/products`,s).then(u).then(m),fetchRewindStatus:()=>d(`${t}jetpack/v4/rewind`,s).then(u).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${t}jetpack/v4/scan`,s).then(u).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${t}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(u).then(m),fetchPluginsData:()=>d(`${t}jetpack/v4/plugins`,s).then(u).then(m),fetchIntroOffers:()=>d(`${t}jetpack/v4/intro-offers`,s).then(u).then(m),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${t}jetpack/v4/verify-site/google/${e}`:`${t}jetpack/v4/verify-site/google`,s).then(u).then(m),verifySiteGoogle:e=>g(`${t}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(u).then(m),submitSurvey:e=>g(`${t}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(u).then(m),saveSetupQuestionnaire:e=>g(`${t}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(u).then(m),updateLicensingError:e=>g(`${t}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(u).then(m),updateLicenseKey:e=>g(`${t}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(u).then(m),getUserLicensesCounts:()=>d(`${t}jetpack/v4/licensing/user/counts`,s).then(u).then(m),getUserLicenses:()=>d(`${t}jetpack/v4/licensing/user/licenses`,s).then(u).then(m),updateLicensingActivationNoticeDismiss:e=>g(`${t}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(u).then(m),updateRecommendationsStep:e=>g(`${t}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(u),confirmIDCSafeMode:()=>g(`${t}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(u),startIDCFresh:e=>g(`${t}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(u).then(m),migrateIDC:()=>g(`${t}jetpack/v4/identity-crisis/migrate`,a).then(u),attachLicenses:e=>g(`${t}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(u).then(m),fetchSearchPlanInfo:()=>d(`${c}jetpack/v4/search/plan`,s).then(u).then(m),fetchSearchSettings:()=>d(`${c}jetpack/v4/search/settings`,s).then(u).then(m),updateSearchSettings:e=>g(`${c}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(u).then(m),fetchSearchStats:()=>d(`${c}jetpack/v4/search/stats`,s).then(u).then(m),fetchWafSettings:()=>d(`${t}jetpack/v4/waf`,s).then(u).then(m),updateWafSettings:e=>g(`${t}jetpack/v4/waf`,a,{body:JSON.stringify(e)}).then(u).then(m),fetchWordAdsSettings:()=>d(`${t}jetpack/v4/wordads/settings`,s).then(u).then(m),updateWordAdsSettings:e=>g(`${t}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${c}jetpack/v4/search/pricing`,s).then(u).then(m),fetchMigrationStatus:()=>d(`${t}jetpack/v4/migration/status`,s).then(u).then(m),fetchBackupUndoEvent:()=>d(`${t}jetpack/v4/site/backup/undo-event`,s).then(u).then(m),fetchBackupPreflightStatus:()=>d(`${t}jetpack/v4/site/backup/preflight`,s).then(u).then(m)};function d(e,n){return fetch(l(e),n)}function g(e,n,t){return fetch(e,Object.assign({},n,t)).catch(h)}function _(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,p)};function u(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new a})):e.json().catch((e=>g(e))).then((n=>{const t=new Error(`${n.message} (Status ${e.status})`);throw t.response=n,t.name="ApiError",t}))}function m(e){return e.json().catch((n=>g(n,e.redirected,e.url)))}function g(e,n,t){throw n?new s(t):new r}function h(){throw new p}},8089:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(6427),i=t(7723),c=t(2231),r=t(3619),s=t.n(r),a=t(1609),l=t.n(a),p=t(1112),d=t(7689);const __=i.__,u=e=>{const{label:n,onClick:t,isLoading:i=!1,loadingText:r,isDisabled:s,displayError:a=!1,errorMessage:u=__("An error occurred. Please try again.","jetpack-connection"),customClass:m}=e,g=r||l().createElement(o.Spinner,null);return l().createElement(l().Fragment,null,l().createElement(p.A,{className:(0,c.A)(d.A.button,"jp-action-button--button",m),label:n,onClick:t,variant:"primary",disabled:i||s},i?g:n),a&&l().createElement("p",{className:(0,c.A)(d.A.error,"jp-action-button__error")},u))};u.propTypes={label:s().string.isRequired,onClick:s().func,isLoading:s().bool,isDisabled:s().bool,displayError:s().bool,errorMessage:s().oneOfType([s().string,s().element])};const m=u},1112:(e,n,t)=>{"use strict";t.d(n,{A:()=>g});var o=t(8579),i=t.n(o),c=t(6427),r=t(7723),s=t(7750),a=t(8391),l=t(2231),p=t(1609),d=t.n(p),u=t(2258);const __=r.__,m=(0,p.forwardRef)(((e,n)=>{const{children:t,variant:o="primary",size:r="normal",weight:p="bold",icon:m,iconSize:g,disabled:h,isDestructive:_,isLoading:y,isExternalLink:f,className:b,text:k,fullWidth:C,...E}=e,v=(0,l.A)(u.A.button,b,{[u.A.normal]:"normal"===r,[u.A.small]:"small"===r,[u.A.icon]:Boolean(m),[u.A.loading]:y,[u.A.regular]:"regular"===p,[u.A["full-width"]]:C,[u.A["is-icon-button"]]:Boolean(m)&&!t});E.ref=n;const j="normal"===r?20:16,w=f&&d().createElement(d().Fragment,null,d().createElement(s.A,{size:j,icon:a.A,className:u.A["external-icon"]}),d().createElement(c.VisuallyHidden,{as:"span"},/* translators: accessibility text */ +__("(opens in a new tab)","jetpack-connection"))),A=f?"_blank":void 0,N=t?.[0]&&null!==t[0]&&"components-tooltip"!==t?.[0]?.props?.className;return d().createElement(c.Button,i()({target:A,variant:o,className:(0,l.A)(v,{"has-text":!!m&&N}),icon:f?void 0:m,iconSize:g,disabled:h,"aria-disabled":h,isDestructive:_,text:k},E),y&&d().createElement(c.Spinner,null),d().createElement("span",null,t),w)}));m.displayName="Button";const g=m},9121:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});t(9535);const o=({format:e="horizontal",icon:n,imageUrl:t})=>React.createElement("div",{className:"jp-components__decorative-card "+(e?"jp-components__decorative-card--"+e:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:t?`url( ${t} )`:""}}),React.createElement("div",{className:"jp-components__decorative-card__content"},React.createElement("div",{className:"jp-components__decorative-card__lines"})),n?React.createElement("div",{className:"jp-components__decorative-card__icon-container"},React.createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n})):null)},7142:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(8579),i=t.n(o),c=t(7723),r=t(2231),s=t(1609),a=t.n(s);const __=c.__,l=({logoColor:e="#069e08",showText:n=!0,className:t,height:o=32,...c})=>{const s=n?"0 0 118 32":"0 0 32 32";return a().createElement("svg",i()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:(0,r.A)("jetpack-logo",t),"aria-labelledby":"jetpack-logo-title",height:o},c,{role:"img"}),a().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-connection")),a().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&a().createElement(a().Fragment,null,a().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),a().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),a().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),a().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),a().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),a().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),a().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},442:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(9491),i=t(8403);const c=["sm","md","lg"],r=(e,n)=>{const t=Array.isArray(e)?e:[e],r=Array.isArray(n)?n:[n],[s,a,l]=c,p={sm:(0,o.useMediaQuery)(i.A[s]),md:(0,o.useMediaQuery)(i.A[a]),lg:(0,o.useMediaQuery)(i.A[l])};return t.map(((e,n)=>{const t=r[n];return t?((e,n,t)=>{const o=c.indexOf(e),i=o+1,r=n.includes("=");let s=[];return n.startsWith("<")&&(s=c.slice(0,r?i:o)),n.startsWith(">")&&(s=c.slice(r?o:i)),s?.length?s.some((e=>t[e])):t[e]})(e,t,p):p[e]}))}},1876:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var o=t(2231),i=t(1609),c=t.n(i),r=t(6406);const s=({children:e=null,width:n=null,height:t=null,className:i=""})=>c().createElement("div",{className:(0,o.A)(r.A.placeholder,i),style:{width:n,height:t}},e)},9957:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(4761),i=t(1876),c=t(6427),r=t(7723),s=t(5879);t(4319);const __=r.__,a=e=>-1===e.fraction.indexOf("00"),l=({currencyCode:e="USD",priceDetails:n=__("/month, paid yearly","jetpack-connection"),...t})=>{const l=(0,o.vA)(t.priceBefore,e),p=(0,o.vA)(t.priceAfter,e);return React.createElement("div",{className:"jp-components__pricing-card"},t.icon&&React.createElement("div",{className:"jp-components__pricing-card__icon"},"string"==typeof t.icon?React.createElement("img",{src:t.icon,alt:(0,r.sprintf)(/* translators: placeholder is a product name */ +__("Icon for the product %s","jetpack-connection"),t.title)}):t.icon),React.createElement("h1",{className:"jp-components__pricing-card__title"},t.title),React.createElement("div",{className:"jp-components__pricing-card__pricing"},t.priceBefore!==t.priceAfter&&t.priceAfter>0?React.createElement("div",{className:"jp-components__pricing-card__price-before"},React.createElement("span",{className:"jp-components__pricing-card__currency"},l.symbol),React.createElement("span",{className:"jp-components__pricing-card__price"},l.integer),a(l)&&React.createElement("span",{className:"jp-components__pricing-card__price-decimal"}," ",l.fraction),React.createElement("div",{className:"jp-components__pricing-card__price-strikethrough"})):React.createElement(i.A,{width:"100%",height:48}),t.priceAfter>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"jp-components__pricing-card__price-after"},React.createElement("span",{className:"jp-components__pricing-card__currency"},p.symbol),React.createElement("span",{className:"jp-components__pricing-card__price"},p.integer),a(p)&&React.createElement("span",{className:"jp-components__pricing-card__price-decimal"},p.fraction)),React.createElement("span",{className:"jp-components__pricing-card__price-details"},n))),t.children&&React.createElement("div",{className:"jp-components__pricing-card__extra-content-wrapper"},t.children),t.tosText&&React.createElement("div",{className:"jp-components__pricing-card__tos"},t.tosText),t.ctaText&&React.createElement(React.Fragment,null,!t.tosText&&React.createElement("div",{className:"jp-components__pricing-card__tos"},React.createElement(s.A,{agreeButtonLabel:t.ctaText})),React.createElement("div",{className:"jp-components__pricing-card__cta"},React.createElement(c.Button,{className:"jp-components__pricing-card__button",label:t.ctaText,onClick:t.onCtaClick},t.ctaText))),t.infoText&&React.createElement("div",{className:"jp-components__pricing-card__info"},t.infoText))}},6461:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(3619),i=t.n(o),c=t(1609),r=t.n(c);t(8325);const s=({color:e="#FFFFFF",className:n="",size:t=20})=>{const o=n+" jp-components-spinner",i={width:t,height:t,fontSize:t,borderTopColor:e},c={borderTopColor:e,borderRightColor:e};return r().createElement("div",{className:o},r().createElement("div",{className:"jp-components-spinner__outer",style:i},r().createElement("div",{className:"jp-components-spinner__inner",style:c})))};s.propTypes={color:i().string,className:i().string,size:i().number};const a=s},5879:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(8579),i=t.n(o),c=t(6087),r=t(7723),s=t(2231),a=t(3924),l=t(7425);t(9634);const __=r.__,p=({multipleButtonsLabels:e})=>Array.isArray(e)&&e.length>1?(0,c.createInterpolateElement)((0,r.sprintf)(/* translators: %1$s is button label 1 and %2$s is button label 2 */ +__("By clicking %1$s or %2$s, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),e[0],e[1]),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}):(0,c.createInterpolateElement)(__("By clicking the buttons above, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),{tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({agreeButtonLabel:e})=>(0,c.createInterpolateElement)((0,r.sprintf)(/* translators: %s is a button label */ +__("By clicking %s, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({slug:e,children:n})=>React.createElement("a",{className:"terms-of-service__link",href:(0,a.A)(e),rel:"noopener noreferrer",target:"_blank"},n),m=({className:e,multipleButtons:n,agreeButtonLabel:t,...o})=>React.createElement(l.Ay,i()({className:(0,s.A)(e,"terms-of-service")},o),n?React.createElement(p,{multipleButtonsLabels:n}):React.createElement(d,{agreeButtonLabel:t}))},110:(e,n,t)=>{"use strict";t.d(n,{Q:()=>o,Z:()=>i});const o={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},i=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},7425:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>d});var o=t(8579),i=t.n(o),c=t(2231),r=t(1609),s=t.n(r),a=t(110),l=t(4495);const p=(0,r.forwardRef)((({variant:e="body",children:n,component:t,className:o,...p},d)=>{const u=t||a.Q[e]||"span",m=(0,r.useMemo)((()=>a.Z.reduce(((e,n)=>(void 0!==p[n]&&(e+=l.A[`${n}-${p[n]}`]+" ",delete p[n]),e)),"")),[p]);return p.ref=d,s().createElement(u,i()({className:(0,c.A)(l.A.reset,l.A[e],o,m)},p),n)}));p.displayName="Text";const d=p},3924:(e,n,t)=>{"use strict";function o(e,n={}){const t={};let o;if("undefined"!=typeof window&&(o=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const n=new URL(e);e=`https://${n.host}${n.pathname}`,t.url=encodeURIComponent(e)}else t.source=encodeURIComponent(e);for(const e in n)t[e]=encodeURIComponent(n[e]);!Object.keys(t).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(t.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),o&&(t.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(t).map((e=>e+"="+t[e])).join("&")}t.d(n,{A:()=>o})},6439:(e,n,t)=>{let o={};try{o=t(9074)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),o={missingConfig:!0}}const i=e=>Object.hasOwn(o,e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return o[e]}}},8421:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var o=t(8089),i=t(7723),c=t(3619),r=t.n(c),s=t(1609),a=t.n(s),l=t(9660);const __=i.__,p=e=>{const{apiRoot:n,apiNonce:t,connectLabel:i=__("Connect","jetpack-connection"),registrationNonce:c,redirectUri:r=null,from:s,autoTrigger:p=!1}=e,{handleRegisterSite:d,isRegistered:u,isUserConnected:m,siteIsRegistering:g,userIsConnecting:h,registrationError:_}=(0,l.A)({registrationNonce:c,redirectUri:r,apiRoot:n,apiNonce:t,autoTrigger:p,from:s});return a().createElement(a().Fragment,null,(!u||!m)&&a().createElement(o.A,{label:i,onClick:d,displayError:!!_,isLoading:g||h}))};p.propTypes={connectLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,registrationNonce:r().string.isRequired,autoTrigger:r().bool};const d=p},6212:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7723),i=t(1609),c=t.n(i),r=t(9660),s=t(5582);const __=o.__,a=({title:e,buttonLabel:n,loadingLabel:t,apiRoot:o,apiNonce:i,registrationNonce:a,from:l,redirectUri:p,images:d,children:u,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:_,logo:y})=>{const{handleRegisterSite:f,siteIsRegistering:b,userIsConnecting:k,registrationError:C,isOfflineMode:E}=(0,r.A)({registrationNonce:a,redirectUri:p,apiRoot:o,apiNonce:i,autoTrigger:g,from:l,skipUserConnection:_}),v=Boolean(C),j=b||k,w=C?.response?.code;return c().createElement(s.A,{title:e||__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),images:d||[],assetBaseUrl:m,buttonLabel:n||__("Set up Jetpack","jetpack-connection"),loadingLabel:t,handleButtonClick:f,displayButtonError:v,errorCode:w,buttonIsLoading:j,footer:h,isOfflineMode:E,logo:y},u)}},5582:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(5879),i=t(8089),c=t(3924),r=t(6087),s=t(7723),a=t(1609),l=t.n(a),p=t(2668);t(1772);const __=s.__,d=(e,n)=>{switch(e){case"fail_domain_forbidden":case"fail_ip_forbidden":case"fail_domain_tld":case"fail_subdomain_wpcom":case"siteurl_private_ip":return __("Your site host is on a private network. Jetpack can only connect to public sites.","jetpack-connection");case"connection_disabled":return __("This site has been suspended.","jetpack-connection")}if(n)return(0,r.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:l().createElement("a",{href:(0,c.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})})},u=({title:e,images:n,children:t,assetBaseUrl:c,isLoading:r,buttonLabel:s,handleButtonClick:a,displayButtonError:u,errorCode:m,buttonIsLoading:g,loadingLabel:h,footer:_,isOfflineMode:y,logo:f})=>l().createElement(p.A,{title:e,assetBaseUrl:c,images:n,className:"jp-connection__connect-screen"+(r?" jp-connection__connect-screen__loading":""),logo:f},l().createElement("div",{className:"jp-connection__connect-screen__content"},t,l().createElement("div",{className:"jp-connection__connect-screen__tos"},l().createElement(o.A,{agreeButtonLabel:s})),l().createElement(i.A,{label:s,onClick:a,displayError:u||y,errorMessage:d(m,y),isLoading:g,isDisabled:y}),l().createElement("span",{className:"jp-connection__connect-screen__loading-message",role:"status"},g?h||__("Loading","jetpack-connection"):""),_&&l().createElement("div",{className:"jp-connection__connect-screen__footer"},_)))},5745:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(1609),i=t.n(o);const c=({images:e,assetBaseUrl:n=""})=>{if(!e?.length)return null;const t=e.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},t)}},2668:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7142),i=t(2231),c=t(1609),r=t.n(c),s=t(5745);t(9064);const a=({title:e,children:n,className:t,assetBaseUrl:c,images:a,logo:l,rna:p=!1})=>{const d=a?.length;return r().createElement("div",{className:(0,i.A)("jp-connection__connect-screen-layout",d?"jp-connection__connect-screen-layout__two-columns":"",t?" "+t:"")},p&&r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},l||r().createElement(o.A,null),r().createElement("h2",null,e),n),d?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(s.A,{images:a,assetBaseUrl:c})):null)}},7945:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(2558),l=t(9660),p=t(401);const __=o.__,d=e=>{const{title:n=__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),autoTrigger:t=!1,buttonLabel:o=__("Set up Jetpack","jetpack-connection"),apiRoot:i,apiNonce:c,registrationNonce:r,from:d,redirectUri:u,children:m,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f="USD",wpcomProductSlug:b,siteProductAvailabilityHandler:k,logo:C,rna:E=!1}=e,{handleRegisterSite:v,siteIsRegistering:j,userIsConnecting:w,registrationError:A,isOfflineMode:N}=(0,l.A)({registrationNonce:r,redirectUri:u,apiRoot:i,apiNonce:c,autoTrigger:t,from:d}),S=b||"",{run:R,hasCheckoutStarted:T}=(0,a.A)({productSlug:S,redirectUrl:u,siteProductAvailabilityHandler:k,from:d}),O=Boolean(A),I=j||w||T,D=S?R:v;return s().createElement(p.A,{title:n,buttonLabel:o,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f,handleButtonClick:D,displayButtonError:O,buttonIsLoading:I,logo:C,isOfflineMode:N,rna:E},m)};d.propTypes={title:c().string,buttonLabel:c().string,apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,registrationNonce:c().string.isRequired,from:c().string,redirectUri:c().string.isRequired,autoTrigger:c().bool,pricingTitle:c().string.isRequired,pricingIcon:c().oneOfType([c().string,c().element]),priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string,wpcomProductSlug:c().string,checkSiteHasWpcomProduct:c().func,logo:c().element};const u=d},401:(e,n,t)=>{"use strict";t.d(n,{A:()=>b});var o=t(8089),i=t(3924),c=t(9957),r=t(5879),s=t(6087),a=t(7723),l=t(2231),p=t(4804),d=t.n(p),u=t(3619),m=t.n(u),g=t(1609),h=t.n(g),_=t(2668);t(381);const __=a.__,y=d()("jetpack:connection:ConnectScreenRequiredPlanVisual"),f=e=>{const{title:n,buttonLabel:t,children:a,priceBefore:p,priceAfter:d,pricingIcon:u,pricingTitle:m,pricingCurrencyCode:g="USD",isLoading:f=!1,handleButtonClick:b=()=>{},displayButtonError:k=!1,buttonIsLoading:C=!1,logo:E,isOfflineMode:v,rna:j=!1}=e;y("props are %o",e);const w=(0,s.createInterpolateElement)(__("Already have a subscription? ","jetpack-connection"),{connectButton:h().createElement(o.A,{label:__("Log in to get started","jetpack-connection"),onClick:b,isLoading:C})}),A=v?(0,s.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:h().createElement("a",{href:(0,i.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})}):void 0;return h().createElement(_.A,{title:n,className:(0,l.A)("jp-connection__connect-screen-required-plan",f?"jp-connection__connect-screen-required-plan__loading":"",j?"rna":""),logo:E,rna:j},h().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},a,h().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},h().createElement(c.A,{title:m,icon:u,priceBefore:p,currencyCode:g,priceAfter:d},h().createElement(r.A,{agreeButtonLabel:t}),h().createElement(o.A,{label:t,onClick:b,displayError:k||v,errorMessage:A,isLoading:C,isDisabled:v}))),!v&&h().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},w)))};f.propTypes={pricingTitle:m().string.isRequired,priceBefore:m().number.isRequired,priceAfter:m().number.isRequired,pricingCurrencyCode:m().string,title:m().string,buttonLabel:m().string,pricingIcon:m().oneOfType([m().string,m().element]),isLoading:m().bool,handleButtonClick:m().func,displayButtonError:m().bool,buttonIsLoading:m().bool,logo:m().element,isOfflineMode:m().bool};const b=f},7840:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(5932),i=t(3619),c=t.n(i),r=t(1609);const s=e=>{const{redirectFunc:n=e=>window.location.assign(e),connectUrl:t,redirectUri:i=null,from:c}=e,[s,a]=(0,r.useState)(null);return t&&t!==s&&a(t),(0,r.useEffect)((()=>{s||o.Ay.fetchAuthorizationUrl(i).then((e=>a(e.authorizeUrl))).catch((e=>{throw e}))}),[]),s?(n(s+(c?(s.includes("?")?"&":"?")+"from="+encodeURIComponent(c):"")),null):null};s.propTypes={connectUrl:c().string,redirectUri:c().string.isRequired,from:c().string,redirectFunc:c().func};const a=s},648:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(7499);const __=o.__,l=e=>{const{connectedPlugins:n,disconnectingPlugin:t}=e,o=(0,r.useMemo)((()=>{if(n){return Object.keys(n).map((e=>Object.assign({slug:e},n[e]))).filter((e=>t!==e.slug))}return[]}),[n,t]);return n&&o.length>0?s().createElement(s().Fragment,null,s().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},s().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-connection"))),s().createElement("div",{className:"jp-connection__disconnect-card__group"},o.map((e=>s().createElement(a.A,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:c().array,disconnectingPlugin:c().string};const p=l},7088:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(442),i=t(6461),c=t(6427),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(4175);const __=r.__,u=e=>{const{message:n,isRestoringConnection:t,restoreConnectionCallback:s,restoreConnectionError:a}=e,[l]=(0,o.A)(["md"],[">"]),u=d.A.notice+(l?" "+d.A["bigger-than-medium"]:""),m=p().createElement(c.Icon,{icon:p().createElement(c.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p().createElement(c.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),p().createElement(c.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),p().createElement(c.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!n)return null;if(t)return p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u},p().createElement("div",{className:d.A.message},p().createElement(i.A,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-connection")));const g=a?p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u+" "+d.A.error},p().createElement("div",{className:d.A.message},m,(0,r.sprintf)(/* translators: placeholder is the error. */ +__("There was an error reconnecting Jetpack. Error: %s","jetpack-connection"),a))):null;return p().createElement(p().Fragment,null,g,p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u},p().createElement("div",{className:d.A.message},m,n),s&&p().createElement("a",{onClick:s,onKeyDown:s,className:d.A.button,href:"#"},__("Restore Connection","jetpack-connection"))))};u.propTypes={message:a().string.isRequired,restoreConnectionCallback:a().func,isRestoringConnection:a().bool,restoreConnectionError:a().string};const m=u},7499:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(3619),i=t.n(o),c=t(1609),r=t.n(c);t(7419);const s=e=>{const{title:n,value:t,description:o}=e;return r().createElement("div",{className:"jp-connection__disconnect-card card"},r().createElement("div",{className:"jp-connection__disconnect-card__card-content"},r().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},n),(t||o)&&r().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},r().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},t),r().createElement("div",{className:"jp-connection__disconnect-card__card-description"},o))))};s.propTypes={title:i().string,value:i().oneOfType([i().string,i().number]),description:i().string};const a=s},3269:(e,n,t)=>{"use strict";t.d(n,{A:()=>y});var o=t(372),i=t(5932),c=t(6439),r=t(6427),s=t(7723),a=t(3619),l=t.n(a),p=t(1609),d=t.n(p),u=(t(785),t(4472)),m=t(8503),g=t(412),h=t(8090);const __=s.__,_=e=>{const[n,t]=(0,p.useState)(!1),[s,a]=(0,p.useState)(!1),[l,_]=(0,p.useState)(!1),[y,f]=(0,p.useState)(!1),[b,k]=(0,p.useState)(!1),[C,E]=(0,p.useState)(!1),{apiRoot:v,apiNonce:j,connectedPlugins:w,title:A=__("Are you sure you want to disconnect?","jetpack-connection"),pluginScreenDisconnectCallback:N,onDisconnected:S,onError:R,disconnectStepComponent:T,context:O="jetpack-dashboard",connectedUser:I={},connectedSiteId:D,isOpen:P,onClose:x}=e;let U="";(0,c.jetpackConfigHas)("consumer_slug")&&(U=(0,c.jetpackConfigGet)("consumer_slug"));const F=(0,p.useMemo)((()=>({context:O,plugin:U})),[O,U]);(0,p.useEffect)((()=>{i.Ay.setApiRoot(v),i.Ay.setApiNonce(j)}),[v,j]),(0,p.useEffect)((()=>{I&&I.ID&&I.login&&o.A.initialize(I.ID,I.login)}),[I,I.ID,I.login]),(0,p.useEffect)((()=>{P&&o.A.tracks.recordEvent("jetpack_disconnect_dialog_open",F)}),[P,F]),(0,p.useEffect)((()=>{P&&(s?!s||y||b?y&&!b?o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},F)):b&&o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},F)):o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},F)):o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},F)))}),[P,s,y,b,F]);const L=(0,p.useCallback)((()=>{i.Ay.disconnectSite().then((()=>{t(!1),a(!0)})).catch((e=>{t(!1),_(e),R&&R(e)}))}),[t,a,_,R]),B=(0,p.useCallback)(((e,n)=>{E(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);o.A.tracks.recordEvent("jetpack_disconnect_survey_submit",n),k(!0),E(!1)})).catch((e=>{o.A.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},n)),k(!0),E(!1)}))}),[E,k]),M=(0,p.useCallback)((e=>{e&&e.preventDefault(),_(!1),t(!0),"plugins"!==O?L():N&&N(e)}),[_,t,N,O,L]),$=(0,p.useCallback)((e=>o.A.tracks.recordEvent(e,F)),[F]),J=(0,p.useCallback)((()=>!(!I.ID||!D)),[I,D]),z=(0,p.useCallback)(((e,n,t)=>{if(t&&t.preventDefault(),!J())return void k(!0);const o={site_id:D,user_id:I.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:n||null}}},i=Object.assign({},F,{disconnect_reason:e});B(o,i)}),[B,k,J,D,I,F]),q=(0,p.useCallback)((e=>{e&&e.preventDefault(),S&&S(),x()}),[S,x]),G=(0,p.useCallback)((e=>{e&&e.preventDefault(),f(!0)}),[f]);return d().createElement(d().Fragment,null,P&&d().createElement(r.Modal,{title:"",contentLabel:A,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:x,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(s?" jp-connection__disconnect-dialog__success":"")},s?!s||y||b?y&&!b?d().createElement(g.A,{isSubmittingFeedback:C,onFeedBackProvided:z,onExit:q}):b?d().createElement(h.A,{onExit:q}):void 0:d().createElement(m.A,{canProvideFeedback:J(),onProvideFeedback:G,onExit:q}):d().createElement(u.A,{title:A,connectedPlugins:w,disconnectStepComponent:T,isDisconnecting:n,closeModal:x,onDisconnect:M,disconnectError:l,context:O,disconnectingPlugin:U,trackModalClick:$})))};_.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,title:l().string,onDisconnected:l().func,onError:l().func,context:l().string,connectedPlugins:l().oneOfType([l().array,l().object]),pluginScreenDisconnectCallback:l().func,disconnectStepComponent:l().element,connectedUser:l().object,connectedSiteId:l().number,isOpen:l().bool,onClose:l().func};const y=_},8503:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(9121),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(2365);const __=r.__,u=e=>{const{onExit:n,canProvideFeedback:t,onProvideFeedback:r}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(o.A,{icon:"unlink",imageUrl:d}),p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},p().createElement("h1",null,(0,c.createInterpolateElement)(__("Jetpack has been
successfully disconnected.","jetpack-connection"),{br:p().createElement("br",null)})),t&&p().createElement(p().Fragment,null,p().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-connection")),p().createElement("p",null,p().createElement(i.Button,{variant:"primary",onClick:r,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-connection"))),p().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:n},__("No thank you","jetpack-connection"))),!t&&p().createElement(p().Fragment,null,p().createElement("p",null,p().createElement(i.Button,{variant:"primary",onClick:n,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection"))))))};u.propTypes={onExit:a().func,onProvideFeedback:a().func,canProvideFeedback:a().bool};const m=u},4472:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(3924),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(648);const __=r.__,u=e=>{const{title:n,isDisconnecting:t,onDisconnect:r,disconnectError:s,disconnectStepComponent:a,connectedPlugins:u,disconnectingPlugin:m,closeModal:g,context:h,trackModalClick:_}=e,y=(0,l.useCallback)((()=>_("jetpack_disconnect_dialog_click_learn_about")),[_]),f=(0,l.useCallback)((()=>_("jetpack_disconnect_dialog_click_support")),[_]),b=(0,l.useCallback)((()=>{_("jetpack_disconnect_dialog_click_stay_connected"),g()}),[_,g]),k=(0,l.useCallback)((e=>{_("jetpack_disconnect_dialog_click_disconnect"),r(e)}),[_,r]),C=(0,l.useCallback)((e=>{"Escape"!==e.key||t||b()}),[b,t]);(0,l.useEffect)((()=>(document.addEventListener("keydown",C,!1),()=>{document.removeEventListener("keydown",C,!1)})),[]);return p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},n),p().createElement(d.A,{connectedPlugins:u,disconnectingPlugin:m}),a,(()=>{if(!(u&&Object.keys(u).filter((e=>e!==m)).length)&&!a)return p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-connection"),p().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-connection")))})()),p().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},p().createElement("div",{className:"jp-row"},p().createElement("div",{className:"lg-col-span-8 md-col-span-9 sm-col-span-4"},p().createElement("p",null,(0,c.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support.","jetpack-connection"),{strong:p().createElement("strong",null),jpConnectionInfoLink:p().createElement(i.ExternalLink,{href:(0,o.A)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__disconnect-dialog__link",onClick:y}),jpSupportLink:p().createElement(i.ExternalLink,{href:(0,o.A)("jetpack-support"),className:"jp-connection__disconnect-dialog__link",onClick:f})}))),p().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-4 md-col-span-7 sm-col-span-4"},p().createElement(i.Button,{variant:"primary",disabled:t,onClick:b,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===h?__("Cancel","jetpack-connection"):__("Stay connected","jetpack-connection",0)),(()=>{let e=__("Disconnect","jetpack-connection");return t?e=__("Disconnecting…","jetpack-connection"):"plugins"===h&&(e=__("Deactivate","jetpack-connection")),p().createElement(i.Button,{variant:"primary",disabled:t,onClick:k,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),s&&p().createElement("p",{className:"jp-connection__disconnect-dialog__error"},s)))};u.propTypes={title:a().string,isDisconnecting:a().bool,onDisconnect:a().func,disconnectError:a().bool,disconnectStepComponent:a().element,connectedPlugins:a().array,disconnectingPlugin:a().string,closeModal:a().func,context:a().string,trackModalClick:a().func};const m=u},412:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=(t(255),t(2951));const __=o.__,l=e=>{const{onExit:n,onFeedBackProvided:t,isSubmittingFeedback:o}=e;return s().createElement("div",{className:"jp-connection__disconnect-dialog__content"},s().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-connection")),s().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-connection")),s().createElement(a.A,{onSubmit:t,isSubmittingFeedback:o}),s().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:n},__("Skip for now","jetpack-connection")))};l.PropTypes={onExit:c().func,onFeedBackProvided:c().func,isSubmittingFeedback:c().bool};const p=l},8090:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(9121),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(9362);const __=r.__,u=e=>{const{onExit:n}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(o.A,{format:"vertical",imageUrl:d}),p().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},p().createElement("h1",null,__("Thank you!","jetpack-connection")),p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,c.createInterpolateElement)(__("Your answer has been submitted.
Thanks for your input on how we can improve Jetpack.","jetpack-connection"),{br:p().createElement("br",null)})),p().createElement(i.Button,{variant:"primary",onClick:n,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection"))))};u.PropTypes={onExit:a().func,assetBaseUrl:a().string};const m=u},2951:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var o=t(6427),i=t(7723),c=t(3619),r=t.n(c),s=t(1609),a=t.n(s),l=t(8233);const __=i.__,p=e=>{const{onSubmit:n,isSubmittingFeedback:t}=e,[i,c]=(0,s.useState)(),[r,p]=(0,s.useState)(),d=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-connection")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-connection")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-connection")},{id:"buggy",answerText:__("It's buggy.","jetpack-connection")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-connection")}],u="another-reason",m=(0,s.useCallback)((()=>{n(i,i===u?r:"")}),[n,u,r,i]),g=(0,s.useCallback)((e=>{const n=e.target.value;e.stopPropagation(),p(n)}),[p]),h=e=>e===i?"jp-connect__disconnect-survey-card--selected":"",_=(0,s.useCallback)(((e,n)=>{switch(n.key){case"Enter":case"Space":case"Spacebar":case" ":c(e)}}),[c]);return a().createElement(a().Fragment,null,a().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},d.map((e=>a().createElement(l.A,{id:e.id,onClick:c,onKeyDown:_,className:"card jp-connect__disconnect-survey-card "+h(e.id)},a().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),a().createElement(l.A,{id:u,key:u,onClick:c,onKeyDown:_,className:"card jp-connect__disconnect-survey-card "+h(u)},a().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-connection")," ",a().createElement("input",{placeholder:__("share your experience","jetpack-connection"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:r,onChange:g,maxLength:1e3})))),a().createElement("p",null,a().createElement(o.Button,{disabled:!i||t,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},t?__("Submitting…","jetpack-connection"):__("Submit Feedback","jetpack-connection",0))))};p.PropTypes={onSubmit:r().func,isSubmittingFeedback:r().bool};const d=p},8233:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(1609),i=t.n(o);t(255);const c=e=>{const{id:n,onClick:t,onKeyDown:c,children:r,className:s}=e,a=(0,o.useCallback)((()=>{t(n)}),[n,t]),l=(0,o.useCallback)((e=>{c(n,e)}),[n,c]);return i().createElement("div",{tabIndex:"0",role:"button",onClick:a,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+s},r)}},7018:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r);t(3732);const __=o.__,a=e=>{const{title:n,isLoading:t=!1,width:o="100%",displayTOS:i,scrollToIframe:c=!1,connectUrl:a,onComplete:l,onThirdPartyCookiesBlocked:p,location:d}=e;let{height:u="300"}=e;const m=(0,r.useRef)(void 0),g=(0,r.useRef)(void 0),h=e=>{if(g.current&&e.source===g.current.contentWindow)switch(e.data){case"close":window.removeEventListener("message",h),l&&l();break;case"wpcom_nocookie":p&&p()}};(0,r.useEffect)((()=>{c&&window.scrollTo(0,m.current.offsetTop-10),window.addEventListener("message",h)}));let _=a.replace("authorize/","authorize_iframe/");return _.includes("?")||(_+="?"),i&&(_+="&display-tos",u=(parseInt(u)+50).toString()),_+="&iframe_height="+parseInt(u),d&&(_+="&iframe_source="+d),s().createElement("div",{className:"dops-card fade-in jp-iframe-wrap",ref:m},s().createElement("h1",null,n),t?s().createElement("p",null,__("Loading…","jetpack-connection")):s().createElement("iframe",{title:n,width:o,height:u,src:_,ref:g}))};a.propTypes={title:c().string.isRequired,isLoading:c().bool,width:c().string,height:c().string,connectUrl:c().string.isRequired,displayTOS:c().bool.isRequired,scrollToIframe:c().bool,onComplete:c().func,onThirdPartyCookiesBlocked:c().func,location:c().string};const l=a},4981:(e,n,t)=>{"use strict";t.d(n,{A:()=>C});var o=t(7425),i=t(3924),c=t(1112),r=t(6427),s=t(6087),a=t(7723),l=t(7750),p=t(1386),d=t(8391),u=t(2231),m=t(3619),g=t.n(m),h=t(1609),_=t.n(h),y=t(3269);t(2057);const __=a.__,f=e=>{const{title:n=__("Manage your Jetpack connection","jetpack-connection"),apiRoot:t,apiNonce:c,connectedPlugins:s,onDisconnected:a,context:l="jetpack-dashboard",connectedUser:p={},connectedSiteId:d,isOpen:u=!1,onClose:m}=e,[g,f]=(0,h.useState)(!1),C=(0,h.useCallback)((e=>{e&&e.preventDefault(),f(!0)}),[f]),E=(0,h.useCallback)((e=>{e&&e.preventDefault(),f(!1)}),[f]);return _().createElement(_().Fragment,null,u&&_().createElement(_().Fragment,null,_().createElement(r.Modal,{title:"",contentLabel:n,aria:{labelledby:"jp-connection__manage-dialog__heading"},shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__manage-dialog"},_().createElement("div",{className:"jp-connection__manage-dialog__content"},_().createElement("h1",{id:"jp-connection__manage-dialog__heading"},n),_().createElement(o.Ay,{className:"jp-connection__manage-dialog__large-text"},__("At least one user must be connected for your Jetpack products to work properly.","jetpack-connection")),_().createElement(b,{title:__("Transfer ownership to another admin","jetpack-connection"),link:(0,i.A)("calypso-settings-manage-connection",{site:window?.myJetpackInitialState?.siteSuffix}),key:"transfer",action:"transfer"}),_().createElement(b,{title:__("Disconnect Jetpack","jetpack-connection"),onClick:C,key:"disconnect",action:"disconnect"})),_().createElement(k,{onClose:m})),_().createElement(y.A,{apiRoot:t,apiNonce:c,onDisconnected:a,connectedPlugins:s,connectedSiteId:d,connectedUser:p,isOpen:g,onClose:E,context:l})))},b=({title:e,onClick:n=()=>null,link:t="#",action:o})=>_().createElement("div",{className:"jp-connection__manage-dialog__action-card card"},_().createElement("div",{className:"jp-connection__manage-dialog__action-card__card-content"},_().createElement("a",{href:t,className:(0,u.A)("jp-connection__manage-dialog__action-card__card-headline",o),onClick:n},e,_().createElement(l.A,{icon:"disconnect"===o?p.A:d.A,className:"jp-connection__manage-dialog__action-card__icon"})))),k=({onClose:e})=>_().createElement("div",{className:"jp-row jp-connection__manage-dialog__actions"},_().createElement("div",{className:"jp-connection__manage-dialog__text-wrap lg-col-span-9 md-col-span-7 sm-col-span-3"},_().createElement(o.Ay,null,(0,s.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support","jetpack-connection"),{strong:_().createElement("strong",null),connectionInfoLink:_().createElement(r.ExternalLink,{href:(0,i.A)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__manage-dialog__link"}),supportLink:_().createElement(r.ExternalLink,{href:(0,i.A)("jetpack-support"),className:"jp-connection__manage-dialog__link"})}))),_().createElement("div",{className:"jp-connection__manage-dialog__button-wrap lg-col-span-3 md-col-span-1 sm-col-span-1"},_().createElement(c.A,{weight:"regular",variant:"secondary",onClick:e,className:"jp-connection__manage-dialog__btn-dismiss"},__("Cancel","jetpack-connection"))));f.propTypes={title:g().string,apiRoot:g().string.isRequired,apiNonce:g().string.isRequired,connectedPlugins:g().oneOfType([g().array,g().object]),onDisconnected:g().func,context:g().string,connectedUser:g().object,connectedSiteId:g().number,isOpen:g().bool,onClose:g().func};const C=f},9660:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(5932),i=t(7999),c=t(7143),r=t(1609),s=t(4293);const a=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{},l=({registrationNonce:e=a.registrationNonce,apiRoot:n=a.apiRoot,apiNonce:t=a.apiNonce,redirectUri:i,autoTrigger:l,from:p,skipUserConnection:d}={})=>{const{registerSite:u,connectUser:m,refreshConnectedPlugins:g}=(0,c.useDispatch)(s.a),h=(0,c.useSelect)((e=>e(s.a).getRegistrationError())),{siteIsRegistering:_,userIsConnecting:y,userConnectionData:f,connectedPlugins:b,connectionErrors:k,isRegistered:C,isUserConnected:E,hasConnectedOwner:v,isOfflineMode:j}=(0,c.useSelect)((e=>({siteIsRegistering:e(s.a).getSiteIsRegistering(),userIsConnecting:e(s.a).getUserIsConnecting(),userConnectionData:e(s.a).getUserConnectionData(),connectedPlugins:e(s.a).getConnectedPlugins(),connectionErrors:e(s.a).getConnectionErrors(),isOfflineMode:e(s.a).getIsOfflineMode(),...e(s.a).getConnectionStatus()}))),w=()=>d?i?(window.location=i,Promise.resolve(i)):Promise.resolve():m({from:p,redirectUri:i}),A=n=>(n&&n.preventDefault(),C?w():u({registrationNonce:e,redirectUri:i,from:p}).then((()=>w())));return(0,r.useEffect)((()=>{o.Ay.setApiRoot(n),o.Ay.setApiNonce(t)}),[n,t]),(0,r.useEffect)((()=>{!l||_||y||A()}),[]),{handleRegisterSite:A,handleConnectUser:w,refreshConnectedPlugins:g,isRegistered:C,isUserConnected:E,siteIsRegistering:_,userIsConnecting:y,registrationError:h,userConnectionData:f,hasConnectedOwner:v,connectedPlugins:b,connectionErrors:k,isOfflineMode:j}}},3765:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var o=t(7999);function i(){const e=("undefined"!=typeof window&&window?.JP_CONNECTION_INITIAL_STATE||(0,o.getScriptData)()?.connection)?.calypsoEnv;switch(e){case"development":return"http://calypso.localhost:3000/";case"wpcalypso":return"https://wpcalypso.wordpress.com/";case"horizon":return"https://horizon.wordpress.com/";default:return"https://wordpress.com/"}}},4617:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o=e=>{window.location.replace(e)}},9628:(e,n,t)=>{"use strict";t.d(n,{A:()=>r,R:()=>s});var o=t(7088),i=t(9660),c=t(1713);function r(){const{connectionErrors:e}=(0,i.A)({}),n=Object.values(e).shift(),t=n&&Object.values(n).length&&Object.values(n).shift().error_message;return{hasConnectionError:Boolean(t),connectionErrorMessage:t}}const s=()=>{const{hasConnectionError:e,connectionErrorMessage:n}=r(),{restoreConnection:t,isRestoringConnection:i,restoreConnectionError:s}=(0,c.A)();return e?React.createElement(o.A,{isRestoringConnection:i,restoreConnectionError:s,restoreConnectionCallback:t,message:n}):null}},2558:(e,n,t)=>{"use strict";t.d(n,{A:()=>f});var o=t(5932),i=t(3765),c=t(7999),r=t(7143),s=t(4804),a=t.n(s),l=t(1609),p=t(9660),d=t(4293);const u=a()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:m,apiRoot:g,apiNonce:h,siteSuffix:_}=window?.JP_CONNECTION_INITIAL_STATE||(0,c.getScriptData)()?.connection||{},y="undefined"!=typeof window?window?.myJetpackInitialState?.adminUrl:null;function f({productSlug:e,redirectUrl:n,siteSuffix:t=_,adminUrl:c=y,connectAfterCheckout:s=!1,siteProductAvailabilityHandler:a=null,quantity:f=null,from:b,useBlogIdSuffix:k=!1}={}){u("productSlug is %s",e),u("redirectUrl is %s",n),u("siteSuffix is %s",t),u("from is %s",b);const[C,E]=(0,l.useState)(!1),{registerSite:v}=(0,r.useDispatch)(d.a),j=(0,r.useSelect)((e=>e(d.a).getBlogId()),[d.a]);u("blogID is %s",j??"undefined"),k=k&&!!j;const{isUserConnected:w,isRegistered:A,handleConnectUser:N}=(0,p.A)({redirectUri:n,from:b}),S=(0,l.useMemo)((()=>{const o=(0,i.A)(),r=(!A||!w)&&s,a=r?"checkout/jetpack/":`checkout/${k?j.toString():t}/`,l=new URL(`${o}${a}${e}${null!=f?`:-q-${f}`:""}`);return r?(l.searchParams.set("connect_after_checkout",!0),l.searchParams.set("admin_url",c),l.searchParams.set("from_site_slug",t)):l.searchParams.set("site",t),l.searchParams.set("source",b),l.searchParams.set("redirect_to",n),w||l.searchParams.set("unlinked","1"),l}),[A,w,s,t,f,e,b,n,c,k,j]);u("isRegistered is %s",A),u("isUserConnected is %s",w),u("connectAfterCheckout is %s",s),u("checkoutUrl is %s",S);const R=(e=null)=>Promise.resolve(a&&a()).then((n=>{if(e&&S.searchParams.set("redirect_to",e),n)return u("handleAfterRegistration: Site has a product associated"),N();u("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",S),window.location.href=S}));return(0,l.useEffect)((()=>{o.Ay.setApiRoot(g),o.Ay.setApiNonce(h)}),[]),{run:(e,t=null)=>(e&&e.preventDefault(),E(!0),s?((e=null)=>{e&&S.searchParams.set("redirect_to",e),u("Redirecting to connectAfterCheckout flow: %s",S),window.location.href=S})(t):A?R(t):void v({registrationNonce:m,redirectUri:n}).then((()=>R(t)))),isRegistered:A,hasCheckoutStarted:C}}},1713:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(5932),i=t(7999),c=t(7143),r=t(1609),s=t(4293);const{apiRoot:a,apiNonce:l}=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{};function p(){const[e,n]=(0,r.useState)(!1),[t,i]=(0,r.useState)(null),{disconnectUserSuccess:p,setConnectionErrors:d}=(0,c.useDispatch)(s.a);return(0,r.useEffect)((()=>{o.Ay.setApiRoot(a),o.Ay.setApiNonce(l)}),[]),{restoreConnection:(e=!0)=>(n(!0),i(null),o.Ay.reconnect().then((n=>("in_progress"===n.status?(p(),d({}),e&&(window.location.href="/wp-admin/admin.php?page=my-jetpack#/connection")):window.location.reload(),n))).catch((e=>{throw i(e),n(!1),e}))),isRestoringConnection:e,restoreConnectionError:t}}},8980:(e,n,t)=>{"use strict";t.d(n,{AY:()=>g.A,F0:()=>o.A,Hx:()=>y.a,JC:()=>l.A,Jl:()=>i.A,Ni:()=>u.A,Ob:()=>b.A,Rc:()=>p.R,Sx:()=>p.A,ag:()=>_.A,bo:()=>d.A,cS:()=>f.A,d1:()=>h.A,mX:()=>a.A,nM:()=>c.A,pK:()=>r.A,w5:()=>m.A,xW:()=>s.A});var o=t(6212),i=t(2668),c=t(7945),r=t(8421),s=t(7018),a=t(7840),l=t(7088),p=t(9628),d=t(3269),u=t(7499),m=t(9660),g=t(4981),h=t(4617),_=t(3765),y=t(4293),f=t(2558),b=t(1713)},3935:(e,n,t)=>{"use strict";t.d(n,{A1:()=>a,Ay:()=>E,DO:()=>s,Ij:()=>r,Kl:()=>m,LW:()=>l,MU:()=>g,XY:()=>p,ZO:()=>c,dz:()=>d,gH:()=>u,v_:()=>i});var o=t(5932);const i="SET_CONNECTION_STATUS",c="SET_CONNECTION_STATUS_IS_FETCHING",r="SET_SITE_IS_REGISTERING",s="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",h=e=>({type:i,connectionStatus:e}),_=e=>({type:r,isRegistering:e}),y=e=>({type:s,isConnecting:e}),f=e=>({type:a,registrationError:e}),b=()=>({type:l}),k=e=>({type:p,authorizationUrl:e}),C=e=>({type:u,connectedPlugins:e});const E={setConnectionStatus:h,setConnectionStatusIsFetching:e=>({type:c,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:_,setUserIsConnecting:y,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:k,registerSite:function*({registrationNonce:e,redirectUri:n,from:t=""}){yield b(),yield _(!0);try{const o=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:n,from:t};return yield h({isRegistered:!0}),yield k(o.authorizeUrl),yield _(!1),Promise.resolve(o)}catch(e){return yield f(e),yield _(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:n,redirectUri:t}={}){yield y(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:n,redirectUri:t}},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((n=>o.Ay.fetchConnectedPlugins().then((t=>{e(C(t)),n(t)})))),setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},2494:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(5932),i=t(7143),c=t(2279);const r={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>o.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:n,from:t})=>o.Ay.registerSite(e,n,t),CONNECT_USER:(0,i.createRegistryControl)((({resolveSelect:e})=>({from:n,redirectFunc:t,redirectUri:o}={})=>new Promise(((i,r)=>{e(c.A).getAuthorizationUrl(o).then((e=>{const o=t||(e=>window.location.assign(e)),c=new URL(e);n&&c.searchParams.set("from",encodeURIComponent(n));const r=c.toString();o(r),i(r)})).catch((e=>{r(e)}))}))))}},5051:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(7143),i=t(3935);const c=(0,o.combineReducers)({connectionStatus:(e={},n)=>{switch(n.type){case i.v_:return{...e,...n.connectionStatus};case i.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,n)=>n.type===i.ZO?n.isFetching:e,siteIsRegistering:(e=!1,n)=>n.type===i.Ij?n.isRegistering:e,userIsConnecting:(e=!1,n)=>n.type===i.DO?n.isConnecting:e,registrationError:(e,n)=>{switch(n.type){case i.LW:return!1;case i.A1:return n.registrationError;default:return e}},authorizationUrl:(e,n)=>n.type===i.XY?n.authorizationUrl:e,userConnectionData:(e,n)=>(n.type,e),connectedPlugins:(e={},n)=>n.type===i.gH?n.connectedPlugins:e,connectionErrors:(e={},n)=>n.type===i.Kl?n.connectionErrors:e,isOfflineMode:(e=!1,n)=>n.type===i.MU?n.isConnecting:e})},8019:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(7143),i=t(3935),c=t(2279);const r={...{getAuthorizationUrl:{isFulfilled:(e,...n)=>{const t=Boolean(e.authorizationUrl),i=(0,o.select)(c.A).hasFinishedResolution("getAuthorizationUrl",n);return t&&!i&&(0,o.dispatch)(c.A).finishResolution("getAuthorizationUrl",n),t},*fulfill(e){const n=yield i.Ay.fetchAuthorizationUrl(e);yield i.Ay.setAuthorizationUrl(n.authorizeUrl)}}}}},2676:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},8734:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(7143);class i{static store=null;static mayBeInit(e,n){null===i.store&&(i.store=(0,o.createReduxStore)(e,n),(0,o.register)(i.store))}}const c=i},2279:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o="jetpack-connection"},4293:(e,n,t)=>{"use strict";t.d(n,{a:()=>p.A});var o=t(7999),i=t(3935),c=t(2494),r=t(5051),s=t(8019),a=t(2676),l=t(8734),p=t(2279);const d=window.JP_CONNECTION_INITIAL_STATE||(0,o.getScriptData)()?.connection;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),l.A.mayBeInit(p.A,{__experimentalUseThunks:!0,reducer:r.A,actions:i.Ay,selectors:a.A,resolvers:s.A,controls:c.A,initialState:d||{}})},2365:(e,n,t)=>{"use strict";e.exports=t.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},9362:(e,n,t)=>{"use strict";e.exports=t.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},9074:e=>{"use strict";if(void 0==={consumer_slug:"connection_package"}){var n=new Error('Cannot find module \'{"consumer_slug":"connection_package"}\'');throw n.code="MODULE_NOT_FOUND",n}e.exports={consumer_slug:"connection_package"}},7999:e=>{"use strict";e.exports=window.JetpackScriptDataModule},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},8579:e=>{function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var n=1;n{"use strict";function o(e){var n,t,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var c=e.length;for(n=0;ni});const i=function(){for(var e,n,t=0,i="",c=arguments.length;t{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var o=n.getElementsByTagName("script");if(o.length)for(var i=o.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=o[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e})();var o={};return(()=>{"use strict";t.r(o),t.d(o,{CONNECTION_STORE_ID:()=>e.Hx,ConnectButton:()=>e.pK,ConnectScreen:()=>e.F0,ConnectScreenLayout:()=>e.Jl,ConnectScreenRequiredPlan:()=>e.nM,ConnectUser:()=>e.mX,ConnectionError:()=>e.Rc,ConnectionErrorNotice:()=>e.JC,DisconnectCard:()=>e.Ni,DisconnectDialog:()=>e.bo,InPlaceConnection:()=>e.xW,ManageConnectionDialog:()=>e.AY,getCalypsoOrigin:()=>e.ag,thirdPartyCookiesFallbackHelper:()=>e.d1,useConnection:()=>e.w5,useConnectionErrorNotice:()=>e.Sx,useProductCheckoutWorkflow:()=>e.cS,useRestoreConnection:()=>e.Ob});var e=t(8980)})(),o})())); \ No newline at end of file diff --git a/vendor/automattic/jetpack-connection/dist/jetpack-connection.js.LICENSE.txt b/vendor/automattic/jetpack-connection/dist/jetpack-connection.js.LICENSE.txt new file mode 100644 index 00000000..b6e9870a --- /dev/null +++ b/vendor/automattic/jetpack-connection/dist/jetpack-connection.js.LICENSE.txt @@ -0,0 +1,7 @@ +/* + * Exposes number format capability + * + * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors). + * @license See CREDITS.md + * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js + */ diff --git a/vendor/automattic/jetpack-connection/dist/jetpack-connection.rtl.css b/vendor/automattic/jetpack-connection/dist/jetpack-connection.rtl.css new file mode 100644 index 00000000..7bf63cc5 --- /dev/null +++ b/vendor/automattic/jetpack-connection/dist/jetpack-connection.rtl.css @@ -0,0 +1 @@ +.jp-connection__connect-screen-layout{background:var(--jp-white);border-radius:4px;box-shadow:0 0 40px #00000014}.jp-connection__connect-screen-layout__loading{display:none}.jp-connection__connect-screen-layout__left,.jp-connection__connect-screen-layout__right{box-sizing:border-box}.jp-connection__connect-screen-layout__left{padding:calc(var(--spacing-base)*3)}@media(min-width:600px){.jp-connection__connect-screen-layout__left{padding:64px 96px}}.jp-connection__connect-screen-layout__left .jetpack-logo{margin-bottom:24px}.jp-connection__connect-screen-layout__left h2{color:var(--jp-black);font-size:36px;font-style:normal;font-weight:700;line-height:40px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left h3{color:var(--jp-black);font-size:24px;font-style:normal;font-weight:500;line-height:32px;margin-bottom:0;margin-top:32px}.jp-connection__connect-screen-layout__left li,.jp-connection__connect-screen-layout__left p{font-size:16px;font-style:normal;font-weight:400;line-height:24px}.jp-connection__connect-screen-layout__left p{color:#101517;margin:16px 0}.jp-connection__connect-screen-layout__left a{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__connect-screen-layout__left a:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-layout__left a:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__connect-screen-layout__left ul{list-style-type:none;padding:0}.jp-connection__connect-screen-layout__left ul li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-connection__connect-screen-layout__right{padding:64px 0}.jp-connection__connect-screen-layout__right img{max-width:100%}.jp-connection__connect-screen-layout__two-columns{display:flex;flex-wrap:wrap}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:100%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__left{flex-basis:52%}}.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{background:#f9f9f6;display:none;flex-basis:47%;flex-grow:1}@media(min-width:1080px){.jp-connection__connect-screen-layout__two-columns .jp-connection__connect-screen-layout__right{display:block}}.rna{overflow:hidden}.rna .jp-connection__connect-screen-layout__left{position:relative;z-index:2}.rna .jp-connection__connect-screen-layout__left h2{font-weight:700;margin-top:0}.rna .jp-connection__connect-screen-layout__left h3{margin-top:24px}@media(min-width:600px){.rna .jp-connection__connect-screen-layout__left{padding:4rem 4rem 4rem 6rem}}@media(min-width:1080px){.rna .jp-connection__connect-screen-required-plan__pricing-card{left:calc(var(--spacing-base)*-45);position:absolute;top:calc(var(--spacing-base)*9.25)}}.rna .jp-connection__connect-screen-required-plan__pricing-card .jp-components__pricing-card{border-radius:var(--jp-border-radius-rna);max-width:100%;width:425px}.rna .jp-connection__connect-screen-required-plan__pricing-card .jp-components__pricing-card__title{margin-top:.625rem}@media(min-width:960px){.rna .jp-connection__connect-screen-required-plan__pricing-card .jp-components__pricing-card{padding:3rem}}.rna .jp-connection__connect-screen-required-plan__pricing-card .components-button{margin-bottom:0}.rna .jp-backup-dashboard-promotion ul.jp-product-promote li{margin-bottom:.75rem}.rna .jp-connection__connect-screen-layout__color-blobs{clip-path:polygon(100% 0,100% 100%,0 0,0 0);display:none;height:677px;left:0;position:absolute;top:0;width:363px;z-index:1}.rna .jp-connection__connect-screen-layout__color-blobs__blue,.rna .jp-connection__connect-screen-layout__color-blobs__green,.rna .jp-connection__connect-screen-layout__color-blobs__yellow{border-radius:50%;filter:blur(50px);position:absolute}.rna .jp-connection__connect-screen-layout__color-blobs__blue{background-color:var(--jp-blue-5);height:400px;left:-100px;top:-275px;width:400px;z-index:3}.rna .jp-connection__connect-screen-layout__color-blobs__yellow{background-color:var(--jp-yellow-5);height:250px;left:-25px;top:10px;width:250px;z-index:2}.rna .jp-connection__connect-screen-layout__color-blobs__green{background-color:var(--jp-green-5);height:300px;left:0;top:175px;width:300px;z-index:1}@media(min-width:1080px){.rna .jp-connection__connect-screen-layout__color-blobs{display:initial}}.jp-connection__connect-screen{--spacing-base:8px}.jp-connection__connect-screen__loading{display:none}.jp-connection__connect-screen .terms-of-service{margin-bottom:calc(var(--spacing-base)*3);margin-top:calc(var(--spacing-base)*4);max-width:360px}.jp-connection__connect-screen .terms-of-service a{text-decoration:underline}.jp-connection__connect-screen .jp-action-button{margin-top:40px}.jp-connection__connect-screen .jp-action-button--button{border-radius:4px;font-weight:600}.jp-connection__connect-screen .jp-action-button button{max-width:100%}.jp-connection__connect-screen .jp-action-button button:disabled{color:#fff6}@media(max-width:782px){.jp-connection__connect-screen .jp-action-button button{max-width:none;width:100%}}.jp-connection__connect-screen__loading-message{position:absolute;clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.jp-connection__connect-screen__loading-message:empty{display:none}.jp-connection__connect-screen__footer{margin-top:32px}.WQVtrU6q0L1Igcj7wCrQ{margin:0;padding:0}.UujoBFTnQNY2cWU2SIsH{font-size:var(--font-headline-medium);font-weight:700;line-height:52px}.TeGO5V_thHw5lDAm1_2M{font-weight:700}.TeGO5V_thHw5lDAm1_2M,.WolQzb2MsSgiNmLtc7_j{font-size:var(--font-headline-small);line-height:40px}.WolQzb2MsSgiNmLtc7_j{font-weight:400}.hUB0JT8p1T2Hw28N6qC8{font-weight:500}.gKZWDv5chz3_O3Syp74H,.hUB0JT8p1T2Hw28N6qC8{font-size:var(--font-title-medium);line-height:32px}.gKZWDv5chz3_O3Syp74H{font-weight:600}.zY2No8Ga4b8shbOQGhnv{font-size:var(--font-title-small);font-weight:500;line-height:30px}.tIj0D1t8Cc892ikmgFPZ{font-size:var(--font-body);font-weight:400;line-height:24px}.KdcN0BnOaVeVhyLRKqhS{font-size:var(--font-body-small);font-weight:400;line-height:24px}.dso3Rh3tl3Xv1GumBktz{font-weight:400}.dso3Rh3tl3Xv1GumBktz,.mQ1UlbN9u4Mg9byO8m7v{font-size:var(--font-body-extra-small);line-height:20px}.mQ1UlbN9u4Mg9byO8m7v{font-weight:700}.PItlW5vRExLnTj4a8eLE{font-size:var(--font-body-extra-small);font-weight:600;line-height:16px}.TwRpPlktzxhmFVeua7P5{margin:calc(var( --spacing-base )*0)}.zVfqx7gyb3o9mxfGynn1{margin-left:calc(var( --spacing-base )*0);margin-right:calc(var( --spacing-base )*0)}.iSHVzNiB9iVleGljaQxy{margin-bottom:calc(var( --spacing-base )*0)}.iSHVzNiB9iVleGljaQxy,.xqDIp6cNVr_E6RXaiPyD{margin-top:calc(var( --spacing-base )*0)}.S8EwaXk1kyPizt6x4WH2{margin-left:calc(var( --spacing-base )*0)}.ODX5Vr1TARoLFkDDFooD{margin-bottom:calc(var( --spacing-base )*0)}.cphJ8dCpfimnky7P2FHg{margin-right:calc(var( --spacing-base )*0)}.PFgIhNxIyiSuNvQjAIYj{margin:calc(var( --spacing-base )*1)}.M2jKmUzDxvJjjVEPU3zn{margin-left:calc(var( --spacing-base )*1);margin-right:calc(var( --spacing-base )*1)}.io15gAh8tMTNbSEfwJKk{margin-bottom:calc(var( --spacing-base )*1)}.io15gAh8tMTNbSEfwJKk,.rcTN5uw9xIEeMEGL3Xi_{margin-top:calc(var( --spacing-base )*1)}.CQSkybjq2TcRM1Xo9COV{margin-left:calc(var( --spacing-base )*1)}.hfqOWgq6_MEGdFE82eOY{margin-bottom:calc(var( --spacing-base )*1)}.I8MxZQYTbuu595yfesWA{margin-right:calc(var( --spacing-base )*1)}.kQkc6rmdpvLKPkyoJtVQ{margin:calc(var( --spacing-base )*2)}.j6vFPxWuu4Jan2ldoxpp{margin-left:calc(var( --spacing-base )*2);margin-right:calc(var( --spacing-base )*2)}.hqr39dC4H_AbactPAkCG{margin-bottom:calc(var( --spacing-base )*2)}.c3dQnMi16C6J6Ecy4283,.hqr39dC4H_AbactPAkCG{margin-top:calc(var( --spacing-base )*2)}.YNZmHOuRo6hU7zzKfPdP{margin-left:calc(var( --spacing-base )*2)}.Db8lbak1_wunpPk8NwKU{margin-bottom:calc(var( --spacing-base )*2)}.ftsYE5J9hLzquQ0tA5dY{margin-right:calc(var( --spacing-base )*2)}.Det4MHzLUW7EeDnafPzq{margin:calc(var( --spacing-base )*3)}.h_8EEAztC29Vve1datb5{margin-left:calc(var( --spacing-base )*3);margin-right:calc(var( --spacing-base )*3)}.YXIXJ0h1k47u6hzK8KcM{margin-bottom:calc(var( --spacing-base )*3)}.YXIXJ0h1k47u6hzK8KcM,.soADBBkcIKCBXzCTuV9_{margin-top:calc(var( --spacing-base )*3)}.zSX59ziEaEWGjnpZa4uV{margin-left:calc(var( --spacing-base )*3)}.yrVTnq_WBMbejg89c2ZQ{margin-bottom:calc(var( --spacing-base )*3)}.UKtHPJnI2cXBWtPDm5hM{margin-right:calc(var( --spacing-base )*3)}.guexok_Tqd5Tf52hRlbT{margin:calc(var( --spacing-base )*4)}.oS1E2KfTBZkJ3F0tN7T6{margin-left:calc(var( --spacing-base )*4);margin-right:calc(var( --spacing-base )*4)}.DN1OhhXi6AoBgEdDSbGd{margin-bottom:calc(var( --spacing-base )*4)}.DN1OhhXi6AoBgEdDSbGd,.ot2kkMcYHv53hLZ4LSn0{margin-top:calc(var( --spacing-base )*4)}.A1krOZZhlQ6Sp8Cy4bly{margin-left:calc(var( --spacing-base )*4)}.pkDbXXXL32237M0hokEh{margin-bottom:calc(var( --spacing-base )*4)}.XXv4kDTGvEnQeuGKOPU3{margin-right:calc(var( --spacing-base )*4)}.yGqHk1a57gaISwkXwXe6{margin:calc(var( --spacing-base )*5)}.X8cghM358X3DkXLc9aNK{margin-left:calc(var( --spacing-base )*5);margin-right:calc(var( --spacing-base )*5)}.GdfSmGwHlFnN2S6xBn1f{margin-bottom:calc(var( --spacing-base )*5)}.GdfSmGwHlFnN2S6xBn1f,.yqeuzwyGQ7zG0avrGqi_{margin-top:calc(var( --spacing-base )*5)}.g9emeCkuHvYhveiJbfXO{margin-left:calc(var( --spacing-base )*5)}.Lvk3dqcyHbZ07QCRlrUQ{margin-bottom:calc(var( --spacing-base )*5)}.r3yQECDQ9qX0XZzXlVAg{margin-right:calc(var( --spacing-base )*5)}.aQhlPwht2Cz1X_63Miw0{margin:calc(var( --spacing-base )*6)}.JyHb0vK3wJgpblL9s5j8{margin-left:calc(var( --spacing-base )*6);margin-right:calc(var( --spacing-base )*6)}.cY2gULL1lAv6WPNIRuf3{margin-bottom:calc(var( --spacing-base )*6)}.NBWQ9Lwhh_fnry3lg_p7,.cY2gULL1lAv6WPNIRuf3{margin-top:calc(var( --spacing-base )*6)}.yIOniNe5E40C8fWvBm5V{margin-left:calc(var( --spacing-base )*6)}.t30usboNSyqfQWIwHvT3{margin-bottom:calc(var( --spacing-base )*6)}.Nm_TyFkYCMhOoghoToKJ{margin-right:calc(var( --spacing-base )*6)}.C4qJKoBXpgKtpmrqtEKB{margin:calc(var( --spacing-base )*7)}.S93Srbu6NQ_PBr7DmTiD{margin-left:calc(var( --spacing-base )*7);margin-right:calc(var( --spacing-base )*7)}.fJj8k6gGJDks3crUZxOS{margin-bottom:calc(var( --spacing-base )*7)}.cW6D6djs7Ppm7fD7TeoV,.fJj8k6gGJDks3crUZxOS{margin-top:calc(var( --spacing-base )*7)}.DuCnqNfcxcP3Z__Yo5Ro{margin-left:calc(var( --spacing-base )*7)}.im8407m2fw5vOg7O2zsw{margin-bottom:calc(var( --spacing-base )*7)}.G0fbeBgvz2sh3uTP9gNl{margin-right:calc(var( --spacing-base )*7)}.kvW3sBCxRxUqz1jrVMJl{margin:calc(var( --spacing-base )*8)}.tOjEqjLONQdkiYx_XRnw{margin-left:calc(var( --spacing-base )*8);margin-right:calc(var( --spacing-base )*8)}.op5hFSx318zgxsoZZNLN{margin-bottom:calc(var( --spacing-base )*8)}.c9WfNHP6TFKWIfLxv52J,.op5hFSx318zgxsoZZNLN{margin-top:calc(var( --spacing-base )*8)}.sBA75QqcqRwwYSHJh2wc{margin-left:calc(var( --spacing-base )*8)}.GpL6idrXmSOM6jB8Ohsf{margin-bottom:calc(var( --spacing-base )*8)}.HbtWJoQwpgGycz8dGzeT{margin-right:calc(var( --spacing-base )*8)}.uxX3khU88VQ_Ah49Ejsa{padding:calc(var( --spacing-base )*0)}.KX0FhpBKwKzs9fOUdbNz{padding-left:calc(var( --spacing-base )*0);padding-right:calc(var( --spacing-base )*0)}.PfK8vKDyN32dnimlzYjz{padding-bottom:calc(var( --spacing-base )*0)}.PfK8vKDyN32dnimlzYjz,.emxLHRjQuJsImnPbQIzE{padding-top:calc(var( --spacing-base )*0)}.kJ8WzlpTVgdViXt8ukP9{padding-left:calc(var( --spacing-base )*0)}.tg_UIUI11VBzrTAn2AzJ{padding-bottom:calc(var( --spacing-base )*0)}.uczvl8kaz84oPQJ2DB2R{padding-right:calc(var( --spacing-base )*0)}.o7UHPcdVK3lt7q3lqV4o{padding:calc(var( --spacing-base )*1)}.IDqEOxvDoYrFYxELPmtX{padding-left:calc(var( --spacing-base )*1);padding-right:calc(var( --spacing-base )*1)}.DdywPW2qSYlu2pt8tpO2{padding-bottom:calc(var( --spacing-base )*1)}.DdywPW2qSYlu2pt8tpO2,.npy3hw4A5QSkDicb2CJJ{padding-top:calc(var( --spacing-base )*1)}.LgbptTApNY5NwLQvEFAt{padding-left:calc(var( --spacing-base )*1)}.WZQy2SZuZso59bUsXXyl{padding-bottom:calc(var( --spacing-base )*1)}.o331apInxNunbYB3SfPE{padding-right:calc(var( --spacing-base )*1)}.fMPIyD9Vqki1Lrc_yJnG{padding:calc(var( --spacing-base )*2)}.i2pMcTcdrr10IQoiSm_L{padding-left:calc(var( --spacing-base )*2);padding-right:calc(var( --spacing-base )*2)}.eA702gn32kwptiI1obXH{padding-bottom:calc(var( --spacing-base )*2)}.eA702gn32kwptiI1obXH,.o9bGieUKcYc8o0Ij9oZX{padding-top:calc(var( --spacing-base )*2)}.SwZcFez1RDqWsOFjB5iG{padding-left:calc(var( --spacing-base )*2)}.eHpLc_idmuEqeqCTvqkN{padding-bottom:calc(var( --spacing-base )*2)}.vU39i2B4P1fUTMB2l6Vo{padding-right:calc(var( --spacing-base )*2)}.JHWNzBnE29awhdu5BEh1{padding:calc(var( --spacing-base )*3)}.X72lGbb56L3KFzC2xQ9N{padding-left:calc(var( --spacing-base )*3);padding-right:calc(var( --spacing-base )*3)}.BzfNhRG8wXdCEB5ocQ6e{padding-bottom:calc(var( --spacing-base )*3)}.BzfNhRG8wXdCEB5ocQ6e,.srV0KSDC83a2fiimSMMQ{padding-top:calc(var( --spacing-base )*3)}.lUWfkmbQjCskhcNwkyCm{padding-left:calc(var( --spacing-base )*3)}.Ts0dIlc3aTSL7V4cIHis{padding-bottom:calc(var( --spacing-base )*3)}.CzlqQXXhX6MvorArFZ8B{padding-right:calc(var( --spacing-base )*3)}.TqMPkQtR_DdZuKb5vBoV{padding:calc(var( --spacing-base )*4)}.a7UrjhI69Vetlcj9ZVzz{padding-left:calc(var( --spacing-base )*4);padding-right:calc(var( --spacing-base )*4)}.StEhBzGs2Gi5dDEkjhAv{padding-bottom:calc(var( --spacing-base )*4)}.FGneZfZyvYrt1dG0zcnm,.StEhBzGs2Gi5dDEkjhAv{padding-top:calc(var( --spacing-base )*4)}.APEH216rpdlJWgD2fHc8{padding-left:calc(var( --spacing-base )*4)}.oGwXC3ohCic9XnAj6x69{padding-bottom:calc(var( --spacing-base )*4)}.U6gnT9y42ViPNOcNzBwb{padding-right:calc(var( --spacing-base )*4)}.IpdRLBwnHqbqFrixgbYC{padding:calc(var( --spacing-base )*5)}.HgNeXvkBa9o3bQ5fvFZm{padding-left:calc(var( --spacing-base )*5);padding-right:calc(var( --spacing-base )*5)}.tJtFZM3XfPG9v9TSDfN1{padding-bottom:calc(var( --spacing-base )*5)}.PdifHW45QeXYfK568uD8,.tJtFZM3XfPG9v9TSDfN1{padding-top:calc(var( --spacing-base )*5)}.mbLkWTTZ0Za_BBbFZ5b2{padding-left:calc(var( --spacing-base )*5)}.vVWpZpLlWrkTt0hMk8XU{padding-bottom:calc(var( --spacing-base )*5)}.RxfaJj5a1Nt6IavEo5Zl{padding-right:calc(var( --spacing-base )*5)}.SppJULDGdnOGcjZNCYBy{padding:calc(var( --spacing-base )*6)}.palY2nLwdoyooPUm9Hhk{padding-left:calc(var( --spacing-base )*6);padding-right:calc(var( --spacing-base )*6)}.WYw1JvZC0ppLdvSAPhr_{padding-bottom:calc(var( --spacing-base )*6)}.WYw1JvZC0ppLdvSAPhr_,.YEEJ9b90ueQaPfiU8aeN{padding-top:calc(var( --spacing-base )*6)}.QE0ssnsKvWJMqlhPbY5u{padding-left:calc(var( --spacing-base )*6)}.n8yA3jHlMRyLd5UIfoND{padding-bottom:calc(var( --spacing-base )*6)}.tXHmxYnHzbwtfxEaG51n{padding-right:calc(var( --spacing-base )*6)}.kBTsPKkO_3g_tLkj77Um{padding:calc(var( --spacing-base )*7)}.RyhrFx6Y1FGDrGAAyaxm{padding-left:calc(var( --spacing-base )*7);padding-right:calc(var( --spacing-base )*7)}.CBwRpB0bDN3iEdQPPMJO{padding-bottom:calc(var( --spacing-base )*7)}.CBwRpB0bDN3iEdQPPMJO,.vQVSq6SvWKbOMu6r4H6b{padding-top:calc(var( --spacing-base )*7)}.oBy5__aEADMsH46mrgFX{padding-left:calc(var( --spacing-base )*7)}.KVEXoJqf1s92j0JMdNmN{padding-bottom:calc(var( --spacing-base )*7)}.ZMXGNrNaKW3k_3TLz0Fq{padding-right:calc(var( --spacing-base )*7)}.tuiR9PhkHXhGyEgzRZRI{padding:calc(var( --spacing-base )*8)}.U7454qyWkQNa2iaSJziu{padding-left:calc(var( --spacing-base )*8);padding-right:calc(var( --spacing-base )*8)}.VLYIv2GVocjuN93e8HC8{padding-bottom:calc(var( --spacing-base )*8)}.VLYIv2GVocjuN93e8HC8,.X1rm9DQ1zLGLfogja5Gn{padding-top:calc(var( --spacing-base )*8)}.JS7G6kAuqJo5GIuF8S5t{padding-left:calc(var( --spacing-base )*8)}.Y8F9ga1TDCMbM1lj4gUz{padding-bottom:calc(var( --spacing-base )*8)}.AJuyNGrI63BOWql719H8{padding-right:calc(var( --spacing-base )*8)}.terms-of-service{color:var(--jp-black);font-size:var(--font-body)}.terms-of-service .terms-of-service__link{color:var(--jp-green-50);text-decoration:underline;white-space:nowrap}.zI5tJ_qhWE6Oe6Lk75GY{--wp-admin-theme-color:var(--jp-black);--wp-admin-theme-color-darker-10:var(--jp-black-80);--wp-admin-theme-color-darker-20:var(--jp-black-80);--wp-admin-border-width-focus:1.51px;border-radius:var(--jp-border-radius);font-weight:600;justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo{height:calc(var(--spacing-base)*5);padding:var(--spacing-base);width:calc(var(--spacing-base)*5)}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo>svg:first-child{margin:0;padding:0}.zI5tJ_qhWE6Oe6Lk75GY.tuBt2DLqimiImoqVzPqo.Na39I683LAaSA99REg14{height:calc(var(--spacing-base)*4);min-width:calc(var(--spacing-base)*4);padding:calc(var(--spacing-base)/2);width:calc(var(--spacing-base)*4)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF:not(.tuBt2DLqimiImoqVzPqo){font-size:var(--font-body);height:auto;line-height:24px;padding:var(--spacing-base) calc(var(--spacing-base)*3)}.zI5tJ_qhWE6Oe6Lk75GY.ipS7tKy9GntCS4R3vekF:not(.tuBt2DLqimiImoqVzPqo).paGLQwtPEaJmtArCcmyK{padding:var(--spacing-base) calc(var(--spacing-base)*2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo){font-size:var(--font-body-extra-small);height:auto;line-height:20px;padding:calc(var(--spacing-base)/2) var(--spacing-base)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo).paGLQwtPEaJmtArCcmyK>svg:first-child{margin-left:calc(var(--spacing-base)/2)}.zI5tJ_qhWE6Oe6Lk75GY.Na39I683LAaSA99REg14:not(.tuBt2DLqimiImoqVzPqo)>.components-spinner{height:20px}.zI5tJ_qhWE6Oe6Lk75GY.lZAo6_oGfclXOO9CC6Rd{font-weight:400}.zI5tJ_qhWE6Oe6Lk75GY.xJDOiJxTt0R_wSl8Ipz_{min-width:100%}.zI5tJ_qhWE6Oe6Lk75GY.is-primary:disabled,.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:disabled{background:var(--jp-gray);color:var(--jp-gray-20)}.zI5tJ_qhWE6Oe6Lk75GY.is-secondary{background:var(--jp-white);box-shadow:inset 0 0 0 1.51px var(--jp-black)}.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:active:not(:disabled),.zI5tJ_qhWE6Oe6Lk75GY.is-secondary:hover:not(:disabled){background:var(--jp-gray-0)}.zI5tJ_qhWE6Oe6Lk75GY.is-link.Na39I683LAaSA99REg14,.zI5tJ_qhWE6Oe6Lk75GY.is-link.ipS7tKy9GntCS4R3vekF{padding:0}.zI5tJ_qhWE6Oe6Lk75GY.is-link:hover:not(:disabled){text-decoration-thickness:3px}.zI5tJ_qhWE6Oe6Lk75GY.is-link:focus:not(:disabled){text-decoration-line:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary{box-shadow:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:not(:disabled){background:var(--jp-red-50);box-shadow:inset 0 0 0 1px var(--jp-red-50);color:var(--jp-white)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:hover:not(:disabled){background:var(--jp-red-60);box-shadow:inset 0 0 0 1px var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:focus:not(:disabled){background:var(--jp-red-70);box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-white)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-primary:active:not(:disabled){background:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary{box-shadow:none}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:not(:disabled){background:var(--jp-white);box-shadow:inset 0 0 0 1.5px var(--jp-red-50);color:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:hover:not(:disabled){background:var(--jp-red-0);box-shadow:inset 0 0 0 1.5px var(--jp-red-60);color:var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:focus:not(:disabled){box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-red-70)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-secondary:active:not(:disabled){background:var(--jp-gray-0)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:not(:disabled){color:var(--jp-red-50)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:hover:not(:disabled){box-shadow:none;color:var(--jp-red-60)}.zI5tJ_qhWE6Oe6Lk75GY.is-destructive.is-link:focus:not(:disabled){box-shadow:inset 0 0 0 1px var(--jp-white),0 0 0 var(--wp-admin-border-width-focus) var(--jp-red-70);color:var(--jp-red-70)}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6{position:relative}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6.has-icon{justify-content:center}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6>:not(.components-spinner){visibility:hidden}.zI5tJ_qhWE6Oe6Lk75GY.q_tVWqMjl39RcY6WtQA6>.components-spinner{margin:0;position:absolute}.CDuBjJp_8jxzx5j6Nept{margin-right:calc(var(--spacing-base)/2)}.TcCZnGE6mad8Dvz9pCZi{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PHBhdGggc3Ryb2tlPSIjRDYzNjM5IiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTEyIDIwYTggOCAwIDEgMCAwLTE2IDggOCAwIDAgMCAwIDE2WiIvPjxwYXRoIGZpbGw9IiNENjM2MzkiIGQ9Ik0xMyA3aC0ydjZoMnpNMTMgMTVoLTJ2MmgyeiIvPjwvc3ZnPg==) no-repeat 100% 0;color:var(--jp-red);line-height:25px;padding-right:25px}._mn6o2Dtm5pfFWc8_A1K{--spacing-base:8px;min-width:264px}@media(min-width:1080px){.jp-connection__connect-screen-layout__left{width:calc(100% - 384px - var(--spacing-base)*4)}.jp-connection__connect-screen-required-plan{background:linear-gradient(270deg,#fff 70%,#f9f9f6 0);position:relative}}.jp-connection__connect-screen-required-plan__loading{display:none}.jp-connection__connect-screen-required-plan ul.jp-product-promote{margin-block-end:calc(var(--spacing-base)*4);margin-block-start:calc(var(--spacing-base)*3)}@media(min-width:1080px){.jp-connection__connect-screen-required-plan__pricing-card{left:calc(var(--spacing-base)*12);position:absolute;top:calc(var(--spacing-base)*8)}}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button{align-items:center;background:var(--jp-black)!important;border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;font-weight:500;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-connection__connect-screen-required-plan__pricing-card .jp-action-button--button.components-button:disabled{background:var(--jp-gray)!important;color:var(--jp-gray-20)!important}.jp-connection__connect-screen-required-plan__pricing-card .terms-of-service{margin-bottom:var(--spacing-base);margin-top:calc(var(--spacing-base)*4)}.jp-connection__connect-screen-required-plan__with-subscription{display:flex;flex-wrap:wrap;gap:1ch;justify-content:flex-start;line-height:1;margin-top:calc(var(--spacing-base)*4)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button.is-primary{background:inherit!important;color:var(--jp-black)!important;display:inline;font-size:var(--font-title-small);height:auto;line-height:20px;font:inherit;min-width:0;padding:0;text-decoration:underline;width:auto}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button.is-primary:hover{background:inherit;text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__connect-screen-required-plan__with-subscription .jp-action-button--button.components-button.is-primary:focus{background:inherit;box-shadow:none!important}.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__inner,.jp-connection__connect-screen-required-plan__with-subscription .jp-components-spinner__outer{border-left-color:var(--jp-black);border-top-color:var(--jp-black)}.jp-components__pricing-card{background:var(--jp-white);border-radius:var(--jp-border-radius);box-shadow:0 10px 40px #00000014;max-width:384px;padding:24px 24px 32px;width:-moz-fit-content;width:fit-content}@media screen and (min-width:600px){.jp-components__pricing-card{padding:32px 32px 44px}}.jp-components__pricing-card__icon img{height:32px;width:32px}.jp-components__pricing-card__title{color:#101517;font-size:32px;line-height:38px;margin:16px 0 24px}.jp-components__pricing-card__pricing{display:flex;flex-wrap:wrap}.jp-components__pricing-card__price-after,.jp-components__pricing-card__price-before{display:inline-block;font-size:54px;font-weight:700;line-height:40px;margin-bottom:8px;padding:0 2px}.jp-components__pricing-card__price-before{color:var(--jp-gray-20);margin-left:16px;position:relative}.jp-components__pricing-card__price-strikethrough{background:var(--jp-pink);border-radius:1.5px;height:3px;position:absolute;right:0;top:20px;width:100%}.jp-components__pricing-card__price-after{color:var(--jp-black)}.jp-components__pricing-card__currency{font-size:var(--font-title-small);font-weight:400;line-height:20px;vertical-align:super}.jp-components__pricing-card__price-details{align-self:flex-end;color:var(--jp-gray-50);font-size:14px;font-weight:400;letter-spacing:-.02em;line-height:17px;margin-bottom:8px}.jp-components__pricing-card__price-decimal{font-size:var(--font-label);line-height:14px;vertical-align:top}.jp-components__pricing-card__button{align-items:center;background:var(--jp-black);border-radius:var(--jp-border-radius);color:var(--jp-white)!important;font-size:18px;height:auto;justify-content:center;margin:24px 0 32px;padding:14px 24px;width:100%}.jp-components__pricing-card__info,.jp-components__pricing-card__tos{color:var(--jp-gray-60);font-size:var(--font-label);letter-spacing:-.02em;line-height:20px}.jp-components__pricing-card__tos{margin-top:24px}@keyframes R2i0K45dEF157drbVRPI{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.NisihrgiIKl_knpYJtfg{animation:R2i0K45dEF157drbVRPI 1.5s infinite;background-color:var(--jp-gray);height:100%;width:100%}.jp-iframe-wrap{text-align:center}.fade-in{animation:fadeIn 1.5s ease;-webkit-animation:fadeIn 1.5s ease;-moz-animation:fadeIn 1.5s ease;-o-animation:fadeIn 1.5s ease;-ms-animation:fadeIn 1.5s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}to{opacity:1}}.urouayitSUT8zW0V3p_0{margin-bottom:0}.iXXJlk08gFDeCvsTTlNQ{border:1px solid var(--jp-gray);border-radius:var(--jp-border-radius);border-right:6px solid var(--jp-red-50);box-shadow:0 4px 8px #00000008,0 1px 2px #0000000f;box-sizing:border-box;color:var(--jp-gray-80);font-size:16px;line-height:22px;margin:0;padding:calc(var(--spacing-base)*2) calc(var(--spacing-base)*3) calc(var(--spacing-base)*2) calc(var(--spacing-base)*3)}.iXXJlk08gFDeCvsTTlNQ.is-error{background-color:var(--jp-white)}.iXXJlk08gFDeCvsTTlNQ .components-notice__content{align-items:flex-start;display:flex;flex-direction:column;margin:0;padding:12px 4px}.iXXJlk08gFDeCvsTTlNQ .is-link{color:var(--jp-black);font-size:16px;font-weight:600}.iXXJlk08gFDeCvsTTlNQ .components-notice__dismiss{align-self:center}.iXXJlk08gFDeCvsTTlNQ .MWqRqr7q6fgvLxitcWYk,.iXXJlk08gFDeCvsTTlNQ .MWqRqr7q6fgvLxitcWYk:active,.iXXJlk08gFDeCvsTTlNQ .MWqRqr7q6fgvLxitcWYk:hover,.iXXJlk08gFDeCvsTTlNQ .MWqRqr7q6fgvLxitcWYk:visited{align-items:center;background:#000;border-radius:var(--jp-border-radius);color:var(--jp-white);cursor:pointer;font-size:16px;font-weight:600;justify-content:center;letter-spacing:-.01em;line-height:24px;margin-right:calc(var(--spacing-base)*2 + 24px);margin-top:24px;padding:8px 24px;text-decoration:none}.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .MWqRqr7q6fgvLxitcWYk,.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .MWqRqr7q6fgvLxitcWYk:active,.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .MWqRqr7q6fgvLxitcWYk:hover,.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .MWqRqr7q6fgvLxitcWYk:visited{margin-right:0;margin-top:0;white-space:nowrap}.iXXJlk08gFDeCvsTTlNQ.YLcXAoc82nypTPaKSAcd .components-notice__content{align-items:center;flex-direction:row}.e6hHy8BZ7ZKPSXbIC0UG{margin-bottom:25px}.jXz8LnXNzMDdtHqkG0sZ{display:flex;flex-grow:1;margin-left:var(--spacing-base)}.jXz8LnXNzMDdtHqkG0sZ>svg{align-self:flex-start;flex-shrink:0}.jXz8LnXNzMDdtHqkG0sZ .jp-components-spinner,.jXz8LnXNzMDdtHqkG0sZ>svg{margin-left:calc(var(--spacing-base)*2)}@keyframes rotate-spinner{to{transform:rotate(-1turn)}}.jp-components-spinner{align-items:center;display:flex}.jp-components-spinner__inner,.jp-components-spinner__outer{animation:3s linear infinite;animation-name:rotate-spinner;border:.1em solid #0000;border-radius:50%;box-sizing:border-box;margin:auto}.jp-components-spinner__outer{border-top-color:#fff}.jp-components-spinner__inner{border-left-color:#fff;border-top-color:#fff;height:100%;opacity:.4;width:100%}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-small);font-weight:600;line-height:1.2;margin-top:0}.jp-connection__disconnect-dialog h2{font-size:var(--font-title-small);font-weight:400;line-height:1.2;margin:0}.jp-connection__disconnect-dialog p{font-size:var(--font-body);margin-top:0}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.25rem}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link,.jp-connection__disconnect-dialog__link{color:var(--jp-black);font-size:var(--font-body);font:inherit;height:auto;padding:0;text-decoration:underline}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:hover,.jp-connection__disconnect-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link:focus,.jp-connection__disconnect-dialog__link:focus{box-shadow:none!important;color:var(--jp-black)}.jp-connection__disconnect-dialog .jp-connection__disconnect-dialog__link--bold,.jp-connection__disconnect-dialog__link--bold{font-weight:700}.jp-connection__disconnect-dialog .components-button{border-radius:4px;font-size:var(--font-body-small);height:40px}.jp-connection__disconnect-dialog .components-modal__content{display:flex;flex-direction:column;flex-grow:1;margin:0;padding:0}.jp-connection__disconnect-dialog .components-modal__content:before,.jp-connection__disconnect-dialog .components-modal__header{display:none}.jp-connection__disconnect-dialog .jp-row{align-items:center;width:calc(100% - 48px)}.jp-connection__disconnect-dialog__content{align-items:center;background:var(--jp-white-off);border-radius:4px;display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0;padding:2rem 1rem;text-align:center}.jp-connection__disconnect-dialog__actions{background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;padding:2rem 0;position:sticky}.jp-connection__disconnect-dialog__actions p{margin-bottom:0}.jp-connection__disconnect-dialog__actions:before{background:linear-gradient(to bottom,#0000,var(--jp-white-off));bottom:calc(100% + 1px);content:"";display:block;height:80px;position:absolute;right:0;width:100%}.jp-connection__disconnect-dialog__btn-dismiss,.jp-connection__disconnect-dialog__btn-dismiss.components-button{background:var(--jp-black)!important;margin-left:10px}.jp-connection__disconnect-dialog__btn-disconnect{background:var(--jp-red)!important}.jp-connection__disconnect-dialog__btn-back-to-wp{background:var(--jp-black)!important}.jp-connection__disconnect-dialog__button-wrap{text-align:right}@media(min-width:960px){.jp-connection__disconnect-dialog__button-wrap{text-align:center}}.jp-connection__disconnect-dialog__error{color:var(--jp-red)}.jp-connection__disconnect-dialog__survey{margin-bottom:1.5rem;max-width:100%}.jp-connection__disconnect-dialog__step-copy{margin:0 auto;max-width:800px}.jp-connection__disconnect-dialog__step-copy--narrow{max-width:600px}@media(max-height:900px){.jp-connection__disconnect-dialog__content .jp-components__decorative-card{display:none}}@media(min-width:600px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{max-width:calc(100% - 32px);width:100%}.jp-connection__disconnect-dialog__actions,.jp-connection__disconnect-dialog__content{padding:2rem}}@media(min-width:960px){.jp-connection__disconnect-dialog,.jp-connection__disconnect-dialog.components-modal__frame{display:flex;flex-direction:column;height:900px;width:1200px}.jp-connection__disconnect-dialog h1{font-size:var(--font-title-large)}.jp-connection__disconnect-dialog p.jp-connection__disconnect-dialog__large-text,.jp-connection__disconnect-dialog__large-text{font-size:1.5rem}.jp-connection__disconnect-dialog__content{padding:80px}.jp-connection__disconnect-dialog__actions{padding:2rem 3rem}.jp-row{margin-right:0}}.jp-connection__disconnect-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:0 auto 1rem;max-width:100%;padding:1rem 2rem;text-align:right;width:800px}.jp-connection__disconnect-card__group{margin-bottom:1rem;max-width:100%}.jp-connection__disconnect-card__card-content{display:block;font-size:.875rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-content{align-items:center;display:flex;justify-content:space-between}}.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{flex-shrink:0;font-size:1.25rem;font-weight:600;margin-bottom:0;margin-top:0}@media only screen and (min-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline,.jp-connection__disconnect-card__card-headline{font-size:1.5rem;margin-left:1.5rem}}@media only screen and (max-width:782px){.jp-connection__disconnect-card .jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block,.jp-connection__disconnect-card__card-headline+.jp-disconnect-card__card-stat-block{margin-top:.5rem}}.jp-connection__disconnect-card__card-stat-block{align-items:baseline;display:flex;flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat-block{flex-direction:row-reverse}}.jp-connection__disconnect-card__card-description{flex-grow:1}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-description{text-align:left}}.jp-connection__disconnect-card__card-stat{font-size:1rem;font-weight:600;margin-left:.5rem}@media only screen and (min-width:782px){.jp-connection__disconnect-card__card-stat{font-size:1.5rem;margin-left:0;margin-right:1rem}}.jp-components__decorative-card{border-radius:8px;box-shadow:0 0 15px var(--jp-gray);display:flex;height:280px;margin:0 auto 3rem;max-width:100%;overflow:hidden;position:relative;width:360px}.jp-components__decorative-card__content,.jp-components__decorative-card__image{width:50%}.jp-components__decorative-card__image{background:var(--jp-gray);background-size:cover;position:relative}.jp-components__decorative-card__image:before{background-image:url('data:image/svg+xml;uf8,');content:"";display:block;height:8px;position:absolute;right:24px;top:24px;width:38px}.jp-components__decorative-card__content{background:#fff;padding:2rem}.jp-components__decorative-card__icon-container{background:var(--jp-red);border-radius:50px;height:80px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:80px}.jp-components__decorative-card__icon{background-position:50%,50%;background-repeat:no-repeat;height:40px;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);width:40px}.jp-components__decorative-card__icon--unlink{background-image:url('data:image/svg+xml;uf8, ')}.jp-components__decorative-card__lines,.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{background:#e9eff5;border-radius:6px;display:block;height:12px;position:relative;width:100%}.jp-components__decorative-card__lines:after,.jp-components__decorative-card__lines:before{content:"";top:calc(100% + 16px)}.jp-components__decorative-card__lines:after{top:calc(100% + 32px);width:75%}.jp-components__decorative-card--vertical{flex-direction:column}.jp-components__decorative-card--vertical .jp-components__decorative-card__content,.jp-components__decorative-card--vertical .jp-components__decorative-card__image{height:50%;width:100%}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines{margin-left:auto;margin-right:auto;max-width:135px}.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:after,.jp-components__decorative-card--vertical .jp-components__decorative-card__lines:before{margin-left:auto;margin-right:auto}.jp-connect__disconnect-survey-card{border:2px solid #0000;border-radius:4px;box-shadow:0 0 15px var(--jp-gray-off);margin-left:auto;margin-right:auto;max-width:100%;padding:1rem;position:relative;text-align:right;width:800px}.jp-connect__disconnect-survey-card--selected{background:var(--jp-gray-off);border-color:var(--jp-black)}.jp-connect__disconnect-survey-card:after{border-left:2px solid var(--jp-black);border-top:2px solid var(--jp-black);content:"";display:block;height:5px;left:1.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:5px}.jp-connect__disconnect-survey-card:hover{cursor:pointer}.jp-connect__disconnect-survey-card:focus:not(.jp-disconnect-survey-card--selected),.jp-connect__disconnect-survey-card:hover:not(.jp-disconnect-survey-card--selected){border-color:var(--jp-black-80)}.jp-connect__disconnect-survey-card__answer{align-items:center;display:flex;font-weight:700;margin:0}input.jp-connect__disconnect-survey-card__input{-webkit-appearance:none;background-color:#0000;border:none;color:var(--jp-black-80);flex-grow:1;max-width:calc(100% - 40px);padding-left:40px}:root{--font-title-large:36px;--font-title-small:24px;--font-body:16px;--font-label:12px;--jp-black:#000;--jp-black-80:#2c3338;--jp-white:#fff;--jp-white-off:#f9f9f6;--jp-gray:#dcdcde;--jp-gray-0:#f6f7f7;--jp-gray-5:#dcdcde;--jp-gray-10:#c3c4c7;--jp-gray-20:#a7aaad;--jp-gray-30:#8c8f94;--jp-gray-40:#787c82;--jp-gray-50:#646970;--jp-gray-60:#50575e;--jp-gray-70:#3c434a;--jp-gray-80:#2c3338;--jp-gray-90:#1d2327;--jp-gray-100:#101517;--jp-gray-off:#e2e2df;--jp-yellow-5:#f5e6b3;--jp-yellow-10:#f2cf75;--jp-yellow-40:#c08c00;--jp-orange-20:#faa754;--jp-blue-5:#ced9f2;--jp-red-0:#f7ebec;--jp-red-50:#d63638;--jp-red-60:#b32d2e;--jp-red-80:#8a2424;--jp-red:#d63639;--jp-pink:#c9356e;--jp-green-0:#f0f2eb;--jp-green-5:#d0e6b8;--jp-green-10:#9dd977;--jp-green-20:#64ca43;--jp-green-30:#2fb41f;--jp-green-40:#069e08;--jp-green-50:#008710;--jp-green-60:#007117;--jp-green-70:#005b18;--jp-green-80:#004515;--jp-green-90:#003010;--jp-green-100:#001c09;--jp-green:#069e08;--jp-green-primary:var(--jp-green-40);--jp-green-secondary:var(--jp-green-30);--jp-border-radius:4px;--jp-border-radius-rna:8px;--jp-menu-border-height:1px;--jp-underline-thickness:2px;--jp-modal-padding-large:32px;--jp-modal-padding:24px;--jp-modal-padding-small:16px;--jp-modal-radius:8px;--jp-button-padding:8px;--jp-button-radius:4px;--jp-gap:16px;--jp-highlight:#3858e9}:where(body){font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;margin:0;min-height:100%;padding:0}.jp-wrap{align-items:center;display:flex;flex-wrap:wrap;margin:0 auto;max-width:1128px}.jp-row{display:grid;grid-gap:24px;grid-template-columns:repeat(4,1fr);margin:0 16px;width:100%}@media(min-width:600px){.jp-row{grid-template-columns:repeat(8,1fr);margin:0 18px}}@media(min-width:960px){.jp-row{grid-template-columns:repeat(12,1fr);margin:0 24px;max-width:1128px}}.sm-col-span-1{grid-column-end:span 1}.sm-col-span-2{grid-column-end:span 2}.sm-col-span-3{grid-column-end:span 3}.sm-col-span-4{grid-column-end:span 4}@media(min-width:600px){.md-col-span-1{grid-column-end:span 1}.md-col-span-2{grid-column-end:span 2}.md-col-span-3{grid-column-end:span 3}.md-col-span-4{grid-column-end:span 4}.md-col-span-5{grid-column-end:span 5}.md-col-span-6{grid-column-end:span 6}.md-col-span-7{grid-column-end:span 7}.md-col-span-8{grid-column-end:span 8}}@media(min-width:960px){.lg-col-span-1{grid-column-end:span 1}.lg-col-span-2{grid-column-end:span 2}.lg-col-span-3{grid-column-end:span 3}.lg-col-span-4{grid-column-end:span 4}.lg-col-span-5{grid-column-end:span 5}.lg-col-span-6{grid-column-end:span 6}.lg-col-span-7{grid-column-end:span 7}.lg-col-span-8{grid-column-end:span 8}.lg-col-span-9{grid-column-end:span 9}.lg-col-span-10{grid-column-end:span 10}.lg-col-span-11{grid-column-end:span 11}.lg-col-span-12{grid-column-end:span 12}}@media(max-width:960px){.md-col-span-0{display:none}}@media(max-width:600px){.sm-col-span-0{display:none}}.jp-cut{border:2px solid var(--jp-green-primary);border-radius:var(--jp-border-radius);margin:32px 0;padding:16px 24px 16px 64px;position:relative;text-decoration:none}.jp-cut,.jp-cut span{display:block}.jp-cut span:last-of-type{font-weight:600}.jp-cut:focus span:last-of-type,.jp-cut:hover span:last-of-type{text-decoration:underline;text-decoration-thickness:var(--jp-underline-thickness)}.jp-cut:focus:after,.jp-cut:hover:after{transform:translateY(-50%) translateX(-8px)}.jp-cut:after{color:var(--jp-green-primary);content:"→";font-size:24px;font-weight:600;left:24px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .15s ease-out}.jp-connection__manage-dialog{--spacing-base:8px;border-radius:3px;margin:auto;width:1200px}.jp-connection__manage-dialog__content{align-items:center;background:var(--jp-white-off);display:flex;flex-direction:column;justify-content:center;padding:80px;text-align:center}.jp-connection__manage-dialog__content h1{font-size:var(--font-title-large);font-weight:700;line-height:1.2;margin:0}.jp-connection__manage-dialog__large-text{font-size:1.25rem;font-weight:600;margin-bottom:calc(var(--spacing-base)*4);margin-top:calc(var(--spacing-base)*3);max-width:60%}.jp-connection__manage-dialog__actions{align-items:center;background:var(--jp-white);border-top:1px solid var(--jp-gray);bottom:0;box-sizing:border-box;margin:0!important;max-width:1200px!important;padding:calc(var(--spacing-base)*4) calc(var(--spacing-base)*5);position:sticky}.jp-connection__manage-dialog__link{color:var(--jp-black)}.jp-connection__manage-dialog__link:hover{color:var(--jp-black);text-decoration-thickness:var(--jp-underline-thickness)}.jp-connection__manage-dialog__link:focus{color:var(--jp-black)}.jp-connection__manage-dialog__button-wrap button{float:left}.jp-connection__manage-dialog__action-card{background-color:var(--jp-white);border:none;border-radius:3px;box-shadow:0 0 15px var(--jp-gray-off);margin:var(--spacing-base) auto;max-width:100%;padding:1rem 2rem;text-align:right;width:750px}.jp-connection__manage-dialog__action-card__card-headline{font-size:var(--font-body);font-weight:600;line-height:calc(var(--spacing-base)*3);text-decoration:none}.jp-connection__manage-dialog__action-card__icon{float:left}.jp-connection__manage-dialog__action-card .transfer{color:var(--jp-black);fill:var(--jp-black)}.jp-connection__manage-dialog__action-card .disconnect{color:var(--jp-red);fill:var(--jp-red)}.jp-connection__manage-dialog .components-modal__header{display:none}.jp-connection__manage-dialog .components-modal__content{margin:0;padding:0} \ No newline at end of file diff --git a/vendor/automattic/jetpack-connection/src/class-connection-assets.php b/vendor/automattic/jetpack-connection/src/class-connection-assets.php new file mode 100644 index 00000000..f231aa40 --- /dev/null +++ b/vendor/automattic/jetpack-connection/src/class-connection-assets.php @@ -0,0 +1,41 @@ + true, + 'textdomain' => 'jetpack-connection', + ) + ); + } +} diff --git a/vendor/automattic/jetpack-connection/src/class-manager.php b/vendor/automattic/jetpack-connection/src/class-manager.php index f2ee3161..41913b35 100644 --- a/vendor/automattic/jetpack-connection/src/class-manager.php +++ b/vendor/automattic/jetpack-connection/src/class-manager.php @@ -156,7 +156,7 @@ public static function configure() { // Initial Partner management. Partner::init(); - add_filter( 'jetpack_admin_js_script_data', array( Initial_State::class, 'set_connection_script_data' ), 10, 1 ); + Connection_Assets::configure(); } /** diff --git a/vendor/automattic/jetpack-connection/src/class-package-version.php b/vendor/automattic/jetpack-connection/src/class-package-version.php index 05b64857..18ef9a5d 100644 --- a/vendor/automattic/jetpack-connection/src/class-package-version.php +++ b/vendor/automattic/jetpack-connection/src/class-package-version.php @@ -12,7 +12,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '2.12.5'; + const PACKAGE_VERSION = '2.13.0-alpha'; const PACKAGE_SLUG = 'connection'; diff --git a/vendor/automattic/jetpack-jitm/composer.json b/vendor/automattic/jetpack-jitm/composer.json index 8a7e9941..439a635d 100644 --- a/vendor/automattic/jetpack-jitm/composer.json +++ b/vendor/automattic/jetpack-jitm/composer.json @@ -7,7 +7,7 @@ "php": ">=7.0", "automattic/jetpack-a8c-mc-stats": "^2.0.2", "automattic/jetpack-assets": "^2.3.5", - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-device-detection": "^2.1.4", "automattic/jetpack-logo": "^2.0.4", "automattic/jetpack-redirect": "^2.0.3", diff --git a/vendor/automattic/jetpack-masterbar/composer.json b/vendor/automattic/jetpack-masterbar/composer.json index 60c297e7..6491cbe2 100644 --- a/vendor/automattic/jetpack-masterbar/composer.json +++ b/vendor/automattic/jetpack-masterbar/composer.json @@ -9,7 +9,7 @@ "automattic/jetpack-blaze": "^0.22.8", "automattic/jetpack-compat": "^3.0.2", "automattic/jetpack-device-detection": "^2.1.4", - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-jitm": "^3.1.19", "automattic/jetpack-logo": "^2.0.4", "automattic/jetpack-plans": "^0.4.8", diff --git a/vendor/automattic/jetpack-mu-wpcom/composer.json b/vendor/automattic/jetpack-mu-wpcom/composer.json index 67e63920..e12df3e4 100644 --- a/vendor/automattic/jetpack-mu-wpcom/composer.json +++ b/vendor/automattic/jetpack-mu-wpcom/composer.json @@ -9,7 +9,7 @@ "automattic/jetpack-blocks": "^2.0.5", "automattic/jetpack-calypsoify": "^0.1.5", "automattic/jetpack-classic-theme-helper": "^0.5.4", - "automattic/jetpack-connection": "^2.12.5", + "automattic/jetpack-connection": "^2.13.0-alpha", "automattic/jetpack-masterbar": "^0.8.1", "automattic/jetpack-redirect": "^2.0.3", "automattic/jetpack-stats-admin": "^0.21.1", diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.asset.php index 24817f1b..b4fd2a0b 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.asset.php @@ -1 +1 @@ - array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'ff29ed28e64711485842'); + array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'd1425c96b261267660c0'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.js b/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.js index 51862a06..31863478 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/a8c-posts-list/a8c-posts-list.js @@ -1 +1 @@ -(()=>{"use strict";var e={21032:(e,t,o)=>{o.d(t,{X:()=>r,m:()=>c});var a=o(74997);const s=["a8c/blog-posts","newspack-blocks/homepage-articles"],l=e=>({postsPerPage:t})=>(0,a.createBlock)(e,{postsToShow:t,showAvatar:!1,displayPostDate:!0,displayPostContent:!0}),r=e=>s.indexOf(e)>-1,c={to:s.map((e=>({type:"block",blocks:[e],transform:l(e)})))}},94715:e=>{e.exports=window.wp.blockEditor},74997:e=>{e.exports=window.wp.blocks},56427:e=>{e.exports=window.wp.components},47143:e=>{e.exports=window.wp.data},86087:e=>{e.exports=window.wp.element},27723:e=>{e.exports=window.wp.i18n}},t={};function o(a){var s=t[a];if(void 0!==s)return s.exports;var l=t[a]={exports:{}};return e[a](l,l.exports,o),l.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a=o(94715),s=o(74997),l=o(56427),r=o(47143),c=o(86087),n=o(27723),p=o(21032);const __=n.__,i=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{opacity:".87",fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement("path",{d:"M3 5v14h17V5H3zm4 2v2H5V7h2zm-2 6v-2h2v2H5zm0 2h2v2H5v-2zm13 2H9v-2h9v2zm0-4H9v-2h9v2zm0-4H9V7h9v2z"}));(0,s.registerBlockType)("a8c/posts-list",{title:__("Blog Posts Listing","jetpack-mu-wpcom"),description:__("Displays your latest Blog Posts.","jetpack-mu-wpcom"),keywords:["posts"],icon:i,category:"layout",supports:{html:!1,multiple:!1,reusable:!1,inserter:!1},attributes:{postsPerPage:{type:"number",default:10}},edit:({attributes:e,setAttributes:t,clientId:o,isSelected:n})=>{const m=(0,r.select)("core/block-editor").getBlock(o),d=(0,s.getPossibleBlockTransformations)([m]).find((e=>e&&(0,p.X)(e.name))),w=!!d;return React.createElement(c.Fragment,null,w&&React.createElement(l.Notice,{actions:[{label:__("Update Block","jetpack-mu-wpcom"),onClick:()=>{(0,r.dispatch)("core/block-editor").replaceBlocks(m.clientId,(0,s.switchToBlockType)(m,d.name))}}],className:"a8c-posts-list__notice",isDismissible:!1},__("An improved version of this block is available. Update for a better, more natural way to manage your blog post listings. There may be small visual changes.","jetpack-mu-wpcom")),React.createElement(l.Placeholder,{className:"a8c-posts-list__placeholder",icon:i,label:__("Your recent blog posts will be displayed here.","jetpack-mu-wpcom")},n?React.createElement(l.RangeControl,{label:__("Number of posts to show","jetpack-mu-wpcom"),value:e.postsPerPage,onChange:e=>t({postsPerPage:e}),min:1,max:50}):null),React.createElement(a.InspectorControls,null,React.createElement(l.PanelBody,null,React.createElement(l.RangeControl,{label:__("Number of posts","jetpack-mu-wpcom"),value:e.postsPerPage,onChange:e=>t({postsPerPage:e}),min:1,max:50}))))},save:()=>null,transforms:p.m})})(); \ No newline at end of file +(()=>{"use strict";var e={1032:(e,t,o)=>{o.d(t,{X:()=>r,m:()=>c});var a=o(4997);const s=["a8c/blog-posts","newspack-blocks/homepage-articles"],l=e=>({postsPerPage:t})=>(0,a.createBlock)(e,{postsToShow:t,showAvatar:!1,displayPostDate:!0,displayPostContent:!0}),r=e=>s.indexOf(e)>-1,c={to:s.map((e=>({type:"block",blocks:[e],transform:l(e)})))}},4715:e=>{e.exports=window.wp.blockEditor},4997:e=>{e.exports=window.wp.blocks},6427:e=>{e.exports=window.wp.components},7143:e=>{e.exports=window.wp.data},6087:e=>{e.exports=window.wp.element},7723:e=>{e.exports=window.wp.i18n}},t={};function o(a){var s=t[a];if(void 0!==s)return s.exports;var l=t[a]={exports:{}};return e[a](l,l.exports,o),l.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var a in t)o.o(t,a)&&!o.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a=o(4715),s=o(4997),l=o(6427),r=o(7143),c=o(6087),n=o(7723),p=o(1032);const __=n.__,i=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{opacity:".87",fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement("path",{d:"M3 5v14h17V5H3zm4 2v2H5V7h2zm-2 6v-2h2v2H5zm0 2h2v2H5v-2zm13 2H9v-2h9v2zm0-4H9v-2h9v2zm0-4H9V7h9v2z"}));(0,s.registerBlockType)("a8c/posts-list",{title:__("Blog Posts Listing","jetpack-mu-wpcom"),description:__("Displays your latest Blog Posts.","jetpack-mu-wpcom"),keywords:["posts"],icon:i,category:"layout",supports:{html:!1,multiple:!1,reusable:!1,inserter:!1},attributes:{postsPerPage:{type:"number",default:10}},edit:({attributes:e,setAttributes:t,clientId:o,isSelected:n})=>{const m=(0,r.select)("core/block-editor").getBlock(o),d=(0,s.getPossibleBlockTransformations)([m]).find((e=>e&&(0,p.X)(e.name))),w=!!d;return React.createElement(c.Fragment,null,w&&React.createElement(l.Notice,{actions:[{label:__("Update Block","jetpack-mu-wpcom"),onClick:()=>{(0,r.dispatch)("core/block-editor").replaceBlocks(m.clientId,(0,s.switchToBlockType)(m,d.name))}}],className:"a8c-posts-list__notice",isDismissible:!1},__("An improved version of this block is available. Update for a better, more natural way to manage your blog post listings. There may be small visual changes.","jetpack-mu-wpcom")),React.createElement(l.Placeholder,{className:"a8c-posts-list__placeholder",icon:i,label:__("Your recent blog posts will be displayed here.","jetpack-mu-wpcom")},n?React.createElement(l.RangeControl,{label:__("Number of posts to show","jetpack-mu-wpcom"),value:e.postsPerPage,onChange:e=>t({postsPerPage:e}),min:1,max:50}):null),React.createElement(a.InspectorControls,null,React.createElement(l.PanelBody,null,React.createElement(l.RangeControl,{label:__("Number of posts","jetpack-mu-wpcom"),value:e.postsPerPage,onChange:e=>t({postsPerPage:e}),min:1,max:50}))))},save:()=>null,transforms:p.m})})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.asset.php index 0f95676d..782420ac 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.asset.php @@ -1 +1 @@ - array('lodash', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => 'c833fb4d00b5550c6344'); + array('lodash', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => 'fad857ddf50d7e0b9086'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.js b/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.js index 48444be5..76118e8d 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/block-inserter-modifications/block-inserter-modifications.js @@ -1 +1 @@ -(()=>{"use strict";var e={21162:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(56427),o=n(29491),s=n(47143),i=n(66087),c=n(84909);const a=(0,o.compose)((0,s.withSelect)((e=>({canUserCreate:t=>e("core").canUser("create",t)}))))((function({searchTerm:e,random:t=!1,canUserCreate:n}){if(!e)return null;if(!c.A.length)return null;const o=(0,i.deburr)((0,i.lowerCase)(e)).replace(/^\//,""),s=(0,i.filter)(c.A,(({keywords:e,permission:t})=>n(t)&&(0,i.filter)([...new Set(e)],(e=>(0,i.includes)(o,e))).length));if(!s.length)return null;const a=t?Math.floor(Math.random()*s.length):0;return React.createElement("div",{className:"contextual-tip"},React.createElement(r.Tip,null,(0,i.get)(s,[a,"description"])))}))},84909:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(86087),o=n(27723),s=n(45209);const __=o.__;function i(e,t,n){return void 0!==r.createInterpolateElement?(0,r.createInterpolateElement)(e,t):n}const c=[{context:"theme",keywords:["theme",__("theme","jetpack-mu-wpcom")],description:i(__("You can visit the theme directory to select a different design for your site.","jetpack-mu-wpcom"),{a:React.createElement(s.A,{section:"themes"})},__("You can visit the theme directory to select a different design for your site.","jetpack-mu-wpcom")),permission:"settings"},{context:"plugin",keywords:["plugin",__("plugin","jetpack-mu-wpcom")],description:i(__("You can visit the plugin directory to get started with installing new plugins.","jetpack-mu-wpcom"),{a:React.createElement(s.A,{section:"plugins"})},__("You can visit the plugin directory to get started with installing new plugins.","jetpack-mu-wpcom")),permission:"settings"}]},45209:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(69056);const o=(0,r.a)();function s({children:e,section:t}){const{hostname:n}=window.location;let s="#";switch(t){case"themes":s=o?`https://wordpress.com/themes/${n}`:"./themes.php";break;case"plugins":s=o||r.S?`https://wordpress.com/plugins/${n}`:"./plugin-install.php"}return React.createElement("a",{href:s,target:"_blank",rel:"noreferrer noopener"},e)}},69056:(e,t,n)=>{n.d(t,{S:()=>o,a:()=>r});const r=()=>{try{return window.self!==window.top}catch(e){return!0}},o=!(!window||!window._currentSiteType||"simple"!==window._currentSiteType)},66087:e=>{e.exports=window.lodash},94715:e=>{e.exports=window.wp.blockEditor},56427:e=>{e.exports=window.wp.components},29491:e=>{e.exports=window.wp.compose},47143:e=>{e.exports=window.wp.data},86087:e=>{e.exports=window.wp.element},27723:e=>{e.exports=window.wp.i18n},92279:e=>{e.exports=window.wp.plugins}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r=n(94715),o=n(86087),s=n(92279),i=n(66087),c=n(21162);const a=function(){const[e,t]=(0,o.useState)(""),n=(0,i.debounce)(t,400);return React.createElement(r.__unstableInserterMenuExtension,null,(({filterValue:t,hasItems:r})=>r||!t?null:(e!==t&&n(t),React.createElement(c.A,{searchTerm:t}))))};void 0!==r.__unstableInserterMenuExtension&&(0,s.registerPlugin)("block-inserter-contextual-tips",{render:()=>React.createElement(a,null)})})(); \ No newline at end of file +(()=>{"use strict";var e={1162:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6427),o=n(9491),s=n(7143),i=n(8468),c=n(4909);const a=(0,o.compose)((0,s.withSelect)((e=>({canUserCreate:t=>e("core").canUser("create",t)}))))((function({searchTerm:e,random:t=!1,canUserCreate:n}){if(!e)return null;if(!c.A.length)return null;const o=(0,i.deburr)((0,i.lowerCase)(e)).replace(/^\//,""),s=(0,i.filter)(c.A,(({keywords:e,permission:t})=>n(t)&&(0,i.filter)([...new Set(e)],(e=>(0,i.includes)(o,e))).length));if(!s.length)return null;const a=t?Math.floor(Math.random()*s.length):0;return React.createElement("div",{className:"contextual-tip"},React.createElement(r.Tip,null,(0,i.get)(s,[a,"description"])))}))},4909:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6087),o=n(7723),s=n(5209);const __=o.__;function i(e,t,n){return void 0!==r.createInterpolateElement?(0,r.createInterpolateElement)(e,t):n}const c=[{context:"theme",keywords:["theme",__("theme","jetpack-mu-wpcom")],description:i(__("You can visit the theme directory to select a different design for your site.","jetpack-mu-wpcom"),{a:React.createElement(s.A,{section:"themes"})},__("You can visit the theme directory to select a different design for your site.","jetpack-mu-wpcom")),permission:"settings"},{context:"plugin",keywords:["plugin",__("plugin","jetpack-mu-wpcom")],description:i(__("You can visit the plugin directory to get started with installing new plugins.","jetpack-mu-wpcom"),{a:React.createElement(s.A,{section:"plugins"})},__("You can visit the plugin directory to get started with installing new plugins.","jetpack-mu-wpcom")),permission:"settings"}]},5209:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(9056);const o=(0,r.a)();function s({children:e,section:t}){const{hostname:n}=window.location;let s="#";switch(t){case"themes":s=o?`https://wordpress.com/themes/${n}`:"./themes.php";break;case"plugins":s=o||r.S?`https://wordpress.com/plugins/${n}`:"./plugin-install.php"}return React.createElement("a",{href:s,target:"_blank",rel:"noreferrer noopener"},e)}},9056:(e,t,n)=>{n.d(t,{S:()=>o,a:()=>r});const r=()=>{try{return window.self!==window.top}catch(e){return!0}},o=!(!window||!window._currentSiteType||"simple"!==window._currentSiteType)},8468:e=>{e.exports=window.lodash},4715:e=>{e.exports=window.wp.blockEditor},6427:e=>{e.exports=window.wp.components},9491:e=>{e.exports=window.wp.compose},7143:e=>{e.exports=window.wp.data},6087:e=>{e.exports=window.wp.element},7723:e=>{e.exports=window.wp.i18n},2279:e=>{e.exports=window.wp.plugins}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r=n(4715),o=n(6087),s=n(2279),i=n(8468),c=n(1162);const a=function(){const[e,t]=(0,o.useState)(""),n=(0,i.debounce)(t,400);return React.createElement(r.__unstableInserterMenuExtension,null,(({filterValue:t,hasItems:r})=>r||!t?null:(e!==t&&n(t),React.createElement(c.A,{searchTerm:t}))))};void 0!==r.__unstableInserterMenuExtension&&(0,s.registerPlugin)("block-inserter-contextual-tips",{render:()=>React.createElement(a,null)})})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.asset.php index 7749de27..e7206410 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.asset.php @@ -1 +1 @@ - array('react', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => '15cedb8ab3f957e19b7f'); + array('react', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => '83633410ba09f7b992f3'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.js b/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.js index 1c0f7792..e719fbce 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/block-theme-previews/block-theme-previews.js @@ -1,3 +1,3 @@ -(()=>{"use strict";var e={52754:(e,t,o)=>{o.d(t,{A:()=>m});var r=o(56427),s=o(47143),i=o(27723),a=o(51609),c=o.n(a),l=o(95114);const __=i.__;function m(){const e=(0,l.T)(),t=(0,s.useSelect)((t=>t("core").getTheme(e)),[e]),o=(0,s.useSelect)((e=>!!e("core/edit-site")),[]),a=(0,s.useSelect)((e=>e("automattic/wpcom-block-theme-previews").isModalVisible()),[]),{dismissModal:m}=(0,s.useDispatch)("automattic/wpcom-block-theme-previews");return o&&a?c().createElement(r.Modal,{className:"wpcom-block-theme-previews-modal",onRequestClose:m,shouldCloseOnClickOutside:!1},c().createElement("div",{className:"wpcom-block-theme-previews-modal__content"},c().createElement("div",{className:"wpcom-block-theme-previews-modal__text"},c().createElement("h1",{className:"wpcom-block-theme-previews-modal__heading"},(0,i.sprintf)( +(()=>{"use strict";var e={2754:(e,t,o)=>{o.d(t,{A:()=>m});var r=o(6427),s=o(7143),i=o(7723),a=o(1609),c=o.n(a),l=o(5114);const __=i.__;function m(){const e=(0,l.T)(),t=(0,s.useSelect)((t=>t("core").getTheme(e)),[e]),o=(0,s.useSelect)((e=>!!e("core/edit-site")),[]),a=(0,s.useSelect)((e=>e("automattic/wpcom-block-theme-previews").isModalVisible()),[]),{dismissModal:m}=(0,s.useDispatch)("automattic/wpcom-block-theme-previews");return o&&a?c().createElement(r.Modal,{className:"wpcom-block-theme-previews-modal",onRequestClose:m,shouldCloseOnClickOutside:!1},c().createElement("div",{className:"wpcom-block-theme-previews-modal__content"},c().createElement("div",{className:"wpcom-block-theme-previews-modal__text"},c().createElement("h1",{className:"wpcom-block-theme-previews-modal__heading"},(0,i.sprintf)( // translators: %s: theme name -__("You’re previewing %s","jetpack-mu-wpcom"),t?.name?.rendered||e)),c().createElement("div",{className:"wpcom-block-theme-previews-modal__description"},c().createElement("p",null,__("Changes you make in the editor won’t be applied to your site until you activate the theme.","jetpack-mu-wpcom")),c().createElement("p",null,__("Try customizing your theme styles to get your site looking just right.","jetpack-mu-wpcom"))),c().createElement("div",{className:"wpcom-block-theme-previews-modal__actions"},c().createElement(r.Button,{variant:"primary",onClick:m},__("Start customizing","jetpack-mu-wpcom")))),c().createElement("div",{className:"wpcom-block-theme-previews-modal__video"},c().createElement("video",{autoPlay:!0,loop:!0,muted:!0},c().createElement("source",{src:"https://videos.files.wordpress.com/gTXUlIAB/wpcom-block-theme-previews-modal.mp4",type:"video/mp4"}))))):null}},64294:(e,t,o)=>{var r=o(47143);const s={isModalVisible:!0};(0,r.registerStore)("automattic/wpcom-block-theme-previews",{reducer:(e=s,t)=>"DISMISS_MODAL"===t.type?{...e,isModalVisible:!1}:e,actions:{dismissModal:()=>({type:"DISMISS_MODAL"})},selectors:{isModalVisible:e=>e.isModalVisible},persist:!0})},95114:(e,t,o)=>{o.d(t,{T:()=>s});var r=o(93832);function s(){return(0,r.getQueryArg)(window.location.href,"wp_theme_preview")}},51609:e=>{e.exports=window.React},56427:e=>{e.exports=window.wp.components},47143:e=>{e.exports=window.wp.data},98490:e=>{e.exports=window.wp.domReady},27723:e=>{e.exports=window.wp.i18n},92279:e=>{e.exports=window.wp.plugins},93832:e=>{e.exports=window.wp.url}},t={};function o(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r=o(98490),s=o.n(r),i=o(92279),a=o(52754);o(64294);s()((()=>{(0,i.registerPlugin)("wpcom-block-theme-previews",{render:a.A})}))})(); \ No newline at end of file +__("You’re previewing %s","jetpack-mu-wpcom"),t?.name?.rendered||e)),c().createElement("div",{className:"wpcom-block-theme-previews-modal__description"},c().createElement("p",null,__("Changes you make in the editor won’t be applied to your site until you activate the theme.","jetpack-mu-wpcom")),c().createElement("p",null,__("Try customizing your theme styles to get your site looking just right.","jetpack-mu-wpcom"))),c().createElement("div",{className:"wpcom-block-theme-previews-modal__actions"},c().createElement(r.Button,{variant:"primary",onClick:m},__("Start customizing","jetpack-mu-wpcom")))),c().createElement("div",{className:"wpcom-block-theme-previews-modal__video"},c().createElement("video",{autoPlay:!0,loop:!0,muted:!0},c().createElement("source",{src:"https://videos.files.wordpress.com/gTXUlIAB/wpcom-block-theme-previews-modal.mp4",type:"video/mp4"}))))):null}},4294:(e,t,o)=>{var r=o(7143);const s={isModalVisible:!0};(0,r.registerStore)("automattic/wpcom-block-theme-previews",{reducer:(e=s,t)=>"DISMISS_MODAL"===t.type?{...e,isModalVisible:!1}:e,actions:{dismissModal:()=>({type:"DISMISS_MODAL"})},selectors:{isModalVisible:e=>e.isModalVisible},persist:!0})},5114:(e,t,o)=>{o.d(t,{T:()=>s});var r=o(3832);function s(){return(0,r.getQueryArg)(window.location.href,"wp_theme_preview")}},1609:e=>{e.exports=window.React},6427:e=>{e.exports=window.wp.components},7143:e=>{e.exports=window.wp.data},8490:e=>{e.exports=window.wp.domReady},7723:e=>{e.exports=window.wp.i18n},2279:e=>{e.exports=window.wp.plugins},3832:e=>{e.exports=window.wp.url}},t={};function o(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r=o(8490),s=o.n(r),i=o(2279),a=o(2754);o(4294);s()((()=>{(0,i.registerPlugin)("wpcom-block-theme-previews",{render:a.A})}))})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.asset.php index 18dccd25..d69ceb0c 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.asset.php @@ -1 +1 @@ - array('wp-api-fetch', 'wp-hooks'), 'version' => '15b9b4a36054fbfccdf9'); + array('wp-api-fetch', 'wp-hooks'), 'version' => 'a6e2c6d564659dc0cbd2'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.js b/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.js index 74979078..c86bfb46 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/error-reporting/error-reporting.js @@ -1 +1 @@ -(()=>{"use strict";var t={83116:(t,e,n)=>{n.d(e,{y:()=>l});var r=n(62886),s=n(15382),o=n(4753),i=n(49432),a=n(6841),c=n(1507),u=n(13060),d=n(60514),_=n(46631);class l extends r.V{constructor(t){const e=d.jf.SENTRY_SDK_SOURCE||(0,o.e)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:s.M}],version:s.M},super(t),t.sendClientReports&&d.jf.document&&d.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===d.jf.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return(0,u.u)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return(0,u.qv)(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.warn("SDK not enabled, will not capture user feedback."));const e=(0,_.L)(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.log("Sending outcomes:",t);const e=(0,a.m)(t,this._options.tunnel&&(0,c.SB)(this._dsn));this._sendEnvelope(e)}}},13060:(t,e,n)=>{n.d(e,{H7:()=>g,K8:()=>u,qv:()=>f,u:()=>h});var r=n(73421),s=n(63780),o=n(35033),i=n(3868),a=n(78310),c=n(90223);function u(t,e){const n=_(t,e),r={type:e&&e.name,value:p(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function d(t,e){return{exception:{values:[u(t,e)]}}}function _(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(l.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}const l=/Minified React error #\d+;/i;function p(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function h(t,e,n,r){const s=g(t,e,n&&n.syntheticException||void 0,r);return(0,i.M6)(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),(0,a.XW)(s)}function f(t,e,n="info",r,s){const o=m(t,e,r&&r.syntheticException||void 0,s);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,a.XW)(o)}function g(t,e,n,a,c){let u;if((0,s.T2)(e)&&e.error){return d(t,e.error)}if((0,s.BD)(e)||(0,s.W6)(e)){const r=e;if("stack"in e)u=d(t,e);else{const e=r.name||((0,s.BD)(r)?"DOMError":"DOMException"),o=r.message?`${e}: ${r.message}`:e;u=m(t,o,n,a),(0,i.gO)(u,o)}return"code"in r&&(u.tags={...u.tags,"DOMException.code":`${r.code}`}),u}if((0,s.bJ)(e))return d(t,e);if((0,s.Qd)(e)||(0,s.xH)(e)){return u=function(t,e,n,i){const a=(0,r.BF)().getClient(),c=a&&a.getOptions().normalizeDepth,u={exception:{values:[{type:(0,s.xH)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:v(e,{isUnhandledRejection:i})}]},extra:{__serialized__:(0,o.cd)(e,c)}};if(n){const e=_(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,c),(0,i.M6)(u,{synthetic:!0}),u}return u=m(t,e,n,a),(0,i.gO)(u,`${e}`,void 0),(0,i.M6)(u,{synthetic:!0}),u}function m(t,e,n,r){const s={message:e};if(r&&n){const r=_(t,n);r.length&&(s.exception={values:[{value:e,stacktrace:{frames:r}}]})}return s}function v(t,{isUnhandledRejection:e}){const n=(0,c.HF)(t),r=e?"promise rejection":"exception";if((0,s.T2)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,s.xH)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}},60514:(t,e,n)=>{n.d(e,{LV:()=>d,jN:()=>u,jf:()=>a});var r=n(16441),s=n(46881),o=n(90223),i=n(3868);const a=s.OW;let c=0;function u(){return c>0}function d(t,e={},n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if((0,o.sp)(t))return t}catch(e){return t}const s=function(){const s=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=s.map((t=>d(t,e)));return t.apply(this,r)}catch(t){throw c++,setTimeout((()=>{c--})),(0,r.v4)((n=>{n.addEventProcessor((t=>(e.mechanism&&((0,i.gO)(t,void 0,void 0),(0,i.M6)(t,e.mechanism)),t.extra={...t.extra,arguments:s},t))),(0,r.Cp)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s[e]=t[e])}catch(t){}(0,o.pO)(s,t),(0,o.my)(t,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get:()=>t.name})}catch(t){}return s}},4805:(t,e,n)=>{n.d(e,{B:()=>p});var r=n(73421),s=n(92497),o=n(3868),i=n(49432),a=n(8146),c=n(18731),u=n(7321),d=n(44883),_=n(60514);const l=1024;class p{static __initStatic(){this.id="Breadcrumbs"}constructor(t){this.name=p.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){if(this.options.console&&(0,s.ON)("console",f),this.options.dom&&(0,s.ON)("dom",function(t){function e(e){let n,s="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=l),"string"==typeof s&&(s=[s]);try{const t=e.event;n=function(t){return!!t&&!!t.target}(t)?(0,a.Hd)(t.target,{keyAttrs:s,maxStringLength:o}):(0,a.Hd)(t,{keyAttrs:s,maxStringLength:o})}catch(t){n=""}0!==n.length&&(0,r.BF)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this.options.dom)),this.options.xhr&&(0,s.ON)("xhr",g),this.options.fetch&&(0,s.ON)("fetch",m),this.options.history&&(0,s.ON)("history",v),this.options.sentry){const t=(0,r.BF)().getClient();t&&t.on&&t.on("beforeSendEvent",h)}}}function h(t){(0,r.BF)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,o.$X)(t)},{event:t})}function f(t){const e={category:"console",data:{arguments:t.args,logger:"console"},level:(0,c.te)(t.level),message:(0,u.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${(0,u.gt)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}(0,r.BF)().addBreadcrumb(e,{input:t.args,level:t.level})}function g(t){const{startTimestamp:e,endTimestamp:n}=t,o=t.xhr[s.Er];if(!e||!n||!o)return;const{method:i,url:a,status_code:c,body:u}=o,d={method:i,url:a,status_code:c},_={xhr:t.xhr,input:u,startTimestamp:e,endTimestamp:n};(0,r.BF)().addBreadcrumb({category:"xhr",data:d,type:"http"},_)}function m(t){const{startTimestamp:e,endTimestamp:n}=t;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const s=t.fetchData,o={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};(0,r.BF)().addBreadcrumb({category:"fetch",data:s,level:"error",type:"http"},o)}else{const s={...t.fetchData,status_code:t.response&&t.response.status},o={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};(0,r.BF)().addBreadcrumb({category:"fetch",data:s,type:"http"},o)}}function v(t){let e=t.from,n=t.to;const s=(0,d.Dl)(_.jf.location.href);let o=(0,d.Dl)(e);const i=(0,d.Dl)(n);o.path||(o=s),s.protocol===i.protocol&&s.host===i.host&&(n=i.relative),s.protocol===o.protocol&&s.host===o.host&&(e=o.relative),(0,r.BF)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}p.__initStatic()},22216:(t,e,n)=>{n.d(e,{U:()=>s});var r=n(49432);class s{static __initStatic(){this.id="Dedupe"}constructor(){this.name=s.id}setupOnce(t,e){}processEvent(t){if(t.type)return t;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!i(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=a(e),r=a(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!i(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;return!1}(t,this._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return this._previousEvent=t}}function o(t,e){let n=c(t),r=c(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t{n.d(e,{R:()=>_});var r=n(73421),s=n(92497),o=n(63780),i=n(8146),a=n(49432),c=n(3868),u=n(13060),d=n(60514);class _{static __initStatic(){this.id="GlobalHandlers"}constructor(t){this.name=_.id,this._options={onerror:!0,onunhandledrejection:!0,...t},this._installFunc={onerror:l,onunhandledrejection:p}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.vF.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}var e}}function l(){(0,s.ON)("error",(t=>{const[e,n,r]=g();if(!e.getIntegration(_))return;const{msg:s,url:i,line:a,column:c,error:l}=t;if((0,d.jN)()||l&&l.__sentry_own_request__)return;const p=void 0===l&&(0,o.Kg)(s)?function(t,e,n,r){const s=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=(0,o.T2)(t)?t.message:t,a="Error";const c=i.match(s);c&&(a=c[1],i=c[2]);const u={exception:{values:[{type:a,value:i}]}};return h(u,e,n,r)}(s,i,a,c):h((0,u.H7)(n,l||s,void 0,r,!1),i,a,c);p.level="error",f(e,l,p,"onerror")}))}function p(){(0,s.ON)("unhandledrejection",(t=>{const[e,n,r]=g();if(!e.getIntegration(_))return;let s=t;try{"reason"in t?s=t.reason:"detail"in t&&"reason"in t.detail&&(s=t.detail.reason)}catch(t){}if((0,d.jN)()||s&&s.__sentry_own_request__)return!0;const i=(0,o.sO)(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:(0,u.H7)(n,s,void 0,r,!0);i.level="error",f(e,s,i,"onunhandledrejection")}))}function h(t,e,n,r){const s=t.exception=t.exception||{},a=s.values=s.values||[],c=a[0]=a[0]||{},u=c.stacktrace=c.stacktrace||{},d=u.frames=u.frames||[],_=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,p=(0,o.Kg)(e)&&e.length>0?e:(0,i.$N)();return 0===d.length&&d.push({colno:_,filename:p,function:"?",in_app:!0,lineno:l}),t}function f(t,e,n,r){(0,c.M6)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function g(){const t=(0,r.BF)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}_.__initStatic()},23420:(t,e,n)=>{n.d(e,{_:()=>s});var r=n(60514);class s{static __initStatic(){this.id="HttpContext"}constructor(){this.name=s.id}setupOnce(){}preprocessEvent(t){if(!r.jf.navigator&&!r.jf.location&&!r.jf.document)return;const e=t.request&&t.request.url||r.jf.location&&r.jf.location.href,{referrer:n}=r.jf.document||{},{userAgent:s}=r.jf.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...s&&{"User-Agent":s}},i={...t.request,...e&&{url:e},headers:o};t.request=i}}s.__initStatic()},21673:(t,e,n)=>{n.d(e,{l:()=>o});var r=n(39929),s=n(13060);class o{static __initStatic(){this.id="LinkedErrors"}constructor(t={}){this.name=o.id,this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){}preprocessEvent(t,e,n){const o=n.getOptions();(0,r.Q)(s.K8,o.stackParser,o.maxValueLength,this._key,this._limit,t,e)}}o.__initStatic()},43955:(t,e,n)=>{n.d(e,{h:()=>a});var r=n(90223),s=n(24209),o=n(60514);const i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class a{static __initStatic(){this.id="TryCatch"}constructor(t){this.name=a.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,r.GS)(o.jf,"setTimeout",c),this._options.setInterval&&(0,r.GS)(o.jf,"setInterval",c),this._options.requestAnimationFrame&&(0,r.GS)(o.jf,"requestAnimationFrame",u),this._options.XMLHttpRequest&&"XMLHttpRequest"in o.jf&&(0,r.GS)(XMLHttpRequest.prototype,"send",d);const t=this._options.eventTarget;if(t){(Array.isArray(t)?t:i).forEach(_)}}}function c(t){return function(...e){const n=e[0];return e[0]=(0,o.LV)(n,{mechanism:{data:{function:(0,s.qQ)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function u(t){return function(e){return t.apply(this,[(0,o.LV)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,s.qQ)(t)},handled:!1,type:"instrument"}})])}}function d(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,r.GS)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,s.qQ)(e)},handled:!1,type:"instrument"}},i=(0,r.sp)(e);return i&&(n.mechanism.data.handler=(0,s.qQ)(i)),(0,o.LV)(e,n)}))})),t.apply(this,e)}}function _(t){const e=o.jf,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.GS)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,o.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,s.qQ)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,o.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,s.qQ)(r),target:t},handled:!1,type:"instrument"}}),i])}})),(0,r.GS)(n,"removeEventListener",(function(t){return function(e,n,r){const s=n;try{const n=s&&s.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,s,r)}})))}a.__initStatic()},60443:(t,e,n)=>{n.d(e,{Ts:()=>w});var r=n(4778),s=n(36802),o=n(40840),i=n(79686),a=n(73421),c=n(24209),u=n(10060),d=n(49432),_=n(92497),l=n(83116),p=n(60514),h=n(88709),f=n(43955),g=n(4805),m=n(21673),v=n(23420),y=n(22216),E=n(49218),S=n(21418),b=n(41356);const x=[new r.Hp,new s.$,new f.h,new g.B,new h.R,new m.l,new y.U,new v._];function w(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=x),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),p.jf.SENTRY_RELEASE&&p.jf.SENTRY_RELEASE.id&&(t.release=p.jf.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(0,c.vk)(t.stackParser||E.lG),integrations:(0,o.mH)(t),transport:t.transport||((0,u.vm)()?S._:b.u)};(0,i.J)(l.y,e),t.autoSessionTracking&&function(){if(void 0===p.jf.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=(0,a.BF)();if(!t.captureSession)return;T(t),(0,_.ON)("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&T((0,a.BF)())}))}()}function T(t){t.startSession({ignoreDuration:!0}),t.captureSession()}},49218:(t,e,n)=>{n.d(e,{lG:()=>l});var r=n(24209);const s="?";function o(t,e,n,r){const s={filename:t,function:e,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,_=[[30,t=>{const e=i.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=a.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=p(e[1]||s,e[2]);return o(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{const e=c.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=u.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||s;return[n,t]=p(n,t),o(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{const e=d.exec(t);return e?o(e[2],e[1]||s,+e[3],e[4]?+e[4]:void 0):void 0}]],l=(0,r.gd)(..._),p=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:s,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},21418:(t,e,n)=>{n.d(e,{_:()=>i});var r=n(35548),s=n(78310),o=n(3487);function i(t,e=(0,o.i)()){let n=0,i=0;return(0,r.o)(t,(function(r){const a=r.body.length;n+=a,i++;const c={body:r.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&i<15,...t.fetchOptions};try{return e(t.url,c).then((t=>(n-=a,i--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return(0,o.a)(),n-=a,i--,(0,s.xg)(t)}}))}},3487:(t,e,n)=>{n.d(e,{a:()=>c,i:()=>a});var r=n(10060),s=n(49432),o=n(60514);let i;function a(){if(i)return i;if((0,r.ap)(o.jf.fetch))return i=o.jf.fetch.bind(o.jf);const t=o.jf.document;let e=o.jf.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return i=e.bind(o.jf)}function c(){i=void 0}},41356:(t,e,n)=>{n.d(e,{u:()=>i});var r=n(35548),s=n(78310);const o=4;function i(t){return(0,r.o)(t,(function(e){return new s.T2(((n,r)=>{const s=new XMLHttpRequest;s.onerror=r,s.onreadystatechange=()=>{s.readyState===o&&n({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&s.setRequestHeader(e,t.headers[e]);s.send(e.body)}))}))}},46631:(t,e,n)=>{n.d(e,{L:()=>o});var r=n(1507),s=n(33092);function o(t,{metadata:e,tunnel:n,dsn:o}){const i={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!o&&{dsn:(0,r.SB)(o)}},a=function(t){return[{type:"user_report"},t]}(t);return(0,s.h4)(i,[a])}},99794:(t,e,n)=>{n.d(e,{Z:()=>i});var r=n(90223);const s="7";function o(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function i(t,e={}){const n="string"==typeof e?e:e.tunnel,i="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${o(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,r.u4)({sentry_key:t.publicKey,sentry_version:s,...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,i)}`}},62886:(t,e,n)=>{n.d(e,{V:()=>m});var r=n(1507),s=n(49432),o=n(3868),i=n(63780),a=n(78310),c=n(33092),u=n(36440),d=n(99794),_=n(76148),l=n(40840),p=n(81950),h=n(39368),f=n(6215);const g="Not capturing exception because it's already been captured.";class m{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,r.AD)(t.dsn):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("No DSN provided, client will not send events."),this._dsn){const e=(0,d.Z)(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if((0,o.GR)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.log(g));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let s=n&&n.event_id;const o=(0,i.sO)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(o.then((t=>this._captureEvent(t,n,r))).then((t=>{s=t}))),s}captureEvent(t,e,n){if(e&&e.originalException&&(0,o.GR)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.log(g));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,p.qO)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,a.XW)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=(0,l.P$)(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){(0,l.qm)(this,t,this._integrations)}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,_.V)(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,c.W3)(n,(0,c.bm)(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=(0,_.L)(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach((t=>t(...e)))}_updateSessionFromEvent(t,e){let n=!1,r=!1;const s=e.exception&&e.exception.values;if(s){r=!0;for(const t of s){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&((0,p.qO)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new a.T2((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n){const r=this.getOptions(),s=Object.keys(this._integrations);return!e.integrations&&s.length>0&&(e.integrations=s),this.emit("preprocessEvent",t,e),(0,f.mG)(r,t,e,n,this).then((t=>{if(null===t)return t;const{propagationContext:e}=t.sdkProcessingMetadata||{};if(!(t.contexts&&t.contexts.trace)&&e){const{traceId:r,spanId:s,parentSpanId:o,dsc:i}=e;t.contexts={trace:{trace_id:r,span_id:s,parent_span_id:o},...t.contexts};const a=i||(0,h.l)(r,this,n);t.sdkProcessingMetadata={dynamicSamplingContext:a,...t.sdkProcessingMetadata}}return t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?s.vF.log(e.message):s.vF.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:s}=r,o=y(t),c=v(t),d=t.type||"error",_=`before send for type \`${d}\``;if(c&&"number"==typeof s&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",t),(0,a.xg)(new u.U(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const l="replay_event"===d?"replay":d;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,t),new u.U("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const s=function(t,e,n){const{beforeSend:r,beforeSendTransaction:s}=t;if(v(e)&&r)return r(e,n);if(y(e)&&s)return s(e,n);return e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,i.Qg)(t))return t.then((t=>{if(!(0,i.Qd)(t)&&null!==t)throw new u.U(n);return t}),(t=>{throw new u.U(`${e} rejected with ${t}`)}));if(!(0,i.Qd)(t)&&null!==t)throw new u.U(n);return t}(s,_)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",l,t),new u.U(`${_} returned \`null\`, will not send event.`,"log");const s=n&&n.getSession();!o&&s&&this._updateSessionFromEvent(s,r);const i=r.transaction_info;if(o&&i&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...i,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof u.U)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new u.U(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.error("Error while sending event:",t)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function v(t){return void 0===t.type}function y(t){return"transaction"===t.type}},60499:(t,e,n)=>{n.d(e,{U:()=>r});const r="production"},76148:(t,e,n)=>{n.d(e,{L:()=>o,V:()=>i});var r=n(33092),s=n(1507);function o(t,e,n,o){const i=(0,r.Cj)(n),a={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!o&&e&&{dsn:(0,s.SB)(e)}},c="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,r.h4)(a,[c])}function i(t,e,n,s){const o=(0,r.Cj)(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const a=(0,r.n2)(t,o,s,e);delete t.sdkProcessingMetadata;const c=[{type:i},t];return(0,r.h4)(a,[c])}},45367:(t,e,n)=>{n.d(e,{jB:()=>u,lG:()=>a,lb:()=>c});var r=n(46881),s=n(78310),o=n(49432),i=n(63780);function a(){return(0,r.BY)("globalEventProcessors",(()=>[]))}function c(t){a().push(t)}function u(t,e,n,r=0){return new s.T2(((s,a)=>{const c=t[r];if(null===e||"function"!=typeof c)s(e);else{const d=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===d&&o.vF.log(`Event processor "${c.id}" dropped event`),(0,i.Qg)(d)?d.then((e=>u(t,e,n,r+1).then(s))).then(null,a):u(t,d,n,r+1).then(s).then(null,a)}}))}},16441:(t,e,n)=>{n.d(e,{Cp:()=>o,bX:()=>a,v4:()=>i});var r=n(49432),s=n(73421);function o(t,e){return(0,s.BF)().captureException(t,{captureContext:e})}function i(t){(0,s.BF)().withScope(t)}async function a(t){const e=(0,s.BF)().getClient();return e?e.flush(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}},73421:(t,e,n)=>{n.d(e,{BF:()=>f});var r=n(3868),s=n(18533),o=n(49432),i=n(46881),a=n(60499),c=n(45498),u=n(81950);const d=4,_=100;class l{constructor(t,e=new c.H,n=d){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version{r.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},o)})),n}captureMessage(t,e,n){const s=this._lastEventId=n&&n.event_id?n.event_id:(0,r.eJ)(),o=new Error(t);return this._withClient(((r,i)=>{r.captureMessage(t,e,{originalException:t,syntheticException:o,...n,event_id:s},i)})),s}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,r.eJ)();return t.type||(this._lastEventId=n),this._withClient(((r,s)=>{r.captureEvent(t,{...e,event_id:n},s)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=_}=r.getOptions&&r.getOptions()||{};if(a<=0)return;const c={timestamp:(0,s.lu)(),...t},u=i?(0,o.pq)((()=>i(c,e))):c;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,a))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=h(this);try{t(this)}finally{h(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.vF.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){const n=this._callExtensionMethod("startTransaction",t,e);if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n){this.getClient()?console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):console.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&(0,u.Vu)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:s=a.U}=n&&n.getOptions()||{},{userAgent:o}=i.OW.navigator||{},c=(0,u.fj)({release:r,environment:s,user:e.getUser(),...o&&{userAgent:o},...t}),d=e.getSession&&e.getSession();return d&&"ok"===d.status&&(0,u.qO)(d,{status:"exited"}),this.endSession(),e.setSession(c),c}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=p().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.vF.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function p(){return i.OW.__SENTRY__=i.OW.__SENTRY__||{extensions:{},hub:void 0},i.OW}function h(t){const e=p(),n=v(e);return y(e,t),n}function f(){const t=p();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return g(t)}function g(t=p()){return m(t)&&!v(t).isOlderThan(d)||y(t,new l),v(t)}function m(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function v(t){return(0,i.BY)("hub",(()=>new l),t)}function y(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}},40840:(t,e,n)=>{n.d(e,{P$:()=>u,mH:()=>c,qm:()=>d});var r=n(3868),s=n(49432),o=n(45367),i=n(73421);const a=[];function c(t){const e=t.defaultIntegrations||[],n=t.integrations;let s;e.forEach((t=>{t.isDefaultInstance=!0})),s=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.k9)(n(e)):e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(s),i=function(t,e){for(let n=0;n"Debug"===t.name));if(-1!==i){const[t]=o.splice(i,1);o.push(t)}return o}function u(t,e){const n={};return e.forEach((e=>{e&&d(t,e,n)})),n}function d(t,e,n){if(n[e.name]=e,-1===a.indexOf(e.name)&&(e.setupOnce(o.lb,i.BF),a.push(e.name)),t.on&&"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if(t.addEventProcessor&&"function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.log(`Integration installed: ${e.name}`)}},36802:(t,e,n)=>{n.d(e,{$:()=>o});var r=n(90223);let s;class o{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=o.id}setupOnce(){s=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,r.sp)(this)||this;return s.apply(e,t)}}catch(t){}}}o.__initStatic()},4778:(t,e,n)=>{n.d(e,{Hp:()=>c});var r=n(49432),s=n(3868),o=n(7321);const i=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],a=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/];class c{static __initStatic(){this.id="InboundFilters"}constructor(t={}){this.name=c.id,this._options=t}setupOnce(t,e){}processEvent(t,e,n){const c=n.getOptions(),d=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:i],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:a],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(this._options,c);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,s.$X)(t)}`),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));"undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==e.length||r.vF.error(`Could not extract message for event ${(0,s.$X)(t)}`);return e}(t).some((t=>(0,o.Xr)(t,e)))}(t,e.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,s.$X)(t)}`),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,o.Xr)(n,e)}(t,e.ignoreTransactions))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,s.$X)(t)}`),!0;if(function(t,e){if(!e||!e.length)return!1;const n=u(t);return!!n&&(0,o.Xr)(n,e)}(t,e.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,s.$X)(t)}.\nUrl: ${u(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=u(t);return!n||(0,o.Xr)(n,e)}(t,e.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,s.$X)(t)}.\nUrl: ${u(t)}`),!0;return!1}(t,d)?null:t}}function u(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.error(`Cannot extract url for event ${(0,s.$X)(t)}`),null}}c.__initStatic()},45498:(t,e,n)=>{n.d(e,{H:()=>c});var r=n(63780),s=n(18533),o=n(3868),i=n(45367),a=n(81950);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=u()}static clone(t){const e=new c;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata},e._propagationContext={...t._propagationContext}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,a.qO)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof c?e:this}return t instanceof c?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):(0,r.Qd)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=u(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,s.lu)(),...t},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={},n){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction;if(e){t.sdkProcessingMetadata={dynamicSamplingContext:e.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const n=e.name;n&&(t.tags={transaction:n,...t.tags})}}this._applyFingerprint(t);const r=this._getBreadcrumbs(),s=[...t.breadcrumbs||[],...r];return t.breadcrumbs=s.length>0?s:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},(0,i.jB)([...n||[],...(0,i.lG)(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,o.k9)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function u(){return{traceId:(0,o.eJ)(),spanId:(0,o.eJ)().substring(16)}}},79686:(t,e,n)=>{n.d(e,{J:()=>o});var r=n(49432),s=n(73421);function o(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?r.vF.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,s.BF)();n.getScope().update(e.initialScope);const o=new t(e);n.bindClient(o)}},81950:(t,e,n)=>{n.d(e,{Vu:()=>c,fj:()=>i,qO:()=>a});var r=n(18533),s=n(3868),o=n(90223);function i(t){const e=(0,r.zf)(),n={sid:(0,s.eJ)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,o.Ce)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,r.zf)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,s.eJ)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},39368:(t,e,n)=>{n.d(e,{l:()=>o});var r=n(90223),s=n(60499);function o(t,e,n){const o=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:a}=n&&n.getUser()||{},c=(0,r.Ce)({environment:o.environment||s.U,release:o.release,user_segment:a,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",c),c}},35548:(t,e,n)=>{n.d(e,{o:()=>d});var r=n(461),s=n(33092),o=n(47367),i=n(78310),a=n(49432),c=n(36440);const u=30;function d(t,e,n=(0,r.C)(t.bufferSize||u)){let d={};function l(r){const u=[];if((0,s.yH)(r,((e,n)=>{const r=(0,s.zk)(n);if((0,o.Jz)(d,r)){const s=_(e,n);t.recordDroppedEvent("ratelimit_backoff",r,s)}else u.push(e)})),0===u.length)return(0,i.XW)();const l=(0,s.h4)(r[0],u),p=e=>{(0,s.yH)(l,((n,r)=>{const o=_(n,r);t.recordDroppedEvent(e,(0,s.zk)(r),o)}))};return n.add((()=>e({body:(0,s.bN)(l,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.vF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),d=(0,o.wq)(d,t),t)),(t=>{throw p("network_error"),t})))).then((t=>t),(t=>{if(t instanceof c.U)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.vF.error("Skipped sending event because buffer is full."),p("queue_overflow"),(0,i.XW)();throw t}))}return l.__sentry__baseTransport__=!0,{send:l,flush:t=>n.drain(t)}}function _(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}},6215:(t,e,n)=>{n.d(e,{mG:()=>l});var r=n(3868),s=n(18533),o=n(78310),i=n(7321),a=n(46881),c=n(35033),u=n(60499),d=n(45367),_=n(45498);function l(t,e,n,l,h){const{normalizeDepth:f=3,normalizeMaxBreadth:g=1e3}=t,m={...e,event_id:e.event_id||n.event_id||(0,r.eJ)(),timestamp:e.timestamp||(0,s.lu)()},v=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:s,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:u.U);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==s&&(t.dist=s);t.message&&(t.message=(0,i.xv)(t.message,o));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,i.xv)(a.value,o));const c=t.request;c&&c.url&&(c.url=(0,i.xv)(c.url,o))}(m,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(m,v),void 0===e.type&&function(t,e){const n=a.OW._sentryDebugIds;if(!n)return;let r;const s=p.get(e);s?r=s:(r=new Map,p.set(e,r));const o=Object.keys(n).reduce(((t,s)=>{let o;const i=r.get(s);i?o=i:(o=e(s),r.set(s,o));for(let e=o.length-1;e>=0;e--){const r=o[e];if(r.filename){t[r.filename]=n[s];break}}return t}),{});try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&(t.debug_id=o[t.filename])}))}))}catch(t){}}(m,t.stackParser);let y=l;n.captureContext&&(y=_.H.clone(y).update(n.captureContext));let E=(0,o.XW)(m);const S=h&&h.getEventProcessors?h.getEventProcessors():[];if(y){if(y.getAttachments){const t=[...n.attachments||[],...y.getAttachments()];t.length&&(n.attachments=t)}E=y.applyToEvent(m,n,S)}else E=(0,d.jB)([...S,...(0,d.lG)()],m,n);return E.then((t=>(t&&function(t){const e={};try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.keys(e).forEach((t=>{n.push({type:"sourcemap",code_file:t,debug_id:e[t]})}))}(t),"number"==typeof f&&f>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,c.S8)(t.data,e,n)}})))},...t.user&&{user:(0,c.S8)(t.user,e,n)},...t.contexts&&{contexts:(0,c.S8)(t.contexts,e,n)},...t.extra&&{extra:(0,c.S8)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,c.S8)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=(0,c.S8)(t.data,e,n)),t))));return r}(t,f,g):t)))}const p=new WeakMap},15382:(t,e,n)=>{n.d(e,{M:()=>r});const r="7.80.1"},39929:(t,e,n)=>{n.d(e,{Q:()=>o});var r=n(63780),s=n(7321);function o(t,e,n=250,o,a,c,u){if(!(c.exception&&c.exception.values&&u&&(0,r.tH)(u.originalException,Error)))return;const d=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:void 0;var _,l;d&&(c.exception.values=(_=i(t,e,a,u.originalException,o,c.exception.values,d,0),l=n,_.map((t=>(t.value&&(t.value=(0,s.xv)(t.value,l)),t)))))}function i(t,e,n,s,o,u,d,_){if(u.length>=n+1)return u;let l=[...u];if((0,r.tH)(s[o],Error)){a(d,_);const r=t(e,s[o]),u=l.length;c(r,o,u,_),l=i(t,e,n,s[o],o,[r,...l],r,u)}return Array.isArray(s.errors)&&s.errors.forEach(((s,u)=>{if((0,r.tH)(s,Error)){a(d,_);const r=t(e,s),p=l.length;c(r,`errors[${u}]`,p,_),l=i(t,e,n,s,o,[r,...l],r,p)}})),l}function a(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function c(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}},8146:(t,e,n)=>{n.d(e,{$N:()=>c,Hd:()=>i});var r=n(63780);const s=(0,n(46881).VZ)(),o=80;function i(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,c=0;const u=" > ",d=u.length;let _;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||o;for(;n&&i++1&&c+s.length*d+_.length>=p));)s.push(_),c+=_.length,n=n.parentNode;return s.reverse().join(u)}catch(t){return""}}function a(t,e){const n=t,s=[];let o,i,a,c,u;if(!n||!n.tagName)return"";s.push(n.tagName.toLowerCase());const d=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(d&&d.length)d.forEach((t=>{s.push(`[${t[0]}="${t[1]}"]`)}));else if(n.id&&s.push(`#${n.id}`),o=n.className,o&&(0,r.Kg)(o))for(i=o.split(/\s+/),u=0;u{n.d(e,{m:()=>o});var r=n(33092),s=n(18533);function o(t,e,n){const o=[{type:"client_report"},{timestamp:n||(0,s.lu)(),discarded_events:t}];return(0,r.h4)(e?{dsn:e}:{},[o])}},1507:(t,e,n)=>{n.d(e,{AD:()=>a,SB:()=>o});var r=n(49432);const s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${i}`}function i(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function a(t){const e="string"==typeof t?function(t){const e=s.exec(t);if(!e)return void console.error(`Invalid Sentry Dsn: ${t}`);const[n,r,o="",a,c="",u]=e.slice(1);let d="",_=u;const l=_.split("/");if(l.length>1&&(d=l.slice(0,-1).join("/"),_=l.pop()),_){const t=_.match(/^\d+/);t&&(_=t[0])}return i({host:a,pass:o,path:d,projectId:_,port:c,protocol:n,publicKey:r})}(t):i(t);if(e&&function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;const{port:e,projectId:n,protocol:s}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(r.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(s)?e&&isNaN(parseInt(e,10))&&(r.vF.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(r.vF.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),1):(r.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},4753:(t,e,n)=>{function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function s(){return"npm"}n.d(e,{Z:()=>r,e:()=>s})},33092:(t,e,n)=>{n.d(e,{Cj:()=>h,W3:()=>a,bN:()=>d,bm:()=>_,h4:()=>i,n2:()=>f,yH:()=>c,zk:()=>p});var r=n(1507),s=n(35033),o=n(90223);function i(t,e=[]){return[t,e]}function a(t,e){const[n,r]=t;return[n,[...r,e]]}function c(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function u(t,e){return(e||new TextEncoder).encode(t)}function d(t,e){const[n,r]=t;let o=JSON.stringify(n);function i(t){"string"==typeof o?o="string"==typeof t?o+t:[u(o,e),t]:o.push("string"==typeof t?u(t,e):t)}for(const t of r){const[e,n]=t;if(i(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,s.S8)(n))}i(t)}}return"string"==typeof o?o:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(o)}function _(t,e){const n="string"==typeof t.data?u(t.data,e):t.data;return[(0,o.Ce)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const l={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function p(t){return l[t]}function h(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function f(t,e,n,s){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&s&&{dsn:(0,r.SB)(s)},...i&&{trace:(0,o.Ce)({...i})}}}},36440:(t,e,n)=>{n.d(e,{U:()=>r});class r extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}},92497:(t,e,n)=>{n.d(e,{Er:()=>l,ON:()=>g});var r=n(63780),s=n(49432),o=n(3868),i=n(90223),a=n(24209),c=n(10060),u=n(46881),d=n(98777);const _=(0,u.VZ)(),l="__sentry_xhr_v2__",p={},h={};function f(t){if(!h[t])switch(h[t]=!0,t){case"console":!function(){if(!("console"in u.OW))return;s.Ow.forEach((function(t){t in u.OW.console&&(0,i.GS)(u.OW.console,t,(function(e){return s.Z9[t]=e,function(...e){m("console",{args:e,level:t});const n=s.Z9[t];n&&n.apply(u.OW.console,e)}}))}))}();break;case"dom":!function(){if(!_.document)return;const t=m.bind(null,"dom"),e=T(t,!0);_.document.addEventListener("click",e,!1),_.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=_[e]&&_[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,i.GS)(n,"addEventListener",(function(e){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},i=o[n]=o[n]||{refCount:0};if(!i.handler){const r=T(t);i.handler=r,e.call(this,n,r,s)}i.refCount++}catch(t){}return e.call(this,n,r,s)}})),(0,i.GS)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,s=n.__sentry_instrumentation_handlers__||{},o=s[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete s[e]),0===Object.keys(s).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!_.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;(0,i.GS)(t,"open",(function(t){return function(...e){const n=Date.now(),s=e[1],o=this[l]={method:(0,r.Kg)(e[0])?e[0].toUpperCase():e[0],url:e[1],request_headers:{}};(0,r.Kg)(s)&&"POST"===o.method&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const t=this[l];if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}m("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,i.GS)(this,"onreadystatechange",(function(t){return function(...e){return a(),t.apply(this,e)}})):this.addEventListener("readystatechange",a),(0,i.GS)(this,"setRequestHeader",(function(t){return function(...e){const[n,r]=e,s=this[l];return s&&(s.request_headers[n.toLowerCase()]=r),t.apply(this,e)}})),t.apply(this,e)}})),(0,i.GS)(t,"send",(function(t){return function(...e){const n=this[l];return n&&void 0!==e[0]&&(n.body=e[0]),m("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!(0,c.m7)())return;(0,i.GS)(u.OW,"fetch",(function(t){return function(...e){const{method:n,url:r}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:y(e),method:v(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:y(e),method:v(e,"method")?String(e.method).toUpperCase():"GET"}}(e),s={args:e,fetchData:{method:n,url:r},startTimestamp:Date.now()};return m("fetch",{...s}),t.apply(u.OW,e).then((t=>(m("fetch",{...s,endTimestamp:Date.now(),response:t}),t)),(t=>{throw m("fetch",{...s,endTimestamp:Date.now(),error:t}),t}))}}))}();break;case"history":!function(){if(!(0,d.N)())return;const t=_.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=E,e=String(n);E=e,m("history",{from:t,to:e})}return t.apply(this,e)}}_.onpopstate=function(...e){const n=_.location.href,r=E;if(E=n,m("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,i.GS)(_.history,"pushState",e),(0,i.GS)(_.history,"replaceState",e)}();break;case"error":k=_.onerror,_.onerror=function(t,e,n,r,s){return m("error",{column:r,error:s,line:n,msg:t,url:e}),!(!k||k.__SENTRY_LOADER__)&&k.apply(this,arguments)},_.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":D=_.onunhandledrejection,_.onunhandledrejection=function(t){return m("unhandledrejection",t),!(D&&!D.__SENTRY_LOADER__)||D.apply(this,arguments)},_.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("unknown instrumentation type:",t))}}function g(t,e){p[t]=p[t]||[],p[t].push(e),f(t)}function m(t,e){if(t&&p[t])for(const n of p[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,a.qQ)(n)}\nError:`,e)}}function v(t,e){return!!t&&"object"==typeof t&&!!t[e]}function y(t){return"string"==typeof t?t:t?v(t,"url")?t.url:t.toString?t.toString():"":""}let E;const S=1e3;let b,x,w;function T(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;(0,i.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,i.my)(r,"_sentryId",(0,o.eJ)());const s="keypress"===n.type?"input":n.type;(function(t){if(t.type!==x)return!1;try{if(!t.target||t.target._sentryId!==w)return!1}catch(t){}return!0})(n)||(t({event:n,name:s,global:e}),x=n.type,w=r?r._sentryId:void 0),clearTimeout(b),b=_.setTimeout((()=>{w=void 0,x=void 0}),S)}}let k=null;let D=null},63780:(t,e,n)=>{n.d(e,{BD:()=>a,Kg:()=>u,L2:()=>y,Qd:()=>_,Qg:()=>f,T2:()=>i,W6:()=>c,bJ:()=>s,gd:()=>h,mE:()=>g,sO:()=>d,tH:()=>v,vq:()=>p,xH:()=>l,yr:()=>m});const r=Object.prototype.toString;function s(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function o(t,e){return r.call(t)===`[object ${e}]`}function i(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function d(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function _(t){return o(t,"Object")}function l(t){return"undefined"!=typeof Event&&v(t,Event)}function p(t){return"undefined"!=typeof Element&&v(t,Element)}function h(t){return o(t,"RegExp")}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function g(t){return _(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t){return"number"==typeof t&&t!=t}function v(t,e){try{return t instanceof e}catch(t){return!1}}function y(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},49432:(t,e,n)=>{n.d(e,{Ow:()=>s,Z9:()=>o,pq:()=>i,vF:()=>a});var r=n(46881);const s=["debug","info","warn","error","log","assert","trace"],o={};function i(t){if(!("console"in r.OW))return t();const e=r.OW.console,n={},s=Object.keys(o);s.forEach((t=>{const r=o[t];n[t]=e[t],e[t]=r}));try{return t()}finally{s.forEach((t=>{e[t]=n[t]}))}}const a=function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?s.forEach((n=>{e[n]=(...e)=>{t&&i((()=>{r.OW.console[n](`Sentry Logger [${n}]:`,...e)}))}})):s.forEach((t=>{e[t]=()=>{}})),e}()},40094:(t,e,n)=>{function r(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;tr})},3868:(t,e,n)=>{n.d(e,{$X:()=>a,GR:()=>d,M6:()=>u,eJ:()=>o,gO:()=>c,k9:()=>_});var r=n(90223),s=n(46881);function o(){const t=s.OW,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>e.getRandomValues(new Uint8Array(1))[0])}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function i(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const r=i(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function c(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function u(t,e){const n=i(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function d(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.my)(t,"__sentry_captured__",!0)}catch(t){}return!1}function _(t){return Array.isArray(t)?t:[t]}},79464:(t,e,n)=>{n.d(e,{fj:()=>o,wD:()=>s});var r=n(4753);function s(){return!(0,r.Z)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}t=n.hmd(t)},35033:(t,e,n)=>{n.d(e,{S8:()=>a,cd:()=>c});var r=n(63780),s=n(40094),o=n(90223),i=n(24209);function a(t,e=100,n=1/0){try{return u("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function c(t,e=3,n=102400){const r=a(t,e);return s=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(s))>n?c(t,e-1,n):r;var s}function u(t,e,n=1/0,a=1/0,c=(0,s.s)()){const[d,_]=c;if(null==e||["number","boolean","string"].includes(typeof e)&&!(0,r.yr)(e))return e;const l=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof window&&e===window)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.L2)(e))return"[VueViewModel]";if((0,r.mE)(e))return"[SyntheticEvent]";if("number"==typeof e&&e!=e)return"[NaN]";if("function"==typeof e)return`[Function: ${(0,i.qQ)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const n=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!l.startsWith("[object "))return l;if(e.__sentry_skip_normalization__)return e;const p="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===p)return l.replace("object ","");if(d(e))return"[Circular ~]";const h=e;if(h&&"function"==typeof h.toJSON)try{return u("",h.toJSON(),p-1,a,c)}catch(t){}const f=Array.isArray(e)?[]:{};let g=0;const m=(0,o.W4)(e);for(const t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(g>=a){f[t]="[MaxProperties ~]";break}const e=m[t];f[t]=u(t,e,p-1,a,c),g++}return _(e),f}},90223:(t,e,n)=>{n.d(e,{Ce:()=>g,GS:()=>a,HF:()=>f,W4:()=>l,my:()=>c,pO:()=>u,sp:()=>d,u4:()=>_});var r=n(8146),s=n(63780),o=n(49432),i=n(7321);function a(t,e,n){if(!(e in t))return;const r=t[e],s=n(r);"function"==typeof s&&u(s,r),t[e]=s}function c(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.vF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function u(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}catch(t){}}function d(t){return t.__sentry_original__}function _(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function l(t){if((0,s.bJ)(t))return{message:t.message,name:t.name,stack:t.stack,...h(t)};if((0,s.xH)(t)){const e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...h(t)};return"undefined"!=typeof CustomEvent&&(0,s.tH)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function p(t){try{return(0,s.vq)(t)?(0,r.Hd)(t):Object.prototype.toString.call(t)}catch(t){return""}}function h(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function f(t,e=40){const n=Object.keys(l(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,i.xv)(n[0],e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:(0,i.xv)(r,e)}return""}function g(t){return m(t,new Map)}function m(t,e){if((0,s.Qd)(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.keys(t))void 0!==t[n]&&(r[n]=m(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(m(t,e))})),r}return t}},461:(t,e,n)=>{n.d(e,{C:()=>o});var r=n(36440),s=n(78310);function o(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(o){if(!(void 0===t||e.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(t){return new s.T2(((n,r)=>{let o=e.length;if(!o)return n(!0);const i=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,s.XW)(t).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}},47367:(t,e,n)=>{n.d(e,{Jz:()=>s,wq:()=>o});const r=6e4;function s(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}function o(t,{statusCode:e,headers:n},s=Date.now()){const o={...t},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(const t of i.trim().split(",")){const[e,n]=t.split(":",2),r=parseInt(e,10),i=1e3*(isNaN(r)?60:r);if(n)for(const t of n.split(";"))o[t]=s+i;else o.all=s+i}else a?o.all=s+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const s=Date.parse(`${t}`);return isNaN(s)?r:s-e}(a,s):429===e&&(o.all=s+6e4);return o}},18731:(t,e,n)=>{n.d(e,{te:()=>s});const r=["fatal","error","warning","log","info","debug"];function s(t){return"warn"===t?"warning":r.includes(t)?t:"log"}},24209:(t,e,n)=>{n.d(e,{gd:()=>i,qQ:()=>u,vk:()=>a});const r=50,s=/\(error: (.*)\)/,o=/captureMessage|captureException/;function i(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const i=[],a=t.split("\n");for(let t=n;t1024)continue;const o=s.test(n)?n.replace(s,"$1"):n;if(!o.match(/\S*Error: /)){for(const t of e){const e=t(o);if(e){i.push(e);break}}if(i.length>=r)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop();e.reverse(),o.test(e[e.length-1].function||"")&&(e.pop(),o.test(e[e.length-1].function||"")&&e.pop());return e.slice(0,r).map((t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"})))}(i)}}function a(t){return Array.isArray(t)?i(...t):t}const c="";function u(t){try{return t&&"function"==typeof t&&t.name||c}catch(t){return c}}},7321:(t,e,n)=>{n.d(e,{Xr:()=>i,gt:()=>o,xv:()=>s});var r=n(63780);function s(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function o(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;efunction(t,e,n=!1){return!!(0,r.Kg)(t)&&((0,r.gd)(e)?e.test(t):!!(0,r.Kg)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},10060:(t,e,n)=>{n.d(e,{ap:()=>i,m7:()=>a,vm:()=>o});var r=n(49432);const s=(0,n(46881).VZ)();function o(){if(!("fetch"in s))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function i(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function a(){if(!o())return!1;if(i(s.fetch))return!0;let t=!1;const e=s.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=i(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},78310:(t,e,n)=>{n.d(e,{T2:()=>a,XW:()=>o,xg:()=>i});var r,s=n(63780);function o(t){return new a((e=>{e(t)}))}function i(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new a(((e,n)=>{let r,s;return this.then((e=>{s=!1,r=e,t&&t()}),(e=>{s=!0,r=e,t&&t()})).then((()=>{s?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,s.Qg)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},18533:(t,e,n)=>{n.d(e,{lu:()=>u,zf:()=>d});var r=n(79464),s=n(46881);t=n.hmd(t);const o=(0,s.VZ)(),i={nowSeconds:()=>Date.now()/1e3};const a=(0,r.wD)()?function(){try{return(0,r.fj)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=o;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===a?i:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},u=i.nowSeconds.bind(i),d=c.nowSeconds.bind(c);let _;(()=>{const{performance:t}=o;if(!t||!t.now)return void(_="none");const e=36e5,n=t.now(),r=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,i=s{function r(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}n.d(e,{Dl:()=>r})},98777:(t,e,n)=>{n.d(e,{N:()=>s});const r=(0,n(46881).VZ)();function s(){const t=r.chrome,e=t&&t.app&&t.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!e&&n}},46881:(t,e,n)=>{function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{BY:()=>i,OW:()=>s,VZ:()=>o});const s="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof window&&r(window)||function(){return this}()||{};function o(){return s}function i(t,e,n){const r=n||s,o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=e())}},1455:t=>{t.exports=window.wp.apiFetch},52619:t=>{t.exports=window.wp.hooks}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r](o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r=n(60443),s=n(16441),o=n(1455),i=n.n(o),a=n(52619);const c="true"===window.WPcom_Error_Reporting_Config?.shouldActivateSentry,u=window._jsErr||[],d=window._headJsErrorHandler;c?function(){const t=window.WPcom_Error_Reporting_Config.releaseName;r.Ts({dsn:"https://658ae291b00242148af6b76494d4a49a@o248881.ingest.sentry.io/5876245",release:t}),(0,a.addAction)("editor.ErrorBoundary.errorLogged","wpcom/error-reporting",(t=>{s.Cp(t)})),u.forEach((t=>s.Cp(t))),s.bX().then((()=>delete window._jsErr))}():function(){const t=({error:t})=>{if(!t)return;const e={message:t.message,trace:t.stack,url:document.location.href,feature:"wp-admin"};return i()({global:!0,path:"/rest/v1.1/js-error",method:"POST",data:{error:JSON.stringify(e)}}).catch((()=>console.error("Error: Unable to record the error in Logstash.")))};window.addEventListener("error",t),Promise.allSettled(u.map(t)).then((()=>delete window._jsErr))}(),window.removeEventListener("error",d),delete window._headJsErrorHandler})(); \ No newline at end of file +(()=>{"use strict";var t={3116:(t,e,n)=>{n.d(e,{y:()=>l});var r=n(2886),s=n(5382),o=n(4753),i=n(9432),a=n(6841),c=n(1507),u=n(3060),d=n(514),_=n(6631);class l extends r.V{constructor(t){const e=d.jf.SENTRY_SDK_SOURCE||(0,o.e)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:s.M}],version:s.M},super(t),t.sendClientReports&&d.jf.document&&d.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===d.jf.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return(0,u.u)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return(0,u.qv)(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.warn("SDK not enabled, will not capture user feedback."));const e=(0,_.L)(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.log("Sending outcomes:",t);const e=(0,a.m)(t,this._options.tunnel&&(0,c.SB)(this._dsn));this._sendEnvelope(e)}}},3060:(t,e,n)=>{n.d(e,{H7:()=>g,K8:()=>u,qv:()=>f,u:()=>h});var r=n(3421),s=n(3780),o=n(5033),i=n(3868),a=n(8310),c=n(223);function u(t,e){const n=_(t,e),r={type:e&&e.name,value:p(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function d(t,e){return{exception:{values:[u(t,e)]}}}function _(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(l.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}const l=/Minified React error #\d+;/i;function p(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function h(t,e,n,r){const s=g(t,e,n&&n.syntheticException||void 0,r);return(0,i.M6)(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),(0,a.XW)(s)}function f(t,e,n="info",r,s){const o=m(t,e,r&&r.syntheticException||void 0,s);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,a.XW)(o)}function g(t,e,n,a,c){let u;if((0,s.T2)(e)&&e.error){return d(t,e.error)}if((0,s.BD)(e)||(0,s.W6)(e)){const r=e;if("stack"in e)u=d(t,e);else{const e=r.name||((0,s.BD)(r)?"DOMError":"DOMException"),o=r.message?`${e}: ${r.message}`:e;u=m(t,o,n,a),(0,i.gO)(u,o)}return"code"in r&&(u.tags={...u.tags,"DOMException.code":`${r.code}`}),u}if((0,s.bJ)(e))return d(t,e);if((0,s.Qd)(e)||(0,s.xH)(e)){return u=function(t,e,n,i){const a=(0,r.BF)().getClient(),c=a&&a.getOptions().normalizeDepth,u={exception:{values:[{type:(0,s.xH)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:v(e,{isUnhandledRejection:i})}]},extra:{__serialized__:(0,o.cd)(e,c)}};if(n){const e=_(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,c),(0,i.M6)(u,{synthetic:!0}),u}return u=m(t,e,n,a),(0,i.gO)(u,`${e}`,void 0),(0,i.M6)(u,{synthetic:!0}),u}function m(t,e,n,r){const s={message:e};if(r&&n){const r=_(t,n);r.length&&(s.exception={values:[{value:e,stacktrace:{frames:r}}]})}return s}function v(t,{isUnhandledRejection:e}){const n=(0,c.HF)(t),r=e?"promise rejection":"exception";if((0,s.T2)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,s.xH)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}},514:(t,e,n)=>{n.d(e,{LV:()=>d,jN:()=>u,jf:()=>a});var r=n(6441),s=n(6881),o=n(223),i=n(3868);const a=s.OW;let c=0;function u(){return c>0}function d(t,e={},n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if((0,o.sp)(t))return t}catch(e){return t}const s=function(){const s=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=s.map((t=>d(t,e)));return t.apply(this,r)}catch(t){throw c++,setTimeout((()=>{c--})),(0,r.v4)((n=>{n.addEventProcessor((t=>(e.mechanism&&((0,i.gO)(t,void 0,void 0),(0,i.M6)(t,e.mechanism)),t.extra={...t.extra,arguments:s},t))),(0,r.Cp)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(s[e]=t[e])}catch(t){}(0,o.pO)(s,t),(0,o.my)(t,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get:()=>t.name})}catch(t){}return s}},4805:(t,e,n)=>{n.d(e,{B:()=>p});var r=n(3421),s=n(2497),o=n(3868),i=n(9432),a=n(8146),c=n(8731),u=n(7321),d=n(4883),_=n(514);const l=1024;class p{static __initStatic(){this.id="Breadcrumbs"}constructor(t){this.name=p.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){if(this.options.console&&(0,s.ON)("console",f),this.options.dom&&(0,s.ON)("dom",function(t){function e(e){let n,s="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=l),"string"==typeof s&&(s=[s]);try{const t=e.event;n=function(t){return!!t&&!!t.target}(t)?(0,a.Hd)(t.target,{keyAttrs:s,maxStringLength:o}):(0,a.Hd)(t,{keyAttrs:s,maxStringLength:o})}catch(t){n=""}0!==n.length&&(0,r.BF)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this.options.dom)),this.options.xhr&&(0,s.ON)("xhr",g),this.options.fetch&&(0,s.ON)("fetch",m),this.options.history&&(0,s.ON)("history",v),this.options.sentry){const t=(0,r.BF)().getClient();t&&t.on&&t.on("beforeSendEvent",h)}}}function h(t){(0,r.BF)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,o.$X)(t)},{event:t})}function f(t){const e={category:"console",data:{arguments:t.args,logger:"console"},level:(0,c.te)(t.level),message:(0,u.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${(0,u.gt)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}(0,r.BF)().addBreadcrumb(e,{input:t.args,level:t.level})}function g(t){const{startTimestamp:e,endTimestamp:n}=t,o=t.xhr[s.Er];if(!e||!n||!o)return;const{method:i,url:a,status_code:c,body:u}=o,d={method:i,url:a,status_code:c},_={xhr:t.xhr,input:u,startTimestamp:e,endTimestamp:n};(0,r.BF)().addBreadcrumb({category:"xhr",data:d,type:"http"},_)}function m(t){const{startTimestamp:e,endTimestamp:n}=t;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const s=t.fetchData,o={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};(0,r.BF)().addBreadcrumb({category:"fetch",data:s,level:"error",type:"http"},o)}else{const s={...t.fetchData,status_code:t.response&&t.response.status},o={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};(0,r.BF)().addBreadcrumb({category:"fetch",data:s,type:"http"},o)}}function v(t){let e=t.from,n=t.to;const s=(0,d.Dl)(_.jf.location.href);let o=(0,d.Dl)(e);const i=(0,d.Dl)(n);o.path||(o=s),s.protocol===i.protocol&&s.host===i.host&&(n=i.relative),s.protocol===o.protocol&&s.host===o.host&&(e=o.relative),(0,r.BF)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}p.__initStatic()},2216:(t,e,n)=>{n.d(e,{U:()=>s});var r=n(9432);class s{static __initStatic(){this.id="Dedupe"}constructor(){this.name=s.id}setupOnce(t,e){}processEvent(t){if(t.type)return t;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!i(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=a(e),r=a(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!i(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;return!1}(t,this._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return this._previousEvent=t}}function o(t,e){let n=c(t),r=c(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t{n.d(e,{R:()=>_});var r=n(3421),s=n(2497),o=n(3780),i=n(8146),a=n(9432),c=n(3868),u=n(3060),d=n(514);class _{static __initStatic(){this.id="GlobalHandlers"}constructor(t){this.name=_.id,this._options={onerror:!0,onunhandledrejection:!0,...t},this._installFunc={onerror:l,onunhandledrejection:p}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.vF.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}var e}}function l(){(0,s.ON)("error",(t=>{const[e,n,r]=g();if(!e.getIntegration(_))return;const{msg:s,url:i,line:a,column:c,error:l}=t;if((0,d.jN)()||l&&l.__sentry_own_request__)return;const p=void 0===l&&(0,o.Kg)(s)?function(t,e,n,r){const s=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=(0,o.T2)(t)?t.message:t,a="Error";const c=i.match(s);c&&(a=c[1],i=c[2]);const u={exception:{values:[{type:a,value:i}]}};return h(u,e,n,r)}(s,i,a,c):h((0,u.H7)(n,l||s,void 0,r,!1),i,a,c);p.level="error",f(e,l,p,"onerror")}))}function p(){(0,s.ON)("unhandledrejection",(t=>{const[e,n,r]=g();if(!e.getIntegration(_))return;let s=t;try{"reason"in t?s=t.reason:"detail"in t&&"reason"in t.detail&&(s=t.detail.reason)}catch(t){}if((0,d.jN)()||s&&s.__sentry_own_request__)return!0;const i=(0,o.sO)(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:(0,u.H7)(n,s,void 0,r,!0);i.level="error",f(e,s,i,"onunhandledrejection")}))}function h(t,e,n,r){const s=t.exception=t.exception||{},a=s.values=s.values||[],c=a[0]=a[0]||{},u=c.stacktrace=c.stacktrace||{},d=u.frames=u.frames||[],_=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,p=(0,o.Kg)(e)&&e.length>0?e:(0,i.$N)();return 0===d.length&&d.push({colno:_,filename:p,function:"?",in_app:!0,lineno:l}),t}function f(t,e,n,r){(0,c.M6)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function g(){const t=(0,r.BF)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}_.__initStatic()},3420:(t,e,n)=>{n.d(e,{_:()=>s});var r=n(514);class s{static __initStatic(){this.id="HttpContext"}constructor(){this.name=s.id}setupOnce(){}preprocessEvent(t){if(!r.jf.navigator&&!r.jf.location&&!r.jf.document)return;const e=t.request&&t.request.url||r.jf.location&&r.jf.location.href,{referrer:n}=r.jf.document||{},{userAgent:s}=r.jf.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...s&&{"User-Agent":s}},i={...t.request,...e&&{url:e},headers:o};t.request=i}}s.__initStatic()},1673:(t,e,n)=>{n.d(e,{l:()=>o});var r=n(9929),s=n(3060);class o{static __initStatic(){this.id="LinkedErrors"}constructor(t={}){this.name=o.id,this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){}preprocessEvent(t,e,n){const o=n.getOptions();(0,r.Q)(s.K8,o.stackParser,o.maxValueLength,this._key,this._limit,t,e)}}o.__initStatic()},3955:(t,e,n)=>{n.d(e,{h:()=>a});var r=n(223),s=n(4209),o=n(514);const i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class a{static __initStatic(){this.id="TryCatch"}constructor(t){this.name=a.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,r.GS)(o.jf,"setTimeout",c),this._options.setInterval&&(0,r.GS)(o.jf,"setInterval",c),this._options.requestAnimationFrame&&(0,r.GS)(o.jf,"requestAnimationFrame",u),this._options.XMLHttpRequest&&"XMLHttpRequest"in o.jf&&(0,r.GS)(XMLHttpRequest.prototype,"send",d);const t=this._options.eventTarget;if(t){(Array.isArray(t)?t:i).forEach(_)}}}function c(t){return function(...e){const n=e[0];return e[0]=(0,o.LV)(n,{mechanism:{data:{function:(0,s.qQ)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function u(t){return function(e){return t.apply(this,[(0,o.LV)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,s.qQ)(t)},handled:!1,type:"instrument"}})])}}function d(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,r.GS)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,s.qQ)(e)},handled:!1,type:"instrument"}},i=(0,r.sp)(e);return i&&(n.mechanism.data.handler=(0,s.qQ)(i)),(0,o.LV)(e,n)}))})),t.apply(this,e)}}function _(t){const e=o.jf,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.GS)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,o.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,s.qQ)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,o.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,s.qQ)(r),target:t},handled:!1,type:"instrument"}}),i])}})),(0,r.GS)(n,"removeEventListener",(function(t){return function(e,n,r){const s=n;try{const n=s&&s.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,s,r)}})))}a.__initStatic()},443:(t,e,n)=>{n.d(e,{Ts:()=>w});var r=n(4778),s=n(6802),o=n(840),i=n(9686),a=n(3421),c=n(4209),u=n(60),d=n(9432),_=n(2497),l=n(3116),p=n(514),h=n(8709),f=n(3955),g=n(4805),m=n(1673),v=n(3420),y=n(2216),E=n(9218),S=n(1418),b=n(1356);const x=[new r.Hp,new s.$,new f.h,new g.B,new h.R,new m.l,new y.U,new v._];function w(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=x),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),p.jf.SENTRY_RELEASE&&p.jf.SENTRY_RELEASE.id&&(t.release=p.jf.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(0,c.vk)(t.stackParser||E.lG),integrations:(0,o.mH)(t),transport:t.transport||((0,u.vm)()?S._:b.u)};(0,i.J)(l.y,e),t.autoSessionTracking&&function(){if(void 0===p.jf.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&d.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=(0,a.BF)();if(!t.captureSession)return;T(t),(0,_.ON)("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&T((0,a.BF)())}))}()}function T(t){t.startSession({ignoreDuration:!0}),t.captureSession()}},9218:(t,e,n)=>{n.d(e,{lG:()=>l});var r=n(4209);const s="?";function o(t,e,n,r){const s={filename:t,function:e,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,_=[[30,t=>{const e=i.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=a.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=p(e[1]||s,e[2]);return o(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{const e=c.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=u.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||s;return[n,t]=p(n,t),o(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{const e=d.exec(t);return e?o(e[2],e[1]||s,+e[3],e[4]?+e[4]:void 0):void 0}]],l=(0,r.gd)(..._),p=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:s,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},1418:(t,e,n)=>{n.d(e,{_:()=>i});var r=n(5548),s=n(8310),o=n(3487);function i(t,e=(0,o.i)()){let n=0,i=0;return(0,r.o)(t,(function(r){const a=r.body.length;n+=a,i++;const c={body:r.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&i<15,...t.fetchOptions};try{return e(t.url,c).then((t=>(n-=a,i--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return(0,o.a)(),n-=a,i--,(0,s.xg)(t)}}))}},3487:(t,e,n)=>{n.d(e,{a:()=>c,i:()=>a});var r=n(60),s=n(9432),o=n(514);let i;function a(){if(i)return i;if((0,r.ap)(o.jf.fetch))return i=o.jf.fetch.bind(o.jf);const t=o.jf.document;let e=o.jf.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return i=e.bind(o.jf)}function c(){i=void 0}},1356:(t,e,n)=>{n.d(e,{u:()=>i});var r=n(5548),s=n(8310);const o=4;function i(t){return(0,r.o)(t,(function(e){return new s.T2(((n,r)=>{const s=new XMLHttpRequest;s.onerror=r,s.onreadystatechange=()=>{s.readyState===o&&n({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&s.setRequestHeader(e,t.headers[e]);s.send(e.body)}))}))}},6631:(t,e,n)=>{n.d(e,{L:()=>o});var r=n(1507),s=n(3092);function o(t,{metadata:e,tunnel:n,dsn:o}){const i={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!o&&{dsn:(0,r.SB)(o)}},a=function(t){return[{type:"user_report"},t]}(t);return(0,s.h4)(i,[a])}},9794:(t,e,n)=>{n.d(e,{Z:()=>i});var r=n(223);const s="7";function o(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function i(t,e={}){const n="string"==typeof e?e:e.tunnel,i="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${o(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,r.u4)({sentry_key:t.publicKey,sentry_version:s,...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,i)}`}},2886:(t,e,n)=>{n.d(e,{V:()=>m});var r=n(1507),s=n(9432),o=n(3868),i=n(3780),a=n(8310),c=n(3092),u=n(6440),d=n(9794),_=n(6148),l=n(840),p=n(1950),h=n(9368),f=n(6215);const g="Not capturing exception because it's already been captured.";class m{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,r.AD)(t.dsn):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("No DSN provided, client will not send events."),this._dsn){const e=(0,d.Z)(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if((0,o.GR)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.log(g));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let s=n&&n.event_id;const o=(0,i.sO)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(o.then((t=>this._captureEvent(t,n,r))).then((t=>{s=t}))),s}captureEvent(t,e,n){if(e&&e.originalException&&(0,o.GR)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.log(g));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,p.qO)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,a.XW)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=(0,l.P$)(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){(0,l.qm)(this,t,this._integrations)}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,_.V)(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,c.W3)(n,(0,c.bm)(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=(0,_.L)(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach((t=>t(...e)))}_updateSessionFromEvent(t,e){let n=!1,r=!1;const s=e.exception&&e.exception.values;if(s){r=!0;for(const t of s){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&((0,p.qO)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new a.T2((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n){const r=this.getOptions(),s=Object.keys(this._integrations);return!e.integrations&&s.length>0&&(e.integrations=s),this.emit("preprocessEvent",t,e),(0,f.mG)(r,t,e,n,this).then((t=>{if(null===t)return t;const{propagationContext:e}=t.sdkProcessingMetadata||{};if(!(t.contexts&&t.contexts.trace)&&e){const{traceId:r,spanId:s,parentSpanId:o,dsc:i}=e;t.contexts={trace:{trace_id:r,span_id:s,parent_span_id:o},...t.contexts};const a=i||(0,h.l)(r,this,n);t.sdkProcessingMetadata={dynamicSamplingContext:a,...t.sdkProcessingMetadata}}return t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?s.vF.log(e.message):s.vF.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:s}=r,o=y(t),c=v(t),d=t.type||"error",_=`before send for type \`${d}\``;if(c&&"number"==typeof s&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",t),(0,a.xg)(new u.U(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const l="replay_event"===d?"replay":d;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,t),new u.U("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const s=function(t,e,n){const{beforeSend:r,beforeSendTransaction:s}=t;if(v(e)&&r)return r(e,n);if(y(e)&&s)return s(e,n);return e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,i.Qg)(t))return t.then((t=>{if(!(0,i.Qd)(t)&&null!==t)throw new u.U(n);return t}),(t=>{throw new u.U(`${e} rejected with ${t}`)}));if(!(0,i.Qd)(t)&&null!==t)throw new u.U(n);return t}(s,_)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",l,t),new u.U(`${_} returned \`null\`, will not send event.`,"log");const s=n&&n.getSession();!o&&s&&this._updateSessionFromEvent(s,r);const i=r.transaction_info;if(o&&i&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...i,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof u.U)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new u.U(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.error("Error while sending event:",t)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function v(t){return void 0===t.type}function y(t){return"transaction"===t.type}},499:(t,e,n)=>{n.d(e,{U:()=>r});const r="production"},6148:(t,e,n)=>{n.d(e,{L:()=>o,V:()=>i});var r=n(3092),s=n(1507);function o(t,e,n,o){const i=(0,r.Cj)(n),a={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!o&&e&&{dsn:(0,s.SB)(e)}},c="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,r.h4)(a,[c])}function i(t,e,n,s){const o=(0,r.Cj)(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const a=(0,r.n2)(t,o,s,e);delete t.sdkProcessingMetadata;const c=[{type:i},t];return(0,r.h4)(a,[c])}},5367:(t,e,n)=>{n.d(e,{jB:()=>u,lG:()=>a,lb:()=>c});var r=n(6881),s=n(8310),o=n(9432),i=n(3780);function a(){return(0,r.BY)("globalEventProcessors",(()=>[]))}function c(t){a().push(t)}function u(t,e,n,r=0){return new s.T2(((s,a)=>{const c=t[r];if(null===e||"function"!=typeof c)s(e);else{const d=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===d&&o.vF.log(`Event processor "${c.id}" dropped event`),(0,i.Qg)(d)?d.then((e=>u(t,e,n,r+1).then(s))).then(null,a):u(t,d,n,r+1).then(s).then(null,a)}}))}},6441:(t,e,n)=>{n.d(e,{Cp:()=>o,bX:()=>a,v4:()=>i});var r=n(9432),s=n(3421);function o(t,e){return(0,s.BF)().captureException(t,{captureContext:e})}function i(t){(0,s.BF)().withScope(t)}async function a(t){const e=(0,s.BF)().getClient();return e?e.flush(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}},3421:(t,e,n)=>{n.d(e,{BF:()=>f});var r=n(3868),s=n(8533),o=n(9432),i=n(6881),a=n(499),c=n(5498),u=n(1950);const d=4,_=100;class l{constructor(t,e=new c.H,n=d){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version{r.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},o)})),n}captureMessage(t,e,n){const s=this._lastEventId=n&&n.event_id?n.event_id:(0,r.eJ)(),o=new Error(t);return this._withClient(((r,i)=>{r.captureMessage(t,e,{originalException:t,syntheticException:o,...n,event_id:s},i)})),s}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,r.eJ)();return t.type||(this._lastEventId=n),this._withClient(((r,s)=>{r.captureEvent(t,{...e,event_id:n},s)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=_}=r.getOptions&&r.getOptions()||{};if(a<=0)return;const c={timestamp:(0,s.lu)(),...t},u=i?(0,o.pq)((()=>i(c,e))):c;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,a))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=h(this);try{t(this)}finally{h(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.vF.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){const n=this._callExtensionMethod("startTransaction",t,e);if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n){this.getClient()?console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):console.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&(0,u.Vu)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:s=a.U}=n&&n.getOptions()||{},{userAgent:o}=i.OW.navigator||{},c=(0,u.fj)({release:r,environment:s,user:e.getUser(),...o&&{userAgent:o},...t}),d=e.getSession&&e.getSession();return d&&"ok"===d.status&&(0,u.qO)(d,{status:"exited"}),this.endSession(),e.setSession(c),c}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=p().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.vF.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function p(){return i.OW.__SENTRY__=i.OW.__SENTRY__||{extensions:{},hub:void 0},i.OW}function h(t){const e=p(),n=v(e);return y(e,t),n}function f(){const t=p();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return g(t)}function g(t=p()){return m(t)&&!v(t).isOlderThan(d)||y(t,new l),v(t)}function m(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function v(t){return(0,i.BY)("hub",(()=>new l),t)}function y(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}},840:(t,e,n)=>{n.d(e,{P$:()=>u,mH:()=>c,qm:()=>d});var r=n(3868),s=n(9432),o=n(5367),i=n(3421);const a=[];function c(t){const e=t.defaultIntegrations||[],n=t.integrations;let s;e.forEach((t=>{t.isDefaultInstance=!0})),s=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.k9)(n(e)):e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(s),i=function(t,e){for(let n=0;n"Debug"===t.name));if(-1!==i){const[t]=o.splice(i,1);o.push(t)}return o}function u(t,e){const n={};return e.forEach((e=>{e&&d(t,e,n)})),n}function d(t,e,n){if(n[e.name]=e,-1===a.indexOf(e.name)&&(e.setupOnce(o.lb,i.BF),a.push(e.name)),t.on&&"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if(t.addEventProcessor&&"function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.log(`Integration installed: ${e.name}`)}},6802:(t,e,n)=>{n.d(e,{$:()=>o});var r=n(223);let s;class o{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=o.id}setupOnce(){s=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,r.sp)(this)||this;return s.apply(e,t)}}catch(t){}}}o.__initStatic()},4778:(t,e,n)=>{n.d(e,{Hp:()=>c});var r=n(9432),s=n(3868),o=n(7321);const i=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],a=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/];class c{static __initStatic(){this.id="InboundFilters"}constructor(t={}){this.name=c.id,this._options=t}setupOnce(t,e){}processEvent(t,e,n){const c=n.getOptions(),d=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:i],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:a],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(this._options,c);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,s.$X)(t)}`),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));"undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==e.length||r.vF.error(`Could not extract message for event ${(0,s.$X)(t)}`);return e}(t).some((t=>(0,o.Xr)(t,e)))}(t,e.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,s.$X)(t)}`),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,o.Xr)(n,e)}(t,e.ignoreTransactions))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,s.$X)(t)}`),!0;if(function(t,e){if(!e||!e.length)return!1;const n=u(t);return!!n&&(0,o.Xr)(n,e)}(t,e.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,s.$X)(t)}.\nUrl: ${u(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=u(t);return!n||(0,o.Xr)(n,e)}(t,e.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,s.$X)(t)}.\nUrl: ${u(t)}`),!0;return!1}(t,d)?null:t}}function u(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.error(`Cannot extract url for event ${(0,s.$X)(t)}`),null}}c.__initStatic()},5498:(t,e,n)=>{n.d(e,{H:()=>c});var r=n(3780),s=n(8533),o=n(3868),i=n(5367),a=n(1950);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=u()}static clone(t){const e=new c;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata},e._propagationContext={...t._propagationContext}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,a.qO)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof c?e:this}return t instanceof c?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):(0,r.Qd)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=u(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,s.lu)(),...t},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={},n){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction;if(e){t.sdkProcessingMetadata={dynamicSamplingContext:e.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const n=e.name;n&&(t.tags={transaction:n,...t.tags})}}this._applyFingerprint(t);const r=this._getBreadcrumbs(),s=[...t.breadcrumbs||[],...r];return t.breadcrumbs=s.length>0?s:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},(0,i.jB)([...n||[],...(0,i.lG)(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,o.k9)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function u(){return{traceId:(0,o.eJ)(),spanId:(0,o.eJ)().substring(16)}}},9686:(t,e,n)=>{n.d(e,{J:()=>o});var r=n(9432),s=n(3421);function o(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?r.vF.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,s.BF)();n.getScope().update(e.initialScope);const o=new t(e);n.bindClient(o)}},1950:(t,e,n)=>{n.d(e,{Vu:()=>c,fj:()=>i,qO:()=>a});var r=n(8533),s=n(3868),o=n(223);function i(t){const e=(0,r.zf)(),n={sid:(0,s.eJ)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,o.Ce)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,r.zf)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,s.eJ)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},9368:(t,e,n)=>{n.d(e,{l:()=>o});var r=n(223),s=n(499);function o(t,e,n){const o=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:a}=n&&n.getUser()||{},c=(0,r.Ce)({environment:o.environment||s.U,release:o.release,user_segment:a,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",c),c}},5548:(t,e,n)=>{n.d(e,{o:()=>d});var r=n(461),s=n(3092),o=n(7367),i=n(8310),a=n(9432),c=n(6440);const u=30;function d(t,e,n=(0,r.C)(t.bufferSize||u)){let d={};function l(r){const u=[];if((0,s.yH)(r,((e,n)=>{const r=(0,s.zk)(n);if((0,o.Jz)(d,r)){const s=_(e,n);t.recordDroppedEvent("ratelimit_backoff",r,s)}else u.push(e)})),0===u.length)return(0,i.XW)();const l=(0,s.h4)(r[0],u),p=e=>{(0,s.yH)(l,((n,r)=>{const o=_(n,r);t.recordDroppedEvent(e,(0,s.zk)(r),o)}))};return n.add((()=>e({body:(0,s.bN)(l,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.vF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),d=(0,o.wq)(d,t),t)),(t=>{throw p("network_error"),t})))).then((t=>t),(t=>{if(t instanceof c.U)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.vF.error("Skipped sending event because buffer is full."),p("queue_overflow"),(0,i.XW)();throw t}))}return l.__sentry__baseTransport__=!0,{send:l,flush:t=>n.drain(t)}}function _(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}},6215:(t,e,n)=>{n.d(e,{mG:()=>l});var r=n(3868),s=n(8533),o=n(8310),i=n(7321),a=n(6881),c=n(5033),u=n(499),d=n(5367),_=n(5498);function l(t,e,n,l,h){const{normalizeDepth:f=3,normalizeMaxBreadth:g=1e3}=t,m={...e,event_id:e.event_id||n.event_id||(0,r.eJ)(),timestamp:e.timestamp||(0,s.lu)()},v=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:s,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:u.U);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==s&&(t.dist=s);t.message&&(t.message=(0,i.xv)(t.message,o));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,i.xv)(a.value,o));const c=t.request;c&&c.url&&(c.url=(0,i.xv)(c.url,o))}(m,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(m,v),void 0===e.type&&function(t,e){const n=a.OW._sentryDebugIds;if(!n)return;let r;const s=p.get(e);s?r=s:(r=new Map,p.set(e,r));const o=Object.keys(n).reduce(((t,s)=>{let o;const i=r.get(s);i?o=i:(o=e(s),r.set(s,o));for(let e=o.length-1;e>=0;e--){const r=o[e];if(r.filename){t[r.filename]=n[s];break}}return t}),{});try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&(t.debug_id=o[t.filename])}))}))}catch(t){}}(m,t.stackParser);let y=l;n.captureContext&&(y=_.H.clone(y).update(n.captureContext));let E=(0,o.XW)(m);const S=h&&h.getEventProcessors?h.getEventProcessors():[];if(y){if(y.getAttachments){const t=[...n.attachments||[],...y.getAttachments()];t.length&&(n.attachments=t)}E=y.applyToEvent(m,n,S)}else E=(0,d.jB)([...S,...(0,d.lG)()],m,n);return E.then((t=>(t&&function(t){const e={};try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.keys(e).forEach((t=>{n.push({type:"sourcemap",code_file:t,debug_id:e[t]})}))}(t),"number"==typeof f&&f>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,c.S8)(t.data,e,n)}})))},...t.user&&{user:(0,c.S8)(t.user,e,n)},...t.contexts&&{contexts:(0,c.S8)(t.contexts,e,n)},...t.extra&&{extra:(0,c.S8)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,c.S8)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=(0,c.S8)(t.data,e,n)),t))));return r}(t,f,g):t)))}const p=new WeakMap},5382:(t,e,n)=>{n.d(e,{M:()=>r});const r="7.80.1"},9929:(t,e,n)=>{n.d(e,{Q:()=>o});var r=n(3780),s=n(7321);function o(t,e,n=250,o,a,c,u){if(!(c.exception&&c.exception.values&&u&&(0,r.tH)(u.originalException,Error)))return;const d=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:void 0;var _,l;d&&(c.exception.values=(_=i(t,e,a,u.originalException,o,c.exception.values,d,0),l=n,_.map((t=>(t.value&&(t.value=(0,s.xv)(t.value,l)),t)))))}function i(t,e,n,s,o,u,d,_){if(u.length>=n+1)return u;let l=[...u];if((0,r.tH)(s[o],Error)){a(d,_);const r=t(e,s[o]),u=l.length;c(r,o,u,_),l=i(t,e,n,s[o],o,[r,...l],r,u)}return Array.isArray(s.errors)&&s.errors.forEach(((s,u)=>{if((0,r.tH)(s,Error)){a(d,_);const r=t(e,s),p=l.length;c(r,`errors[${u}]`,p,_),l=i(t,e,n,s,o,[r,...l],r,p)}})),l}function a(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function c(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}},8146:(t,e,n)=>{n.d(e,{$N:()=>c,Hd:()=>i});var r=n(3780);const s=(0,n(6881).VZ)(),o=80;function i(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,c=0;const u=" > ",d=u.length;let _;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||o;for(;n&&i++1&&c+s.length*d+_.length>=p));)s.push(_),c+=_.length,n=n.parentNode;return s.reverse().join(u)}catch(t){return""}}function a(t,e){const n=t,s=[];let o,i,a,c,u;if(!n||!n.tagName)return"";s.push(n.tagName.toLowerCase());const d=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(d&&d.length)d.forEach((t=>{s.push(`[${t[0]}="${t[1]}"]`)}));else if(n.id&&s.push(`#${n.id}`),o=n.className,o&&(0,r.Kg)(o))for(i=o.split(/\s+/),u=0;u{n.d(e,{m:()=>o});var r=n(3092),s=n(8533);function o(t,e,n){const o=[{type:"client_report"},{timestamp:n||(0,s.lu)(),discarded_events:t}];return(0,r.h4)(e?{dsn:e}:{},[o])}},1507:(t,e,n)=>{n.d(e,{AD:()=>a,SB:()=>o});var r=n(9432);const s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${i}`}function i(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function a(t){const e="string"==typeof t?function(t){const e=s.exec(t);if(!e)return void console.error(`Invalid Sentry Dsn: ${t}`);const[n,r,o="",a,c="",u]=e.slice(1);let d="",_=u;const l=_.split("/");if(l.length>1&&(d=l.slice(0,-1).join("/"),_=l.pop()),_){const t=_.match(/^\d+/);t&&(_=t[0])}return i({host:a,pass:o,path:d,projectId:_,port:c,protocol:n,publicKey:r})}(t):i(t);if(e&&function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;const{port:e,projectId:n,protocol:s}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(r.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(s)?e&&isNaN(parseInt(e,10))&&(r.vF.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(r.vF.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),1):(r.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},4753:(t,e,n)=>{function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function s(){return"npm"}n.d(e,{Z:()=>r,e:()=>s})},3092:(t,e,n)=>{n.d(e,{Cj:()=>h,W3:()=>a,bN:()=>d,bm:()=>_,h4:()=>i,n2:()=>f,yH:()=>c,zk:()=>p});var r=n(1507),s=n(5033),o=n(223);function i(t,e=[]){return[t,e]}function a(t,e){const[n,r]=t;return[n,[...r,e]]}function c(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function u(t,e){return(e||new TextEncoder).encode(t)}function d(t,e){const[n,r]=t;let o=JSON.stringify(n);function i(t){"string"==typeof o?o="string"==typeof t?o+t:[u(o,e),t]:o.push("string"==typeof t?u(t,e):t)}for(const t of r){const[e,n]=t;if(i(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,s.S8)(n))}i(t)}}return"string"==typeof o?o:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(o)}function _(t,e){const n="string"==typeof t.data?u(t.data,e):t.data;return[(0,o.Ce)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const l={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function p(t){return l[t]}function h(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function f(t,e,n,s){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&s&&{dsn:(0,r.SB)(s)},...i&&{trace:(0,o.Ce)({...i})}}}},6440:(t,e,n)=>{n.d(e,{U:()=>r});class r extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}},2497:(t,e,n)=>{n.d(e,{Er:()=>l,ON:()=>g});var r=n(3780),s=n(9432),o=n(3868),i=n(223),a=n(4209),c=n(60),u=n(6881),d=n(8777);const _=(0,u.VZ)(),l="__sentry_xhr_v2__",p={},h={};function f(t){if(!h[t])switch(h[t]=!0,t){case"console":!function(){if(!("console"in u.OW))return;s.Ow.forEach((function(t){t in u.OW.console&&(0,i.GS)(u.OW.console,t,(function(e){return s.Z9[t]=e,function(...e){m("console",{args:e,level:t});const n=s.Z9[t];n&&n.apply(u.OW.console,e)}}))}))}();break;case"dom":!function(){if(!_.document)return;const t=m.bind(null,"dom"),e=T(t,!0);_.document.addEventListener("click",e,!1),_.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=_[e]&&_[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,i.GS)(n,"addEventListener",(function(e){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},i=o[n]=o[n]||{refCount:0};if(!i.handler){const r=T(t);i.handler=r,e.call(this,n,r,s)}i.refCount++}catch(t){}return e.call(this,n,r,s)}})),(0,i.GS)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,s=n.__sentry_instrumentation_handlers__||{},o=s[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete s[e]),0===Object.keys(s).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!_.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;(0,i.GS)(t,"open",(function(t){return function(...e){const n=Date.now(),s=e[1],o=this[l]={method:(0,r.Kg)(e[0])?e[0].toUpperCase():e[0],url:e[1],request_headers:{}};(0,r.Kg)(s)&&"POST"===o.method&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const t=this[l];if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}m("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,i.GS)(this,"onreadystatechange",(function(t){return function(...e){return a(),t.apply(this,e)}})):this.addEventListener("readystatechange",a),(0,i.GS)(this,"setRequestHeader",(function(t){return function(...e){const[n,r]=e,s=this[l];return s&&(s.request_headers[n.toLowerCase()]=r),t.apply(this,e)}})),t.apply(this,e)}})),(0,i.GS)(t,"send",(function(t){return function(...e){const n=this[l];return n&&void 0!==e[0]&&(n.body=e[0]),m("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!(0,c.m7)())return;(0,i.GS)(u.OW,"fetch",(function(t){return function(...e){const{method:n,url:r}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:y(e),method:v(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:y(e),method:v(e,"method")?String(e.method).toUpperCase():"GET"}}(e),s={args:e,fetchData:{method:n,url:r},startTimestamp:Date.now()};return m("fetch",{...s}),t.apply(u.OW,e).then((t=>(m("fetch",{...s,endTimestamp:Date.now(),response:t}),t)),(t=>{throw m("fetch",{...s,endTimestamp:Date.now(),error:t}),t}))}}))}();break;case"history":!function(){if(!(0,d.N)())return;const t=_.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=E,e=String(n);E=e,m("history",{from:t,to:e})}return t.apply(this,e)}}_.onpopstate=function(...e){const n=_.location.href,r=E;if(E=n,m("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,i.GS)(_.history,"pushState",e),(0,i.GS)(_.history,"replaceState",e)}();break;case"error":k=_.onerror,_.onerror=function(t,e,n,r,s){return m("error",{column:r,error:s,line:n,msg:t,url:e}),!(!k||k.__SENTRY_LOADER__)&&k.apply(this,arguments)},_.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":D=_.onunhandledrejection,_.onunhandledrejection=function(t){return m("unhandledrejection",t),!(D&&!D.__SENTRY_LOADER__)||D.apply(this,arguments)},_.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.warn("unknown instrumentation type:",t))}}function g(t,e){p[t]=p[t]||[],p[t].push(e),f(t)}function m(t,e){if(t&&p[t])for(const n of p[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.vF.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,a.qQ)(n)}\nError:`,e)}}function v(t,e){return!!t&&"object"==typeof t&&!!t[e]}function y(t){return"string"==typeof t?t:t?v(t,"url")?t.url:t.toString?t.toString():"":""}let E;const S=1e3;let b,x,w;function T(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;(0,i.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,i.my)(r,"_sentryId",(0,o.eJ)());const s="keypress"===n.type?"input":n.type;(function(t){if(t.type!==x)return!1;try{if(!t.target||t.target._sentryId!==w)return!1}catch(t){}return!0})(n)||(t({event:n,name:s,global:e}),x=n.type,w=r?r._sentryId:void 0),clearTimeout(b),b=_.setTimeout((()=>{w=void 0,x=void 0}),S)}}let k=null;let D=null},3780:(t,e,n)=>{n.d(e,{BD:()=>a,Kg:()=>u,L2:()=>y,Qd:()=>_,Qg:()=>f,T2:()=>i,W6:()=>c,bJ:()=>s,gd:()=>h,mE:()=>g,sO:()=>d,tH:()=>v,vq:()=>p,xH:()=>l,yr:()=>m});const r=Object.prototype.toString;function s(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function o(t,e){return r.call(t)===`[object ${e}]`}function i(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function d(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function _(t){return o(t,"Object")}function l(t){return"undefined"!=typeof Event&&v(t,Event)}function p(t){return"undefined"!=typeof Element&&v(t,Element)}function h(t){return o(t,"RegExp")}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function g(t){return _(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t){return"number"==typeof t&&t!=t}function v(t,e){try{return t instanceof e}catch(t){return!1}}function y(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},9432:(t,e,n)=>{n.d(e,{Ow:()=>s,Z9:()=>o,pq:()=>i,vF:()=>a});var r=n(6881);const s=["debug","info","warn","error","log","assert","trace"],o={};function i(t){if(!("console"in r.OW))return t();const e=r.OW.console,n={},s=Object.keys(o);s.forEach((t=>{const r=o[t];n[t]=e[t],e[t]=r}));try{return t()}finally{s.forEach((t=>{e[t]=n[t]}))}}const a=function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?s.forEach((n=>{e[n]=(...e)=>{t&&i((()=>{r.OW.console[n](`Sentry Logger [${n}]:`,...e)}))}})):s.forEach((t=>{e[t]=()=>{}})),e}()},94:(t,e,n)=>{function r(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;tr})},3868:(t,e,n)=>{n.d(e,{$X:()=>a,GR:()=>d,M6:()=>u,eJ:()=>o,gO:()=>c,k9:()=>_});var r=n(223),s=n(6881);function o(){const t=s.OW,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>e.getRandomValues(new Uint8Array(1))[0])}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function i(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const r=i(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function c(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function u(t,e){const n=i(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function d(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.my)(t,"__sentry_captured__",!0)}catch(t){}return!1}function _(t){return Array.isArray(t)?t:[t]}},9464:(t,e,n)=>{n.d(e,{fj:()=>o,wD:()=>s});var r=n(4753);function s(){return!(0,r.Z)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}t=n.hmd(t)},5033:(t,e,n)=>{n.d(e,{S8:()=>a,cd:()=>c});var r=n(3780),s=n(94),o=n(223),i=n(4209);function a(t,e=100,n=1/0){try{return u("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function c(t,e=3,n=102400){const r=a(t,e);return s=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(s))>n?c(t,e-1,n):r;var s}function u(t,e,n=1/0,a=1/0,c=(0,s.s)()){const[d,_]=c;if(null==e||["number","boolean","string"].includes(typeof e)&&!(0,r.yr)(e))return e;const l=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof window&&e===window)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.L2)(e))return"[VueViewModel]";if((0,r.mE)(e))return"[SyntheticEvent]";if("number"==typeof e&&e!=e)return"[NaN]";if("function"==typeof e)return`[Function: ${(0,i.qQ)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const n=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!l.startsWith("[object "))return l;if(e.__sentry_skip_normalization__)return e;const p="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===p)return l.replace("object ","");if(d(e))return"[Circular ~]";const h=e;if(h&&"function"==typeof h.toJSON)try{return u("",h.toJSON(),p-1,a,c)}catch(t){}const f=Array.isArray(e)?[]:{};let g=0;const m=(0,o.W4)(e);for(const t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(g>=a){f[t]="[MaxProperties ~]";break}const e=m[t];f[t]=u(t,e,p-1,a,c),g++}return _(e),f}},223:(t,e,n)=>{n.d(e,{Ce:()=>g,GS:()=>a,HF:()=>f,W4:()=>l,my:()=>c,pO:()=>u,sp:()=>d,u4:()=>_});var r=n(8146),s=n(3780),o=n(9432),i=n(7321);function a(t,e,n){if(!(e in t))return;const r=t[e],s=n(r);"function"==typeof s&&u(s,r),t[e]=s}function c(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.vF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function u(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}catch(t){}}function d(t){return t.__sentry_original__}function _(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function l(t){if((0,s.bJ)(t))return{message:t.message,name:t.name,stack:t.stack,...h(t)};if((0,s.xH)(t)){const e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...h(t)};return"undefined"!=typeof CustomEvent&&(0,s.tH)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function p(t){try{return(0,s.vq)(t)?(0,r.Hd)(t):Object.prototype.toString.call(t)}catch(t){return""}}function h(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function f(t,e=40){const n=Object.keys(l(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,i.xv)(n[0],e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:(0,i.xv)(r,e)}return""}function g(t){return m(t,new Map)}function m(t,e){if((0,s.Qd)(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.keys(t))void 0!==t[n]&&(r[n]=m(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(m(t,e))})),r}return t}},461:(t,e,n)=>{n.d(e,{C:()=>o});var r=n(6440),s=n(8310);function o(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(o){if(!(void 0===t||e.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(t){return new s.T2(((n,r)=>{let o=e.length;if(!o)return n(!0);const i=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,s.XW)(t).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}},7367:(t,e,n)=>{n.d(e,{Jz:()=>s,wq:()=>o});const r=6e4;function s(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}function o(t,{statusCode:e,headers:n},s=Date.now()){const o={...t},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(const t of i.trim().split(",")){const[e,n]=t.split(":",2),r=parseInt(e,10),i=1e3*(isNaN(r)?60:r);if(n)for(const t of n.split(";"))o[t]=s+i;else o.all=s+i}else a?o.all=s+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const s=Date.parse(`${t}`);return isNaN(s)?r:s-e}(a,s):429===e&&(o.all=s+6e4);return o}},8731:(t,e,n)=>{n.d(e,{te:()=>s});const r=["fatal","error","warning","log","info","debug"];function s(t){return"warn"===t?"warning":r.includes(t)?t:"log"}},4209:(t,e,n)=>{n.d(e,{gd:()=>i,qQ:()=>u,vk:()=>a});const r=50,s=/\(error: (.*)\)/,o=/captureMessage|captureException/;function i(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const i=[],a=t.split("\n");for(let t=n;t1024)continue;const o=s.test(n)?n.replace(s,"$1"):n;if(!o.match(/\S*Error: /)){for(const t of e){const e=t(o);if(e){i.push(e);break}}if(i.length>=r)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop();e.reverse(),o.test(e[e.length-1].function||"")&&(e.pop(),o.test(e[e.length-1].function||"")&&e.pop());return e.slice(0,r).map((t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"})))}(i)}}function a(t){return Array.isArray(t)?i(...t):t}const c="";function u(t){try{return t&&"function"==typeof t&&t.name||c}catch(t){return c}}},7321:(t,e,n)=>{n.d(e,{Xr:()=>i,gt:()=>o,xv:()=>s});var r=n(3780);function s(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function o(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;efunction(t,e,n=!1){return!!(0,r.Kg)(t)&&((0,r.gd)(e)?e.test(t):!!(0,r.Kg)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},60:(t,e,n)=>{n.d(e,{ap:()=>i,m7:()=>a,vm:()=>o});var r=n(9432);const s=(0,n(6881).VZ)();function o(){if(!("fetch"in s))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function i(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function a(){if(!o())return!1;if(i(s.fetch))return!0;let t=!1;const e=s.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=i(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},8310:(t,e,n)=>{n.d(e,{T2:()=>a,XW:()=>o,xg:()=>i});var r,s=n(3780);function o(t){return new a((e=>{e(t)}))}function i(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new a(((e,n)=>{let r,s;return this.then((e=>{s=!1,r=e,t&&t()}),(e=>{s=!0,r=e,t&&t()})).then((()=>{s?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,s.Qg)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},8533:(t,e,n)=>{n.d(e,{lu:()=>u,zf:()=>d});var r=n(9464),s=n(6881);t=n.hmd(t);const o=(0,s.VZ)(),i={nowSeconds:()=>Date.now()/1e3};const a=(0,r.wD)()?function(){try{return(0,r.fj)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=o;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===a?i:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},u=i.nowSeconds.bind(i),d=c.nowSeconds.bind(c);let _;(()=>{const{performance:t}=o;if(!t||!t.now)return void(_="none");const e=36e5,n=t.now(),r=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,i=s{function r(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}n.d(e,{Dl:()=>r})},8777:(t,e,n)=>{n.d(e,{N:()=>s});const r=(0,n(6881).VZ)();function s(){const t=r.chrome,e=t&&t.app&&t.app.runtime,n="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!e&&n}},6881:(t,e,n)=>{function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{BY:()=>i,OW:()=>s,VZ:()=>o});const s="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof window&&r(window)||function(){return this}()||{};function o(){return s}function i(t,e,n){const r=n||s,o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=e())}},1455:t=>{t.exports=window.wp.apiFetch},2619:t=>{t.exports=window.wp.hooks}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r](o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r=n(443),s=n(6441),o=n(1455),i=n.n(o),a=n(2619);const c="true"===window.WPcom_Error_Reporting_Config?.shouldActivateSentry,u=window._jsErr||[],d=window._headJsErrorHandler;c?function(){const t=window.WPcom_Error_Reporting_Config.releaseName;r.Ts({dsn:"https://658ae291b00242148af6b76494d4a49a@o248881.ingest.sentry.io/5876245",release:t}),(0,a.addAction)("editor.ErrorBoundary.errorLogged","wpcom/error-reporting",(t=>{s.Cp(t)})),u.forEach((t=>s.Cp(t))),s.bX().then((()=>delete window._jsErr))}():function(){const t=({error:t})=>{if(!t)return;const e={message:t.message,trace:t.stack,url:document.location.href,feature:"wp-admin"};return i()({global:!0,path:"/rest/v1.1/js-error",method:"POST",data:{error:JSON.stringify(e)}}).catch((()=>console.error("Error: Unable to record the error in Logstash.")))};window.addEventListener("error",t),Promise.allSettled(u.map(t)).then((()=>delete window._jsErr))}(),window.removeEventListener("error",d),delete window._headJsErrorHandler})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.asset.php index b8ac4ac5..4c43d333 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.asset.php @@ -1 +1 @@ - array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '8f95bd4156398bddfd42'); + array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => 'ab6e3628498909f1d4be'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.js b/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.js index 931ddf53..8c11ac15 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/jetpack-global-styles/jetpack-global-styles.js @@ -1,3 +1,3 @@ -(()=>{"use strict";var e={74426:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(5573),o=n(10790);const s=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})})},13981:(e,t,n)=>{n.d(t,{M0:()=>s,VK:()=>r,qE:()=>c,uI:()=>a,un:()=>o,yi:()=>l,yy:()=>i});const a="font_base",o="font_base_default",s="font_headings",l="font_headings_default",c="font_pairings",r="font_options",i="blogname"},41216:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(47143),o=n(98490),s=n.n(o),l=n(66087);const c=(e,t)=>{s()((()=>{const n={};let o={};const s={};e.forEach((e=>{s[e]=`--${e.replace("_","-")}`}));let c=null;(0,a.subscribe)((()=>{const r=(0,a.select)("core/editor").__unstableIsEditorReady;if(r&&!1===r())return;if(c||(c=document.createElement("style"),document.body.appendChild(c)),e.forEach((e=>{n[e]=t(e)})),(0,l.isEmpty)(n)||(0,l.isEqual)(n,o))return;o={...n};let i="";Object.keys(n).forEach((e=>{i+=`${s[e]}:${n[e]};`})),c.textContent=`.edit-post-visual-editor .editor-styles-wrapper{${i}}`}))}))}},21666:(e,t,n)=>{n.d(t,{A:()=>r});var a=n(56427),o=n(27723),s=n(48558),l=n(13022),c=n(40495);const __=o.__,r=({fontPairings:e,fontBase:t,fontHeadings:n,update:o})=>React.createElement(React.Fragment,null,React.createElement("h3",null,__("Font Pairings","jetpack-mu-wpcom")),e&&n&&t?React.createElement("div",{className:"style-preview__font-options"},React.createElement("div",{className:"style-preview__font-options-desktop"},e.map((({label:e,headings:c,base:r})=>{const i=c===n&&r===t;return React.createElement(a.Button,{className:(0,l.A)("style-preview__font-option",{"is-selected":i}),onClick:()=>o({headings:c,base:r}),onKeyDown:e=>e.keyCode===s.ENTER?o({headings:c,base:r}):null,key:e},React.createElement("span",{className:"style-preview__font-option-contents"},React.createElement("span",{style:{fontFamily:c,fontWeight:700}},c)," / ",React.createElement("span",{style:{fontFamily:r}},r)))})))):React.createElement(c.A,{unsupportedFeature:__("font pairings","jetpack-mu-wpcom")}))},41703:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(56427),o=n(27723),s=n(40495);const __=o.__,l=({fontBase:e,fontBaseDefault:t,fontHeadings:n,fontHeadingsDefault:o,fontBaseOptions:l,fontHeadingsOptions:c,updateBaseFont:r,updateHeadingsFont:i})=>l&&c?React.createElement(React.Fragment,null,React.createElement(a.SelectControl,{label:__("Heading Font","jetpack-mu-wpcom"),value:n,options:c,onChange:e=>i(e),style:{fontFamily:"unset"!==n?n:o}}),React.createElement(a.SelectControl,{label:__("Base Font","jetpack-mu-wpcom"),value:e,options:l,onChange:e=>r(e),style:{fontFamily:"unset"!==e?e:t}}),React.createElement("hr",null)):React.createElement(s.A,{unsupportedFeature:__("custom font selection","jetpack-mu-wpcom")})},99505:(e,t,n)=>{n.d(t,{A:()=>y});var a=n(56427),o=n(47143),s=n(14309),l=n(86087),c=n(27723),r=n(74426),i=n(93832),p=n(13981),u=n(21666),d=n(41703);const __=c.__,m="ANY_PROPERTY",f=e=>{if("object"==typeof e){const{label:t,value:n,prop:a=m}=e;return{label:t,value:n,prop:a}}return{label:e,value:e,prop:m}},g=e=>null!==e.value&&null!==e.label,h=(e,t)=>e?e.map(f).filter(g).filter((e=>t=>t.prop===m||t.prop===e)(t)):[],w=({hasLocalChanges:e,resetAction:t,publishAction:n,className:o=null})=>React.createElement("div",{className:o},React.createElement(a.Button,{disabled:!e,isDefault:!0,onClick:t},__("Reset","jetpack-mu-wpcom")),React.createElement(a.Button,{className:"global-styles-sidebar__publish-button",disabled:!e,isPrimary:!0,onClick:n},__("Publish","jetpack-mu-wpcom")));const y=({fontHeadings:e,fontHeadingsDefault:t,fontBase:n,fontBaseDefault:m,fontPairings:f,fontOptions:g,siteName:y,publishOptions:E,updateOptions:O,hasLocalChanges:_,resetLocalChanges:b})=>{(0,l.useEffect)((()=>{"global-styles"===(0,i.getQueryArg)(window.location.href,"openSidebar")&&(0,o.dispatch)("core/edit-post").openGeneralSidebar("jetpack-global-styles/global-styles")}),[]);const R=()=>E({[p.uI]:n,[p.M0]:e});return React.createElement(React.Fragment,null,React.createElement(s.PluginSidebarMoreMenuItem,{icon:r.A,target:"global-styles"},__("Global Styles","jetpack-mu-wpcom")),React.createElement(s.PluginSidebar,{icon:r.A,name:"global-styles",title:__("Global Styles","jetpack-mu-wpcom"),className:"global-styles-sidebar"},React.createElement(a.PanelBody,null,React.createElement("p",null,/* translators: %s: Name of site. */ /* translators: %s: Name of site. */ -(0,c.sprintf)(__("You are customizing %s.","jetpack-mu-wpcom"),y)),React.createElement("p",null,__("Any change you make here will apply to the entire website.","jetpack-mu-wpcom")),_?React.createElement("div",null,React.createElement("p",null,React.createElement("em",null,__("You have unsaved changes.","jetpack-mu-wpcom"))),React.createElement(w,{hasLocalChanges:_,publishAction:R,resetAction:b})):null),React.createElement(a.PanelBody,{title:__("Font Selection","jetpack-mu-wpcom")},React.createElement(d.A,{fontBase:n,fontBaseDefault:m,fontHeadings:e,fontHeadingsDefault:t,fontBaseOptions:h(g,p.uI),fontHeadingsOptions:h(g,p.M0),updateBaseFont:e=>O({[p.uI]:e}),updateHeadingsFont:e=>O({[p.M0]:e})}),React.createElement(u.A,{fontHeadings:e,fontBase:n,fontPairings:f,update:({headings:e,base:t})=>O({[p.M0]:e,[p.uI]:t})})),React.createElement(a.PanelBody,null,_?React.createElement("p",null,React.createElement("em",null,__("You have unsaved changes.","jetpack-mu-wpcom"))):null,React.createElement(w,{hasLocalChanges:_,publishAction:R,resetAction:b,className:"global-styles-sidebar__panel-action-buttons"}))))}},40495:(e,t,n)=>{n.d(t,{A:()=>o});var a=n(27723);const __=a.__,o=({unsupportedFeature:e})=>React.createElement("p",null,(0,a.sprintf)(/* translators: %s: feature name (i.e. font pairings, etc) */ -__("Your active theme doesn't support %s.","jetpack-mu-wpcom"),e))},81873:(e,t,n)=>{n.d(t,{M:()=>u});var a=n(1455),o=n.n(a),s=n(47143);const{STORE_NAME:l,REST_PATH:c}=JETPACK_GLOBAL_STYLES_EDITOR_CONSTANTS;let r={},i=!1;const p={*publishOptions(e){return yield{type:"IO_PUBLISH_OPTIONS",options:e},{type:"PUBLISH_OPTIONS",options:e}},updateOptions:e=>({type:"UPDATE_OPTIONS",options:e}),fetchOptions:()=>({type:"IO_FETCH_OPTIONS"}),resetLocalChanges:()=>({type:"RESET_OPTIONS",options:r})},u=(0,s.createReduxStore)(l,{reducer(e,t){switch(t.type){case"UPDATE_OPTIONS":case"RESET_OPTIONS":case"PUBLISH_OPTIONS":return{...e,...t.options}}return e},actions:p,selectors:{getOption:(e,t)=>e?e[t]:void 0,hasLocalChanges:e=>!!e&&Object.keys(r).some((t=>r[t]!==e[t]))},resolvers:{*getOption(e){if(i)return;let t;try{i=!0,t=yield p.fetchOptions()}catch(e){t={}}return r=t,{type:"UPDATE_OPTIONS",options:t}}},controls:{IO_FETCH_OPTIONS:()=>o()({path:c}),IO_PUBLISH_OPTIONS:({options:e})=>(r=e,o()({path:c,method:"POST",data:{...e}}))}});(0,s.register)(u)},10790:e=>{e.exports=window.ReactJSXRuntime},66087:e=>{e.exports=window.lodash},1455:e=>{e.exports=window.wp.apiFetch},56427:e=>{e.exports=window.wp.components},29491:e=>{e.exports=window.wp.compose},47143:e=>{e.exports=window.wp.data},98490:e=>{e.exports=window.wp.domReady},14309:e=>{e.exports=window.wp.editPost},86087:e=>{e.exports=window.wp.element},27723:e=>{e.exports=window.wp.i18n},48558:e=>{e.exports=window.wp.keycodes},92279:e=>{e.exports=window.wp.plugins},5573:e=>{e.exports=window.wp.primitives},93832:e=>{e.exports=window.wp.url},13022:(e,t,n)=>{function a(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;to});const o=function(){for(var e,t,n=0,o="",s=arguments.length;n{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a=n(29491),o=n(47143),s=n(92279),l=n(13981),c=n(41216),r=n(99505),i=n(81873);const{PLUGIN_NAME:p}=JETPACK_GLOBAL_STYLES_EDITOR_CONSTANTS;(0,c.A)([l.uI,l.M0],(0,o.select)(i.M).getOption),(0,s.registerPlugin)(p,{render:(0,a.compose)((0,o.withSelect)((e=>{const{getOption:t,hasLocalChanges:n}=e(i.M);return{siteName:t(l.yy),fontHeadings:t(l.M0),fontHeadingsDefault:t(l.yi),fontBase:t(l.uI),fontBaseDefault:t(l.un),fontPairings:t(l.qE),fontOptions:t(l.VK),hasLocalChanges:n()}})),(0,o.withDispatch)((e=>({updateOptions:e(i.M).updateOptions,publishOptions:e(i.M).publishOptions,resetLocalChanges:e(i.M).resetLocalChanges}))))(r.A)})})(); \ No newline at end of file +(()=>{"use strict";var e={4426:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(5573),o=n(790);const s=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})})},3981:(e,t,n)=>{n.d(t,{M0:()=>s,VK:()=>r,qE:()=>c,uI:()=>a,un:()=>o,yi:()=>l,yy:()=>i});const a="font_base",o="font_base_default",s="font_headings",l="font_headings_default",c="font_pairings",r="font_options",i="blogname"},1216:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(7143),o=n(8490),s=n.n(o),l=n(8468);const c=(e,t)=>{s()((()=>{const n={};let o={};const s={};e.forEach((e=>{s[e]=`--${e.replace("_","-")}`}));let c=null;(0,a.subscribe)((()=>{const r=(0,a.select)("core/editor").__unstableIsEditorReady;if(r&&!1===r())return;if(c||(c=document.createElement("style"),document.body.appendChild(c)),e.forEach((e=>{n[e]=t(e)})),(0,l.isEmpty)(n)||(0,l.isEqual)(n,o))return;o={...n};let i="";Object.keys(n).forEach((e=>{i+=`${s[e]}:${n[e]};`})),c.textContent=`.edit-post-visual-editor .editor-styles-wrapper{${i}}`}))}))}},1666:(e,t,n)=>{n.d(t,{A:()=>r});var a=n(6427),o=n(7723),s=n(8558),l=n(3022),c=n(495);const __=o.__,r=({fontPairings:e,fontBase:t,fontHeadings:n,update:o})=>React.createElement(React.Fragment,null,React.createElement("h3",null,__("Font Pairings","jetpack-mu-wpcom")),e&&n&&t?React.createElement("div",{className:"style-preview__font-options"},React.createElement("div",{className:"style-preview__font-options-desktop"},e.map((({label:e,headings:c,base:r})=>{const i=c===n&&r===t;return React.createElement(a.Button,{className:(0,l.A)("style-preview__font-option",{"is-selected":i}),onClick:()=>o({headings:c,base:r}),onKeyDown:e=>e.keyCode===s.ENTER?o({headings:c,base:r}):null,key:e},React.createElement("span",{className:"style-preview__font-option-contents"},React.createElement("span",{style:{fontFamily:c,fontWeight:700}},c)," / ",React.createElement("span",{style:{fontFamily:r}},r)))})))):React.createElement(c.A,{unsupportedFeature:__("font pairings","jetpack-mu-wpcom")}))},1703:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(6427),o=n(7723),s=n(495);const __=o.__,l=({fontBase:e,fontBaseDefault:t,fontHeadings:n,fontHeadingsDefault:o,fontBaseOptions:l,fontHeadingsOptions:c,updateBaseFont:r,updateHeadingsFont:i})=>l&&c?React.createElement(React.Fragment,null,React.createElement(a.SelectControl,{label:__("Heading Font","jetpack-mu-wpcom"),value:n,options:c,onChange:e=>i(e),style:{fontFamily:"unset"!==n?n:o}}),React.createElement(a.SelectControl,{label:__("Base Font","jetpack-mu-wpcom"),value:e,options:l,onChange:e=>r(e),style:{fontFamily:"unset"!==e?e:t}}),React.createElement("hr",null)):React.createElement(s.A,{unsupportedFeature:__("custom font selection","jetpack-mu-wpcom")})},9505:(e,t,n)=>{n.d(t,{A:()=>y});var a=n(6427),o=n(7143),s=n(4309),l=n(6087),c=n(7723),r=n(4426),i=n(3832),p=n(3981),u=n(1666),d=n(1703);const __=c.__,m="ANY_PROPERTY",f=e=>{if("object"==typeof e){const{label:t,value:n,prop:a=m}=e;return{label:t,value:n,prop:a}}return{label:e,value:e,prop:m}},g=e=>null!==e.value&&null!==e.label,h=(e,t)=>e?e.map(f).filter(g).filter((e=>t=>t.prop===m||t.prop===e)(t)):[],w=({hasLocalChanges:e,resetAction:t,publishAction:n,className:o=null})=>React.createElement("div",{className:o},React.createElement(a.Button,{disabled:!e,isDefault:!0,onClick:t},__("Reset","jetpack-mu-wpcom")),React.createElement(a.Button,{className:"global-styles-sidebar__publish-button",disabled:!e,isPrimary:!0,onClick:n},__("Publish","jetpack-mu-wpcom")));const y=({fontHeadings:e,fontHeadingsDefault:t,fontBase:n,fontBaseDefault:m,fontPairings:f,fontOptions:g,siteName:y,publishOptions:E,updateOptions:O,hasLocalChanges:_,resetLocalChanges:b})=>{(0,l.useEffect)((()=>{"global-styles"===(0,i.getQueryArg)(window.location.href,"openSidebar")&&(0,o.dispatch)("core/edit-post").openGeneralSidebar("jetpack-global-styles/global-styles")}),[]);const R=()=>E({[p.uI]:n,[p.M0]:e});return React.createElement(React.Fragment,null,React.createElement(s.PluginSidebarMoreMenuItem,{icon:r.A,target:"global-styles"},__("Global Styles","jetpack-mu-wpcom")),React.createElement(s.PluginSidebar,{icon:r.A,name:"global-styles",title:__("Global Styles","jetpack-mu-wpcom"),className:"global-styles-sidebar"},React.createElement(a.PanelBody,null,React.createElement("p",null,/* translators: %s: Name of site. */ /* translators: %s: Name of site. */ +(0,c.sprintf)(__("You are customizing %s.","jetpack-mu-wpcom"),y)),React.createElement("p",null,__("Any change you make here will apply to the entire website.","jetpack-mu-wpcom")),_?React.createElement("div",null,React.createElement("p",null,React.createElement("em",null,__("You have unsaved changes.","jetpack-mu-wpcom"))),React.createElement(w,{hasLocalChanges:_,publishAction:R,resetAction:b})):null),React.createElement(a.PanelBody,{title:__("Font Selection","jetpack-mu-wpcom")},React.createElement(d.A,{fontBase:n,fontBaseDefault:m,fontHeadings:e,fontHeadingsDefault:t,fontBaseOptions:h(g,p.uI),fontHeadingsOptions:h(g,p.M0),updateBaseFont:e=>O({[p.uI]:e}),updateHeadingsFont:e=>O({[p.M0]:e})}),React.createElement(u.A,{fontHeadings:e,fontBase:n,fontPairings:f,update:({headings:e,base:t})=>O({[p.M0]:e,[p.uI]:t})})),React.createElement(a.PanelBody,null,_?React.createElement("p",null,React.createElement("em",null,__("You have unsaved changes.","jetpack-mu-wpcom"))):null,React.createElement(w,{hasLocalChanges:_,publishAction:R,resetAction:b,className:"global-styles-sidebar__panel-action-buttons"}))))}},495:(e,t,n)=>{n.d(t,{A:()=>o});var a=n(7723);const __=a.__,o=({unsupportedFeature:e})=>React.createElement("p",null,(0,a.sprintf)(/* translators: %s: feature name (i.e. font pairings, etc) */ +__("Your active theme doesn't support %s.","jetpack-mu-wpcom"),e))},1873:(e,t,n)=>{n.d(t,{M:()=>u});var a=n(1455),o=n.n(a),s=n(7143);const{STORE_NAME:l,REST_PATH:c}=JETPACK_GLOBAL_STYLES_EDITOR_CONSTANTS;let r={},i=!1;const p={*publishOptions(e){return yield{type:"IO_PUBLISH_OPTIONS",options:e},{type:"PUBLISH_OPTIONS",options:e}},updateOptions:e=>({type:"UPDATE_OPTIONS",options:e}),fetchOptions:()=>({type:"IO_FETCH_OPTIONS"}),resetLocalChanges:()=>({type:"RESET_OPTIONS",options:r})},u=(0,s.createReduxStore)(l,{reducer(e,t){switch(t.type){case"UPDATE_OPTIONS":case"RESET_OPTIONS":case"PUBLISH_OPTIONS":return{...e,...t.options}}return e},actions:p,selectors:{getOption:(e,t)=>e?e[t]:void 0,hasLocalChanges:e=>!!e&&Object.keys(r).some((t=>r[t]!==e[t]))},resolvers:{*getOption(e){if(i)return;let t;try{i=!0,t=yield p.fetchOptions()}catch(e){t={}}return r=t,{type:"UPDATE_OPTIONS",options:t}}},controls:{IO_FETCH_OPTIONS:()=>o()({path:c}),IO_PUBLISH_OPTIONS:({options:e})=>(r=e,o()({path:c,method:"POST",data:{...e}}))}});(0,s.register)(u)},790:e=>{e.exports=window.ReactJSXRuntime},8468:e=>{e.exports=window.lodash},1455:e=>{e.exports=window.wp.apiFetch},6427:e=>{e.exports=window.wp.components},9491:e=>{e.exports=window.wp.compose},7143:e=>{e.exports=window.wp.data},8490:e=>{e.exports=window.wp.domReady},4309:e=>{e.exports=window.wp.editPost},6087:e=>{e.exports=window.wp.element},7723:e=>{e.exports=window.wp.i18n},8558:e=>{e.exports=window.wp.keycodes},2279:e=>{e.exports=window.wp.plugins},5573:e=>{e.exports=window.wp.primitives},3832:e=>{e.exports=window.wp.url},3022:(e,t,n)=>{function a(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;to});const o=function(){for(var e,t,n=0,o="",s=arguments.length;n{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a=n(9491),o=n(7143),s=n(2279),l=n(3981),c=n(1216),r=n(9505),i=n(1873);const{PLUGIN_NAME:p}=JETPACK_GLOBAL_STYLES_EDITOR_CONSTANTS;(0,c.A)([l.uI,l.M0],(0,o.select)(i.M).getOption),(0,s.registerPlugin)(p,{render:(0,a.compose)((0,o.withSelect)((e=>{const{getOption:t,hasLocalChanges:n}=e(i.M);return{siteName:t(l.yy),fontHeadings:t(l.M0),fontHeadingsDefault:t(l.yi),fontBase:t(l.uI),fontBaseDefault:t(l.un),fontPairings:t(l.qE),fontOptions:t(l.VK),hasLocalChanges:n()}})),(0,o.withDispatch)((e=>({updateOptions:e(i.M).updateOptions,publishOptions:e(i.M).publishOptions,resetLocalChanges:e(i.M).resetLocalChanges}))))(r.A)})})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.asset.php index bf3c9f72..345fa5c9 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.asset.php @@ -1 +1 @@ - array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '1ee770bfbbfe4564984a'); + array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'fa9637acf9b58a8cbc54'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.js b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.js index d4ad1ca7..8520f5d4 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-editor/newspack-blocks-blog-posts-editor.js @@ -1,3 +1,3 @@ -(()=>{"use strict";var e={87908:(e,t,n)=>{n.d(t,{A:()=>O,B:()=>C,C:()=>N,D:()=>w,E:()=>k,F:()=>M,G:()=>U,H:()=>l,J:()=>B,L:()=>$,M:()=>W,N:()=>X,O:()=>K,P:()=>P,Q:()=>Y,R:()=>I,S:()=>H,T:()=>T,Z:()=>G,a:()=>L,b:()=>V,d:()=>D,e:()=>j,f:()=>z,g:()=>F,h:()=>q,i:()=>v,j:()=>x,k:()=>s,l:()=>R,m:()=>y,o:()=>m,p:()=>u,q:()=>g,r:()=>d,s:()=>S,t:()=>i,u:()=>p,v:()=>_,y:()=>E,z:()=>b});var o=n(48817),a=n(77790),r=n(63229),c=n(59461),s=function(e){return function(){return e}}(!0),i=function(){};var l=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var u=function(e,t){(0,a.A)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},p=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function d(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function m(e){var t=!1;return function(){t||(t=!0,e())}}var f=function(e){throw e},h=function(e){return{value:e,done:!0}};function g(e,t,n){void 0===t&&(t=f),void 0===n&&(n="iterator");var o={meta:{name:n},next:e,throw:t,return:h,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o}),o}function w(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var v=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},y=function(e){return Array.apply(null,new Array(e))},k=function(e){return function(t){return e(Object.defineProperty(t,o.q8,{value:!0}))}},b=function(e){return e===o.a6},E=function(e){return e===o.nm},S=function(e){return b(e)||E(e)};function R(e,t){var n=Object.keys(e),o=n.length;var a,c=0,s=(0,r.YO)(e)?y(o):{},l={};return n.forEach((function(e){var n=function(n,r){a||(r||S(n)?(t.cancel(),t(n,r)):(s[e]=n,++c===o&&(a=!0,t(s))))};n.cancel=i,l[e]=n})),t.cancel=function(){a||(a=!0,n.forEach((function(e){return l[e].cancel()})))},l}function x(e){return{name:e.name||"anonymous",location:_(e)}}function _(e){return e[o.x2]}function C(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o1?t-1:0),o=1;o{n.d(t,{Ay:()=>K});var o=n(48817),a=n(77790),r=n(94001),c=n(63229),s=n(87908),i=n(88527),l=[],u=0;function p(e){try{f(),e()}finally{h()}}function d(e){l.push(e),u||(f(),g())}function m(e){try{return f(),e()}finally{g()}}function f(){u++}function h(){u--}function g(){var e;for(h();!u&&void 0!==(e=l.shift());)p(e)}var w=function(e){return function(t){return e.some((function(e){return E(e)(t)}))}},v=function(e){return function(t){return e(t)}},y=function(e){return function(t){return t.type===String(e)}},k=function(e){return function(t){return t.type===e}},b=function(){return s.k};function E(e){var t="*"===e?b:(0,c.Yj)(e)?y:(0,c.YO)(e)?w:(0,c.mr)(e)?y:(0,c.Pc)(e)?v:(0,c.HR)(e)?k:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var S={type:o.x7},R=function(e){return e&&e.type===o.x7};function x(e){void 0===e&&(e=(0,s.e)());var t=!1,n=[];return{take:function(o){t&&e.isEmpty()?o(S):e.isEmpty()?(n.push(o),o.cancel=function(){(0,s.r)(n,o)}):o(e.take())},put:function(o){if(!t){if(0===n.length)return e.put(o);n.shift()(o)}},flush:function(n){t&&e.isEmpty()?n(S):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var o=0,a=e.length;o2?f-2:0),g=2;g{n.d(t,{T1:()=>a.O,cb:()=>a.Q,p8:()=>u,yJ:()=>a.Z});var o=n(63229),a=n(87908),r=function(e){return{done:!0,value:e}},c={};function s(e){return(0,o.Ix)(e)?"channel":(0,o.mr)(e)?String(e):(0,o.Pc)(e)?e.name:String(e)}function i(e,t,n){var o,s,i,l=t;function u(t,n){if(l===c)return r(t);if(n&&!s)throw l=c,n;o&&o(t);var a=n?e[s](n):e[l]();return l=a.nextState,i=a.effect,o=a.stateUpdater,s=a.errorState,l===c?r(t):i}return(0,a.q)(u,(function(e){return u(null,e)}),n)}function l(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r2?n-2:0),r=2;r{function o(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}n.d(t,{A:()=>a});const a=o},59461:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(48817);const a=function(e,t){var n;void 0===t&&(t=!0);var a=new Promise((function(o){n=setTimeout(o,Math.min(2147483647,e),t)}));return a[o.bO]=function(){clearTimeout(n)},a}},63229:(e,t,n)=>{n.d(t,{HR:()=>f,Ix:()=>d,Pc:()=>c,T1:()=>p,YO:()=>i,Yj:()=>s,fD:()=>h,iv:()=>l,lJ:()=>u,mr:()=>m,uQ:()=>r,vD:()=>a});var o=n(48817),a=function(e){return null==e},r=function(e){return null!=e},c=function(e){return"function"==typeof e},s=function(e){return"string"==typeof e},i=Array.isArray,l=function(e){return e&&c(e.then)},u=function(e){return e&&c(e.next)&&c(e.throw)},p=function e(t){return t&&(s(t)||f(t)||c(t)||i(t)&&t.every(e))},d=function(e){return e&&c(e.take)&&c(e.close)},m=function(e){return c(e)&&e.hasOwnProperty("toString")},f=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},h=function(e){return d(e)&&e[o.Xl]}},48817:(e,t,n)=>{n.d(t,{E_:()=>s,IO:()=>c,Pe:()=>u,Xl:()=>i,a6:()=>m,bO:()=>a,nm:()=>d,q8:()=>l,wn:()=>p,x2:()=>f,x7:()=>r});var o=function(e){return"@@redux-saga/"+e},a=o("CANCEL_PROMISE"),r=o("CHANNEL_END"),c=o("IO"),s=o("MATCH"),i=o("MULTICAST"),l=o("SAGA_ACTION"),u=o("SELF_CANCELLATION"),p=o("TASK"),d=o("TASK_CANCEL"),m=o("TERMINATE"),f=o("LOCATION")},51113:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(86087);const a=(0,o.forwardRef)((function({icon:e,size:t=24,...n},a){return(0,o.cloneElement)(e,{width:t,height:t,...n,ref:a})}))},89761:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(10790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},39662:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(10790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})})},71651:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(10790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})})},95938:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(10790);const r=(0,a.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})})},54424:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(10790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})})},52812:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(10790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})})},78887:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(10790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})})},21594:(e,t,n)=>{n.d(t,{Ay:()=>o});const o=n(93095).Ay},11003:(e,t,n)=>{n.d(t,{T1:()=>o.T1,cb:()=>o.cb,p8:()=>o.p8,yJ:()=>o.yJ});var o=n(59906)},26556:(e,t,n)=>{n.d(t,{Tw:()=>p,y$:()=>l});var o=n(94021);function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var r="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(l)(e,t)}if("function"!=typeof e)throw new Error(a(2));var c=e,u=t,p=[],d=p,m=!1;function f(){d===p&&(d=p.slice())}function h(){if(m)throw new Error(a(3));return u}function g(e){if("function"!=typeof e)throw new Error(a(4));if(m)throw new Error(a(5));var t=!0;return f(),d.push(e),function(){if(t){if(m)throw new Error(a(6));t=!1,f();var n=d.indexOf(e);d.splice(n,1),p=null}}}function w(e){if(!i(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(m)throw new Error(a(9));try{m=!0,u=c(u,e)}finally{m=!1}for(var t=p=d,n=0;n{n.d(t,{t:()=>o});const o="a8c/posts-carousel"},19302:(e,t,n)=>{n.d(t,{A:()=>A});var o=n(94715),a=n(56427),r=n(29491),c=n(47143),s=n(86087),i=n(18537),l=n(27723),u=n(51113),p=n(89761),d=n(71651),m=n(54424),f=n(52812),h=n(78887),g=n(95938),w=n(39662),v=n(13022),y=n(32840),k=n(82142),b=n(9661),E=n(63673);const __=l.__;let S;"object"==typeof window&&window.newspack_blocks_data&&window.newspack_blocks_data.post_subtitle&&(S=!0);const R=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M18.714 7.5H5.286a.786.786 0 00-.786.786v7.428c0 .434.352.786.786.786h13.428a.786.786 0 00.786-.786V8.286a.786.786 0 00-.786-.786zM5.286 6A2.286 2.286 0 003 8.286v7.428A2.286 2.286 0 005.286 18h13.428A2.286 2.286 0 0021 15.714V8.286A2.286 2.286 0 0018.714 6H5.286z",fillRule:"evenodd"})),x=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M15.714 4.5H8.286a.786.786 0 00-.786.786v13.428c0 .434.352.786.786.786h7.428a.786.786 0 00.786-.786V5.286a.786.786 0 00-.786-.786zM8.286 3A2.286 2.286 0 006 5.286v13.428A2.286 2.286 0 008.286 21h7.428A2.286 2.286 0 0018 18.714V5.286A2.286 2.286 0 0015.714 3H8.286z",fillRule:"evenodd"})),_=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M18.714 4.5H5.286a.786.786 0 00-.786.786v13.428c0 .434.352.786.786.786h13.428a.786.786 0 00.786-.786V5.286a.786.786 0 00-.786-.786zM5.286 3A2.286 2.286 0 003 5.286v13.428A2.286 2.286 0 005.286 21h13.428A2.286 2.286 0 0021 18.714V5.286A2.286 2.286 0 0018.714 3H5.286z",fillRule:"evenodd"}));class C extends s.Component{renderPost=e=>{const{attributes:t,isUIDisabled:n}=this.props,{showImage:a,imageShape:r,mediaPosition:c,minHeight:l,showCaption:u,showCredit:p,showExcerpt:d,showReadMore:m,readMoreLabel:f,showSubtitle:h,showAuthor:g,showAvatar:w,showDate:y,showCategory:k,sectionHeader:E}=t,R={minHeight:"behind"===c&&a&&e.newspack_featured_image_src&&l+"vh"||void 0,paddingTop:"behind"===c&&a&&e.newspack_featured_image_src&&l/5+"vh"||void 0},x=(0,v.A)({"post-has-image":e.newspack_featured_image_src,"newspack-block--disabled":n},e.newspack_article_classes),_=this.titleForPost(e);return React.createElement("article",{className:x,key:e.id,style:R},(0,b.X8)(e),a&&e.newspack_featured_image_src&&React.createElement("figure",{className:"post-thumbnail",key:"thumbnail"},React.createElement("a",{href:"#"},"landscape"===r&&React.createElement("img",{src:e.newspack_featured_image_src.landscape,alt:""}),"portrait"===r&&React.createElement("img",{src:e.newspack_featured_image_src.portrait,alt:""}),"square"===r&&React.createElement("img",{src:e.newspack_featured_image_src.square,alt:""}),"uncropped"===r&&React.createElement("img",{src:e.newspack_featured_image_src.uncropped,alt:""})),(u||p)&&React.createElement("div",{dangerouslySetInnerHTML:{__html:e.newspack_featured_image_caption}})),React.createElement("div",{className:"entry-wrapper"},(e.newspack_post_sponsors||k&&0e.title?"object"==typeof e.title&&e.title.rendered?(0,i.decodeEntities)(e.title.rendered.trim()):void 0:"";renderInspectorControls=()=>{const{attributes:e,setAttributes:t,textColor:n,setTextColor:r}=this.props,{authors:c,specificPosts:i,postsToShow:l,categories:u,includeSubcategories:p,customTaxonomies:d,columns:m,colGap:f,postType:h,showImage:g,showCaption:w,showCredit:v,imageScale:b,mobileStack:R,minHeight:x,moreButton:_,showExcerpt:C,showReadMore:A,readMoreLabel:j,excerptLength:T,showSubtitle:P,typeScale:O,showDate:I,showAuthor:N,showAvatar:L,showCategory:M,postLayout:B,mediaPosition:V,specificMode:H,tags:D,tagExclusions:z,categoryExclusions:F,customTaxonomyExclusions:U}=e,q=[{value:1,label:/* translators: label for small size option */__("Small","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for small size */__("S","jetpack-mu-wpcom")},{value:2,label:/* translators: label for medium size option */__("Medium","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for medium size */__("M","jetpack-mu-wpcom")},{value:3,label:/* translators: label for large size option */__("Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for large size */__("L","jetpack-mu-wpcom")},{value:4,label:/* translators: label for extra large size option */__("Extra Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for extra large size */__("XL","jetpack-mu-wpcom")}],Q=[{value:1,label:/* translators: label for small size option */__("Small","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for small size */__("S","jetpack-mu-wpcom")},{value:2,label:/* translators: label for medium size option */__("Medium","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for medium size */__("M","jetpack-mu-wpcom")},{value:3,label:/* translators: label for large size option */__("Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for large size */__("L","jetpack-mu-wpcom")}],$=e=>n=>t({[e]:n});return React.createElement(s.Fragment,null,React.createElement(a.PanelBody,{title:__("Display Settings","jetpack-mu-wpcom"),initialOpen:!0},React.createElement(k.A,{numberOfItems:l,onNumberOfItemsChange:e=>t({postsToShow:e||1}),specificMode:H,onSpecificModeChange:$("specificMode"),specificPosts:i,onSpecificPostsChange:$("specificPosts"),authors:c,onAuthorsChange:$("authors"),categories:u,onCategoriesChange:$("categories"),includeSubcategories:p,onIncludeSubcategoriesChange:$("includeSubcategories"),tags:D,onTagsChange:$("tags"),onCustomTaxonomiesChange:$("customTaxonomies"),customTaxonomies:d,tagExclusions:z,onTagExclusionsChange:$("tagExclusions"),categoryExclusions:F,onCategoryExclusionsChange:$("categoryExclusions"),customTaxonomyExclusions:U,onCustomTaxonomyExclusionsChange:$("customTaxonomyExclusions"),postType:h}),"grid"===B&&React.createElement(s.Fragment,null,React.createElement(a.RangeControl,{label:__("Columns","jetpack-mu-wpcom"),value:m,onChange:$("columns"),min:2,max:6,required:!0}),React.createElement(a.BaseControl,{label:__("Columns Gap","jetpack-mu-wpcom"),id:"newspackcolumns-col-gap"},React.createElement(a.PanelRow,null,React.createElement(a.ButtonGroup,{id:"newspackcolumns-col-gap","aria-label":__("Columns Gap","jetpack-mu-wpcom")},Q.map((e=>{const n=f===e.value;return React.createElement(a.Button,{isPrimary:n,"aria-pressed":n,"aria-label":e.label,key:e.value,onClick:()=>t({colGap:e.value})},e.shortName)})))))),!H&&(0,E.Wu)()?React.createElement("i",null,__('This blog is private, therefore the "Load more posts" feature is not active.',"jetpack-mu-wpcom")):!H&&React.createElement(a.ToggleControl,{label:__('Show "Load more posts" Button',"jetpack-mu-wpcom"),checked:_,onChange:()=>t({moreButton:!_})}),React.createElement(a.ToggleControl,{label:__("Allow duplicate stories","jetpack-mu-wpcom"),help:__("If checked, this block will be excluded from the page's de-duplication logic. Duplicate stories may appear.","jetpack-mu-wpcom"),checked:!e.deduplicate,onChange:e=>t({deduplicate:!e}),className:"newspack-blocks-deduplication-toggle"})),React.createElement(a.PanelBody,{title:__("Featured Image Settings","jetpack-mu-wpcom")},React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image","jetpack-mu-wpcom"),checked:g,onChange:()=>t({showImage:!g})})),g&&React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image Caption","jetpack-mu-wpcom"),checked:w,onChange:()=>t({showCaption:!w})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image Credit","jetpack-mu-wpcom"),checked:v,onChange:()=>t({showCredit:!v})}))),g&&"top"!==V&&"behind"!==V&&React.createElement(s.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Stack on mobile","jetpack-mu-wpcom"),checked:R,onChange:()=>t({mobileStack:!R})})),React.createElement(a.BaseControl,{label:__("Featured Image Size","jetpack-mu-wpcom"),id:"newspackfeatured-image-size"},React.createElement(a.PanelRow,null,React.createElement(a.ButtonGroup,{id:"newspackfeatured-image-size","aria-label":__("Featured Image Size","jetpack-mu-wpcom")},q.map((e=>{const n=b===e.value;return React.createElement(a.Button,{isPrimary:n,"aria-pressed":n,"aria-label":e.label,key:e.value,onClick:()=>t({imageScale:e.value})},e.shortName)})))))),g&&"behind"===V&&React.createElement(a.RangeControl,{label:__("Minimum height","jetpack-mu-wpcom"),help:__("Sets a minimum height for the block, using a percentage of the screen's current height.","jetpack-mu-wpcom"),value:x,onChange:e=>t({minHeight:e}),min:0,max:100,required:!0})),React.createElement(a.PanelBody,{title:__("Post Control Settings","jetpack-mu-wpcom")},S&&React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Subtitle","jetpack-mu-wpcom"),checked:P,onChange:()=>t({showSubtitle:!P})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Excerpt","jetpack-mu-wpcom"),checked:C,onChange:()=>t({showExcerpt:!C})})),C&&React.createElement(a.RangeControl,{label:__("Max number of words in excerpt","jetpack-mu-wpcom"),value:T,onChange:e=>t({excerptLength:e}),min:10,max:100}),React.createElement(a.ToggleControl,{label:__('Add a "Read More" link',"jetpack-mu-wpcom"),checked:A,onChange:()=>t({showReadMore:!A})}),A&&React.createElement(a.TextControl,{label:__('"Read More" link text',"jetpack-mu-wpcom"),value:j,placeholder:j,onChange:e=>t({readMoreLabel:e})}),React.createElement(a.RangeControl,{className:"type-scale-slider",label:__("Type Scale","jetpack-mu-wpcom"),value:O,onChange:e=>t({typeScale:e}),min:1,max:10,required:!0})),React.createElement(o.PanelColorSettings,{title:__("Color Settings","jetpack-mu-wpcom"),initialOpen:!0,colorSettings:[{value:n.color,onChange:r,label:__("Text Color","jetpack-mu-wpcom")}]}),React.createElement(a.PanelBody,{title:__("Post Meta Settings","jetpack-mu-wpcom")},React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Date","jetpack-mu-wpcom"),checked:I,onChange:()=>t({showDate:!I})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Category","jetpack-mu-wpcom"),checked:M,onChange:()=>t({showCategory:!M})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Author","jetpack-mu-wpcom"),checked:N,onChange:()=>t({showAuthor:!N})})),N&&React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Author Avatar","jetpack-mu-wpcom"),checked:L,onChange:()=>t({showAvatar:!L})}))),React.createElement(y.O,{attributes:e,setAttributes:t}),React.createElement(y.X,{attributes:e,setAttributes:t}))};componentDidMount(){this.props.triggerReflow()}componentDidUpdate(e){(0,E.pV)(e,this.props)&&this.props.triggerReflow()}componentWillUnmount(){this.props.triggerReflow()}render(){const{attributes:e,className:t,setAttributes:n,isSelected:r,latestPosts:c,textColor:i,error:l}=this.props,{showImage:y,imageShape:k,postLayout:b,mediaPosition:S,moreButton:C,moreButtonText:A,columns:j,colGap:T,typeScale:P,imageScale:O,mobileStack:I,sectionHeader:N,showCaption:L,showCategory:M,specificMode:B,textAlign:V}=e,H=(0,v.A)(t,{"is-grid":"grid"===b,"show-image":y,[`columns-${j}`]:"grid"===b,[`colgap-${T}`]:"grid"===b,[`ts-${P}`]:P,[`image-align${S}`]:y,[`is-${O}`]:y,"mobile-stack":I,[`is-${k}`]:y,"has-text-color":""!==i.color,"show-caption":L,"show-category":M,[`has-text-align-${V}`]:V,wpnbha:!0}),D=[{icon:React.createElement(u.A,{icon:p.A}),title:__("List View","jetpack-mu-wpcom"),onClick:()=>n({postLayout:"list"}),isActive:"list"===b},{icon:React.createElement(u.A,{icon:d.A}),title:__("Grid View","jetpack-mu-wpcom"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===b}],z=[{icon:React.createElement(u.A,{icon:m.A}),title:__("Show media on top","jetpack-mu-wpcom"),isActive:"top"===S,onClick:()=>n({mediaPosition:"top"})},{icon:React.createElement(u.A,{icon:f.A}),title:__("Show media on left","jetpack-mu-wpcom"),isActive:"left"===S,onClick:()=>n({mediaPosition:"left"})},{icon:React.createElement(u.A,{icon:h.A}),title:__("Show media on right","jetpack-mu-wpcom"),isActive:"right"===S,onClick:()=>n({mediaPosition:"right"})},{icon:React.createElement(u.A,{icon:g.A}),title:__("Show media behind","jetpack-mu-wpcom"),isActive:"behind"===S,onClick:()=>n({mediaPosition:"behind"})}],F=[{icon:R,title:__("Landscape Image Shape","jetpack-mu-wpcom"),isActive:"landscape"===k,onClick:()=>n({imageShape:"landscape"})},{icon:x,title:__("portrait Image Shape","jetpack-mu-wpcom"),isActive:"portrait"===k,onClick:()=>n({imageShape:"portrait"})},{icon:_,title:__("Square Image Shape","jetpack-mu-wpcom"),isActive:"square"===k,onClick:()=>n({imageShape:"square"})},{icon:React.createElement(u.A,{icon:w.A}),title:__("Uncropped","jetpack-mu-wpcom"),isActive:"uncropped"===k,onClick:()=>n({imageShape:"uncropped"})}];return React.createElement(s.Fragment,null,React.createElement("div",{className:H,style:{color:i.color}},React.createElement("div",null,c&&(!o.RichText.isEmpty(N)||r)&&React.createElement(o.RichText,{onChange:e=>n({sectionHeader:e}),placeholder:__("Write header…","jetpack-mu-wpcom"),value:N,tagName:"h2",className:"article-section-title"}),c&&!c.length&&React.createElement(a.Placeholder,null,__("Sorry, no posts were found.","jetpack-mu-wpcom")),!c&&!l&&React.createElement(a.Placeholder,{icon:React.createElement(a.Spinner,null),className:"component-placeholder__align-center"}),!c&&l&&React.createElement(a.Placeholder,{className:"component-placeholder__align-center newspack-block--error"},l),c&&c.map((e=>this.renderPost(e))))),!B&&c&&C&&!(0,E.Wu)()&&React.createElement("div",{className:"editor-styles-wrapper wpnbha__wp-block-button__wrapper"},React.createElement("div",{className:"wp-block-button"},React.createElement(o.RichText,{placeholder:__("Load more posts","jetpack-mu-wpcom"),value:A,onChange:e=>n({moreButtonText:e}),className:"wp-block-button__link",allowedFormats:[]}))),React.createElement(o.BlockControls,null,React.createElement(a.Toolbar,null,React.createElement(o.AlignmentControl,{value:V,onChange:e=>{n({textAlign:e})}})),React.createElement(a.Toolbar,{controls:D}),y&&React.createElement(a.Toolbar,{controls:z}),y&&React.createElement(a.Toolbar,{controls:F})),React.createElement(o.InspectorControls,null,this.renderInspectorControls()))}}const A=(0,r.compose)([(0,o.withColors)({textColor:"color"}),(0,c.withSelect)(E.cR),(0,c.withDispatch)(E.Fl)])(C)},48962:(e,t,n)=>{n.d(t,{W0:()=>d});var o=n(74997),a=n(56427),r=n(52619),c=n(27723),s=n(19302),i=n(77319);const __=c.__,_x=c._x,{UU:l,uK:u,L1:p}=i,d={title:__("Homepage Posts","jetpack-mu-wpcom"),icon:{src:React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{d:"M6.5 14.25H11v-1.5H6.5zM14.5 11.25h-8v-1.5h8zM6.5 8.25h8v-1.5h-8z"}),React.createElement(a.Path,{clipRule:"evenodd",d:"M4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.272 3.728 18 4.625 18h11.75c.897 0 1.625-.728 1.625-1.625V4.625C18 3.728 17.272 3 16.375 3zm11.75 1.5H4.625a.125.125 0 00-.125.125v11.75c0 .069.056.125.125.125h11.75a.125.125 0 00.125-.125V4.625a.125.125 0 00-.125-.125z",fillRule:"evenodd"}),React.createElement(a.Path,{d:"M20.25 8v11c0 .69-.56 1.25-1.249 1.25H6v1.5h13.001A2.749 2.749 0 0021.75 19V8z"})),foreground:"#36f"},attributes:u,category:p,keywords:[__("posts","jetpack-mu-wpcom"),__("articles","jetpack-mu-wpcom"),__("latest","jetpack-mu-wpcom")],description:__("A block for displaying homepage posts.","jetpack-mu-wpcom"),styles:[{name:"default",label:_x("Default","block style","jetpack-mu-wpcom"),isDefault:!0},{name:"borders",label:_x("Borders","block style","jetpack-mu-wpcom")}],supports:{html:!1,align:["wide","full"],default:""},edit:s.A,save:()=>null,transforms:{from:[{type:"block",blocks:["core/latest-posts"],transform:({displayPostContent:e,displayPostDate:t,postLayout:n,columns:a,postsToShow:c,categories:s})=>(0,o.createBlock)((0,r.applyFilters)("blocks.transforms_from_name","newspack-blocks/homepage-articles"),{showExcerpt:e,showDate:t,postLayout:n,columns:a,postsToShow:c,showAuthor:!1,categories:s?[s]:[]})}],to:[{type:"block",blocks:["core/latest-posts"],transform:({showExcerpt:e,showDate:t,postLayout:n,columns:a,postsToShow:r,categories:c})=>(0,o.createBlock)("core/latest-posts",{displayPostContent:e,displayPostDate:t,postLayout:n,columns:a,postsToShow:r,categories:c[0]||""})}]}}},99971:(e,t,n)=>{n.d(t,{C:()=>f,n:()=>x});var o=n(1455),a=n.n(o),r=n(47143),c=n(93832),s=n(66087),i=n(26556),l=n(21594),u=n(11003),p=n(77319),d=n(63673);const{UU:m}=p,f=`newspack-blocks/${m}`,h={postsByBlock:{},errorsByBlock:{}},g={reflow:()=>{y.dispatch({type:"REFLOW"})}},w={getPosts:({clientId:e})=>y.getState().postsByBlock[e],getError:({clientId:e})=>y.getState().errorsByBlock[e],isUIDisabled:()=>y.getState().isUIDisabled},v=(0,l.Ay)(),y=(0,i.y$)(((e=h,t)=>{switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,i.Tw)(v)),k={getSelectors:()=>w,getActions:()=>g,...y},b={},E=JSON.stringify;function*S(e){const t=E(e.postsQuery),n=window.newspack_blocks_data.posts_rest_url;let o=b[t];if(void 0===o){const r=(0,c.addQueryArgs)(n,{...e.postsQuery,context:"edit"});o=yield(0,u.T1)(a(),{url:r}),b[t]=o}const r=o.map((e=>e.id));return yield(0,u.yJ)({type:"UPDATE_BLOCK_POSTS",clientId:e.clientId,posts:o}),r}function R(e){const{getBlock:t}=(0,r.select)("core/block-editor"),n=t(e);return n?.attributes?.deduplicate}const x=e=>{(0,r.register)({name:f,instantiate:()=>k}),v.run((e=>{function*t(){yield(0,u.cb)(300);const{getBlocks:t}=(0,r.select)("core/block-editor"),{getCurrentPostId:n}=(0,r.select)("core/editor");yield(0,u.yJ)({type:"DISABLE_UI"});const o=t().map((e=>{const t=(0,r.select)("core/block-editor").getBlocks(e.clientId);return{...e,innerBlocks:t}})),a=(0,d.yG)(o,e),c=a.reduce(((e,{clientId:t,postsQuery:n})=>(R(t)&&n.include&&(e=[...e,...n.include]),e)),[]);let s=(0,d.kN)([...c,n()]);for(;a.length;){const e=a.shift(),t=R(e.clientId);t&&(e.postsQuery.exclude=s);let n=[];try{n=yield(0,u.T1)(S,e)}catch(t){yield(0,u.yJ)({type:"UPDATE_BLOCK_ERROR",clientId:e.clientId,error:t.message})}t&&(s=[...s,...n])}yield(0,u.yJ)({type:"ENABLE_UI"})}return function*(){yield(0,u.p8)("REFLOW",t)}})(e))}},63673:(e,t,n)=>{n.d(t,{Fl:()=>w,Wu:()=>c,cR:()=>g,kN:()=>l,pV:()=>i,yG:()=>p});var o=n(27723),a=n(66087),r=n(99971);const __=o.__,c=()=>"object"==typeof window&&window.wpcomGutenberg&&-1===Number(window.wpcomGutenberg.blogPublic),s=["postsToShow","authors","categories","includeSubcategories","excerptLength","tags","customTaxonomies","showExcerpt","specificPosts","specificMode","tagExclusions","categoryExclusions","customTaxonomyExclusions","postType","includedPostStatuses","deduplicate","showCaption","showCredit"],i=(e,t)=>!(0,a.isEqual)((0,a.pick)(e.attributes,s),(0,a.pick)(t.attributes,s))||!(0,a.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder),l=e=>e.map((e=>parseInt(e))).filter((e=>e>0)),u=e=>(0,a.pickBy)(e,(e=>!(0,a.isUndefined)(e)&&!(0,a.isNull)(e))),p=(e,t)=>e.flatMap((e=>{const n=[];if(t.indexOf(e.name)>=0){const t=(e=>{const{postsToShow:t,authors:n,categories:o,includeSubcategories:r,excerptLength:c,postType:i,showExcerpt:p,showCaption:d,showCredit:m,tags:f,customTaxonomies:h,specificPosts:g=[],specificMode:w,tagExclusions:v,categoryExclusions:y,customTaxonomyExclusions:k,includedPostStatuses:b}=(0,a.pick)(e,s),E=l(g),S=w&&E&&E.length,R=(0,a.pickBy)(S?{include:E,postsToShow:g.length,postType:i}:{postsToShow:t,categories:u(o),includeSubcategories:r,authors:u(n),tags:u(f),tagExclusions:u(v),categoryExclusions:u(y),customTaxonomyExclusions:k,customTaxonomies:h,postType:i,includedPostStatuses:b},(e=>!(0,a.isUndefined)(e)));return R.excerptLength=c,R.showExcerpt=p,R.showCaption=d,R.showCredit=m,R})(e.attributes);n.push({postsQuery:t,clientId:e.clientId})}return n.concat(p(e.innerBlocks,t))})),d=e=>e.flatMap((e=>{const t=[];return t.push(e.clientId),t.concat(d(e.innerBlocks))})),m=window.newspack_blocks_data.assets_path,f=e=>{const t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"

"+__("The post content.","jetpack-mu-wpcom")+"

"},date:t.toISOString(),date_formatted:t.toLocaleString(),article_meta_footer:"",excerpt:{rendered:"

"+__("The post excerpt.","jetpack-mu-wpcom")+"

"},post_link:"/",featured_media:"1",id:e,post_type:"post",meta:{newspack_post_subtitle:__("Post Subtitle","jetpack-mu-wpcom")},title:{rendered:__("Post Title","jetpack-mu-wpcom")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","jetpack-mu-wpcom"),avatar:'
',id:1,author_link:"/"}],newspack_category_info:__("Category","jetpack-mu-wpcom"),newspack_featured_image_caption:__("Featured image caption","jetpack-mu-wpcom"),newspack_featured_image_src:{large:`${m}/newspack-1024x536.jpg`,landscape:`${m}/newspack-800x600.jpg`,portrait:`${m}/newspack-600x800.jpg`,square:`${m}/newspack-800x800.jpg`,uncropped:`${m}/newspack-1024x536.jpg`},newspack_has_custom_excerpt:!1,newspack_sponsors_show_categories:!1,newspack_sponsors_show_author:!1}},h=e=>(0,a.times)(e.postsToShow,f),g=(e,{clientId:t,attributes:n})=>{const{getBlocks:o}=e("core/block-editor"),{getEditedPostAttribute:a}=e("core/editor"),c=a("blocks")||[],s=[];for(const e of c)"core/block"===e.name?s.push(...o(e.clientId)):s.push(e);const i=d(s),l=o(),u=l.some((e=>"core/widget-area"===e.name)),p=0===i.length||i.indexOf(t)>=0||u,{getPosts:m,getError:f,isUIDisabled:g}=e(r.C);return{isEditorBlock:p,isUIDisabled:g(),error:f({clientId:t}),topBlocksClientIdsInOrder:l.map((e=>e.clientId)),latestPosts:p?m({clientId:t}):h(n)}},w=(e,{isEditorBlock:t})=>({triggerReflow:t?e(r.C).reflow:()=>{}})},55811:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(56427),a=n(86087),r=n(66087);class c extends a.Component{constructor(e){super(e),this.state={suggestions:[],validValues:{},loading:this.isFetchingInfoOnLoad()},this.debouncedUpdateSuggestions=(0,r.debounce)(this.updateSuggestions,500)}isFetchingInfoOnLoad=()=>{const{tokens:e,fetchSavedInfo:t}=this.props;return Boolean(e.length&&t)};componentDidMount(){if(this.isFetchingInfoOnLoad()){const{tokens:e,fetchSavedInfo:t}=this.props;t(e).then((e=>{const{validValues:t}=this.state;e.forEach((e=>{t[e.value]=e.label})),this.setState({validValues:t,loading:!1})}))}}componentWillUnmount(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}getLabelsForValues(e){const{validValues:t}=this.state;return e.reduce(((e,n)=>t[n]?[...e,t[n]]:e),[])}getValuesForLabels(e){const{validValues:t}=this.state;return e.map((e=>Object.keys(t).find((n=>t[n]===e)))).filter((e=>!!e))}updateSuggestions(e){const{fetchSuggestions:t}=this.props;t&&this.setState({loading:!0},(()=>{const n=t(e);n.then((e=>{if(this.suggestionsRequest!==n)return;const{validValues:t}=this.state,o=[];e.forEach((e=>{const n=e.label.trim();o.indexOf(n)>=0&&(e.label=`${n} (${e.value})`),o.push(n),t[e.value]=n})),this.setState({suggestions:o,validValues:t,loading:!1})})).catch((()=>{this.suggestionsRequest===n&&this.setState({loading:!1})})),this.suggestionsRequest=n}))}handleOnChange(e){const{onChange:t}=this.props;t(this.getValuesForLabels(e))}getTokens(){const{tokens:e}=this.props;return this.getLabelsForValues(e)}render(){const{help:e,label:t=""}=this.props,{suggestions:n,loading:a}=this.state;return React.createElement("div",{className:"autocomplete-tokenfield"},React.createElement(o.FormTokenField,{value:this.getTokens(),suggestions:n,onChange:e=>this.handleOnChange(e),onInputChange:e=>this.debouncedUpdateSuggestions(e),label:t}),a&&React.createElement(o.Spinner,null),e&&React.createElement("p",{className:"autocomplete-tokenfield__help"},e))}}const s=c},32840:(e,t,n)=>{n.d(t,{O:()=>s,X:()=>i});var o=n(56427),a=n(47143),r=n(27723);const __=r.__,c=({options:e,values:t,onChange:n})=>Array.isArray(e)?e.map((({name:e,slug:a})=>React.createElement(o.PanelRow,{key:a},React.createElement(o.CheckboxControl,{label:e,checked:t.indexOf(a)>-1,onChange:e=>{const o=[...new Set(t)];e&&-1===o.indexOf(a)?o.push(a):!e&&o.indexOf(a)>-1&&o.splice(o.indexOf(a),1),n(o)}})))):React.createElement(o.Spinner,null),s=({attributes:e,setAttributes:t})=>{const{availablePostTypes:n}=(0,a.useSelect)((e=>{const{getPostTypes:t}=e("core"),n=__("Listings","jetpack-mu-wpcom");return{availablePostTypes:t({per_page:-1})?.filter((({supports:{newspack_blocks:e}})=>e))?.map((e=>(0===e.slug.indexOf("newspack_lst")&&"newspack_lst_generic"!==e.slug&&-1===e.name.indexOf(n)&&(e.name=`${e.name} ${n}`),e)))}}));return React.createElement(o.PanelBody,{title:__("Post Types","jetpack-mu-wpcom")},React.createElement(c,{options:n,values:e.postType,onChange:e=>t({postType:e})}))},i=({attributes:e,setAttributes:t})=>React.createElement(o.PanelBody,{title:__("Additional Post Statuses","jetpack-mu-wpcom")},React.createElement(o.PanelRow,null,React.createElement("i",null,__("Selection here has effect only for editors, regular users will only see published posts.","jetpack-mu-wpcom"))),React.createElement(c,{values:e.includedPostStatuses,options:[{name:"Draft",slug:"draft"},{name:"Scheduled",slug:"future"}],onChange:e=>t({includedPostStatuses:e})}))},82142:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(1455),a=n.n(o),r=n(56427),c=n(86087),s=n(18537),i=n(27723),l=n(93832),u=n(55811);const __=i.__,p=e=>(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom"),d=e=>(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom");class m extends c.Component{state={showAdvancedFilters:!1};fetchPostSuggestions=e=>{const{postType:t}=this.props,n=window.newspack_blocks_data.specific_posts_rest_url;return a()({url:(0,l.addQueryArgs)(n,{search:e,postsToShow:20,_fields:"id,title",type:"post",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.title)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchSavedPosts=e=>{const{postType:t}=this.props,n=window.newspack_blocks_data.posts_rest_url;return a()({url:(0,l.addQueryArgs)(n,{postsToShow:100,include:e.join(","),_fields:"id,title",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.title.rendered)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchAuthorSuggestions=e=>{const t=window.newspack_blocks_data.authors_rest_url;return a()({url:(0,l.addQueryArgs)(t,{search:e,per_page:20,fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchSavedAuthors=e=>{const t=window.newspack_blocks_data.authors_rest_url;return a()({url:(0,l.addQueryArgs)(t,{per_page:100,include:e.join(","),fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchCategorySuggestions=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((e=>Promise.all(e.map((e=>e.parent>0?a()({path:(0,l.addQueryArgs)(`/wp/v2/categories/${e.parent}`,{_fields:"name"})}).then((t=>({value:e.id,label:`${p(e)} – ${p(t)}`}))):Promise.resolve({value:e.id,label:p(e)}))))));fetchSavedCategories=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchTagSuggestions=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchSavedTags=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchCustomTaxonomiesSuggestions=(e,t)=>a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}`,{search:t,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((t=>Promise.all(t.map((t=>t.parent>0?a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}/${t.parent}`,{_fields:"name"})}).then((e=>({value:t.id,label:`${d(t)} – ${d(e)}`}))):Promise.resolve({value:t.id,label:d(t)}))))));fetchSavedCustomTaxonomies=(e,t)=>a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}`,{per_page:100,_fields:"id,name",include:t.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));render=()=>{const{specificMode:e,onSpecificModeChange:t,specificPosts:n,onSpecificPostsChange:o,authors:a,onAuthorsChange:c,categories:s,onCategoriesChange:l,includeSubcategories:p,onIncludeSubcategoriesChange:d,tags:m,onTagsChange:f,customTaxonomies:h,onCustomTaxonomiesChange:g,tagExclusions:w,onTagExclusionsChange:v,categoryExclusions:y,onCategoryExclusionsChange:k,customTaxonomyExclusions:b,onCustomTaxonomyExclusionsChange:E,enableSpecific:S}=this.props,{showAdvancedFilters:R}=this.state,x=window.newspack_blocks_data?.custom_taxonomies,_=(e,t,n,o)=>{let a=e.filter((e=>e.slug!==n));a=[...a,{slug:n,terms:o}],t(a)},C=(e,t)=>{const n=e.find((e=>e.slug===t));return n?n.terms:[]};return React.createElement(React.Fragment,null,S&&React.createElement(r.ToggleControl,{checked:e,onChange:t,label:__("Choose Specific Posts","jetpack-mu-wpcom")}),e?React.createElement(u.A,{tokens:n||[],onChange:o,fetchSuggestions:this.fetchPostSuggestions,fetchSavedInfo:this.fetchSavedPosts,label:__("Posts","jetpack-mu-wpcom"),help:__("Begin typing post title, click autocomplete result to select.","jetpack-mu-wpcom")}):React.createElement(React.Fragment,null,React.createElement(r.QueryControls,this.props),c&&React.createElement(u.A,{tokens:a||[],onChange:c,fetchSuggestions:this.fetchAuthorSuggestions,fetchSavedInfo:this.fetchSavedAuthors,label:__("Authors","jetpack-mu-wpcom")}),l&&React.createElement(u.A,{tokens:s||[],onChange:l,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Categories","jetpack-mu-wpcom")}),d&&React.createElement(r.ToggleControl,{checked:p,onChange:d,label:__("Include subcategories ","jetpack-mu-wpcom")}),f&&React.createElement(u.A,{tokens:m||[],onChange:f,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Tags","jetpack-mu-wpcom")}),g&&x.map((e=>React.createElement(u.A,{key:`${h[e.slug]}-selector`,tokens:C(h,e.slug),onChange:t=>{_(h,g,e.slug,t)},fetchSuggestions:t=>this.fetchCustomTaxonomiesSuggestions(e.slug,t),fetchSavedInfo:t=>this.fetchSavedCustomTaxonomies(e.slug,t),label:e.label}))),v&&React.createElement("p",null,React.createElement(r.Button,{isLink:!0,onClick:()=>this.setState({showAdvancedFilters:!R})},R?__("Hide Advanced Filters","jetpack-mu-wpcom"):__("Show Advanced Filters","jetpack-mu-wpcom",0))),R&&React.createElement(React.Fragment,null,v&&React.createElement(u.A,{tokens:w||[],onChange:v,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Excluded Tags","jetpack-mu-wpcom")}),k&&React.createElement(u.A,{tokens:y||[],onChange:k,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Excluded Categories","jetpack-mu-wpcom")}),x&&E&&x.map((({label:e,slug:t})=>React.createElement(u.A,{fetchSavedInfo:e=>this.fetchSavedCustomTaxonomies(t,e),fetchSuggestions:e=>this.fetchCustomTaxonomiesSuggestions(t,e),key:`${t}-exclusions-selector`,label:(0,i.sprintf)( +(()=>{"use strict";var e={7908:(e,t,n)=>{n.d(t,{A:()=>O,B:()=>C,C:()=>N,D:()=>w,E:()=>k,F:()=>M,G:()=>U,H:()=>l,J:()=>B,L:()=>$,M:()=>W,N:()=>X,O:()=>K,P:()=>P,Q:()=>Y,R:()=>I,S:()=>H,T:()=>T,Z:()=>G,a:()=>L,b:()=>V,d:()=>D,e:()=>j,f:()=>z,g:()=>F,h:()=>q,i:()=>v,j:()=>x,k:()=>s,l:()=>R,m:()=>y,o:()=>m,p:()=>u,q:()=>g,r:()=>d,s:()=>S,t:()=>i,u:()=>p,v:()=>_,y:()=>E,z:()=>b});var o=n(8817),a=n(7790),r=n(3229),c=n(9461),s=function(e){return function(){return e}}(!0),i=function(){};var l=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var u=function(e,t){(0,a.A)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},p=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function d(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function m(e){var t=!1;return function(){t||(t=!0,e())}}var f=function(e){throw e},h=function(e){return{value:e,done:!0}};function g(e,t,n){void 0===t&&(t=f),void 0===n&&(n="iterator");var o={meta:{name:n},next:e,throw:t,return:h,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o}),o}function w(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var v=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},y=function(e){return Array.apply(null,new Array(e))},k=function(e){return function(t){return e(Object.defineProperty(t,o.q8,{value:!0}))}},b=function(e){return e===o.a6},E=function(e){return e===o.nm},S=function(e){return b(e)||E(e)};function R(e,t){var n=Object.keys(e),o=n.length;var a,c=0,s=(0,r.YO)(e)?y(o):{},l={};return n.forEach((function(e){var n=function(n,r){a||(r||S(n)?(t.cancel(),t(n,r)):(s[e]=n,++c===o&&(a=!0,t(s))))};n.cancel=i,l[e]=n})),t.cancel=function(){a||(a=!0,n.forEach((function(e){return l[e].cancel()})))},l}function x(e){return{name:e.name||"anonymous",location:_(e)}}function _(e){return e[o.x2]}function C(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o1?t-1:0),o=1;o{n.d(t,{Ay:()=>K});var o=n(8817),a=n(7790),r=n(4001),c=n(3229),s=n(7908),i=n(8527),l=[],u=0;function p(e){try{f(),e()}finally{h()}}function d(e){l.push(e),u||(f(),g())}function m(e){try{return f(),e()}finally{g()}}function f(){u++}function h(){u--}function g(){var e;for(h();!u&&void 0!==(e=l.shift());)p(e)}var w=function(e){return function(t){return e.some((function(e){return E(e)(t)}))}},v=function(e){return function(t){return e(t)}},y=function(e){return function(t){return t.type===String(e)}},k=function(e){return function(t){return t.type===e}},b=function(){return s.k};function E(e){var t="*"===e?b:(0,c.Yj)(e)?y:(0,c.YO)(e)?w:(0,c.mr)(e)?y:(0,c.Pc)(e)?v:(0,c.HR)(e)?k:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var S={type:o.x7},R=function(e){return e&&e.type===o.x7};function x(e){void 0===e&&(e=(0,s.e)());var t=!1,n=[];return{take:function(o){t&&e.isEmpty()?o(S):e.isEmpty()?(n.push(o),o.cancel=function(){(0,s.r)(n,o)}):o(e.take())},put:function(o){if(!t){if(0===n.length)return e.put(o);n.shift()(o)}},flush:function(n){t&&e.isEmpty()?n(S):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var o=0,a=e.length;o2?f-2:0),g=2;g{n.d(t,{T1:()=>a.O,cb:()=>a.Q,p8:()=>u,yJ:()=>a.Z});var o=n(3229),a=n(7908),r=function(e){return{done:!0,value:e}},c={};function s(e){return(0,o.Ix)(e)?"channel":(0,o.mr)(e)?String(e):(0,o.Pc)(e)?e.name:String(e)}function i(e,t,n){var o,s,i,l=t;function u(t,n){if(l===c)return r(t);if(n&&!s)throw l=c,n;o&&o(t);var a=n?e[s](n):e[l]();return l=a.nextState,i=a.effect,o=a.stateUpdater,s=a.errorState,l===c?r(t):i}return(0,a.q)(u,(function(e){return u(null,e)}),n)}function l(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r2?n-2:0),r=2;r{function o(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}n.d(t,{A:()=>a});const a=o},9461:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(8817);const a=function(e,t){var n;void 0===t&&(t=!0);var a=new Promise((function(o){n=setTimeout(o,Math.min(2147483647,e),t)}));return a[o.bO]=function(){clearTimeout(n)},a}},3229:(e,t,n)=>{n.d(t,{HR:()=>f,Ix:()=>d,Pc:()=>c,T1:()=>p,YO:()=>i,Yj:()=>s,fD:()=>h,iv:()=>l,lJ:()=>u,mr:()=>m,uQ:()=>r,vD:()=>a});var o=n(8817),a=function(e){return null==e},r=function(e){return null!=e},c=function(e){return"function"==typeof e},s=function(e){return"string"==typeof e},i=Array.isArray,l=function(e){return e&&c(e.then)},u=function(e){return e&&c(e.next)&&c(e.throw)},p=function e(t){return t&&(s(t)||f(t)||c(t)||i(t)&&t.every(e))},d=function(e){return e&&c(e.take)&&c(e.close)},m=function(e){return c(e)&&e.hasOwnProperty("toString")},f=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},h=function(e){return d(e)&&e[o.Xl]}},8817:(e,t,n)=>{n.d(t,{E_:()=>s,IO:()=>c,Pe:()=>u,Xl:()=>i,a6:()=>m,bO:()=>a,nm:()=>d,q8:()=>l,wn:()=>p,x2:()=>f,x7:()=>r});var o=function(e){return"@@redux-saga/"+e},a=o("CANCEL_PROMISE"),r=o("CHANNEL_END"),c=o("IO"),s=o("MATCH"),i=o("MULTICAST"),l=o("SAGA_ACTION"),u=o("SELF_CANCELLATION"),p=o("TASK"),d=o("TASK_CANCEL"),m=o("TERMINATE"),f=o("LOCATION")},1113:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(6087);const a=(0,o.forwardRef)((function({icon:e,size:t=24,...n},a){return(0,o.cloneElement)(e,{width:t,height:t,...n,ref:a})}))},9761:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},9662:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})})},1651:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})})},5938:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(790);const r=(0,a.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})})},4424:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})})},2812:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})})},8887:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(5573),a=n(790);const r=(0,a.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(o.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})})},1594:(e,t,n)=>{n.d(t,{Ay:()=>o});const o=n(3095).Ay},1003:(e,t,n)=>{n.d(t,{T1:()=>o.T1,cb:()=>o.cb,p8:()=>o.p8,yJ:()=>o.yJ});var o=n(9906)},6556:(e,t,n)=>{n.d(t,{Tw:()=>p,y$:()=>l});var o=n(4021);function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var r="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(l)(e,t)}if("function"!=typeof e)throw new Error(a(2));var c=e,u=t,p=[],d=p,m=!1;function f(){d===p&&(d=p.slice())}function h(){if(m)throw new Error(a(3));return u}function g(e){if("function"!=typeof e)throw new Error(a(4));if(m)throw new Error(a(5));var t=!0;return f(),d.push(e),function(){if(t){if(m)throw new Error(a(6));t=!1,f();var n=d.indexOf(e);d.splice(n,1),p=null}}}function w(e){if(!i(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(m)throw new Error(a(9));try{m=!0,u=c(u,e)}finally{m=!1}for(var t=p=d,n=0;n{n.d(t,{t:()=>o});const o="a8c/posts-carousel"},9302:(e,t,n)=>{n.d(t,{A:()=>A});var o=n(4715),a=n(6427),r=n(9491),c=n(7143),s=n(6087),i=n(8537),l=n(7723),u=n(1113),p=n(9761),d=n(1651),m=n(4424),f=n(2812),h=n(8887),g=n(5938),w=n(9662),v=n(3022),y=n(2840),k=n(2142),b=n(9661),E=n(3673);const __=l.__;let S;"object"==typeof window&&window.newspack_blocks_data&&window.newspack_blocks_data.post_subtitle&&(S=!0);const R=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M18.714 7.5H5.286a.786.786 0 00-.786.786v7.428c0 .434.352.786.786.786h13.428a.786.786 0 00.786-.786V8.286a.786.786 0 00-.786-.786zM5.286 6A2.286 2.286 0 003 8.286v7.428A2.286 2.286 0 005.286 18h13.428A2.286 2.286 0 0021 15.714V8.286A2.286 2.286 0 0018.714 6H5.286z",fillRule:"evenodd"})),x=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M15.714 4.5H8.286a.786.786 0 00-.786.786v13.428c0 .434.352.786.786.786h7.428a.786.786 0 00.786-.786V5.286a.786.786 0 00-.786-.786zM8.286 3A2.286 2.286 0 006 5.286v13.428A2.286 2.286 0 008.286 21h7.428A2.286 2.286 0 0018 18.714V5.286A2.286 2.286 0 0015.714 3H8.286z",fillRule:"evenodd"})),_=React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{clipRule:"evenodd",d:"M18.714 4.5H5.286a.786.786 0 00-.786.786v13.428c0 .434.352.786.786.786h13.428a.786.786 0 00.786-.786V5.286a.786.786 0 00-.786-.786zM5.286 3A2.286 2.286 0 003 5.286v13.428A2.286 2.286 0 005.286 21h13.428A2.286 2.286 0 0021 18.714V5.286A2.286 2.286 0 0018.714 3H5.286z",fillRule:"evenodd"}));class C extends s.Component{renderPost=e=>{const{attributes:t,isUIDisabled:n}=this.props,{showImage:a,imageShape:r,mediaPosition:c,minHeight:l,showCaption:u,showCredit:p,showExcerpt:d,showReadMore:m,readMoreLabel:f,showSubtitle:h,showAuthor:g,showAvatar:w,showDate:y,showCategory:k,sectionHeader:E}=t,R={minHeight:"behind"===c&&a&&e.newspack_featured_image_src&&l+"vh"||void 0,paddingTop:"behind"===c&&a&&e.newspack_featured_image_src&&l/5+"vh"||void 0},x=(0,v.A)({"post-has-image":e.newspack_featured_image_src,"newspack-block--disabled":n},e.newspack_article_classes),_=this.titleForPost(e);return React.createElement("article",{className:x,key:e.id,style:R},(0,b.X8)(e),a&&e.newspack_featured_image_src&&React.createElement("figure",{className:"post-thumbnail",key:"thumbnail"},React.createElement("a",{href:"#"},"landscape"===r&&React.createElement("img",{src:e.newspack_featured_image_src.landscape,alt:""}),"portrait"===r&&React.createElement("img",{src:e.newspack_featured_image_src.portrait,alt:""}),"square"===r&&React.createElement("img",{src:e.newspack_featured_image_src.square,alt:""}),"uncropped"===r&&React.createElement("img",{src:e.newspack_featured_image_src.uncropped,alt:""})),(u||p)&&React.createElement("div",{dangerouslySetInnerHTML:{__html:e.newspack_featured_image_caption}})),React.createElement("div",{className:"entry-wrapper"},(e.newspack_post_sponsors||k&&0e.title?"object"==typeof e.title&&e.title.rendered?(0,i.decodeEntities)(e.title.rendered.trim()):void 0:"";renderInspectorControls=()=>{const{attributes:e,setAttributes:t,textColor:n,setTextColor:r}=this.props,{authors:c,specificPosts:i,postsToShow:l,categories:u,includeSubcategories:p,customTaxonomies:d,columns:m,colGap:f,postType:h,showImage:g,showCaption:w,showCredit:v,imageScale:b,mobileStack:R,minHeight:x,moreButton:_,showExcerpt:C,showReadMore:A,readMoreLabel:j,excerptLength:T,showSubtitle:P,typeScale:O,showDate:I,showAuthor:N,showAvatar:L,showCategory:M,postLayout:B,mediaPosition:V,specificMode:H,tags:D,tagExclusions:z,categoryExclusions:F,customTaxonomyExclusions:U}=e,q=[{value:1,label:/* translators: label for small size option */__("Small","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for small size */__("S","jetpack-mu-wpcom")},{value:2,label:/* translators: label for medium size option */__("Medium","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for medium size */__("M","jetpack-mu-wpcom")},{value:3,label:/* translators: label for large size option */__("Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for large size */__("L","jetpack-mu-wpcom")},{value:4,label:/* translators: label for extra large size option */__("Extra Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for extra large size */__("XL","jetpack-mu-wpcom")}],Q=[{value:1,label:/* translators: label for small size option */__("Small","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for small size */__("S","jetpack-mu-wpcom")},{value:2,label:/* translators: label for medium size option */__("Medium","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for medium size */__("M","jetpack-mu-wpcom")},{value:3,label:/* translators: label for large size option */__("Large","jetpack-mu-wpcom"),shortName:/* translators: abbreviation for large size */__("L","jetpack-mu-wpcom")}],$=e=>n=>t({[e]:n});return React.createElement(s.Fragment,null,React.createElement(a.PanelBody,{title:__("Display Settings","jetpack-mu-wpcom"),initialOpen:!0},React.createElement(k.A,{numberOfItems:l,onNumberOfItemsChange:e=>t({postsToShow:e||1}),specificMode:H,onSpecificModeChange:$("specificMode"),specificPosts:i,onSpecificPostsChange:$("specificPosts"),authors:c,onAuthorsChange:$("authors"),categories:u,onCategoriesChange:$("categories"),includeSubcategories:p,onIncludeSubcategoriesChange:$("includeSubcategories"),tags:D,onTagsChange:$("tags"),onCustomTaxonomiesChange:$("customTaxonomies"),customTaxonomies:d,tagExclusions:z,onTagExclusionsChange:$("tagExclusions"),categoryExclusions:F,onCategoryExclusionsChange:$("categoryExclusions"),customTaxonomyExclusions:U,onCustomTaxonomyExclusionsChange:$("customTaxonomyExclusions"),postType:h}),"grid"===B&&React.createElement(s.Fragment,null,React.createElement(a.RangeControl,{label:__("Columns","jetpack-mu-wpcom"),value:m,onChange:$("columns"),min:2,max:6,required:!0}),React.createElement(a.BaseControl,{label:__("Columns Gap","jetpack-mu-wpcom"),id:"newspackcolumns-col-gap"},React.createElement(a.PanelRow,null,React.createElement(a.ButtonGroup,{id:"newspackcolumns-col-gap","aria-label":__("Columns Gap","jetpack-mu-wpcom")},Q.map((e=>{const n=f===e.value;return React.createElement(a.Button,{isPrimary:n,"aria-pressed":n,"aria-label":e.label,key:e.value,onClick:()=>t({colGap:e.value})},e.shortName)})))))),!H&&(0,E.Wu)()?React.createElement("i",null,__('This blog is private, therefore the "Load more posts" feature is not active.',"jetpack-mu-wpcom")):!H&&React.createElement(a.ToggleControl,{label:__('Show "Load more posts" Button',"jetpack-mu-wpcom"),checked:_,onChange:()=>t({moreButton:!_})}),React.createElement(a.ToggleControl,{label:__("Allow duplicate stories","jetpack-mu-wpcom"),help:__("If checked, this block will be excluded from the page's de-duplication logic. Duplicate stories may appear.","jetpack-mu-wpcom"),checked:!e.deduplicate,onChange:e=>t({deduplicate:!e}),className:"newspack-blocks-deduplication-toggle"})),React.createElement(a.PanelBody,{title:__("Featured Image Settings","jetpack-mu-wpcom")},React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image","jetpack-mu-wpcom"),checked:g,onChange:()=>t({showImage:!g})})),g&&React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image Caption","jetpack-mu-wpcom"),checked:w,onChange:()=>t({showCaption:!w})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Featured Image Credit","jetpack-mu-wpcom"),checked:v,onChange:()=>t({showCredit:!v})}))),g&&"top"!==V&&"behind"!==V&&React.createElement(s.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Stack on mobile","jetpack-mu-wpcom"),checked:R,onChange:()=>t({mobileStack:!R})})),React.createElement(a.BaseControl,{label:__("Featured Image Size","jetpack-mu-wpcom"),id:"newspackfeatured-image-size"},React.createElement(a.PanelRow,null,React.createElement(a.ButtonGroup,{id:"newspackfeatured-image-size","aria-label":__("Featured Image Size","jetpack-mu-wpcom")},q.map((e=>{const n=b===e.value;return React.createElement(a.Button,{isPrimary:n,"aria-pressed":n,"aria-label":e.label,key:e.value,onClick:()=>t({imageScale:e.value})},e.shortName)})))))),g&&"behind"===V&&React.createElement(a.RangeControl,{label:__("Minimum height","jetpack-mu-wpcom"),help:__("Sets a minimum height for the block, using a percentage of the screen's current height.","jetpack-mu-wpcom"),value:x,onChange:e=>t({minHeight:e}),min:0,max:100,required:!0})),React.createElement(a.PanelBody,{title:__("Post Control Settings","jetpack-mu-wpcom")},S&&React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Subtitle","jetpack-mu-wpcom"),checked:P,onChange:()=>t({showSubtitle:!P})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Excerpt","jetpack-mu-wpcom"),checked:C,onChange:()=>t({showExcerpt:!C})})),C&&React.createElement(a.RangeControl,{label:__("Max number of words in excerpt","jetpack-mu-wpcom"),value:T,onChange:e=>t({excerptLength:e}),min:10,max:100}),React.createElement(a.ToggleControl,{label:__('Add a "Read More" link',"jetpack-mu-wpcom"),checked:A,onChange:()=>t({showReadMore:!A})}),A&&React.createElement(a.TextControl,{label:__('"Read More" link text',"jetpack-mu-wpcom"),value:j,placeholder:j,onChange:e=>t({readMoreLabel:e})}),React.createElement(a.RangeControl,{className:"type-scale-slider",label:__("Type Scale","jetpack-mu-wpcom"),value:O,onChange:e=>t({typeScale:e}),min:1,max:10,required:!0})),React.createElement(o.PanelColorSettings,{title:__("Color Settings","jetpack-mu-wpcom"),initialOpen:!0,colorSettings:[{value:n.color,onChange:r,label:__("Text Color","jetpack-mu-wpcom")}]}),React.createElement(a.PanelBody,{title:__("Post Meta Settings","jetpack-mu-wpcom")},React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Date","jetpack-mu-wpcom"),checked:I,onChange:()=>t({showDate:!I})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Category","jetpack-mu-wpcom"),checked:M,onChange:()=>t({showCategory:!M})})),React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Author","jetpack-mu-wpcom"),checked:N,onChange:()=>t({showAuthor:!N})})),N&&React.createElement(a.PanelRow,null,React.createElement(a.ToggleControl,{label:__("Show Author Avatar","jetpack-mu-wpcom"),checked:L,onChange:()=>t({showAvatar:!L})}))),React.createElement(y.O,{attributes:e,setAttributes:t}),React.createElement(y.X,{attributes:e,setAttributes:t}))};componentDidMount(){this.props.triggerReflow()}componentDidUpdate(e){(0,E.pV)(e,this.props)&&this.props.triggerReflow()}componentWillUnmount(){this.props.triggerReflow()}render(){const{attributes:e,className:t,setAttributes:n,isSelected:r,latestPosts:c,textColor:i,error:l}=this.props,{showImage:y,imageShape:k,postLayout:b,mediaPosition:S,moreButton:C,moreButtonText:A,columns:j,colGap:T,typeScale:P,imageScale:O,mobileStack:I,sectionHeader:N,showCaption:L,showCategory:M,specificMode:B,textAlign:V}=e,H=(0,v.A)(t,{"is-grid":"grid"===b,"show-image":y,[`columns-${j}`]:"grid"===b,[`colgap-${T}`]:"grid"===b,[`ts-${P}`]:P,[`image-align${S}`]:y,[`is-${O}`]:y,"mobile-stack":I,[`is-${k}`]:y,"has-text-color":""!==i.color,"show-caption":L,"show-category":M,[`has-text-align-${V}`]:V,wpnbha:!0}),D=[{icon:React.createElement(u.A,{icon:p.A}),title:__("List View","jetpack-mu-wpcom"),onClick:()=>n({postLayout:"list"}),isActive:"list"===b},{icon:React.createElement(u.A,{icon:d.A}),title:__("Grid View","jetpack-mu-wpcom"),onClick:()=>n({postLayout:"grid"}),isActive:"grid"===b}],z=[{icon:React.createElement(u.A,{icon:m.A}),title:__("Show media on top","jetpack-mu-wpcom"),isActive:"top"===S,onClick:()=>n({mediaPosition:"top"})},{icon:React.createElement(u.A,{icon:f.A}),title:__("Show media on left","jetpack-mu-wpcom"),isActive:"left"===S,onClick:()=>n({mediaPosition:"left"})},{icon:React.createElement(u.A,{icon:h.A}),title:__("Show media on right","jetpack-mu-wpcom"),isActive:"right"===S,onClick:()=>n({mediaPosition:"right"})},{icon:React.createElement(u.A,{icon:g.A}),title:__("Show media behind","jetpack-mu-wpcom"),isActive:"behind"===S,onClick:()=>n({mediaPosition:"behind"})}],F=[{icon:R,title:__("Landscape Image Shape","jetpack-mu-wpcom"),isActive:"landscape"===k,onClick:()=>n({imageShape:"landscape"})},{icon:x,title:__("portrait Image Shape","jetpack-mu-wpcom"),isActive:"portrait"===k,onClick:()=>n({imageShape:"portrait"})},{icon:_,title:__("Square Image Shape","jetpack-mu-wpcom"),isActive:"square"===k,onClick:()=>n({imageShape:"square"})},{icon:React.createElement(u.A,{icon:w.A}),title:__("Uncropped","jetpack-mu-wpcom"),isActive:"uncropped"===k,onClick:()=>n({imageShape:"uncropped"})}];return React.createElement(s.Fragment,null,React.createElement("div",{className:H,style:{color:i.color}},React.createElement("div",null,c&&(!o.RichText.isEmpty(N)||r)&&React.createElement(o.RichText,{onChange:e=>n({sectionHeader:e}),placeholder:__("Write header…","jetpack-mu-wpcom"),value:N,tagName:"h2",className:"article-section-title"}),c&&!c.length&&React.createElement(a.Placeholder,null,__("Sorry, no posts were found.","jetpack-mu-wpcom")),!c&&!l&&React.createElement(a.Placeholder,{icon:React.createElement(a.Spinner,null),className:"component-placeholder__align-center"}),!c&&l&&React.createElement(a.Placeholder,{className:"component-placeholder__align-center newspack-block--error"},l),c&&c.map((e=>this.renderPost(e))))),!B&&c&&C&&!(0,E.Wu)()&&React.createElement("div",{className:"editor-styles-wrapper wpnbha__wp-block-button__wrapper"},React.createElement("div",{className:"wp-block-button"},React.createElement(o.RichText,{placeholder:__("Load more posts","jetpack-mu-wpcom"),value:A,onChange:e=>n({moreButtonText:e}),className:"wp-block-button__link",allowedFormats:[]}))),React.createElement(o.BlockControls,null,React.createElement(a.Toolbar,null,React.createElement(o.AlignmentControl,{value:V,onChange:e=>{n({textAlign:e})}})),React.createElement(a.Toolbar,{controls:D}),y&&React.createElement(a.Toolbar,{controls:z}),y&&React.createElement(a.Toolbar,{controls:F})),React.createElement(o.InspectorControls,null,this.renderInspectorControls()))}}const A=(0,r.compose)([(0,o.withColors)({textColor:"color"}),(0,c.withSelect)(E.cR),(0,c.withDispatch)(E.Fl)])(C)},8962:(e,t,n)=>{n.d(t,{W0:()=>d});var o=n(4997),a=n(6427),r=n(2619),c=n(7723),s=n(9302),i=n(7319);const __=c.__,_x=c._x,{UU:l,uK:u,L1:p}=i,d={title:__("Homepage Posts","jetpack-mu-wpcom"),icon:{src:React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(a.Path,{d:"M6.5 14.25H11v-1.5H6.5zM14.5 11.25h-8v-1.5h8zM6.5 8.25h8v-1.5h-8z"}),React.createElement(a.Path,{clipRule:"evenodd",d:"M4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.272 3.728 18 4.625 18h11.75c.897 0 1.625-.728 1.625-1.625V4.625C18 3.728 17.272 3 16.375 3zm11.75 1.5H4.625a.125.125 0 00-.125.125v11.75c0 .069.056.125.125.125h11.75a.125.125 0 00.125-.125V4.625a.125.125 0 00-.125-.125z",fillRule:"evenodd"}),React.createElement(a.Path,{d:"M20.25 8v11c0 .69-.56 1.25-1.249 1.25H6v1.5h13.001A2.749 2.749 0 0021.75 19V8z"})),foreground:"#36f"},attributes:u,category:p,keywords:[__("posts","jetpack-mu-wpcom"),__("articles","jetpack-mu-wpcom"),__("latest","jetpack-mu-wpcom")],description:__("A block for displaying homepage posts.","jetpack-mu-wpcom"),styles:[{name:"default",label:_x("Default","block style","jetpack-mu-wpcom"),isDefault:!0},{name:"borders",label:_x("Borders","block style","jetpack-mu-wpcom")}],supports:{html:!1,align:["wide","full"],default:""},edit:s.A,save:()=>null,transforms:{from:[{type:"block",blocks:["core/latest-posts"],transform:({displayPostContent:e,displayPostDate:t,postLayout:n,columns:a,postsToShow:c,categories:s})=>(0,o.createBlock)((0,r.applyFilters)("blocks.transforms_from_name","newspack-blocks/homepage-articles"),{showExcerpt:e,showDate:t,postLayout:n,columns:a,postsToShow:c,showAuthor:!1,categories:s?[s]:[]})}],to:[{type:"block",blocks:["core/latest-posts"],transform:({showExcerpt:e,showDate:t,postLayout:n,columns:a,postsToShow:r,categories:c})=>(0,o.createBlock)("core/latest-posts",{displayPostContent:e,displayPostDate:t,postLayout:n,columns:a,postsToShow:r,categories:c[0]||""})}]}}},9971:(e,t,n)=>{n.d(t,{C:()=>f,n:()=>x});var o=n(1455),a=n.n(o),r=n(7143),c=n(3832),s=n(8468),i=n(6556),l=n(1594),u=n(1003),p=n(7319),d=n(3673);const{UU:m}=p,f=`newspack-blocks/${m}`,h={postsByBlock:{},errorsByBlock:{}},g={reflow:()=>{y.dispatch({type:"REFLOW"})}},w={getPosts:({clientId:e})=>y.getState().postsByBlock[e],getError:({clientId:e})=>y.getState().errorsByBlock[e],isUIDisabled:()=>y.getState().isUIDisabled},v=(0,l.Ay)(),y=(0,i.y$)(((e=h,t)=>{switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,i.Tw)(v)),k={getSelectors:()=>w,getActions:()=>g,...y},b={},E=JSON.stringify;function*S(e){const t=E(e.postsQuery),n=window.newspack_blocks_data.posts_rest_url;let o=b[t];if(void 0===o){const r=(0,c.addQueryArgs)(n,{...e.postsQuery,context:"edit"});o=yield(0,u.T1)(a(),{url:r}),b[t]=o}const r=o.map((e=>e.id));return yield(0,u.yJ)({type:"UPDATE_BLOCK_POSTS",clientId:e.clientId,posts:o}),r}function R(e){const{getBlock:t}=(0,r.select)("core/block-editor"),n=t(e);return n?.attributes?.deduplicate}const x=e=>{(0,r.register)({name:f,instantiate:()=>k}),v.run((e=>{function*t(){yield(0,u.cb)(300);const{getBlocks:t}=(0,r.select)("core/block-editor"),{getCurrentPostId:n}=(0,r.select)("core/editor");yield(0,u.yJ)({type:"DISABLE_UI"});const o=t().map((e=>{const t=(0,r.select)("core/block-editor").getBlocks(e.clientId);return{...e,innerBlocks:t}})),a=(0,d.yG)(o,e),c=a.reduce(((e,{clientId:t,postsQuery:n})=>(R(t)&&n.include&&(e=[...e,...n.include]),e)),[]);let s=(0,d.kN)([...c,n()]);for(;a.length;){const e=a.shift(),t=R(e.clientId);t&&(e.postsQuery.exclude=s);let n=[];try{n=yield(0,u.T1)(S,e)}catch(t){yield(0,u.yJ)({type:"UPDATE_BLOCK_ERROR",clientId:e.clientId,error:t.message})}t&&(s=[...s,...n])}yield(0,u.yJ)({type:"ENABLE_UI"})}return function*(){yield(0,u.p8)("REFLOW",t)}})(e))}},3673:(e,t,n)=>{n.d(t,{Fl:()=>w,Wu:()=>c,cR:()=>g,kN:()=>l,pV:()=>i,yG:()=>p});var o=n(7723),a=n(8468),r=n(9971);const __=o.__,c=()=>"object"==typeof window&&window.wpcomGutenberg&&-1===Number(window.wpcomGutenberg.blogPublic),s=["postsToShow","authors","categories","includeSubcategories","excerptLength","tags","customTaxonomies","showExcerpt","specificPosts","specificMode","tagExclusions","categoryExclusions","customTaxonomyExclusions","postType","includedPostStatuses","deduplicate","showCaption","showCredit"],i=(e,t)=>!(0,a.isEqual)((0,a.pick)(e.attributes,s),(0,a.pick)(t.attributes,s))||!(0,a.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder),l=e=>e.map((e=>parseInt(e))).filter((e=>e>0)),u=e=>(0,a.pickBy)(e,(e=>!(0,a.isUndefined)(e)&&!(0,a.isNull)(e))),p=(e,t)=>e.flatMap((e=>{const n=[];if(t.indexOf(e.name)>=0){const t=(e=>{const{postsToShow:t,authors:n,categories:o,includeSubcategories:r,excerptLength:c,postType:i,showExcerpt:p,showCaption:d,showCredit:m,tags:f,customTaxonomies:h,specificPosts:g=[],specificMode:w,tagExclusions:v,categoryExclusions:y,customTaxonomyExclusions:k,includedPostStatuses:b}=(0,a.pick)(e,s),E=l(g),S=w&&E&&E.length,R=(0,a.pickBy)(S?{include:E,postsToShow:g.length,postType:i}:{postsToShow:t,categories:u(o),includeSubcategories:r,authors:u(n),tags:u(f),tagExclusions:u(v),categoryExclusions:u(y),customTaxonomyExclusions:k,customTaxonomies:h,postType:i,includedPostStatuses:b},(e=>!(0,a.isUndefined)(e)));return R.excerptLength=c,R.showExcerpt=p,R.showCaption=d,R.showCredit=m,R})(e.attributes);n.push({postsQuery:t,clientId:e.clientId})}return n.concat(p(e.innerBlocks,t))})),d=e=>e.flatMap((e=>{const t=[];return t.push(e.clientId),t.concat(d(e.innerBlocks))})),m=window.newspack_blocks_data.assets_path,f=e=>{const t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"

"+__("The post content.","jetpack-mu-wpcom")+"

"},date:t.toISOString(),date_formatted:t.toLocaleString(),article_meta_footer:"",excerpt:{rendered:"

"+__("The post excerpt.","jetpack-mu-wpcom")+"

"},post_link:"/",featured_media:"1",id:e,post_type:"post",meta:{newspack_post_subtitle:__("Post Subtitle","jetpack-mu-wpcom")},title:{rendered:__("Post Title","jetpack-mu-wpcom")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","jetpack-mu-wpcom"),avatar:'
',id:1,author_link:"/"}],newspack_category_info:__("Category","jetpack-mu-wpcom"),newspack_featured_image_caption:__("Featured image caption","jetpack-mu-wpcom"),newspack_featured_image_src:{large:`${m}/newspack-1024x536.jpg`,landscape:`${m}/newspack-800x600.jpg`,portrait:`${m}/newspack-600x800.jpg`,square:`${m}/newspack-800x800.jpg`,uncropped:`${m}/newspack-1024x536.jpg`},newspack_has_custom_excerpt:!1,newspack_sponsors_show_categories:!1,newspack_sponsors_show_author:!1}},h=e=>(0,a.times)(e.postsToShow,f),g=(e,{clientId:t,attributes:n})=>{const{getBlocks:o}=e("core/block-editor"),{getEditedPostAttribute:a}=e("core/editor"),c=a("blocks")||[],s=[];for(const e of c)"core/block"===e.name?s.push(...o(e.clientId)):s.push(e);const i=d(s),l=o(),u=l.some((e=>"core/widget-area"===e.name)),p=0===i.length||i.indexOf(t)>=0||u,{getPosts:m,getError:f,isUIDisabled:g}=e(r.C);return{isEditorBlock:p,isUIDisabled:g(),error:f({clientId:t}),topBlocksClientIdsInOrder:l.map((e=>e.clientId)),latestPosts:p?m({clientId:t}):h(n)}},w=(e,{isEditorBlock:t})=>({triggerReflow:t?e(r.C).reflow:()=>{}})},5811:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(6427),a=n(6087),r=n(8468);class c extends a.Component{constructor(e){super(e),this.state={suggestions:[],validValues:{},loading:this.isFetchingInfoOnLoad()},this.debouncedUpdateSuggestions=(0,r.debounce)(this.updateSuggestions,500)}isFetchingInfoOnLoad=()=>{const{tokens:e,fetchSavedInfo:t}=this.props;return Boolean(e.length&&t)};componentDidMount(){if(this.isFetchingInfoOnLoad()){const{tokens:e,fetchSavedInfo:t}=this.props;t(e).then((e=>{const{validValues:t}=this.state;e.forEach((e=>{t[e.value]=e.label})),this.setState({validValues:t,loading:!1})}))}}componentWillUnmount(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}getLabelsForValues(e){const{validValues:t}=this.state;return e.reduce(((e,n)=>t[n]?[...e,t[n]]:e),[])}getValuesForLabels(e){const{validValues:t}=this.state;return e.map((e=>Object.keys(t).find((n=>t[n]===e)))).filter((e=>!!e))}updateSuggestions(e){const{fetchSuggestions:t}=this.props;t&&this.setState({loading:!0},(()=>{const n=t(e);n.then((e=>{if(this.suggestionsRequest!==n)return;const{validValues:t}=this.state,o=[];e.forEach((e=>{const n=e.label.trim();o.indexOf(n)>=0&&(e.label=`${n} (${e.value})`),o.push(n),t[e.value]=n})),this.setState({suggestions:o,validValues:t,loading:!1})})).catch((()=>{this.suggestionsRequest===n&&this.setState({loading:!1})})),this.suggestionsRequest=n}))}handleOnChange(e){const{onChange:t}=this.props;t(this.getValuesForLabels(e))}getTokens(){const{tokens:e}=this.props;return this.getLabelsForValues(e)}render(){const{help:e,label:t=""}=this.props,{suggestions:n,loading:a}=this.state;return React.createElement("div",{className:"autocomplete-tokenfield"},React.createElement(o.FormTokenField,{value:this.getTokens(),suggestions:n,onChange:e=>this.handleOnChange(e),onInputChange:e=>this.debouncedUpdateSuggestions(e),label:t}),a&&React.createElement(o.Spinner,null),e&&React.createElement("p",{className:"autocomplete-tokenfield__help"},e))}}const s=c},2840:(e,t,n)=>{n.d(t,{O:()=>s,X:()=>i});var o=n(6427),a=n(7143),r=n(7723);const __=r.__,c=({options:e,values:t,onChange:n})=>Array.isArray(e)?e.map((({name:e,slug:a})=>React.createElement(o.PanelRow,{key:a},React.createElement(o.CheckboxControl,{label:e,checked:t.indexOf(a)>-1,onChange:e=>{const o=[...new Set(t)];e&&-1===o.indexOf(a)?o.push(a):!e&&o.indexOf(a)>-1&&o.splice(o.indexOf(a),1),n(o)}})))):React.createElement(o.Spinner,null),s=({attributes:e,setAttributes:t})=>{const{availablePostTypes:n}=(0,a.useSelect)((e=>{const{getPostTypes:t}=e("core"),n=__("Listings","jetpack-mu-wpcom");return{availablePostTypes:t({per_page:-1})?.filter((({supports:{newspack_blocks:e}})=>e))?.map((e=>(0===e.slug.indexOf("newspack_lst")&&"newspack_lst_generic"!==e.slug&&-1===e.name.indexOf(n)&&(e.name=`${e.name} ${n}`),e)))}}));return React.createElement(o.PanelBody,{title:__("Post Types","jetpack-mu-wpcom")},React.createElement(c,{options:n,values:e.postType,onChange:e=>t({postType:e})}))},i=({attributes:e,setAttributes:t})=>React.createElement(o.PanelBody,{title:__("Additional Post Statuses","jetpack-mu-wpcom")},React.createElement(o.PanelRow,null,React.createElement("i",null,__("Selection here has effect only for editors, regular users will only see published posts.","jetpack-mu-wpcom"))),React.createElement(c,{values:e.includedPostStatuses,options:[{name:"Draft",slug:"draft"},{name:"Scheduled",slug:"future"}],onChange:e=>t({includedPostStatuses:e})}))},2142:(e,t,n)=>{n.d(t,{A:()=>f});var o=n(1455),a=n.n(o),r=n(6427),c=n(6087),s=n(8537),i=n(7723),l=n(3832),u=n(5811);const __=i.__,p=e=>(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom"),d=e=>(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom");class m extends c.Component{state={showAdvancedFilters:!1};fetchPostSuggestions=e=>{const{postType:t}=this.props,n=window.newspack_blocks_data.specific_posts_rest_url;return a()({url:(0,l.addQueryArgs)(n,{search:e,postsToShow:20,_fields:"id,title",type:"post",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.title)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchSavedPosts=e=>{const{postType:t}=this.props,n=window.newspack_blocks_data.posts_rest_url;return a()({url:(0,l.addQueryArgs)(n,{postsToShow:100,include:e.join(","),_fields:"id,title",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.title.rendered)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchAuthorSuggestions=e=>{const t=window.newspack_blocks_data.authors_rest_url;return a()({url:(0,l.addQueryArgs)(t,{search:e,per_page:20,fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchSavedAuthors=e=>{const t=window.newspack_blocks_data.authors_rest_url;return a()({url:(0,l.addQueryArgs)(t,{per_page:100,include:e.join(","),fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchCategorySuggestions=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((e=>Promise.all(e.map((e=>e.parent>0?a()({path:(0,l.addQueryArgs)(`/wp/v2/categories/${e.parent}`,{_fields:"name"})}).then((t=>({value:e.id,label:`${p(e)} – ${p(t)}`}))):Promise.resolve({value:e.id,label:p(e)}))))));fetchSavedCategories=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchTagSuggestions=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchSavedTags=e=>a()({path:(0,l.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchCustomTaxonomiesSuggestions=(e,t)=>a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}`,{search:t,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((t=>Promise.all(t.map((t=>t.parent>0?a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}/${t.parent}`,{_fields:"name"})}).then((e=>({value:t.id,label:`${d(t)} – ${d(e)}`}))):Promise.resolve({value:t.id,label:d(t)}))))));fetchSavedCustomTaxonomies=(e,t)=>a()({path:(0,l.addQueryArgs)(`/wp/v2/${e}`,{per_page:100,_fields:"id,name",include:t.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,s.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));render=()=>{const{specificMode:e,onSpecificModeChange:t,specificPosts:n,onSpecificPostsChange:o,authors:a,onAuthorsChange:c,categories:s,onCategoriesChange:l,includeSubcategories:p,onIncludeSubcategoriesChange:d,tags:m,onTagsChange:f,customTaxonomies:h,onCustomTaxonomiesChange:g,tagExclusions:w,onTagExclusionsChange:v,categoryExclusions:y,onCategoryExclusionsChange:k,customTaxonomyExclusions:b,onCustomTaxonomyExclusionsChange:E,enableSpecific:S}=this.props,{showAdvancedFilters:R}=this.state,x=window.newspack_blocks_data?.custom_taxonomies,_=(e,t,n,o)=>{let a=e.filter((e=>e.slug!==n));a=[...a,{slug:n,terms:o}],t(a)},C=(e,t)=>{const n=e.find((e=>e.slug===t));return n?n.terms:[]};return React.createElement(React.Fragment,null,S&&React.createElement(r.ToggleControl,{checked:e,onChange:t,label:__("Choose Specific Posts","jetpack-mu-wpcom")}),e?React.createElement(u.A,{tokens:n||[],onChange:o,fetchSuggestions:this.fetchPostSuggestions,fetchSavedInfo:this.fetchSavedPosts,label:__("Posts","jetpack-mu-wpcom"),help:__("Begin typing post title, click autocomplete result to select.","jetpack-mu-wpcom")}):React.createElement(React.Fragment,null,React.createElement(r.QueryControls,this.props),c&&React.createElement(u.A,{tokens:a||[],onChange:c,fetchSuggestions:this.fetchAuthorSuggestions,fetchSavedInfo:this.fetchSavedAuthors,label:__("Authors","jetpack-mu-wpcom")}),l&&React.createElement(u.A,{tokens:s||[],onChange:l,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Categories","jetpack-mu-wpcom")}),d&&React.createElement(r.ToggleControl,{checked:p,onChange:d,label:__("Include subcategories ","jetpack-mu-wpcom")}),f&&React.createElement(u.A,{tokens:m||[],onChange:f,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Tags","jetpack-mu-wpcom")}),g&&x.map((e=>React.createElement(u.A,{key:`${h[e.slug]}-selector`,tokens:C(h,e.slug),onChange:t=>{_(h,g,e.slug,t)},fetchSuggestions:t=>this.fetchCustomTaxonomiesSuggestions(e.slug,t),fetchSavedInfo:t=>this.fetchSavedCustomTaxonomies(e.slug,t),label:e.label}))),v&&React.createElement("p",null,React.createElement(r.Button,{isLink:!0,onClick:()=>this.setState({showAdvancedFilters:!R})},R?__("Hide Advanced Filters","jetpack-mu-wpcom"):__("Show Advanced Filters","jetpack-mu-wpcom",0))),R&&React.createElement(React.Fragment,null,v&&React.createElement(u.A,{tokens:w||[],onChange:v,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Excluded Tags","jetpack-mu-wpcom")}),k&&React.createElement(u.A,{tokens:y||[],onChange:k,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Excluded Categories","jetpack-mu-wpcom")}),x&&E&&x.map((({label:e,slug:t})=>React.createElement(u.A,{fetchSavedInfo:e=>this.fetchSavedCustomTaxonomies(t,e),fetchSuggestions:e=>this.fetchCustomTaxonomiesSuggestions(t,e),key:`${t}-exclusions-selector`,label:(0,i.sprintf)( // translators: %s is the custom taxonomy label. -__("Excluded %s","jetpack-mu-wpcom"),e),onChange:e=>_(b,E,t,e),tokens:C(b,t)}))))))}}m.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],customTaxonomies:[],tagExclusions:[],customTaxonomyExclusions:[]};const f=m},9661:(e,t,n)=>{n.d(t,{Az:()=>r,HN:()=>s,NQ:()=>c,X8:()=>l,vQ:()=>i});var o=n(86087),a=n(27723);const _x=a._x,__=a.__,r=e=>e.map((e=>React.createElement("span",{className:"avatar author-avatar",key:e.id},React.createElement("a",{className:"url fn n",href:e.author_link},React.createElement(o.RawHTML,null,e.avatar))))),c=e=>React.createElement("span",{className:"byline"},React.createElement("span",{className:"author-prefix"},_x("by","post author","jetpack-mu-wpcom"))," ",e.reduce(((t,n,o)=>[...t,React.createElement("span",{className:"author vcard",key:n.id},React.createElement("a",{className:"url fn n",href:n.author_link},n.display_name)),o1&&o===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),s=e=>React.createElement("span",{className:"sponsor-logos"},e.map((e=>React.createElement(o.Fragment,{key:e.id},e.src&&React.createElement("a",{href:e.sponsor_url},React.createElement("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))))),i=e=>React.createElement("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce(((t,n,o)=>[...t,React.createElement("span",{className:"author",key:n.id},React.createElement("a",{href:n.author_link},n.sponsor_name)),o1&&o===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),l=(e={})=>"publish"!==e.post_status?React.createElement("div",{className:"newspack-preview-label"},{draft:__("Draft","jetpack-mu-wpcom"),future:__("Scheduled","jetpack-mu-wpcom")}[e.post_status]):null},10790:e=>{e.exports=window.ReactJSXRuntime},66087:e=>{e.exports=window.lodash},1455:e=>{e.exports=window.wp.apiFetch},94715:e=>{e.exports=window.wp.blockEditor},74997:e=>{e.exports=window.wp.blocks},56427:e=>{e.exports=window.wp.components},29491:e=>{e.exports=window.wp.compose},47143:e=>{e.exports=window.wp.data},86087:e=>{e.exports=window.wp.element},52619:e=>{e.exports=window.wp.hooks},18537:e=>{e.exports=window.wp.htmlEntities},27723:e=>{e.exports=window.wp.i18n},5573:e=>{e.exports=window.wp.primitives},93832:e=>{e.exports=window.wp.url},74577:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(89156);function a(e,t,n){return(t=(0,o.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},77790:(e,t,n)=>{function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;to})},94021:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(74577);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t{function o(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}n.d(t,{A:()=>o})},80129:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(17278);function a(e,t){if("object"!=(0,o.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,o.A)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},89156:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(17278),a=n(80129);function r(e){var t=(0,a.A)(e,"string");return"symbol"==(0,o.A)(t)?t:t+""}},17278:(e,t,n)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n.d(t,{A:()=>o})},13022:(e,t,n)=>{function o(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;ta});const a=function(){for(var e,t,n=0,a="",r=arguments.length;n{e.exports=JSON.parse('{"UU":"homepage-articles","L1":"newspack","uK":{"className":{"type":"string","default":""},"showExcerpt":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":55},"showReadMore":{"type":"boolean","default":false},"readMoreLabel":{"type":"string","default":"Keep reading"},"showDate":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":true},"showCaption":{"type":"boolean","default":false},"showCredit":{"type":"boolean","default":false},"disableImageLazyLoad":{"type":"boolean","default":false},"fetchPriority":{"type":"string","default":""},"imageShape":{"type":"string","default":"landscape"},"minHeight":{"type":"integer","default":0},"moreButton":{"type":"boolean","default":false},"moreButtonText":{"type":"string","default":""},"showAuthor":{"type":"boolean","default":true},"showAvatar":{"type":"boolean","default":true},"showCategory":{"type":"boolean","default":false},"postLayout":{"type":"string","default":"list"},"columns":{"type":"integer","default":3},"colGap":{"type":"integer","default":3},"postsToShow":{"type":"integer","default":3},"mediaPosition":{"type":"string","default":"top"},"authors":{"type":"array","default":[],"items":{"type":"integer"}},"categories":{"type":"array","default":[],"items":{"type":"integer"}},"includeSubcategories":{"type":"boolean","default":true},"tags":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomies":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"tagExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"categoryExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomyExclusions":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"specificPosts":{"type":"array","default":[],"items":{"type":"integer"}},"typeScale":{"type":"integer","default":4},"imageScale":{"type":"integer","default":3},"mobileStack":{"type":"boolean","default":false},"sectionHeader":{"type":"string","default":""},"specificMode":{"type":"boolean","default":false},"textColor":{"type":"string","default":""},"customTextColor":{"type":"string","default":""},"singleMode":{"type":"boolean","default":false},"showSubtitle":{"type":"boolean","default":false},"postType":{"type":"array","default":["post"],"items":{"type":"string"}},"textAlign":{"type":"string","default":"left"},"includedPostStatuses":{"type":"array","default":["publish"],"items":{"type":"string"}},"deduplicate":{"type":"boolean","default":true}}}')}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o=n(74997),a=n(52619),r=n(27723),c=n(89609),s=n(48962),i=n(99971);const __=r.__,l="a8c/blog-posts";(0,a.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/homepage-articles"!==e?e:l})),(0,o.registerBlockType)(l,{...s.W0,title:__("Blog Posts","jetpack-mu-wpcom"),category:"widgets"}),(0,i.n)([l,c.t])})(); \ No newline at end of file +__("Excluded %s","jetpack-mu-wpcom"),e),onChange:e=>_(b,E,t,e),tokens:C(b,t)}))))))}}m.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],customTaxonomies:[],tagExclusions:[],customTaxonomyExclusions:[]};const f=m},9661:(e,t,n)=>{n.d(t,{Az:()=>r,HN:()=>s,NQ:()=>c,X8:()=>l,vQ:()=>i});var o=n(6087),a=n(7723);const _x=a._x,__=a.__,r=e=>e.map((e=>React.createElement("span",{className:"avatar author-avatar",key:e.id},React.createElement("a",{className:"url fn n",href:e.author_link},React.createElement(o.RawHTML,null,e.avatar))))),c=e=>React.createElement("span",{className:"byline"},React.createElement("span",{className:"author-prefix"},_x("by","post author","jetpack-mu-wpcom"))," ",e.reduce(((t,n,o)=>[...t,React.createElement("span",{className:"author vcard",key:n.id},React.createElement("a",{className:"url fn n",href:n.author_link},n.display_name)),o1&&o===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),s=e=>React.createElement("span",{className:"sponsor-logos"},e.map((e=>React.createElement(o.Fragment,{key:e.id},e.src&&React.createElement("a",{href:e.sponsor_url},React.createElement("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))))),i=e=>React.createElement("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce(((t,n,o)=>[...t,React.createElement("span",{className:"author",key:n.id},React.createElement("a",{href:n.author_link},n.sponsor_name)),o1&&o===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),l=(e={})=>"publish"!==e.post_status?React.createElement("div",{className:"newspack-preview-label"},{draft:__("Draft","jetpack-mu-wpcom"),future:__("Scheduled","jetpack-mu-wpcom")}[e.post_status]):null},790:e=>{e.exports=window.ReactJSXRuntime},8468:e=>{e.exports=window.lodash},1455:e=>{e.exports=window.wp.apiFetch},4715:e=>{e.exports=window.wp.blockEditor},4997:e=>{e.exports=window.wp.blocks},6427:e=>{e.exports=window.wp.components},9491:e=>{e.exports=window.wp.compose},7143:e=>{e.exports=window.wp.data},6087:e=>{e.exports=window.wp.element},2619:e=>{e.exports=window.wp.hooks},8537:e=>{e.exports=window.wp.htmlEntities},7723:e=>{e.exports=window.wp.i18n},5573:e=>{e.exports=window.wp.primitives},3832:e=>{e.exports=window.wp.url},4577:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(9156);function a(e,t,n){return(t=(0,o.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7790:(e,t,n)=>{function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;to})},4021:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(4577);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t{function o(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}n.d(t,{A:()=>o})},129:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(7278);function a(e,t){if("object"!=(0,o.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,o.A)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},9156:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(7278),a=n(129);function r(e){var t=(0,a.A)(e,"string");return"symbol"==(0,o.A)(t)?t:t+""}},7278:(e,t,n)=>{function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n.d(t,{A:()=>o})},3022:(e,t,n)=>{function o(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;ta});const a=function(){for(var e,t,n=0,a="",r=arguments.length;n{e.exports=JSON.parse('{"UU":"homepage-articles","L1":"newspack","uK":{"className":{"type":"string","default":""},"showExcerpt":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":55},"showReadMore":{"type":"boolean","default":false},"readMoreLabel":{"type":"string","default":"Keep reading"},"showDate":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":true},"showCaption":{"type":"boolean","default":false},"showCredit":{"type":"boolean","default":false},"disableImageLazyLoad":{"type":"boolean","default":false},"fetchPriority":{"type":"string","default":""},"imageShape":{"type":"string","default":"landscape"},"minHeight":{"type":"integer","default":0},"moreButton":{"type":"boolean","default":false},"moreButtonText":{"type":"string","default":""},"showAuthor":{"type":"boolean","default":true},"showAvatar":{"type":"boolean","default":true},"showCategory":{"type":"boolean","default":false},"postLayout":{"type":"string","default":"list"},"columns":{"type":"integer","default":3},"colGap":{"type":"integer","default":3},"postsToShow":{"type":"integer","default":3},"mediaPosition":{"type":"string","default":"top"},"authors":{"type":"array","default":[],"items":{"type":"integer"}},"categories":{"type":"array","default":[],"items":{"type":"integer"}},"includeSubcategories":{"type":"boolean","default":true},"tags":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomies":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"tagExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"categoryExclusions":{"type":"array","default":[],"items":{"type":"integer"}},"customTaxonomyExclusions":{"type":"array","default":[],"items":{"type":"object","properties":{"slug":{"type":"string"},"terms":{"type":"array","items":{"type":"integer"}}}}},"specificPosts":{"type":"array","default":[],"items":{"type":"integer"}},"typeScale":{"type":"integer","default":4},"imageScale":{"type":"integer","default":3},"mobileStack":{"type":"boolean","default":false},"sectionHeader":{"type":"string","default":""},"specificMode":{"type":"boolean","default":false},"textColor":{"type":"string","default":""},"customTextColor":{"type":"string","default":""},"singleMode":{"type":"boolean","default":false},"showSubtitle":{"type":"boolean","default":false},"postType":{"type":"array","default":["post"],"items":{"type":"string"}},"textAlign":{"type":"string","default":"left"},"includedPostStatuses":{"type":"array","default":["publish"],"items":{"type":"string"}},"deduplicate":{"type":"boolean","default":true}}}')}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o=n(4997),a=n(2619),r=n(7723),c=n(9609),s=n(8962),i=n(9971);const __=r.__,l="a8c/blog-posts";(0,a.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/homepage-articles"!==e?e:l})),(0,o.registerBlockType)(l,{...s.W0,title:__("Blog Posts","jetpack-mu-wpcom"),category:"widgets"}),(0,i.n)([l,c.t])})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.asset.php index 1abee0c6..9a517b03 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.asset.php @@ -1 +1 @@ - array(), 'version' => '4ba2f06c287220de8abc'); + array(), 'version' => '53689302d99224a3718e'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.js b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.js index a73af8bc..223ae371 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-blog-posts-view/newspack-blocks-blog-posts-view.js @@ -1 +1 @@ -(()=>{"use strict";var t={95209:()=>{function t(e,r){const s=new XMLHttpRequest;s.onreadystatechange=()=>{if(4===s.readyState){if(s.status>=200&&s.status<300){const t=JSON.parse(s.responseText);return e.onSuccess(t)}return r?t(e,r-1):e.onError()}},s.open("GET",e.url),s.send()}function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}Array.prototype.forEach.call(document.querySelectorAll(".wp-block-newspack-blocks-homepage-articles.has-more-button"),(function(r){const s=r.querySelector("[data-next]");if(!s)return;const n=r.querySelector("[data-posts]");let o=!1,i=!1;s.addEventListener("click",(()=>{if(o||i)return!1;o=!0,r.classList.remove("is-error"),r.classList.add("is-loading");function a(){o=!1,r.classList.remove("is-loading"),r.classList.add("is-error")}t({url:s.getAttribute("data-next")+"&exclude_ids="+function(){const t=document.querySelectorAll("[class^='wp-block-newspack-blocks'] [data-post-id]"),e=Array.from(t).map((t=>t.getAttribute("data-post-id")));return e.push(document.querySelector("div[data-current-post-id]").getAttribute("data-current-post-id")),[...new Set(e)]}().join(","),onSuccess:function(t){if(!function(t){let r=!1;t&&e(t,"items")&&Array.isArray(t.items)&&e(t,"next")&&"string"==typeof t.next&&(r=!0,!t.items.length||e(t.items[0],"html")&&"string"==typeof t.items[0].html||(r=!1));return r}(t))return a();if(t.items.length){const e=t.items.map((t=>t.html)).join("");n.insertAdjacentHTML("beforeend",e)}t.next&&s.setAttribute("data-next",t.next);t.items.length&&t.next||(i=!0,r.classList.remove("has-more-button"));o=!1,r.classList.remove("is-loading")},onError:a},3)}))}))}},e={};(function r(s){var n=e[s];if(void 0!==n)return n.exports;var o=e[s]={exports:{}};return t[s](o,o.exports,r),o.exports})(95209)})(); \ No newline at end of file +(()=>{"use strict";var t={7590:()=>{function t(e,r){const s=new XMLHttpRequest;s.onreadystatechange=()=>{if(4===s.readyState){if(s.status>=200&&s.status<300){const t=JSON.parse(s.responseText);return e.onSuccess(t)}return r?t(e,r-1):e.onError()}},s.open("GET",e.url),s.send()}function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}Array.prototype.forEach.call(document.querySelectorAll(".wp-block-newspack-blocks-homepage-articles.has-more-button"),(function(r){const s=r.querySelector("[data-next]");if(!s)return;const n=r.querySelector("[data-posts]");let o=!1,i=!1;s.addEventListener("click",(()=>{if(o||i)return!1;o=!0,r.classList.remove("is-error"),r.classList.add("is-loading");function a(){o=!1,r.classList.remove("is-loading"),r.classList.add("is-error")}t({url:s.getAttribute("data-next")+"&exclude_ids="+function(){const t=document.querySelectorAll("[class^='wp-block-newspack-blocks'] [data-post-id]"),e=Array.from(t).map((t=>t.getAttribute("data-post-id")));return e.push(document.querySelector("div[data-current-post-id]").getAttribute("data-current-post-id")),[...new Set(e)]}().join(","),onSuccess:function(t){if(!function(t){let r=!1;t&&e(t,"items")&&Array.isArray(t.items)&&e(t,"next")&&"string"==typeof t.next&&(r=!0,!t.items.length||e(t.items[0],"html")&&"string"==typeof t.items[0].html||(r=!1));return r}(t))return a();if(t.items.length){const e=t.items.map((t=>t.html)).join("");n.insertAdjacentHTML("beforeend",e)}t.next&&s.setAttribute("data-next",t.next);t.items.length&&t.next||(i=!0,r.classList.remove("has-more-button"));o=!1,r.classList.remove("is-loading")},onError:a},3)}))}))}},e={};(function r(s){var n=e[s];if(void 0!==n)return n.exports;var o=e[s]={exports:{}};return t[s](o,o.exports,r),o.exports})(7590)})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.asset.php index d371048a..71344893 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.asset.php @@ -1 +1 @@ - array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-url'), 'version' => '91f9016716d4afbda56a'); + array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-url'), 'version' => 'e152b9feb9a43fe1adc7'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.js b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.js index 443807da..c7764646 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-editor/newspack-blocks-carousel-editor.js @@ -1,5 +1,5 @@ -(()=>{"use strict";var e={87908:(e,t,a)=>{a.d(t,{A:()=>O,B:()=>$,C:()=>R,D:()=>g,E:()=>b,F:()=>_,G:()=>H,H:()=>l,J:()=>L,P:()=>P,R:()=>z,S:()=>N,T:()=>M,a:()=>I,b:()=>j,d:()=>D,e:()=>k,f:()=>B,g:()=>Y,h:()=>G,i:()=>v,j:()=>S,k:()=>i,l:()=>C,m:()=>w,o:()=>u,p:()=>c,q:()=>f,r:()=>p,s:()=>x,t:()=>o,u:()=>d,v:()=>T,y:()=>E,z:()=>y});var s=a(48817),n=a(77790),r=a(63229),i=function(e){return function(){return e}}(!0),o=function(){};var l=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var c=function(e,t){(0,n.A)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(a){e[a]=t[a]}))},d=function(e,t){var a;return(a=[]).concat.apply(a,t.map(e))};function p(e,t){var a=e.indexOf(t);a>=0&&e.splice(a,1)}function u(e){var t=!1;return function(){t||(t=!0,e())}}var h=function(e){throw e},m=function(e){return{value:e,done:!0}};function f(e,t,a){void 0===t&&(t=h),void 0===a&&(a="iterator");var s={meta:{name:a},next:e,throw:t,return:m,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(s[Symbol.iterator]=function(){return s}),s}function g(e,t){var a=t.sagaStack;console.error(e),console.error(a)}var v=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},w=function(e){return Array.apply(null,new Array(e))},b=function(e){return function(t){return e(Object.defineProperty(t,s.q8,{value:!0}))}},y=function(e){return e===s.a6},E=function(e){return e===s.nm},x=function(e){return y(e)||E(e)};function C(e,t){var a=Object.keys(e),s=a.length;var n,i=0,l=(0,r.YO)(e)?w(s):{},c={};return a.forEach((function(e){var a=function(a,r){n||(r||x(a)?(t.cancel(),t(a,r)):(l[e]=a,++i===s&&(n=!0,t(l))))};a.cancel=o,c[e]=a})),t.cancel=function(){n||(n=!0,a.forEach((function(e){return c[e].cancel()})))},c}function S(e){return{name:e.name||"anonymous",location:T(e)}}function T(e){return e[s.x2]}function $(){for(var e=arguments.length,t=new Array(e),a=0;a{a.d(t,{Ay:()=>U});var s=a(48817),n=a(77790),r=a(94001),i=a(63229),o=a(87908),l=a(88527),c=[],d=0;function p(e){try{m(),e()}finally{f()}}function u(e){c.push(e),d||(m(),g())}function h(e){try{return m(),e()}finally{g()}}function m(){d++}function f(){d--}function g(){var e;for(f();!d&&void 0!==(e=c.shift());)p(e)}var v=function(e){return function(t){return e.some((function(e){return x(e)(t)}))}},w=function(e){return function(t){return e(t)}},b=function(e){return function(t){return t.type===String(e)}},y=function(e){return function(t){return t.type===e}},E=function(){return o.k};function x(e){var t="*"===e?E:(0,i.Yj)(e)?b:(0,i.YO)(e)?v:(0,i.mr)(e)?b:(0,i.Pc)(e)?w:(0,i.HR)(e)?y:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var C={type:s.x7},S=function(e){return e&&e.type===s.x7};function T(e){void 0===e&&(e=(0,o.e)());var t=!1,a=[];return{take:function(s){t&&e.isEmpty()?s(C):e.isEmpty()?(a.push(s),s.cancel=function(){(0,o.r)(a,s)}):s(e.take())},put:function(s){if(!t){if(0===a.length)return e.put(s);a.shift()(s)}},flush:function(a){t&&e.isEmpty()?a(C):a(e.flush())},close:function(){if(!t){t=!0;var e=a;a=[];for(var s=0,n=e.length;s2?m-2:0),g=2;g{a(63229),a(87908)},88527:(e,t,a)=>{function s(){var e={};return e.promise=new Promise((function(t,a){e.resolve=t,e.reject=a})),e}a.d(t,{A:()=>n});const n=s},63229:(e,t,a)=>{a.d(t,{HR:()=>p,Pc:()=>r,YO:()=>o,Yj:()=>i,iv:()=>l,lJ:()=>c,mr:()=>d,uQ:()=>n,vD:()=>s});var s=function(e){return null==e},n=function(e){return null!=e},r=function(e){return"function"==typeof e},i=function(e){return"string"==typeof e},o=Array.isArray,l=function(e){return e&&r(e.then)},c=function(e){return e&&r(e.next)&&r(e.throw)},d=function(e){return r(e)&&e.hasOwnProperty("toString")},p=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype}},48817:(e,t,a)=>{a.d(t,{E_:()=>o,IO:()=>i,Pe:()=>d,Xl:()=>l,a6:()=>h,bO:()=>n,nm:()=>u,q8:()=>c,wn:()=>p,x2:()=>m,x7:()=>r});var s=function(e){return"@@redux-saga/"+e},n=s("CANCEL_PROMISE"),r=s("CHANNEL_END"),i=s("IO"),o=s("MATCH"),l=s("MULTICAST"),c=s("SAGA_ACTION"),d=s("SELF_CANCELLATION"),p=s("TASK"),u=s("TASK_CANCEL"),h=s("TERMINATE"),m=s("LOCATION")},21594:(e,t,a)=>{a.d(t,{Ay:()=>s});const s=a(93095).Ay},11003:(e,t,a)=>{a(59906)},26556:(e,t,a)=>{a.d(t,{Tw:()=>p,y$:()=>c});var s=a(94021);function n(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var r="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function l(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,a){var s;if("function"==typeof t&&"function"==typeof a||"function"==typeof a&&"function"==typeof arguments[3])throw new Error(n(0));if("function"==typeof t&&void 0===a&&(a=t,t=void 0),void 0!==a){if("function"!=typeof a)throw new Error(n(1));return a(c)(e,t)}if("function"!=typeof e)throw new Error(n(2));var i=e,d=t,p=[],u=p,h=!1;function m(){u===p&&(u=p.slice())}function f(){if(h)throw new Error(n(3));return d}function g(e){if("function"!=typeof e)throw new Error(n(4));if(h)throw new Error(n(5));var t=!0;return m(),u.push(e),function(){if(t){if(h)throw new Error(n(6));t=!1,m();var a=u.indexOf(e);u.splice(a,1),p=null}}}function v(e){if(!l(e))throw new Error(n(7));if(void 0===e.type)throw new Error(n(8));if(h)throw new Error(n(9));try{h=!0,d=i(d,e)}finally{h=!1}for(var t=p=u,a=0;a{a.d(t,{t:()=>s});const s="a8c/posts-carousel"},22895:(e,t,a)=>{a.d(t,{A:()=>p});var s=a(20195),n=a(89877),r=a(27723),i=a(83280);const __=r.__,o="wp-block-newspack-blocks-carousel__autoplay-playing";function l(e,t){Array.prototype.forEach.call(e,t)}function c(e){e&&(e.setAttribute("aria-hidden","false"),l(e.querySelectorAll("a"),(e=>e.removeAttribute("tabindex"))))}function d(e){e&&(e.setAttribute("aria-hidden","true"),l(e.querySelectorAll("a"),(e=>e.setAttribute("tabindex","-1"))))}function p(e,t={}){if(!(0``},watchSlidesProgress:t.slidesPerView>1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,slidesPerView:t.slidesPerView,spaceBetween:16,touchStartPreventDefault:!1,breakpoints:{320:{slidesPerView:1},782:{slidesPerView:t.slidesPerView>1?2:1},1168:{slidesPerView:t.slidesPerView}},on:{init(){l(this.wrapperEl.querySelectorAll(".swiper-slide"),(e=>d(e))),p.call(this),c(this.slides[this.activeIndex])},slideChange(){const e=this.slides[this.activeIndex];if(d(this.slides[this.previousIndex]),c(e),!this.autoplay?.running){const t=e.querySelector("img"),a=!!t&&t?.alt,i=(0,r.sprintf)(/* translators: 1: current slide number and 2: total number of slides */ -__("Slide %1$s of %2$s","jetpack-mu-wpcom"),this.realIndex+1,this.pagination?.bullets?.length||0);(0,s.speak)((0,n.escapeHTML)(`${e.innerText},\n\t\t\t\t\t\t\t${a?/* translators: the title of the image. */ /* translators: the title of the image. */(0,r.sprintf)(__("Image: %s, ","jetpack-mu-wpcom"),a):""}\n\t\t\t\t\t\t\t${i}`),"assertive")}}}});function p(){const{aspectRatio:e}=t;Array.from(this.slides).forEach((t=>{t.style.height=t.clientWidth*e+"px"}))}if(a.on("imagesReady",p),a.on("resize",p),t.autoplay){function u(){a.autoplay.stop(),e.play.focus()}function h(){a.autoplay.start(),e.pause.focus()}a.on("init",(function(){e.play.addEventListener("click",h),e.pause.addEventListener("click",u)})),a.on("autoplayStart",(function(){e.block.classList.add(o),(0,s.speak)(__("Playing","jetpack-mu-wpcom"),"assertive")})),a.on("autoplayStop",(function(){e.block.classList.remove(o),(0,s.speak)(__("Paused","jetpack-mu-wpcom"),"assertive")})),a.on("beforeDestroy",(function(){e.play.removeEventListener("click",h),e.pause.removeEventListener("click",u)}))}return a.init(),a}},80610:(e,t,a)=>{a.d(t,{A:()=>b});var s=a(94715),n=a(56427),r=a(29491),i=a(47143),o=a(38443),l=a(86087),c=a(18537),d=a(27723),p=a(13022),u=a(66087),h=a(32840),m=a(82142),f=a(9661),g=a(63673),v=a(22895);const __=d.__;class w extends l.Component{constructor(e){super(e),this.btnPlayRef=(0,l.createRef)(),this.btnPauseRef=(0,l.createRef)(),this.btnNextRef=(0,l.createRef)(),this.btnPrevRef=(0,l.createRef)(),this.carouselRef=(0,l.createRef)(),this.paginationRef=(0,l.createRef)(),this.state={swiperInitialized:!1}}componentDidMount(){this.initializeSwiper(0),this.props.triggerReflow()}componentDidUpdate(e){if(!(0React.createElement("article",{className:`post-has-image swiper-slide ${e.post_type} ${e.newspack_article_classes||""}`,key:e.id},(0,f.X8)(e),React.createElement("figure",{className:"post-thumbnail"},React.createElement("a",{href:"#",rel:"bookmark"},e.newspack_featured_image_src?React.createElement("img",{className:`image-fit-${x}`,src:e.newspack_featured_image_src.large,alt:""}):React.createElement("div",{className:"wp-block-newspack-blocks-carousel__placeholder"}))),(e.newspack_post_sponsors||T||O||A||$||M||P)&&React.createElement("div",{className:"entry-wrapper"},(e.newspack_post_sponsors||T&&0a({postsToShow:e||1}),authors:u,onAuthorsChange:e=>a({authors:e}),categories:v,onCategoriesChange:e=>a({categories:e}),includeSubcategories:w,onIncludeSubcategoriesChange:e=>a({includeSubcategories:e}),tags:_,onTagsChange:e=>a({tags:e}),onCustomTaxonomiesChange:e=>a({customTaxonomies:e}),customTaxonomies:b,specificMode:R,onSpecificModeChange:e=>a({specificMode:e}),specificPosts:I,onSpecificPostsChange:e=>a({specificPosts:e}),postType:S})),React.createElement(n.PanelBody,{title:__("Slideshow Settings","jetpack-mu-wpcom"),initialOpen:!0},React.createElement(n.BaseControl,{label:__("Slide Aspect Ratio","jetpack-mu-wpcom"),help:__("All slides will share the same aspect ratio, for consistency.","jetpack-mu-wpcom"),id:"newspack-blocks__aspect-ratio-control"},React.createElement(n.PanelRow,null,React.createElement(n.ButtonGroup,{id:"newspack-blocks__aspect-ratio-control-buttons","aria-label":__("Slide Aspect Ratio","jetpack-mu-wpcom")},Y.map((e=>{const t=d===e.value;return React.createElement(n.Button,{isPrimary:t,"aria-pressed":t,"aria-label":e.label,key:e.value,onClick:()=>a({aspectRatio:e.value})},e.shortName)}))))),React.createElement(n.BaseControl,{label:__("Image Fit","jetpack-mu-wpcom"),help:"cover"===x?__("The image will fill the entire slide and will be cropped if necessary.","jetpack-mu-wpcom"):__("The image will be resized to fit inside the slide without being cropped.","jetpack-mu-wpcom",0),id:"newspack-blocks__blocks__image-fit-control"},React.createElement(n.PanelRow,null,React.createElement(n.ButtonGroup,{id:"newspack-blocks__image-fit-buttons","aria-label":__("Image Fit","jetpack-mu-wpcom")},React.createElement(n.Button,{isPrimary:"cover"===x,"aria-pressed":"cover"===x,"aria-label":__("Cover","jetpack-mu-wpcom"),onClick:()=>a({imageFit:"cover"})},__("Cover","jetpack-mu-wpcom")),React.createElement(n.Button,{isPrimary:"contain"===x,"aria-pressed":"contain"===x,"aria-label":__("Contain","jetpack-mu-wpcom"),onClick:()=>a({imageFit:"contain"})},__("Contain","jetpack-mu-wpcom"))))),React.createElement(n.ToggleControl,{label:__("Hide Controls","jetpack-mu-wpcom"),help:__("Hide the slideshow UI. Useful when used with Autoplay.","jetpack-mu-wpcom"),checked:E,onChange:e=>{a({hideControls:e})}}),React.createElement(n.ToggleControl,{label:__("Autoplay","jetpack-mu-wpcom"),help:__("Autoplay between slides","jetpack-mu-wpcom"),checked:g,onChange:e=>{a({autoplay:e})}}),g&&React.createElement(n.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack-mu-wpcom"),value:y,onChange:e=>{a({delay:e})},min:1,max:20}),r&&1{a({slidesPerView:e})},min:1,max:R?Math.min(6,r.length):Math.min(6,B)})),React.createElement(n.PanelBody,{title:__("Article Meta Settings","jetpack-mu-wpcom")},React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Title","jetpack-mu-wpcom"),checked:O,onChange:()=>a({showTitle:!O})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Date","jetpack-mu-wpcom"),checked:$,onChange:()=>a({showDate:!$})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Category","jetpack-mu-wpcom"),checked:T,onChange:()=>a({showCategory:!T})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Author","jetpack-mu-wpcom"),checked:A,onChange:()=>a({showAuthor:!A})})),A&&React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Author Avatar","jetpack-mu-wpcom"),checked:k,onChange:()=>a({showAvatar:!k})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Featured Image Caption","jetpack-mu-wpcom"),checked:M,onChange:()=>a({showCaption:!M})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Featured Image Credit","jetpack-mu-wpcom"),checked:P,onChange:()=>a({showCredit:!P})}))),React.createElement(h.O,{attributes:e,setAttributes:a}),React.createElement(h.X,{attributes:e,setAttributes:a})))}}const b=(0,r.compose)([(0,i.withSelect)(g.cR),(0,i.withDispatch)(g.Fl)])(w)},98688:(e,t,a)=>{a.d(t,{W0:()=>i});var s=a(56427),n=a(27723),r=a(80610);const __=n.__,i={title:__("Post Carousel","jetpack-mu-wpcom"),icon:{src:React.createElement(s.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(s.Path,{clipRule:"evenodd",d:"M7 18V6a2 2 0 012-2h6a2 2 0 012 2v12a2 2 0 01-2 2H9a2 2 0 01-2-2zM8.5 6v12a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V6a.5.5 0 00-.5-.5H9a.5.5 0 00-.5.5z",fillRule:"evenodd"}),React.createElement(s.Path,{d:"M4 18.5v-13h1.5v13zM18.5 5.5v13H20v-13z"})),foreground:"#36f"},category:"newspack",keywords:[__("posts","jetpack-mu-wpcom"),__("slideshow","jetpack-mu-wpcom"),__("carousel","jetpack-mu-wpcom")],description:__("A carousel of posts.","jetpack-mu-wpcom"),attributes:{className:{type:"string"},imageFit:{type:"string",default:"cover"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:5},postsToShow:{type:"integer",default:3},authors:{type:"array"},categories:{type:"array"},includeSubcategories:{type:"boolean",default:!0},tags:{type:"array"},customTaxonomies:{type:"array"},showDate:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showAvatar:{type:"boolean",default:!0},showCaption:{type:"boolean",default:!1},showCredit:{type:"boolean",default:!1},showCategory:{type:"boolean",default:!1},showTitle:{type:"boolean",default:!0},postType:{type:"array",default:["post"],items:{type:"string"}},specificMode:{type:"boolean",default:!1},specificPosts:{type:"array",default:[],items:{type:"integer"}},slidesPerView:{type:"number",default:1},hideControls:{type:"boolean",default:!1},aspectRatio:{type:"number",default:.75},includedPostStatuses:{type:"array",default:["publish"],items:{type:"string"}}},supports:{html:!1,align:["center","wide","full"]},edit:r.A,save:()=>null}},99971:(e,t,a)=>{a.d(t,{C:()=>l});a(1455),a(47143),a(93832);var s=a(66087),n=a(26556),r=a(21594),i=(a(11003),a(77319));a(63673);const{UU:o}=i,l=`newspack-blocks/${o}`,c={postsByBlock:{},errorsByBlock:{}},d={reflow:()=>{h.dispatch({type:"REFLOW"})}},p={getPosts:({clientId:e})=>h.getState().postsByBlock[e],getError:({clientId:e})=>h.getState().errorsByBlock[e],isUIDisabled:()=>h.getState().isUIDisabled},u=(0,r.Ay)(),h=(0,n.y$)(((e=c,t)=>{switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,n.Tw)(u));JSON.stringify},63673:(e,t,a)=>{a.d(t,{Fl:()=>h,cR:()=>u,pV:()=>o});var s=a(27723),n=a(66087),r=a(99971);const __=s.__,i=["postsToShow","authors","categories","includeSubcategories","excerptLength","tags","customTaxonomies","showExcerpt","specificPosts","specificMode","tagExclusions","categoryExclusions","customTaxonomyExclusions","postType","includedPostStatuses","deduplicate","showCaption","showCredit"],o=(e,t)=>!(0,n.isEqual)((0,n.pick)(e.attributes,i),(0,n.pick)(t.attributes,i))||!(0,n.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder),l=e=>e.flatMap((e=>{const t=[];return t.push(e.clientId),t.concat(l(e.innerBlocks))})),c=window.newspack_blocks_data.assets_path,d=e=>{const t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"

"+__("The post content.","jetpack-mu-wpcom")+"

"},date:t.toISOString(),date_formatted:t.toLocaleString(),article_meta_footer:"",excerpt:{rendered:"

"+__("The post excerpt.","jetpack-mu-wpcom")+"

"},post_link:"/",featured_media:"1",id:e,post_type:"post",meta:{newspack_post_subtitle:__("Post Subtitle","jetpack-mu-wpcom")},title:{rendered:__("Post Title","jetpack-mu-wpcom")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","jetpack-mu-wpcom"),avatar:'
',id:1,author_link:"/"}],newspack_category_info:__("Category","jetpack-mu-wpcom"),newspack_featured_image_caption:__("Featured image caption","jetpack-mu-wpcom"),newspack_featured_image_src:{large:`${c}/newspack-1024x536.jpg`,landscape:`${c}/newspack-800x600.jpg`,portrait:`${c}/newspack-600x800.jpg`,square:`${c}/newspack-800x800.jpg`,uncropped:`${c}/newspack-1024x536.jpg`},newspack_has_custom_excerpt:!1,newspack_sponsors_show_categories:!1,newspack_sponsors_show_author:!1}},p=e=>(0,n.times)(e.postsToShow,d),u=(e,{clientId:t,attributes:a})=>{const{getBlocks:s}=e("core/block-editor"),{getEditedPostAttribute:n}=e("core/editor"),i=n("blocks")||[],o=[];for(const e of i)"core/block"===e.name?o.push(...s(e.clientId)):o.push(e);const c=l(o),d=s(),u=d.some((e=>"core/widget-area"===e.name)),h=0===c.length||c.indexOf(t)>=0||u,{getPosts:m,getError:f,isUIDisabled:g}=e(r.C);return{isEditorBlock:h,isUIDisabled:g(),error:f({clientId:t}),topBlocksClientIdsInOrder:d.map((e=>e.clientId)),latestPosts:h?m({clientId:t}):p(a)}},h=(e,{isEditorBlock:t})=>({triggerReflow:t?e(r.C).reflow:()=>{}})},55811:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(56427),n=a(86087),r=a(66087);class i extends n.Component{constructor(e){super(e),this.state={suggestions:[],validValues:{},loading:this.isFetchingInfoOnLoad()},this.debouncedUpdateSuggestions=(0,r.debounce)(this.updateSuggestions,500)}isFetchingInfoOnLoad=()=>{const{tokens:e,fetchSavedInfo:t}=this.props;return Boolean(e.length&&t)};componentDidMount(){if(this.isFetchingInfoOnLoad()){const{tokens:e,fetchSavedInfo:t}=this.props;t(e).then((e=>{const{validValues:t}=this.state;e.forEach((e=>{t[e.value]=e.label})),this.setState({validValues:t,loading:!1})}))}}componentWillUnmount(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}getLabelsForValues(e){const{validValues:t}=this.state;return e.reduce(((e,a)=>t[a]?[...e,t[a]]:e),[])}getValuesForLabels(e){const{validValues:t}=this.state;return e.map((e=>Object.keys(t).find((a=>t[a]===e)))).filter((e=>!!e))}updateSuggestions(e){const{fetchSuggestions:t}=this.props;t&&this.setState({loading:!0},(()=>{const a=t(e);a.then((e=>{if(this.suggestionsRequest!==a)return;const{validValues:t}=this.state,s=[];e.forEach((e=>{const a=e.label.trim();s.indexOf(a)>=0&&(e.label=`${a} (${e.value})`),s.push(a),t[e.value]=a})),this.setState({suggestions:s,validValues:t,loading:!1})})).catch((()=>{this.suggestionsRequest===a&&this.setState({loading:!1})})),this.suggestionsRequest=a}))}handleOnChange(e){const{onChange:t}=this.props;t(this.getValuesForLabels(e))}getTokens(){const{tokens:e}=this.props;return this.getLabelsForValues(e)}render(){const{help:e,label:t=""}=this.props,{suggestions:a,loading:n}=this.state;return React.createElement("div",{className:"autocomplete-tokenfield"},React.createElement(s.FormTokenField,{value:this.getTokens(),suggestions:a,onChange:e=>this.handleOnChange(e),onInputChange:e=>this.debouncedUpdateSuggestions(e),label:t}),n&&React.createElement(s.Spinner,null),e&&React.createElement("p",{className:"autocomplete-tokenfield__help"},e))}}const o=i},32840:(e,t,a)=>{a.d(t,{O:()=>o,X:()=>l});var s=a(56427),n=a(47143),r=a(27723);const __=r.__,i=({options:e,values:t,onChange:a})=>Array.isArray(e)?e.map((({name:e,slug:n})=>React.createElement(s.PanelRow,{key:n},React.createElement(s.CheckboxControl,{label:e,checked:t.indexOf(n)>-1,onChange:e=>{const s=[...new Set(t)];e&&-1===s.indexOf(n)?s.push(n):!e&&s.indexOf(n)>-1&&s.splice(s.indexOf(n),1),a(s)}})))):React.createElement(s.Spinner,null),o=({attributes:e,setAttributes:t})=>{const{availablePostTypes:a}=(0,n.useSelect)((e=>{const{getPostTypes:t}=e("core"),a=__("Listings","jetpack-mu-wpcom");return{availablePostTypes:t({per_page:-1})?.filter((({supports:{newspack_blocks:e}})=>e))?.map((e=>(0===e.slug.indexOf("newspack_lst")&&"newspack_lst_generic"!==e.slug&&-1===e.name.indexOf(a)&&(e.name=`${e.name} ${a}`),e)))}}));return React.createElement(s.PanelBody,{title:__("Post Types","jetpack-mu-wpcom")},React.createElement(i,{options:a,values:e.postType,onChange:e=>t({postType:e})}))},l=({attributes:e,setAttributes:t})=>React.createElement(s.PanelBody,{title:__("Additional Post Statuses","jetpack-mu-wpcom")},React.createElement(s.PanelRow,null,React.createElement("i",null,__("Selection here has effect only for editors, regular users will only see published posts.","jetpack-mu-wpcom"))),React.createElement(i,{values:e.includedPostStatuses,options:[{name:"Draft",slug:"draft"},{name:"Scheduled",slug:"future"}],onChange:e=>t({includedPostStatuses:e})}))},82142:(e,t,a)=>{a.d(t,{A:()=>m});var s=a(1455),n=a.n(s),r=a(56427),i=a(86087),o=a(18537),l=a(27723),c=a(93832),d=a(55811);const __=l.__,p=e=>(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom"),u=e=>(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom");class h extends i.Component{state={showAdvancedFilters:!1};fetchPostSuggestions=e=>{const{postType:t}=this.props,a=window.newspack_blocks_data.specific_posts_rest_url;return n()({url:(0,c.addQueryArgs)(a,{search:e,postsToShow:20,_fields:"id,title",type:"post",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.title)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchSavedPosts=e=>{const{postType:t}=this.props,a=window.newspack_blocks_data.posts_rest_url;return n()({url:(0,c.addQueryArgs)(a,{postsToShow:100,include:e.join(","),_fields:"id,title",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.title.rendered)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchAuthorSuggestions=e=>{const t=window.newspack_blocks_data.authors_rest_url;return n()({url:(0,c.addQueryArgs)(t,{search:e,per_page:20,fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchSavedAuthors=e=>{const t=window.newspack_blocks_data.authors_rest_url;return n()({url:(0,c.addQueryArgs)(t,{per_page:100,include:e.join(","),fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchCategorySuggestions=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((e=>Promise.all(e.map((e=>e.parent>0?n()({path:(0,c.addQueryArgs)(`/wp/v2/categories/${e.parent}`,{_fields:"name"})}).then((t=>({value:e.id,label:`${p(e)} – ${p(t)}`}))):Promise.resolve({value:e.id,label:p(e)}))))));fetchSavedCategories=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchTagSuggestions=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchSavedTags=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchCustomTaxonomiesSuggestions=(e,t)=>n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}`,{search:t,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((t=>Promise.all(t.map((t=>t.parent>0?n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}/${t.parent}`,{_fields:"name"})}).then((e=>({value:t.id,label:`${u(t)} – ${u(e)}`}))):Promise.resolve({value:t.id,label:u(t)}))))));fetchSavedCustomTaxonomies=(e,t)=>n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}`,{per_page:100,_fields:"id,name",include:t.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));render=()=>{const{specificMode:e,onSpecificModeChange:t,specificPosts:a,onSpecificPostsChange:s,authors:n,onAuthorsChange:i,categories:o,onCategoriesChange:c,includeSubcategories:p,onIncludeSubcategoriesChange:u,tags:h,onTagsChange:m,customTaxonomies:f,onCustomTaxonomiesChange:g,tagExclusions:v,onTagExclusionsChange:w,categoryExclusions:b,onCategoryExclusionsChange:y,customTaxonomyExclusions:E,onCustomTaxonomyExclusionsChange:x,enableSpecific:C}=this.props,{showAdvancedFilters:S}=this.state,T=window.newspack_blocks_data?.custom_taxonomies,$=(e,t,a,s)=>{let n=e.filter((e=>e.slug!==a));n=[...n,{slug:a,terms:s}],t(n)},A=(e,t)=>{const a=e.find((e=>e.slug===t));return a?a.terms:[]};return React.createElement(React.Fragment,null,C&&React.createElement(r.ToggleControl,{checked:e,onChange:t,label:__("Choose Specific Posts","jetpack-mu-wpcom")}),e?React.createElement(d.A,{tokens:a||[],onChange:s,fetchSuggestions:this.fetchPostSuggestions,fetchSavedInfo:this.fetchSavedPosts,label:__("Posts","jetpack-mu-wpcom"),help:__("Begin typing post title, click autocomplete result to select.","jetpack-mu-wpcom")}):React.createElement(React.Fragment,null,React.createElement(r.QueryControls,this.props),i&&React.createElement(d.A,{tokens:n||[],onChange:i,fetchSuggestions:this.fetchAuthorSuggestions,fetchSavedInfo:this.fetchSavedAuthors,label:__("Authors","jetpack-mu-wpcom")}),c&&React.createElement(d.A,{tokens:o||[],onChange:c,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Categories","jetpack-mu-wpcom")}),u&&React.createElement(r.ToggleControl,{checked:p,onChange:u,label:__("Include subcategories ","jetpack-mu-wpcom")}),m&&React.createElement(d.A,{tokens:h||[],onChange:m,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Tags","jetpack-mu-wpcom")}),g&&T.map((e=>React.createElement(d.A,{key:`${f[e.slug]}-selector`,tokens:A(f,e.slug),onChange:t=>{$(f,g,e.slug,t)},fetchSuggestions:t=>this.fetchCustomTaxonomiesSuggestions(e.slug,t),fetchSavedInfo:t=>this.fetchSavedCustomTaxonomies(e.slug,t),label:e.label}))),w&&React.createElement("p",null,React.createElement(r.Button,{isLink:!0,onClick:()=>this.setState({showAdvancedFilters:!S})},S?__("Hide Advanced Filters","jetpack-mu-wpcom"):__("Show Advanced Filters","jetpack-mu-wpcom",0))),S&&React.createElement(React.Fragment,null,w&&React.createElement(d.A,{tokens:v||[],onChange:w,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Excluded Tags","jetpack-mu-wpcom")}),y&&React.createElement(d.A,{tokens:b||[],onChange:y,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Excluded Categories","jetpack-mu-wpcom")}),T&&x&&T.map((({label:e,slug:t})=>React.createElement(d.A,{fetchSavedInfo:e=>this.fetchSavedCustomTaxonomies(t,e),fetchSuggestions:e=>this.fetchCustomTaxonomiesSuggestions(t,e),key:`${t}-exclusions-selector`,label:(0,l.sprintf)( +__("Slide %1$s of %2$s","jetpack-mu-wpcom"),this.realIndex+1,this.pagination?.bullets?.length||0);(0,s.speak)((0,n.escapeHTML)(`${e.innerText},\n\t\t\t\t\t\t\t${a?/* translators: the title of the image. */ /* translators: the title of the image. */(0,r.sprintf)(__("Image: %s, ","jetpack-mu-wpcom"),a):""}\n\t\t\t\t\t\t\t${i}`),"assertive")}}}});function p(){const{aspectRatio:e}=t;Array.from(this.slides).forEach((t=>{t.style.height=t.clientWidth*e+"px"}))}if(a.on("imagesReady",p),a.on("resize",p),t.autoplay){function u(){a.autoplay.stop(),e.play.focus()}function h(){a.autoplay.start(),e.pause.focus()}a.on("init",(function(){e.play.addEventListener("click",h),e.pause.addEventListener("click",u)})),a.on("autoplayStart",(function(){e.block.classList.add(o),(0,s.speak)(__("Playing","jetpack-mu-wpcom"),"assertive")})),a.on("autoplayStop",(function(){e.block.classList.remove(o),(0,s.speak)(__("Paused","jetpack-mu-wpcom"),"assertive")})),a.on("beforeDestroy",(function(){e.play.removeEventListener("click",h),e.pause.removeEventListener("click",u)}))}return a.init(),a}},610:(e,t,a)=>{a.d(t,{A:()=>b});var s=a(4715),n=a(6427),r=a(9491),i=a(7143),o=a(8443),l=a(6087),c=a(8537),d=a(7723),p=a(3022),u=a(8468),h=a(2840),m=a(2142),f=a(9661),g=a(3673),v=a(2895);const __=d.__;class w extends l.Component{constructor(e){super(e),this.btnPlayRef=(0,l.createRef)(),this.btnPauseRef=(0,l.createRef)(),this.btnNextRef=(0,l.createRef)(),this.btnPrevRef=(0,l.createRef)(),this.carouselRef=(0,l.createRef)(),this.paginationRef=(0,l.createRef)(),this.state={swiperInitialized:!1}}componentDidMount(){this.initializeSwiper(0),this.props.triggerReflow()}componentDidUpdate(e){if(!(0React.createElement("article",{className:`post-has-image swiper-slide ${e.post_type} ${e.newspack_article_classes||""}`,key:e.id},(0,f.X8)(e),React.createElement("figure",{className:"post-thumbnail"},React.createElement("a",{href:"#",rel:"bookmark"},e.newspack_featured_image_src?React.createElement("img",{className:`image-fit-${x}`,src:e.newspack_featured_image_src.large,alt:""}):React.createElement("div",{className:"wp-block-newspack-blocks-carousel__placeholder"}))),(e.newspack_post_sponsors||T||O||A||$||M||P)&&React.createElement("div",{className:"entry-wrapper"},(e.newspack_post_sponsors||T&&0a({postsToShow:e||1}),authors:u,onAuthorsChange:e=>a({authors:e}),categories:v,onCategoriesChange:e=>a({categories:e}),includeSubcategories:w,onIncludeSubcategoriesChange:e=>a({includeSubcategories:e}),tags:_,onTagsChange:e=>a({tags:e}),onCustomTaxonomiesChange:e=>a({customTaxonomies:e}),customTaxonomies:b,specificMode:R,onSpecificModeChange:e=>a({specificMode:e}),specificPosts:I,onSpecificPostsChange:e=>a({specificPosts:e}),postType:S})),React.createElement(n.PanelBody,{title:__("Slideshow Settings","jetpack-mu-wpcom"),initialOpen:!0},React.createElement(n.BaseControl,{label:__("Slide Aspect Ratio","jetpack-mu-wpcom"),help:__("All slides will share the same aspect ratio, for consistency.","jetpack-mu-wpcom"),id:"newspack-blocks__aspect-ratio-control"},React.createElement(n.PanelRow,null,React.createElement(n.ButtonGroup,{id:"newspack-blocks__aspect-ratio-control-buttons","aria-label":__("Slide Aspect Ratio","jetpack-mu-wpcom")},Y.map((e=>{const t=d===e.value;return React.createElement(n.Button,{isPrimary:t,"aria-pressed":t,"aria-label":e.label,key:e.value,onClick:()=>a({aspectRatio:e.value})},e.shortName)}))))),React.createElement(n.BaseControl,{label:__("Image Fit","jetpack-mu-wpcom"),help:"cover"===x?__("The image will fill the entire slide and will be cropped if necessary.","jetpack-mu-wpcom"):__("The image will be resized to fit inside the slide without being cropped.","jetpack-mu-wpcom",0),id:"newspack-blocks__blocks__image-fit-control"},React.createElement(n.PanelRow,null,React.createElement(n.ButtonGroup,{id:"newspack-blocks__image-fit-buttons","aria-label":__("Image Fit","jetpack-mu-wpcom")},React.createElement(n.Button,{isPrimary:"cover"===x,"aria-pressed":"cover"===x,"aria-label":__("Cover","jetpack-mu-wpcom"),onClick:()=>a({imageFit:"cover"})},__("Cover","jetpack-mu-wpcom")),React.createElement(n.Button,{isPrimary:"contain"===x,"aria-pressed":"contain"===x,"aria-label":__("Contain","jetpack-mu-wpcom"),onClick:()=>a({imageFit:"contain"})},__("Contain","jetpack-mu-wpcom"))))),React.createElement(n.ToggleControl,{label:__("Hide Controls","jetpack-mu-wpcom"),help:__("Hide the slideshow UI. Useful when used with Autoplay.","jetpack-mu-wpcom"),checked:E,onChange:e=>{a({hideControls:e})}}),React.createElement(n.ToggleControl,{label:__("Autoplay","jetpack-mu-wpcom"),help:__("Autoplay between slides","jetpack-mu-wpcom"),checked:g,onChange:e=>{a({autoplay:e})}}),g&&React.createElement(n.RangeControl,{label:__("Delay between transitions (in seconds)","jetpack-mu-wpcom"),value:y,onChange:e=>{a({delay:e})},min:1,max:20}),r&&1{a({slidesPerView:e})},min:1,max:R?Math.min(6,r.length):Math.min(6,B)})),React.createElement(n.PanelBody,{title:__("Article Meta Settings","jetpack-mu-wpcom")},React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Title","jetpack-mu-wpcom"),checked:O,onChange:()=>a({showTitle:!O})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Date","jetpack-mu-wpcom"),checked:$,onChange:()=>a({showDate:!$})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Category","jetpack-mu-wpcom"),checked:T,onChange:()=>a({showCategory:!T})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Author","jetpack-mu-wpcom"),checked:A,onChange:()=>a({showAuthor:!A})})),A&&React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Author Avatar","jetpack-mu-wpcom"),checked:k,onChange:()=>a({showAvatar:!k})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Featured Image Caption","jetpack-mu-wpcom"),checked:M,onChange:()=>a({showCaption:!M})})),React.createElement(n.PanelRow,null,React.createElement(n.ToggleControl,{label:__("Show Featured Image Credit","jetpack-mu-wpcom"),checked:P,onChange:()=>a({showCredit:!P})}))),React.createElement(h.O,{attributes:e,setAttributes:a}),React.createElement(h.X,{attributes:e,setAttributes:a})))}}const b=(0,r.compose)([(0,i.withSelect)(g.cR),(0,i.withDispatch)(g.Fl)])(w)},8688:(e,t,a)=>{a.d(t,{W0:()=>i});var s=a(6427),n=a(7723),r=a(610);const __=n.__,i={title:__("Post Carousel","jetpack-mu-wpcom"),icon:{src:React.createElement(s.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement(s.Path,{clipRule:"evenodd",d:"M7 18V6a2 2 0 012-2h6a2 2 0 012 2v12a2 2 0 01-2 2H9a2 2 0 01-2-2zM8.5 6v12a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V6a.5.5 0 00-.5-.5H9a.5.5 0 00-.5.5z",fillRule:"evenodd"}),React.createElement(s.Path,{d:"M4 18.5v-13h1.5v13zM18.5 5.5v13H20v-13z"})),foreground:"#36f"},category:"newspack",keywords:[__("posts","jetpack-mu-wpcom"),__("slideshow","jetpack-mu-wpcom"),__("carousel","jetpack-mu-wpcom")],description:__("A carousel of posts.","jetpack-mu-wpcom"),attributes:{className:{type:"string"},imageFit:{type:"string",default:"cover"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:5},postsToShow:{type:"integer",default:3},authors:{type:"array"},categories:{type:"array"},includeSubcategories:{type:"boolean",default:!0},tags:{type:"array"},customTaxonomies:{type:"array"},showDate:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showAvatar:{type:"boolean",default:!0},showCaption:{type:"boolean",default:!1},showCredit:{type:"boolean",default:!1},showCategory:{type:"boolean",default:!1},showTitle:{type:"boolean",default:!0},postType:{type:"array",default:["post"],items:{type:"string"}},specificMode:{type:"boolean",default:!1},specificPosts:{type:"array",default:[],items:{type:"integer"}},slidesPerView:{type:"number",default:1},hideControls:{type:"boolean",default:!1},aspectRatio:{type:"number",default:.75},includedPostStatuses:{type:"array",default:["publish"],items:{type:"string"}}},supports:{html:!1,align:["center","wide","full"]},edit:r.A,save:()=>null}},9971:(e,t,a)=>{a.d(t,{C:()=>l});a(1455),a(7143),a(3832);var s=a(8468),n=a(6556),r=a(1594),i=(a(1003),a(7319));a(3673);const{UU:o}=i,l=`newspack-blocks/${o}`,c={postsByBlock:{},errorsByBlock:{}},d={reflow:()=>{h.dispatch({type:"REFLOW"})}},p={getPosts:({clientId:e})=>h.getState().postsByBlock[e],getError:({clientId:e})=>h.getState().errorsByBlock[e],isUIDisabled:()=>h.getState().isUIDisabled},u=(0,r.Ay)(),h=(0,n.y$)(((e=c,t)=>{switch(t.type){case"DISABLE_UI":return(0,s.set)(e,"isUIDisabled",!0);case"ENABLE_UI":return(0,s.set)(e,"isUIDisabled",!1);case"UPDATE_BLOCK_POSTS":return(0,s.set)(e,["postsByBlock",t.clientId],t.posts);case"UPDATE_BLOCK_ERROR":return(0,s.set)(e,["errorsByBlock",t.clientId],t.error)}return e}),(0,n.Tw)(u));JSON.stringify},3673:(e,t,a)=>{a.d(t,{Fl:()=>h,cR:()=>u,pV:()=>o});var s=a(7723),n=a(8468),r=a(9971);const __=s.__,i=["postsToShow","authors","categories","includeSubcategories","excerptLength","tags","customTaxonomies","showExcerpt","specificPosts","specificMode","tagExclusions","categoryExclusions","customTaxonomyExclusions","postType","includedPostStatuses","deduplicate","showCaption","showCredit"],o=(e,t)=>!(0,n.isEqual)((0,n.pick)(e.attributes,i),(0,n.pick)(t.attributes,i))||!(0,n.isEqual)(e.topBlocksClientIdsInOrder,t.topBlocksClientIdsInOrder),l=e=>e.flatMap((e=>{const t=[];return t.push(e.clientId),t.concat(l(e.innerBlocks))})),c=window.newspack_blocks_data.assets_path,d=e=>{const t=new Date;return t.setHours(12,0,0,0),{author:1,content:{rendered:"

"+__("The post content.","jetpack-mu-wpcom")+"

"},date:t.toISOString(),date_formatted:t.toLocaleString(),article_meta_footer:"",excerpt:{rendered:"

"+__("The post excerpt.","jetpack-mu-wpcom")+"

"},post_link:"/",featured_media:"1",id:e,post_type:"post",meta:{newspack_post_subtitle:__("Post Subtitle","jetpack-mu-wpcom")},title:{rendered:__("Post Title","jetpack-mu-wpcom")},newspack_article_classes:"type-post",newspack_author_info:[{display_name:__("Author Name","jetpack-mu-wpcom"),avatar:'
',id:1,author_link:"/"}],newspack_category_info:__("Category","jetpack-mu-wpcom"),newspack_featured_image_caption:__("Featured image caption","jetpack-mu-wpcom"),newspack_featured_image_src:{large:`${c}/newspack-1024x536.jpg`,landscape:`${c}/newspack-800x600.jpg`,portrait:`${c}/newspack-600x800.jpg`,square:`${c}/newspack-800x800.jpg`,uncropped:`${c}/newspack-1024x536.jpg`},newspack_has_custom_excerpt:!1,newspack_sponsors_show_categories:!1,newspack_sponsors_show_author:!1}},p=e=>(0,n.times)(e.postsToShow,d),u=(e,{clientId:t,attributes:a})=>{const{getBlocks:s}=e("core/block-editor"),{getEditedPostAttribute:n}=e("core/editor"),i=n("blocks")||[],o=[];for(const e of i)"core/block"===e.name?o.push(...s(e.clientId)):o.push(e);const c=l(o),d=s(),u=d.some((e=>"core/widget-area"===e.name)),h=0===c.length||c.indexOf(t)>=0||u,{getPosts:m,getError:f,isUIDisabled:g}=e(r.C);return{isEditorBlock:h,isUIDisabled:g(),error:f({clientId:t}),topBlocksClientIdsInOrder:d.map((e=>e.clientId)),latestPosts:h?m({clientId:t}):p(a)}},h=(e,{isEditorBlock:t})=>({triggerReflow:t?e(r.C).reflow:()=>{}})},5811:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(6427),n=a(6087),r=a(8468);class i extends n.Component{constructor(e){super(e),this.state={suggestions:[],validValues:{},loading:this.isFetchingInfoOnLoad()},this.debouncedUpdateSuggestions=(0,r.debounce)(this.updateSuggestions,500)}isFetchingInfoOnLoad=()=>{const{tokens:e,fetchSavedInfo:t}=this.props;return Boolean(e.length&&t)};componentDidMount(){if(this.isFetchingInfoOnLoad()){const{tokens:e,fetchSavedInfo:t}=this.props;t(e).then((e=>{const{validValues:t}=this.state;e.forEach((e=>{t[e.value]=e.label})),this.setState({validValues:t,loading:!1})}))}}componentWillUnmount(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}getLabelsForValues(e){const{validValues:t}=this.state;return e.reduce(((e,a)=>t[a]?[...e,t[a]]:e),[])}getValuesForLabels(e){const{validValues:t}=this.state;return e.map((e=>Object.keys(t).find((a=>t[a]===e)))).filter((e=>!!e))}updateSuggestions(e){const{fetchSuggestions:t}=this.props;t&&this.setState({loading:!0},(()=>{const a=t(e);a.then((e=>{if(this.suggestionsRequest!==a)return;const{validValues:t}=this.state,s=[];e.forEach((e=>{const a=e.label.trim();s.indexOf(a)>=0&&(e.label=`${a} (${e.value})`),s.push(a),t[e.value]=a})),this.setState({suggestions:s,validValues:t,loading:!1})})).catch((()=>{this.suggestionsRequest===a&&this.setState({loading:!1})})),this.suggestionsRequest=a}))}handleOnChange(e){const{onChange:t}=this.props;t(this.getValuesForLabels(e))}getTokens(){const{tokens:e}=this.props;return this.getLabelsForValues(e)}render(){const{help:e,label:t=""}=this.props,{suggestions:a,loading:n}=this.state;return React.createElement("div",{className:"autocomplete-tokenfield"},React.createElement(s.FormTokenField,{value:this.getTokens(),suggestions:a,onChange:e=>this.handleOnChange(e),onInputChange:e=>this.debouncedUpdateSuggestions(e),label:t}),n&&React.createElement(s.Spinner,null),e&&React.createElement("p",{className:"autocomplete-tokenfield__help"},e))}}const o=i},2840:(e,t,a)=>{a.d(t,{O:()=>o,X:()=>l});var s=a(6427),n=a(7143),r=a(7723);const __=r.__,i=({options:e,values:t,onChange:a})=>Array.isArray(e)?e.map((({name:e,slug:n})=>React.createElement(s.PanelRow,{key:n},React.createElement(s.CheckboxControl,{label:e,checked:t.indexOf(n)>-1,onChange:e=>{const s=[...new Set(t)];e&&-1===s.indexOf(n)?s.push(n):!e&&s.indexOf(n)>-1&&s.splice(s.indexOf(n),1),a(s)}})))):React.createElement(s.Spinner,null),o=({attributes:e,setAttributes:t})=>{const{availablePostTypes:a}=(0,n.useSelect)((e=>{const{getPostTypes:t}=e("core"),a=__("Listings","jetpack-mu-wpcom");return{availablePostTypes:t({per_page:-1})?.filter((({supports:{newspack_blocks:e}})=>e))?.map((e=>(0===e.slug.indexOf("newspack_lst")&&"newspack_lst_generic"!==e.slug&&-1===e.name.indexOf(a)&&(e.name=`${e.name} ${a}`),e)))}}));return React.createElement(s.PanelBody,{title:__("Post Types","jetpack-mu-wpcom")},React.createElement(i,{options:a,values:e.postType,onChange:e=>t({postType:e})}))},l=({attributes:e,setAttributes:t})=>React.createElement(s.PanelBody,{title:__("Additional Post Statuses","jetpack-mu-wpcom")},React.createElement(s.PanelRow,null,React.createElement("i",null,__("Selection here has effect only for editors, regular users will only see published posts.","jetpack-mu-wpcom"))),React.createElement(i,{values:e.includedPostStatuses,options:[{name:"Draft",slug:"draft"},{name:"Scheduled",slug:"future"}],onChange:e=>t({includedPostStatuses:e})}))},2142:(e,t,a)=>{a.d(t,{A:()=>m});var s=a(1455),n=a.n(s),r=a(6427),i=a(6087),o=a(8537),l=a(7723),c=a(3832),d=a(5811);const __=l.__,p=e=>(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom"),u=e=>(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom");class h extends i.Component{state={showAdvancedFilters:!1};fetchPostSuggestions=e=>{const{postType:t}=this.props,a=window.newspack_blocks_data.specific_posts_rest_url;return n()({url:(0,c.addQueryArgs)(a,{search:e,postsToShow:20,_fields:"id,title",type:"post",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.title)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchSavedPosts=e=>{const{postType:t}=this.props,a=window.newspack_blocks_data.posts_rest_url;return n()({url:(0,c.addQueryArgs)(a,{postsToShow:100,include:e.join(","),_fields:"id,title",postType:t})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.title.rendered)||__("(no title)","jetpack-mu-wpcom")})))}))};fetchAuthorSuggestions=e=>{const t=window.newspack_blocks_data.authors_rest_url;return n()({url:(0,c.addQueryArgs)(t,{search:e,per_page:20,fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchSavedAuthors=e=>{const t=window.newspack_blocks_data.authors_rest_url;return n()({url:(0,c.addQueryArgs)(t,{per_page:100,include:e.join(","),fields:"id,name"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no name)","jetpack-mu-wpcom")})))}))};fetchCategorySuggestions=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/categories",{search:e,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((e=>Promise.all(e.map((e=>e.parent>0?n()({path:(0,c.addQueryArgs)(`/wp/v2/categories/${e.parent}`,{_fields:"name"})}).then((t=>({value:e.id,label:`${p(e)} – ${p(t)}`}))):Promise.resolve({value:e.id,label:p(e)}))))));fetchSavedCategories=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/categories",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchTagSuggestions=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/tags",{search:e,per_page:20,_fields:"id,name",orderby:"count",order:"desc"})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchSavedTags=e=>n()({path:(0,c.addQueryArgs)("/wp/v2/tags",{per_page:100,_fields:"id,name",include:e.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));fetchCustomTaxonomiesSuggestions=(e,t)=>n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}`,{search:t,per_page:20,_fields:"id,name,parent",orderby:"count",order:"desc"})}).then((t=>Promise.all(t.map((t=>t.parent>0?n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}/${t.parent}`,{_fields:"name"})}).then((e=>({value:t.id,label:`${u(t)} – ${u(e)}`}))):Promise.resolve({value:t.id,label:u(t)}))))));fetchSavedCustomTaxonomies=(e,t)=>n()({path:(0,c.addQueryArgs)(`/wp/v2/${e}`,{per_page:100,_fields:"id,name",include:t.join(",")})}).then((function(e){return e.map((e=>({value:e.id,label:(0,o.decodeEntities)(e.name)||__("(no title)","jetpack-mu-wpcom")})))}));render=()=>{const{specificMode:e,onSpecificModeChange:t,specificPosts:a,onSpecificPostsChange:s,authors:n,onAuthorsChange:i,categories:o,onCategoriesChange:c,includeSubcategories:p,onIncludeSubcategoriesChange:u,tags:h,onTagsChange:m,customTaxonomies:f,onCustomTaxonomiesChange:g,tagExclusions:v,onTagExclusionsChange:w,categoryExclusions:b,onCategoryExclusionsChange:y,customTaxonomyExclusions:E,onCustomTaxonomyExclusionsChange:x,enableSpecific:C}=this.props,{showAdvancedFilters:S}=this.state,T=window.newspack_blocks_data?.custom_taxonomies,$=(e,t,a,s)=>{let n=e.filter((e=>e.slug!==a));n=[...n,{slug:a,terms:s}],t(n)},A=(e,t)=>{const a=e.find((e=>e.slug===t));return a?a.terms:[]};return React.createElement(React.Fragment,null,C&&React.createElement(r.ToggleControl,{checked:e,onChange:t,label:__("Choose Specific Posts","jetpack-mu-wpcom")}),e?React.createElement(d.A,{tokens:a||[],onChange:s,fetchSuggestions:this.fetchPostSuggestions,fetchSavedInfo:this.fetchSavedPosts,label:__("Posts","jetpack-mu-wpcom"),help:__("Begin typing post title, click autocomplete result to select.","jetpack-mu-wpcom")}):React.createElement(React.Fragment,null,React.createElement(r.QueryControls,this.props),i&&React.createElement(d.A,{tokens:n||[],onChange:i,fetchSuggestions:this.fetchAuthorSuggestions,fetchSavedInfo:this.fetchSavedAuthors,label:__("Authors","jetpack-mu-wpcom")}),c&&React.createElement(d.A,{tokens:o||[],onChange:c,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Categories","jetpack-mu-wpcom")}),u&&React.createElement(r.ToggleControl,{checked:p,onChange:u,label:__("Include subcategories ","jetpack-mu-wpcom")}),m&&React.createElement(d.A,{tokens:h||[],onChange:m,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Tags","jetpack-mu-wpcom")}),g&&T.map((e=>React.createElement(d.A,{key:`${f[e.slug]}-selector`,tokens:A(f,e.slug),onChange:t=>{$(f,g,e.slug,t)},fetchSuggestions:t=>this.fetchCustomTaxonomiesSuggestions(e.slug,t),fetchSavedInfo:t=>this.fetchSavedCustomTaxonomies(e.slug,t),label:e.label}))),w&&React.createElement("p",null,React.createElement(r.Button,{isLink:!0,onClick:()=>this.setState({showAdvancedFilters:!S})},S?__("Hide Advanced Filters","jetpack-mu-wpcom"):__("Show Advanced Filters","jetpack-mu-wpcom",0))),S&&React.createElement(React.Fragment,null,w&&React.createElement(d.A,{tokens:v||[],onChange:w,fetchSuggestions:this.fetchTagSuggestions,fetchSavedInfo:this.fetchSavedTags,label:__("Excluded Tags","jetpack-mu-wpcom")}),y&&React.createElement(d.A,{tokens:b||[],onChange:y,fetchSuggestions:this.fetchCategorySuggestions,fetchSavedInfo:this.fetchSavedCategories,label:__("Excluded Categories","jetpack-mu-wpcom")}),T&&x&&T.map((({label:e,slug:t})=>React.createElement(d.A,{fetchSavedInfo:e=>this.fetchSavedCustomTaxonomies(t,e),fetchSuggestions:e=>this.fetchCustomTaxonomiesSuggestions(t,e),key:`${t}-exclusions-selector`,label:(0,l.sprintf)( // translators: %s is the custom taxonomy label. -__("Excluded %s","jetpack-mu-wpcom"),e),onChange:e=>$(E,x,t,e),tokens:A(E,t)}))))))}}h.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],customTaxonomies:[],tagExclusions:[],customTaxonomyExclusions:[]};const m=h},9661:(e,t,a)=>{a.d(t,{Az:()=>r,HN:()=>o,NQ:()=>i,X8:()=>c,vQ:()=>l});var s=a(86087),n=a(27723);const _x=n._x,__=n.__,r=e=>e.map((e=>React.createElement("span",{className:"avatar author-avatar",key:e.id},React.createElement("a",{className:"url fn n",href:e.author_link},React.createElement(s.RawHTML,null,e.avatar))))),i=e=>React.createElement("span",{className:"byline"},React.createElement("span",{className:"author-prefix"},_x("by","post author","jetpack-mu-wpcom"))," ",e.reduce(((t,a,s)=>[...t,React.createElement("span",{className:"author vcard",key:a.id},React.createElement("a",{className:"url fn n",href:a.author_link},a.display_name)),s1&&s===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),o=e=>React.createElement("span",{className:"sponsor-logos"},e.map((e=>React.createElement(s.Fragment,{key:e.id},e.src&&React.createElement("a",{href:e.sponsor_url},React.createElement("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))))),l=e=>React.createElement("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce(((t,a,s)=>[...t,React.createElement("span",{className:"author",key:a.id},React.createElement("a",{href:a.author_link},a.sponsor_name)),s1&&s===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),c=(e={})=>"publish"!==e.post_status?React.createElement("div",{className:"newspack-preview-label"},{draft:__("Draft","jetpack-mu-wpcom"),future:__("Scheduled","jetpack-mu-wpcom")}[e.post_status]):null},66087:e=>{e.exports=window.lodash},20195:e=>{e.exports=window.wp.a11y},1455:e=>{e.exports=window.wp.apiFetch},94715:e=>{e.exports=window.wp.blockEditor},74997:e=>{e.exports=window.wp.blocks},56427:e=>{e.exports=window.wp.components},29491:e=>{e.exports=window.wp.compose},47143:e=>{e.exports=window.wp.data},38443:e=>{e.exports=window.wp.date},86087:e=>{e.exports=window.wp.element},89877:e=>{e.exports=window.wp.escapeHtml},52619:e=>{e.exports=window.wp.hooks},18537:e=>{e.exports=window.wp.htmlEntities},27723:e=>{e.exports=window.wp.i18n},93832:e=>{e.exports=window.wp.url},74577:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(89156);function n(e,t,a){return(t=(0,s.A)(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},77790:(e,t,a)=>{function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;ts})},94021:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(74577);function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function r(e){for(var t=1;t{function s(e,t){if(null==e)return{};var a={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)>=0)continue;a[s]=e[s]}return a}a.d(t,{A:()=>s})},80129:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(17278);function n(e,t){if("object"!=(0,s.A)(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=(0,s.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},89156:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(17278),n=a(80129);function r(e){var t=(0,n.A)(e,"string");return"symbol"==(0,s.A)(t)?t:t+""}},17278:(e,t,a)=>{function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}a.d(t,{A:()=>s})},13022:(e,t,a)=>{function s(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;tn});const n=function(){for(var e,t,a=0,n="",r=arguments.length;a{a.d(t,{$:()=>o,$t:()=>N,AH:()=>S,AU:()=>v,BC:()=>z,CF:()=>u,DK:()=>E,Gq:()=>y,HN:()=>T,HW:()=>_,Hs:()=>R,I6:()=>Y,K$:()=>h,K2:()=>I,M8:()=>D,Pe:()=>P,Qq:()=>k,R7:()=>C,TF:()=>G,XQ:()=>b,YL:()=>L,Y_:()=>H,cY:()=>x,eq:()=>O,hZ:()=>w,iQ:()=>l,is:()=>M,kY:()=>f,kp:()=>B,nB:()=>p,on:()=>g,p1:()=>d,pb:()=>$,pd:()=>m,qy:()=>A,vy:()=>c,zy:()=>j});var s=a(21895);class n extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function r(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...r(e)):t.push(e)})),t}function i(e,t){return Array.prototype.filter.call(e,t)}function o(e,t){const a=(0,s.zk)(),r=(0,s.YE)();let i=[];if(!t&&e instanceof n)return e;if(!e)return new n(i);if("string"==typeof e){const a=e.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){let e="div";0===a.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this}function c(...e){const t=r(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this}function d(...e){const t=r(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))}function p(...e){const t=r(e.map((e=>e.split(" "))));return i(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0}function u(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let a=0;a=0;e-=1){const a=i[e];s&&a.listener===s||s&&a.listener&&a.listener.dom7proxy&&a.listener.dom7proxy===s?(r.removeEventListener(t,a.proxyListener,n),i.splice(e,1)):s||(r.removeEventListener(t,a.proxyListener,n),i.splice(e,1))}}}return this}function w(...e){const t=(0,s.zk)(),a=e[0].split(" "),n=e[1];for(let s=0;st>0)),s.dispatchEvent(a),s.dom7EventData=[],delete s.dom7EventData}}}return this}function b(e){const t=this;return e&&t.on("transitionend",(function a(s){s.target===this&&(e.call(this,s),t.off("transitionend",a))})),this}function y(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function E(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function x(){if(this.length>0){const e=(0,s.zk)(),t=(0,s.YE)(),a=this[0],n=a.getBoundingClientRect(),r=t.body,i=a.clientTop||r.clientTop||0,o=a.clientLeft||r.clientLeft||0,l=a===e?e.scrollY:a.scrollTop,c=a===e?e.scrollX:a.scrollLeft;return{top:n.top+l-i,left:n.left+c-o}}return null}function C(){const e=(0,s.zk)();return this[0]?e.getComputedStyle(this[0],null):{}}function S(e,t){const a=(0,s.zk)();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n{e.apply(t,[t,a])})),this):this}function $(e){return o(i(this,e))}function A(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return o([]);if(e<0){const a=t+e;return o(a<0?[]:[this[a]])}return o([this[e]])}function z(...e){let t;const a=(0,s.YE)();for(let s=0;s=0;r-=1)this[a].insertBefore(s.childNodes[r],this[a].childNodes[0])}else if(e instanceof n)for(r=0;r0?e?this[0].nextElementSibling&&o(this[0].nextElementSibling).is(e)?o([this[0].nextElementSibling]):o([]):this[0].nextElementSibling?o([this[0].nextElementSibling]):o([]):o([])}function _(e){const t=[];let a=this[0];if(!a)return o([]);for(;a.nextElementSibling;){const s=a.nextElementSibling;e?o(s).is(e)&&t.push(s):t.push(s),a=s}return o(t)}function L(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&o(t.previousElementSibling).is(e)?o([t.previousElementSibling]):o([]):t.previousElementSibling?o([t.previousElementSibling]):o([])}return o([])}function j(e){const t=[];let a=this[0];if(!a)return o([]);for(;a.previousElementSibling;){const s=a.previousElementSibling;e?o(s).is(e)&&t.push(s):t.push(s),a=s}return o(t)}function N(e){const t=[];for(let a=0;a{function s(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function n(e={},t={}){Object.keys(t).forEach((a=>{void 0===e[a]?e[a]=t[a]:s(t[a])&&s(e[a])&&Object.keys(t[a]).length>0&&n(e[a],t[a])}))}a.d(t,{YE:()=>i,zk:()=>l});const r={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e="undefined"!=typeof document?document:{};return n(e,r),e}const o={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return n(e,o),e}},6100:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(21895);function n(e,t="window",a){if(!e||"container"===t&&!a)return;let n=!1;const r=(0,s.zk)(),i="window"===t?r.innerHeight:a.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e{a.d(t,{A:()=>r});var s=a(36352),n=a(6100);const r={setBreakpoint:s.A,getBreakpoint:n.A}},36352:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(50587);const n=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function r(){const e=this,{activeIndex:t,initialized:a,loopedSlides:r=0,params:i,$el:o}=e,l=i.breakpoints;if(!l||l&&0===Object.keys(l).length)return;const c=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(!c||e.currentBreakpoint===c)return;const d=(c in l?l[c]:void 0)||e.originalParams,p=n(e,i),u=n(e,d),h=i.enabled;p&&!u?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(o.addClass(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const a=i[t]&&i[t].enabled,s=d[t]&&d[t].enabled;a&&!s&&e[t].disable(),!a&&s&&e[t].enable()}));const m=d.direction&&d.direction!==i.direction,f=i.loop&&(d.slidesPerView!==i.slidesPerView||m);m&&a&&e.changeDirection(),(0,s.X$)(e.params,d);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!g?e.disable():!h&&g&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),f&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}},30736:(e,t,a)=>{a.d(t,{A:()=>s});const s={checkOverflow:function(){const e=this,{isLocked:t,params:a}=e,{slidesOffsetBefore:s}=a;if(s){const t=e.slides.length-1,a=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*s;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===a.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===a.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},49374:(e,t,a)=>{function s(){const e=this,{classNames:t,params:a,rtl:s,$el:n,device:r,support:i}=e,o=function(e,t){const a=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((s=>{e[s]&&a.push(t+s)})):"string"==typeof e&&a.push(t+e)})),a}(["initialized",a.direction,{"pointer-events":!i.touch},{"free-mode":e.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:s},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);t.push(...o),n.addClass([...t].join(" ")),e.emitContainerClasses()}a.d(t,{A:()=>s})},50799:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(49374),n=a(86167);const r={addClasses:s.A,removeClasses:n.A}},86167:(e,t,a)=>{function s(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}a.d(t,{A:()=>s})},83277:(e,t,a)=>{a.d(t,{A:()=>k});var s=a(21895),n=a(97626),r=a(50587),i=a(96076),o=a(61957),l=a(79167),c=a(27875),d=a(81639),p=a(8260),u=a(85e3),h=a(54361),m=a(43010),f=a(33438),g=a(6299),v=a(1800),w=a(47912),b=a(1183),y=a(50799),E=a(28331),x=a(30736),C=a(21880),S=a(52040);const T={eventsEmitter:p.A,update:u.A,translate:h.A,transition:m.A,slide:f.A,loop:g.A,grabCursor:v.A,events:w.A,breakpoints:b.A,checkOverflow:x.A,classes:y.A,images:E.A},$={};class A{constructor(...e){let t,a;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?a=e[0]:[t,a]=e,a||(a={}),a=(0,r.X$)({},a),t&&!a.el&&(a.el=t),a.el&&(0,n.A)(a.el).length>1){const e=[];return(0,n.A)(a.el).each((t=>{const s=(0,r.X$)({},a,{el:t});e.push(new A(s))})),e}const s=this;s.__swiper__=!0,s.support=(0,i.k)(),s.device=(0,o.P)({userAgent:a.userAgent}),s.browser=(0,l.X)(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],a.modules&&Array.isArray(a.modules)&&s.modules.push(...a.modules);const c={};s.modules.forEach((e=>{e({swiper:s,extendParams:(0,S.A)(a,c),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})}));const d=(0,r.X$)({},C.A,c);return s.params=(0,r.X$)({},d,$,a),s.originalParams=(0,r.X$)({},s.params),s.passedParams=(0,r.X$)({},a),s.params&&s.params.on&&Object.keys(s.params.on).forEach((e=>{s.on(e,s.params.on[e])})),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=n.A,Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:(0,n.A)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return s.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},s.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:(0,r.tB)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const a=this;e=Math.min(Math.max(e,0),1);const s=a.minTranslate(),n=(a.maxTranslate()-s)*e+s;a.translateTo(n,void 0===t?0:t),a.updateActiveIndex(),a.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((a=>{const s=e.getSlideClasses(a);t.push({slideEl:a,classNames:s}),e.emit("_slideClass",a,s)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:a,slides:s,slidesGrid:n,slidesSizesGrid:r,size:i,activeIndex:o}=this;let l=1;if(a.centeredSlides){let e,t=s[o].swiperSlideSize;for(let a=o+1;ai&&(e=!0));for(let a=o-1;a>=0;a-=1)s[a]&&!e&&(t+=s[a].swiperSlideSize,l+=1,t>i&&(e=!0))}else if("current"===e)for(let e=o+1;e=0;e-=1){n[o]-n[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),n||s()),a.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const a=this,s=a.params.direction;return e||(e="horizontal"===s?"vertical":"horizontal"),e===s||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass(`${a.params.containerModifierClass}${s}`).addClass(`${a.params.containerModifierClass}${e}`),a.emitContainerClasses(),a.params.direction=e,a.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),a.emit("changeDirection"),t&&a.update()),a}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const a=(0,n.A)(e||t.params.el);if(!(e=a[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=(0,n.A)(e.shadowRoot.querySelector(r()));return t.children=e=>a.children(e),t}return a.children?a.children(r()):(0,n.A)(a).children(r())})();if(0===i.length&&t.params.createElements){const e=(0,s.YE)().createElement("div");i=(0,n.A)(e),e.className=t.params.wrapperClass,a.append(e),a.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:a,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const a=this,{params:s,$el:n,$wrapperEl:i,slides:o}=a;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),s.loop&&a.loopDestroy(),t&&(a.removeClasses(),n.removeAttr("style"),i.removeAttr("style"),o&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((e=>{a.off(e)})),!1!==e&&(a.$el[0].swiper=null,(0,r.oR)(a)),a.destroyed=!0),null}static extendDefaults(e){(0,r.X$)($,e)}static get extendedDefaults(){return $}static get defaults(){return C.A}static installModule(e){A.prototype.__modules__||(A.prototype.__modules__=[]);const t=A.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>A.installModule(e))),A):(A.installModule(e),A)}}Object.keys(T).forEach((e=>{Object.keys(T[e]).forEach((t=>{A.prototype[t]=T[e][t]}))})),A.use([c.A,d.A]);const k=A},21880:(e,t,a)=>{a.d(t,{A:()=>s});const s={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},8260:(e,t,a)=>{a.d(t,{A:()=>s});const s={on(e,t,a){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;const n=a?"unshift":"push";return e.split(" ").forEach((e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][n](t)})),s},once(e,t,a){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;function n(...a){s.off(e,n),n.__emitterProxy&&delete n.__emitterProxy,t.apply(s,a)}return n.__emitterProxy=t,s.on(e,n,a)},onAny(e,t){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof e)return a;const s=t?"unshift":"push";return a.eventsAnyListeners.indexOf(e)<0&&a.eventsAnyListeners[s](e),a},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const a=t.eventsAnyListeners.indexOf(e);return a>=0&&t.eventsAnyListeners.splice(a,1),t},off(e,t){const a=this;return!a.eventsListeners||a.destroyed?a:a.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].forEach(((s,n)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&a.eventsListeners[e].splice(n,1)}))})),a):a},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let a,s,n;"string"==typeof e[0]||Array.isArray(e[0])?(a=e[0],s=e.slice(1,e.length),n=t):(a=e[0].events,s=e[0].data,n=e[0].context||t),s.unshift(n);return(Array.isArray(a)?a:a.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(n,[e,...s])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(n,s)}))})),t}}},47912:(e,t,a)=>{a.d(t,{A:()=>h});var s=a(21895),n=a(6446),r=a(23937),i=a(38707),o=a(81087),l=a(41951),c=a(24266);let d=!1;function p(){}const u=(e,t)=>{const a=(0,s.YE)(),{params:n,touchEvents:r,el:i,wrapperEl:l,device:c,support:d}=e,p=!!n.nested,u="on"===t?"addEventListener":"removeEventListener",h=t;if(d.touch){const t=!("touchstart"!==r.start||!d.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};i[u](r.start,e.onTouchStart,t),i[u](r.move,e.onTouchMove,d.passiveListener?{passive:!1,capture:p}:p),i[u](r.end,e.onTouchEnd,t),r.cancel&&i[u](r.cancel,e.onTouchEnd,t)}else i[u](r.start,e.onTouchStart,!1),a[u](r.move,e.onTouchMove,p),a[u](r.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&i[u]("click",e.onClick,!0),n.cssMode&&l[u]("scroll",e.onScroll),n.updateOnWindowResize?e[h](c.ios||c.android?"resize orientationchange observerUpdate":"resize observerUpdate",o.A,!0):e[h]("observerUpdate",o.A,!0)};const h={attachEvents:function(){const e=this,t=(0,s.YE)(),{params:a,support:o}=e;e.onTouchStart=n.A.bind(e),e.onTouchMove=r.A.bind(e),e.onTouchEnd=i.A.bind(e),a.cssMode&&(e.onScroll=c.A.bind(e)),e.onClick=l.A.bind(e),o.touch&&!d&&(t.addEventListener("touchstart",p),d=!0),u(e,"on")},detachEvents:function(){u(this,"off")}}},41951:(e,t,a)=>{function s(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}a.d(t,{A:()=>s})},81087:(e,t,a)=>{function s(){const e=this,{params:t,el:a}=e;if(a&&0===a.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=n,e.allowSlideNext=s,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}a.d(t,{A:()=>s})},24266:(e,t,a)=>{function s(){const e=this,{wrapperEl:t,rtlTranslate:a,enabled:s}=e;if(!s)return;let n;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();n=0===r?0:(e.translate-e.minTranslate())/r,n!==e.progress&&e.updateProgress(a?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}a.d(t,{A:()=>s})},38707:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(50587);function n(e){const t=this,a=t.touchEventsData,{params:n,touches:r,rtlTranslate:i,slidesGrid:o,enabled:l}=t;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",c),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&n.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);n.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=(0,s.tB)(),p=d-a.touchStartTime;if(t.allowClick){const e=c.path||c.composedPath&&c.composedPath();t.updateClickedSlide(e&&e[0]||c.target),t.emit("tap click",c),p<300&&d-a.lastClickTime<300&&t.emit("doubleTap doubleClick",c)}if(a.lastClickTime=(0,s.tB)(),(0,s.dY)((()=>{t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===r.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);let u;if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,u=n.followFinger?i?t.translate:-t.translate:-a.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let h=0,m=t.slidesSizesGrid[0];for(let e=0;e=o[e]&&u=o[e]&&(h=e,m=o[o.length-1]-o[o.length-2])}let f=null,g=null;n.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const v=(u-o[h])/m,w=hn.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?f:h+w):t.slideTo(h)),"prev"===t.swipeDirection&&(v>1-n.longSwipesRatio?t.slideTo(h+w):null!==g&&v<0&&Math.abs(v)>n.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl)?c.target===t.navigation.nextEl?t.slideTo(h+w):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==f?f:h+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}},23937:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(21895),n=a(97626),r=a(50587);function i(e){const t=(0,s.YE)(),a=this,i=a.touchEventsData,{params:o,touches:l,rtlTranslate:c,enabled:d}=a;if(!d)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",p));if(i.isTouchEvent&&"touchmove"!==p.type)return;const u="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),h="touchmove"===p.type?u.pageX:p.pageX,m="touchmove"===p.type?u.pageY:p.pageY;if(p.preventedByNestedSwiper)return l.startX=h,void(l.startY=m);if(!a.allowTouchMove)return(0,n.A)(p.target).is(i.focusableElements)||(a.allowClick=!1),void(i.isTouched&&(Object.assign(l,{startX:h,startY:m,currentX:h,currentY:m}),i.touchStartTime=(0,r.tB)()));if(i.isTouchEvent&&o.touchReleaseOnEdges&&!o.loop)if(a.isVertical()){if(ml.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(hl.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&(0,n.A)(p.target).is(i.focusableElements))return i.isMoved=!0,void(a.allowClick=!1);if(i.allowTouchCallbacks&&a.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;l.currentX=h,l.currentY=m;const f=l.currentX-l.startX,g=l.currentY-l.startY;if(a.params.threshold&&Math.sqrt(f**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,i.isScrolling=a.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(i.isScrolling&&a.emit("touchMoveOpposite",p),void 0===i.startMoving&&(l.currentX===l.startX&&l.currentY===l.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;a.allowClick=!1,!o.cssMode&&p.cancelable&&p.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&p.stopPropagation(),i.isMoved||(o.loop&&!o.cssMode&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!o.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",p)),a.emit("sliderMove",p),i.isMoved=!0;let v=a.isHorizontal()?f:g;l.diff=v,v*=o.touchRatio,c&&(v=-v),a.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;let w=!0,b=o.resistanceRatio;if(o.touchReleaseOnEdges&&(b=0),v>0&&i.currentTranslate>a.minTranslate()?(w=!1,o.resistance&&(i.currentTranslate=a.minTranslate()-1+(-a.minTranslate()+i.startTranslate+v)**b)):v<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),a.allowSlidePrev||a.allowSlideNext||(i.currentTranslate=i.startTranslate),o.threshold>0){if(!(Math.abs(v)>o.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,i.currentTranslate=i.startTranslate,void(l.diff=a.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&a.freeMode||o.watchSlidesProgress)&&(a.updateActiveIndex(),a.updateSlidesClasses()),a.params.freeMode&&o.freeMode.enabled&&a.freeMode&&a.freeMode.onTouchMove(),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}},6446:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(21895),n=a(97626),r=a(50587);function i(e){const t=this,a=(0,s.YE)(),i=(0,s.zk)(),o=t.touchEventsData,{params:l,touches:c,enabled:d}=t;if(!d)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=(0,n.A)(p.target);if("wrapper"===l.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(o.isTouchEvent="touchstart"===p.type,!o.isTouchEvent&&"which"in p&&3===p.which)return;if(!o.isTouchEvent&&"button"in p&&p.button>0)return;if(o.isTouched&&o.isMoved)return;const h=!!l.noSwipingClass&&""!==l.noSwipingClass,m=e.composedPath?e.composedPath():e.path;h&&p.target&&p.target.shadowRoot&&m&&(u=(0,n.A)(m[0]));const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(l.noSwiping&&(g?function(e,t=this){return function t(a){if(!a||a===(0,s.YE)()||a===(0,s.zk)())return null;a.assignedSlot&&(a=a.assignedSlot);const n=a.closest(e);return n||a.getRootNode?n||t(a.getRootNode().host):null}(t)}(f,u[0]):u.closest(f)[0]))return void(t.allowClick=!0);if(l.swipeHandler&&!u.closest(l.swipeHandler)[0])return;c.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,c.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const v=c.currentX,w=c.currentY,b=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,y=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=i.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}if(Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=v,c.startY=w,o.touchStartTime=(0,r.tB)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;u.is(o.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(o.isTouched=!1)),a.activeElement&&(0,n.A)(a.activeElement).is(o.focusableElements)&&a.activeElement!==u[0]&&a.activeElement.blur();const s=e&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!s||u[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}},1800:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(7760),n=a(71589);const r={setGrabCursor:s.A,unsetGrabCursor:n.A}},7760:(e,t,a)=>{function s(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const a="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;a.style.cursor="move",a.style.cursor=e?"grabbing":"grab"}a.d(t,{A:()=>s})},71589:(e,t,a)=>{function s(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}a.d(t,{A:()=>s})},28331:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(14258),n=a(80024);const r={loadImage:s.A,preloadImages:n.A}},14258:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(21895),n=a(97626);function r(e,t,a,r,i,o){const l=(0,s.zk)();let c;function d(){o&&o()}(0,n.A)(e).parent("picture")[0]||e.complete&&i?d():t?(c=new l.Image,c.onload=d,c.onerror=d,r&&(c.sizes=r),a&&(c.srcset=a),t&&(c.src=t)):d()}},80024:(e,t,a)=>{function s(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let a=0;as})},6299:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(89989),n=a(60506),r=a(25031);const i={loopCreate:s.A,loopFix:n.A,loopDestroy:r.A}},89989:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(21895),n=a(97626);function r(){const e=this,t=(0,s.YE)(),{params:a,$wrapperEl:r}=e,i=r.children().length>0?(0,n.A)(r.children()[0].parentNode):r;i.children(`.${a.slideClass}.${a.slideDuplicateClass}`).remove();let o=i.children(`.${a.slideClass}`);if(a.loopFillGroupWithBlank){const e=a.slidesPerGroup-o.length%a.slidesPerGroup;if(e!==a.slidesPerGroup){for(let s=0;so.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const l=[],c=[];o.each(((e,t)=>{(0,n.A)(e).attr("data-swiper-slide-index",t)}));for(let t=0;t=0;e-=1)i.prepend((0,n.A)(l[e].cloneNode(!0)).addClass(a.slideDuplicateClass))}},25031:(e,t,a)=>{function s(){const{$wrapperEl:e,params:t,slides:a}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),a.removeAttr("data-swiper-slide-index")}a.d(t,{A:()=>s})},60506:(e,t,a)=>{function s(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:a,loopedSlides:s,allowSlidePrev:n,allowSlideNext:r,snapGrid:i,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-i[t]-e.getTranslate();if(t=a.length-s){l=-a.length+t+s,l+=s;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)}e.allowSlidePrev=n,e.allowSlideNext=r,e.emit("loopFix")}a.d(t,{A:()=>s})},52040:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(50587);function n(e,t){return function(a={}){const n=Object.keys(a)[0],r=a[n];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in r?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),(0,s.X$)(t,a)):(0,s.X$)(t,a)):(0,s.X$)(t,a)}}},81639:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(21895);function n({swiper:e,extendParams:t,on:a,emit:n}){const r=[],i=(0,s.zk)(),o=(e,t={})=>{const a=new(i.MutationObserver||i.WebkitMutationObserver)((e=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}));a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(a)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}},27875:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(21895);function n({swiper:e,on:t,emit:a}){const n=(0,s.zk)();let r=null,i=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(a("beforeResize"),a("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&a("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{i=n.requestAnimationFrame((()=>{const{width:a,height:s}=e;let n=a,r=s;t.forEach((({contentBoxSize:t,contentRect:a,target:s})=>{s&&s!==e.el||(n=a?a.width:(t[0]||t).inlineSize,r=a?a.height:(t[0]||t).blockSize)})),n===a&&r===s||o()}))})),r.observe(e.el)):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))})),t("destroy",(()=>{i&&n.cancelAnimationFrame(i),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)}))}},33438:(e,t,a)=>{a.d(t,{A:()=>d});var s=a(40682),n=a(91636),r=a(98170),i=a(32166),o=a(71540),l=a(7015),c=a(35068);const d={slideTo:s.A,slideToLoop:n.A,slideNext:r.A,slidePrev:i.A,slideReset:o.A,slideToClosest:l.A,slideToClickedSlide:c.A}},98170:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){const s=this,{animating:n,enabled:r,params:i}=s;if(!r)return s;let o=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndexs})},32166:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){const s=this,{params:n,animating:r,snapGrid:i,slidesGrid:o,rtlTranslate:l,enabled:c}=s;if(!c)return s;if(n.loop){if(r&&n.loopPreventsSlide)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(l?s.translate:-s.translate),u=i.map((e=>d(e)));let h=i[u.indexOf(p)-1];if(void 0===h&&n.cssMode){let e;i.forEach(((t,a)=>{p>=t&&(e=a)})),void 0!==e&&(h=i[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=o.indexOf(h),m<0&&(m=s.activeIndex-1),"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(m=m-s.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),n.rewind&&s.isBeginning){const n=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(n,e,t,a)}return s.slideTo(m,e,t,a)}a.d(t,{A:()=>s})},71540:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){return this.slideTo(this.activeIndex,e,t,a)}a.d(t,{A:()=>s})},40682:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(50587);function n(e=0,t=this.params.speed,a=!0,n,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;o<0&&(o=0);const{params:l,snapGrid:c,slidesGrid:d,previousIndex:p,activeIndex:u,rtlTranslate:h,wrapperEl:m,enabled:f}=i;if(i.animating&&l.preventInteractionOnTransition||!f&&!n&&!r)return!1;const g=Math.min(i.params.slidesPerGroupSkip,o);let v=g+Math.floor((o-g)/i.params.slidesPerGroup);v>=c.length&&(v=c.length-1);const w=-c[v];if(l.normalizeSlideIndex)for(let e=0;e=a&&t=a&&t=a&&(o=e)}if(i.initialized&&o!==u){if(!i.allowSlideNext&&wi.translate&&w>i.maxTranslate()&&(u||0)!==o)return!1}let b;if(o!==(p||0)&&a&&i.emit("beforeSlideChangeStart"),i.updateProgress(w),b=o>u?"next":o{i.wrapperEl.style.scrollSnapType="",i._swiperImmediateVirtual=!1}))}else{if(!i.support.smoothScroll)return(0,s.dy)({swiper:i,targetPosition:a,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:a,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(w),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,n),i.transitionStart(a,b),0===t?i.transitionEnd(a,b):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(a,b))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd)),!0}},35068:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(97626),n=a(50587);function r(){const e=this,{params:t,$wrapperEl:a}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt((0,s.A)(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?oe.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=a.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,n.dY)((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=a.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,n.dY)((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}},7015:(e,t,a)=>{function s(e=this.params.speed,t=!0,a,s=.5){const n=this;let r=n.activeIndex;const i=Math.min(n.params.slidesPerGroupSkip,r),o=i+Math.floor((r-i)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){const e=n.snapGrid[o];l-e>(n.snapGrid[o+1]-e)*s&&(r+=n.params.slidesPerGroup)}else{const e=n.snapGrid[o-1];l-e<=(n.snapGrid[o]-e)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,e,t,a)}a.d(t,{A:()=>s})},91636:(e,t,a)=>{function s(e=0,t=this.params.speed,a=!0,s){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let r=e;return n.params.loop&&(r+=n.loopedSlides),n.slideTo(r,t,a,s)}a.d(t,{A:()=>s})},43010:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(28321),n=a(19567),r=a(67986);const i={setTransition:s.A,transitionStart:n.A,transitionEnd:r.A}},28321:(e,t,a)=>{function s(e,t){const a=this;a.params.cssMode||a.$wrapperEl.transition(e),a.emit("setTransition",e,t)}a.d(t,{A:()=>s})},25852:(e,t,a)=>{function s({swiper:e,runCallbacks:t,direction:a,step:s}){const{activeIndex:n,previousIndex:r}=e;let i=a;if(i||(i=n>r?"next":ns})},67986:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(25852);function n(e=!0,t){const a=this,{params:n}=a;a.animating=!1,n.cssMode||(a.setTransition(0),(0,s.A)({swiper:a,runCallbacks:e,direction:t,step:"End"}))}},19567:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(25852);function n(e=!0,t){const a=this,{params:n}=a;n.cssMode||(n.autoHeight&&a.updateAutoHeight(),(0,s.A)({swiper:a,runCallbacks:e,direction:t,step:"Start"}))}},61723:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(50587);function n(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:a,translate:n,$wrapperEl:r}=this;if(t.virtualTranslate)return a?-n:n;if(t.cssMode)return n;let i=(0,s.ro)(r[0],e);return a&&(i=-i),i||0}},54361:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(61723),n=a(8159),r=a(68075),i=a(9301),o=a(57466);const l={getTranslate:s.A,setTranslate:n.A,minTranslate:r.A,maxTranslate:i.A,translateTo:o.A}},9301:(e,t,a)=>{function s(){return-this.snapGrid[this.snapGrid.length-1]}a.d(t,{A:()=>s})},68075:(e,t,a)=>{function s(){return-this.snapGrid[0]}a.d(t,{A:()=>s})},8159:(e,t,a)=>{function s(e,t){const a=this,{rtlTranslate:s,params:n,$wrapperEl:r,wrapperEl:i,progress:o}=a;let l=0,c=0;let d;a.isHorizontal()?l=s?-e:e:c=e,n.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.cssMode?i[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-l:-c:n.virtualTranslate||r.transform(`translate3d(${l}px, ${c}px, 0px)`),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?l:c;const p=a.maxTranslate()-a.minTranslate();d=0===p?0:(e-a.minTranslate())/p,d!==o&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)}a.d(t,{A:()=>s})},57466:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(50587);function n(e=0,t=this.params.speed,a=!0,n=!0,r){const i=this,{params:o,wrapperEl:l}=i;if(i.animating&&o.preventInteractionOnTransition)return!1;const c=i.minTranslate(),d=i.maxTranslate();let p;if(p=n&&e>c?c:n&&e{a.d(t,{A:()=>u});var s=a(44286),n=a(72329),r=a(18843),i=a(35898),o=a(626),l=a(22972),c=a(46585),d=a(1165),p=a(57393);const u={updateSize:s.A,updateSlides:n.A,updateAutoHeight:r.A,updateSlidesOffset:i.A,updateSlidesProgress:o.A,updateProgress:l.A,updateSlidesClasses:c.A,updateActiveIndex:d.A,updateClickedSlide:p.A}},1165:(e,t,a)=>{function s(e){const t=this,a=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:s,snapGrid:n,params:r,activeIndex:i,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e=s[e]&&a=s[e]&&a=s[e]&&(d=e);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(n.indexOf(a)>=0)c=n.indexOf(a);else{const e=Math.min(r.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/r.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),d===i)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:p,previousIndex:i,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}a.d(t,{A:()=>s})},18843:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(97626);function n(e){const t=this,a=[],n=t.virtual&&t.params.virtual.enabled;let r,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||(0,s.A)([])).each((e=>{a.push(e)}));else for(r=0;rt.slides.length&&!n)break;a.push(o(e))}else a.push(o(t.activeIndex));for(r=0;ri?e:i}(i||0===i)&&t.$wrapperEl.css("height",`${i}px`)}},57393:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(97626);function n(e){const t=this,a=t.params,n=(0,s.A)(e).closest(`.${a.slideClass}`)[0];let r,i=!1;if(n)for(let e=0;e{function s(e){const t=this;if(void 0===e){const a=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*a||0}const a=t.params,s=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:r,isEnd:i}=t;const o=r,l=i;0===s?(n=0,r=!0,i=!0):(n=(e-t.minTranslate())/s,r=n<=0,i=n>=1),Object.assign(t,{progress:n,isBeginning:r,isEnd:i}),(a.watchSlidesProgress||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),i&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!i)&&t.emit("fromEdge"),t.emit("progress",n)}a.d(t,{A:()=>s})},44286:(e,t,a)=>{function s(){const e=this;let t,a;const s=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:s[0].clientWidth,a=void 0!==e.params.height&&null!==e.params.height?e.params.height:s[0].clientHeight,0===t&&e.isHorizontal()||0===a&&e.isVertical()||(t=t-parseInt(s.css("padding-left")||0,10)-parseInt(s.css("padding-right")||0,10),a=a-parseInt(s.css("padding-top")||0,10)-parseInt(s.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(a)&&(a=0),Object.assign(e,{width:t,height:a,size:e.isHorizontal()?t:a}))}a.d(t,{A:()=>s})},72329:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(50587);function n(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function a(e,a){return parseFloat(e.getPropertyValue(t(a))||0)}const n=e.params,{$wrapperEl:r,size:i,rtlTranslate:o,wrongRTL:l}=e,c=e.virtual&&n.virtual.enabled,d=c?e.virtual.slides.length:e.slides.length,p=r.children(`.${e.params.slideClass}`),u=c?e.virtual.slides.length:p.length;let h=[];const m=[],f=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let y=n.spaceBetween,E=-g,x=0,C=0;if(void 0===i)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*i),e.virtualSize=-y,o?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&((0,s.LY)(e.wrapperEl,"--swiper-centered-offset-before",""),(0,s.LY)(e.wrapperEl,"--swiper-centered-offset-after",""));const S=n.grid&&n.grid.rows>1&&e.grid;let T;S&&e.grid.initSlides(u);const $="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let s=0;s1&&h.push(e.virtualSize-i)}if(0===h.length&&(h=[0]),0!==n.spaceBetween){const a=e.isHorizontal()&&o?"marginLeft":t("marginRight");p.filter(((e,t)=>!n.cssMode||t!==p.length-1)).css({[a]:`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-i;h=h.map((e=>e<0?-g:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e{h[a]=e-t})),m.forEach(((e,a)=>{m[a]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,s.LY)(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),(0,s.LY)(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],a=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+a))}if(u!==d&&e.emit("slidesLengthChange"),h.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(c||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,a=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?a||e.$el.addClass(t):a&&e.$el.removeClass(t)}}},46585:(e,t,a)=>{function s(){const e=this,{slides:t,params:a,$wrapperEl:s,activeIndex:n,realIndex:r}=e,i=e.virtual&&a.virtual.enabled;let o;t.removeClass(`${a.slideActiveClass} ${a.slideNextClass} ${a.slidePrevClass} ${a.slideDuplicateActiveClass} ${a.slideDuplicateNextClass} ${a.slideDuplicatePrevClass}`),o=i?e.$wrapperEl.find(`.${a.slideClass}[data-swiper-slide-index="${n}"]`):t.eq(n),o.addClass(a.slideActiveClass),a.loop&&(o.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(a.slideDuplicateActiveClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(a.slideDuplicateActiveClass));let l=o.nextAll(`.${a.slideClass}`).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=t.eq(0),l.addClass(a.slideNextClass));let c=o.prevAll(`.${a.slideClass}`).eq(0).addClass(a.slidePrevClass);a.loop&&0===c.length&&(c=t.eq(-1),c.addClass(a.slidePrevClass)),a.loop&&(l.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass),c.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass)),e.emitSlidesClasses()}a.d(t,{A:()=>s})},35898:(e,t,a)=>{function s(){const e=this,t=e.slides;for(let a=0;as})},626:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(97626);function n(e=this&&this.translate||0){const t=this,a=t.params,{slides:n,rtlTranslate:r,snapGrid:i}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;r&&(o=e),n.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(a.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-d:d}t.visibleSlides=(0,s.A)(t.visibleSlides)}},70049:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(29942),n=a(97626);function r({swiper:e,extendParams:t,on:a}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function i(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function o(e){e.attr("tabIndex","0")}function l(e){e.attr("tabIndex","-1")}function c(e,t){e.attr("role",t)}function d(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function h(e){e.attr("aria-disabled",!1)}function m(t){if(13!==t.keyCode&&32!==t.keyCode)return;const a=e.params.a11y,r=(0,n.A)(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?i(a.lastSlideMessage):i(a.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?i(a.firstSlideMessage):i(a.prevSlideMessage)),e.pagination&&r.is((0,s.A)(e.params.pagination.bulletClass))&&r[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return f()&&e.params.pagination.clickable}const v=(e,t,a)=>{o(e),"BUTTON"!==e[0].tagName&&(c(e,"button"),e.on("keydown",m)),p(e,a),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{e.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},y=t=>{if(e.a11y.clicked)return;const a=t.target.closest(`.${e.params.slideClass}`);if(!a||!e.slides.includes(a))return;const s=e.slides.indexOf(a)===e.activeIndex,n=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(a);s||n||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(a),0))},E=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&d((0,n.A)(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&c((0,n.A)(e.slides),t.slideRole);const a=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((s,r)=>{const i=(0,n.A)(s),o=e.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):r;p(i,t.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,a))}))},x=()=>{const t=e.params.a11y;e.$el.append(r);const a=e.$el;t.containerRoleDescriptionMessage&&d(a,t.containerRoleDescriptionMessage),t.containerMessage&&p(a,t.containerMessage);const n=e.$wrapperEl,i=t.id||n.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var l;let c,u;l=i,n.attr("id",l),function(e,t){e.attr("aria-live",t)}(n,o),E(),e.navigation&&e.navigation.$nextEl&&(c=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),c&&c.length&&v(c,i,t.nextSlideMessage),u&&u.length&&v(u,i,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",(0,s.A)(e.params.pagination.bulletClass),m),e.$el.on("focus",y,!0),e.$el.on("pointerdown",w,!0),e.$el.on("pointerup",b,!0)};a("beforeInit",(()=>{r=(0,n.A)(``)})),a("afterInit",(()=>{e.params.a11y.enabled&&x()})),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&E()})),a("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:a}=e.navigation;a&&a.length>0&&(e.isBeginning?(u(a),l(a)):(h(a),o(a))),t&&t.length>0&&(e.isEnd?(u(t),l(t)):(h(t),o(t)))}()})),a("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((a=>{const s=(0,n.A)(a);e.params.pagination.clickable&&(o(s),e.params.pagination.renderBullet||(c(s,"button"),p(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,s.index()+1)))),s.is(`.${e.params.pagination.bulletActiveClass}`)?s.attr("aria-current","true"):s.removeAttr("aria-current")}))}()})),a("destroy",(()=>{e.params.a11y.enabled&&function(){let t,a;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&t.off("keydown",m),a&&a.off("keydown",m),g()&&e.pagination.$el.off("keydown",(0,s.A)(e.params.pagination.bulletClass),m),e.$el.off("focus",y,!0),e.$el.off("pointerdown",w,!0),e.$el.off("pointerup",b,!0)}()}))}},70079:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(21895),n=a(50587);function r({swiper:e,extendParams:t,on:a,emit:r}){let i;function o(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(i),i=(0,n.dY)((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?c():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?c():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&o()}),a)}function l(){return void 0===i&&(!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),o(),!0))}function c(){return!!e.autoplay.running&&(void 0!==i&&(i&&(clearTimeout(i),i=void 0),e.autoplay.running=!1,r("autoplayStop"),!0))}function d(t){e.autoplay.running&&(e.autoplay.paused||(i&&clearTimeout(i),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,o())))}function p(){const t=(0,s.YE)();"hidden"===t.visibilityState&&e.autoplay.running&&d(),"visible"===t.visibilityState&&e.autoplay.paused&&(o(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?o():c())}function h(){e.params.autoplay.disableOnInteraction?c():(r("autoplayPause"),d()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function m(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),o())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),a("init",(()=>{if(e.params.autoplay.enabled){l();(0,s.YE)().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",m))}})),a("beforeTransitionStart",((t,a,s)=>{e.autoplay.running&&(s||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(a):c())})),a("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?c():d())})),a("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&o()})),a("destroy",(()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",m),e.autoplay.running&&c();(0,s.YE)().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:d,run:o,start:l,stop:c})}},89677:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(50587);function n({swiper:e,extendParams:t,on:a}){function n(e,t){const a=function(){let e,t,a;return(s,n)=>{for(t=-1,e=s.length;e-t>1;)a=e+t>>1,s[a]<=n?t=a:e=a;return e}}();let s,n;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=a(this.x,e),s=n-1,(e-this.x[s])*(this.y[n]-this.y[s])/(this.x[n]-this.x[s])+this.y[s]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},a("beforeInit",(()=>{e.controller.control=e.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((t,a,s)=>{e.controller.control&&e.controller.setTranslate(a,s)})),a("setTransition",((t,a,s)=>{e.controller.control&&e.controller.setTransition(a,s)})),Object.assign(e.controller,{setTranslate:function(t,a){const s=e.controller.control;let r,i;const o=e.constructor;function l(t){const a=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new n(e.slidesGrid,t.slidesGrid):new n(e.snapGrid,t.snapGrid))}(t),i=-e.controller.spline.interpolate(-a)),i&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),i=(a-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(i=t.maxTranslate()-i),t.updateProgress(i),t.setTranslate(i,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(s))for(let e=0;e{a.updateAutoHeight()})),a.$wrapperEl.transitionEnd((()=>{r&&(a.params.loop&&"slide"===e.params.controller.by&&a.loopFix(),a.transitionEnd())})))}if(Array.isArray(r))for(i=0;i{a.d(t,{A:()=>o});var s=a(25837),n=a(25996),r=a(43563),i=a(99875);function o({swiper:e,extendParams:t,on:a}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}});(0,n.A)({effect:"cards",swiper:e,on:a,setTranslate:()=>{const{slides:t,activeIndex:a}=e,n=e.params.cardsEffect,{startTranslate:i,isTouched:o}=e.touchEventsData,l=e.translate;for(let c=0;c0&&u<1&&(o||e.params.cssMode)&&l-1&&(o||e.params.cssMode)&&l>i;if(E||x){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;w+=-28*u*e,v+=-.5*e,b+=96*e,f=-25*e*Math.abs(u)+"%"}if(m=u<0?`calc(${m}px + (${b*Math.abs(u)}%))`:u>0?`calc(${m}px + (-${b*Math.abs(u)}%))`:`${m}px`,!e.isHorizontal()){const e=f;f=m,m=e}const C=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),S=`\n translate3d(${m}, ${f}, ${g}px)\n rotateZ(${n.rotate?w:0}deg)\n scale(${C})\n `;if(n.slideShadows){let e=d.find(".swiper-slide-shadow");0===e.length&&(e=(0,s.A)(n,d)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}d[0].style.zIndex=-Math.abs(Math.round(p))+t.length;(0,r.A)(n,d).transform(S)}},setTransition:t=>{const{transformEl:a}=e.params.cardsEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,i.A)({swiper:e,duration:t,transformEl:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},24931:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(25837),n=a(25996),r=a(43563);function i({swiper:e,extendParams:t,on:a}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});(0,n.A)({effect:"coverflow",swiper:e,on:a,setTranslate:()=>{const{width:t,height:a,slides:n,slidesSizesGrid:i}=e,o=e.params.coverflowEffect,l=e.isHorizontal(),c=e.translate,d=l?t/2-c:a/2-c,p=l?o.rotate:-o.rotate,u=o.depth;for(let e=0,t=n.length;e0?h:0),a.length&&(a[0].style.opacity=-h>0?-h:0)}}},setTransition:t=>{const{transformEl:a}=e.params.coverflowEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},55151:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(25837),n=a(25996),r=a(43563),i=a(99875);function o({swiper:e,extendParams:t,on:a}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const o=e=>"string"==typeof e?e:`${e}px`;(0,n.A)({effect:"creative",swiper:e,on:a,setTranslate:()=>{const{slides:t,$wrapperEl:a,slidesSizesGrid:n}=e,i=e.params.creativeEffect,{progressMultiplier:l}=i,c=e.params.centeredSlides;if(c){const t=n[0]/2-e.params.slidesOffsetBefore||0;a.transform(`translateX(calc(50% - ${t}px))`)}for(let a=0;a0&&(v=i.prev,g=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${o(v.translate[t])} * ${Math.abs(p*l)}))`})),f.forEach(((e,t)=>{f[t]=v.rotate[t]*Math.abs(p*l)})),n[0].style.zIndex=-Math.abs(Math.round(d))+t.length;const w=m.join(", "),b=`rotateX(${f[0]}deg) rotateY(${f[1]}deg) rotateZ(${f[2]}deg)`,y=u<0?`scale(${1+(1-v.scale)*u*l})`:`scale(${1-(1-v.scale)*u*l})`,E=u<0?1+(1-v.opacity)*u*l:1-(1-v.opacity)*u*l,x=`translate3d(${w}) ${b} ${y}`;if(g&&v.shadow||!g){let e=n.children(".swiper-slide-shadow");if(0===e.length&&v.shadow&&(e=(0,s.A)(i,n)),e.length){const t=i.shadowPerProgress?p*(1/i.limitProgress):p;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const C=(0,r.A)(i,n);C.transform(x).css({opacity:E}),v.origin&&C.css("transform-origin",v.origin)}},setTransition:t=>{const{transformEl:a}=e.params.creativeEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,i.A)({swiper:e,duration:t,transformEl:a,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},22459:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(97626),n=a(25996);function r({swiper:e,extendParams:t,on:a}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,a)=>{let n=a?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=a?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=(0,s.A)(`
`),e.append(n)),0===r.length&&(r=(0,s.A)(`
`),e.append(r)),n.length&&(n[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};(0,n.A)({effect:"cube",swiper:e,on:a,setTranslate:()=>{const{$el:t,$wrapperEl:a,slides:n,width:i,height:o,rtlTranslate:l,size:c,browser:d}=e,p=e.params.cubeEffect,u=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=a.find(".swiper-cube-shadow"),0===m.length&&(m=(0,s.A)('
'),a.append(m)),m.css({height:`${i}px`})):(m=t.find(".swiper-cube-shadow"),0===m.length&&(m=(0,s.A)('
'),t.append(m))));for(let e=0;e-1&&(f=90*a+90*o,l&&(f=90*-a-90*o)),t.transform(v),p.slideShadows&&r(t,o,u)}if(a.css({"-webkit-transform-origin":`50% 50% -${c/2}px`,"transform-origin":`50% 50% -${c/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${i/2+p.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),a=p.shadowScale,s=p.shadowScale/t,n=p.shadowOffset;m.transform(`scale3d(${a}, 1, ${s}) translate3d(0px, ${o/2+n}px, ${-o/2/s}px) rotateX(-90deg)`)}const g=d.isSafari||d.isWebView?-c/2:0;a.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),a[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:a,slides:s}=e;s.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&a.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const a=Math.max(Math.min(e.progress,1),-1);r((0,s.A)(e),a,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},96027:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(25996),n=a(43563),r=a(99875);function i({swiper:e,extendParams:t,on:a}){t({fadeEffect:{crossFade:!1,transformEl:null}});(0,s.A)({effect:"fade",swiper:e,on:a,setTranslate:()=>{const{slides:t}=e,a=e.params.fadeEffect;for(let s=0;s{const{transformEl:a}=e.params.fadeEffect;(a?e.slides.find(a):e.slides).transition(t),(0,r.A)({swiper:e,duration:t,transformEl:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},16559:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(97626),n=a(25837),r=a(25996),i=a(43563),o=a(99875);function l({swiper:e,extendParams:t,on:a}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const l=(t,a,s)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),i=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=(0,n.A)(s,t,e.isHorizontal()?"left":"top")),0===i.length&&(i=(0,n.A)(s,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-a,0)),i.length&&(i[0].style.opacity=Math.max(a,0))};(0,r.A)({effect:"flip",swiper:e,on:a,setTranslate:()=>{const{slides:t,rtlTranslate:a}=e,s=e.params.flipEffect;for(let n=0;n{const{transformEl:a}=e.params.flipEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),(0,o.A)({swiper:e,duration:t,transformEl:a})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((a=>{const n=(0,s.A)(a);let r=n[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a.progress,1),-1)),l(n,r,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},33887:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(50587);function n({swiper:e,extendParams:t,emit:a,once:n}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:a}=e;0===t.velocities.length&&t.velocities.push({position:a[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:a[e.isHorizontal()?"currentX":"currentY"],time:(0,s.tB)()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:i,rtlTranslate:o,snapGrid:l,touchEventsData:c}=e,d=(0,s.tB)()-c.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=c.velocities.pop(),a=c.velocities.pop(),n=t.position-a.position,i=t.time-a.time;e.velocity=n/i,e.velocity/=2,Math.abs(e.velocity)150||(0,s.tB)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,c.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const d=e.velocity*t;let p=e.translate+d;o&&(p=-p);let u,h=!1;const m=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let f;if(pe.minTranslate())r.freeMode.momentumBounce?(p-e.minTranslate()>m&&(p=e.minTranslate()+m),u=e.minTranslate(),h=!0,c.allowMomentumBounce=!0):p=e.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(l[t]-p){e.loopFix()})),0!==e.velocity){if(t=o?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),r.freeMode.sticky){const a=Math.abs((o?-p:p)-e.translate),s=e.slidesSizesGrid[e.activeIndex];t=a{e&&!e.destroyed&&c.allowMomentumBounce&&(a("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),i.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(a("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,i.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||d>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}},60541:(e,t,a)=>{function s({swiper:e,extendParams:t}){let a,s,n;t({grid:{rows:1,fill:"column"}});e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:i,fill:o}=e.params.grid;s=a/i,n=Math.floor(t/i),a=Math.floor(t/i)===t/i?t:Math.ceil(t/i)*i,"auto"!==r&&"row"===o&&(a=Math.max(a,r*i))},updateSlide:(t,r,i,o)=>{const{slidesPerGroup:l,spaceBetween:c}=e.params,{rows:d,fill:p}=e.params.grid;let u,h,m;if("row"===p&&l>1){const e=Math.floor(t/(l*d)),s=t-d*l*e,n=0===e?l:Math.min(Math.ceil((i-e*d*l)/d),l);m=Math.floor(s/n),h=s-m*n+e*l,u=h+m*a/d,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=Math.floor(t/d),m=t-h*d,(h>n||h===n&&m===d-1)&&(m+=1,m>=d&&(m=0,h+=1))):(m=Math.floor(t/s),h=t-m*s);r.css(o("margin-top"),0!==m?c&&`${c}px`:"")},updateWrapperSize:(t,s,n)=>{const{spaceBetween:r,centeredSlides:i,roundLengths:o}=e.params,{rows:l}=e.params.grid;if(e.virtualSize=(t+r)*a,e.virtualSize=Math.ceil(e.virtualSize/l)-r,e.$wrapperEl.css({[n("width")]:`${e.virtualSize+r}px`}),i){s.splice(0,s.length);const t=[];for(let a=0;as})},25855:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(21895),n=a(97626);function r({swiper:e,extendParams:t,emit:a,on:r}){let i=!1;const o=(0,s.YE)(),l=(0,s.zk)();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const c=()=>{a("hashChange");const t=o.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const a=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===a)return;e.slideTo(a)}},d=()=>{if(i&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState)l.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),a("hashSet");else{const t=e.slides.eq(e.activeIndex),s=t.attr("data-hash")||t.attr("data-history");o.location.hash=s||"",a("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;i=!0;const t=o.location.hash.replace("#","");if(t){const a=0;for(let s=0,n=e.slides.length;s{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&(0,n.A)(l).off("hashchange",c)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d()})),r("slideChange",(()=>{i&&e.params.cssMode&&d()}))}},32015:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(21895);function n({swiper:e,extendParams:t,on:a}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const i=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=(0,s.zk)();let a;a=e?new URL(e):t.location;const n=a.pathname.slice(1).split("/").filter((e=>""!==e)),r=n.length;return{key:n[r-2],value:n[r-1]}},l=(t,a)=>{const r=(0,s.zk)();if(!n||!e.params.history.enabled)return;let o;o=e.params.url?new URL(e.params.url):r.location;const l=e.slides.eq(a);let c=i(l.attr("data-history"));if(e.params.history.root.length>0){let a=e.params.history.root;"/"===a[a.length-1]&&(a=a.slice(0,a.length-1)),c=`${a}/${t}/${c}`}else o.pathname.includes(t)||(c=`${t}/${c}`);e.params.history.keepQuery&&(c+=o.search);const d=r.history.state;d&&d.value===c||(e.params.history.replaceState?r.history.replaceState({value:c},null,c):r.history.pushState({value:c},null,c))},c=(t,a,s)=>{if(a)for(let n=0,r=e.slides.length;n{r=o(e.params.url),c(e.params.speed,r.value,!1)};a("init",(()=>{e.params.history.enabled&&(()=>{const t=(0,s.zk)();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);n=!0,r=o(e.params.url),(r.key||r.value)&&(c(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",d))}})()})),a("destroy",(()=>{e.params.history.enabled&&(()=>{const t=(0,s.zk)();e.params.history.replaceState||t.removeEventListener("popstate",d)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&l(e.params.history.key,e.activeIndex)})),a("slideChange",(()=>{n&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)}))}},49503:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(21895),n=a(97626);function r({swiper:e,extendParams:t,on:a,emit:r}){const i=(0,s.YE)(),o=(0,s.zk)();function l(t){if(!e.enabled)return;const{rtlTranslate:a}=e;let s=t;s.originalEvent&&(s=s.originalEvent);const n=s.keyCode||s.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===n,d=l&&34===n,p=37===n,u=39===n,h=38===n,m=40===n;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&m||d))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&h||c))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||d||p||u||h||m)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const s=e.$el,n=s[0].clientWidth,r=s[0].clientHeight,i=o.innerWidth,l=o.innerHeight,c=e.$el.offset();a&&(c.left-=e.$el[0].scrollLeft);const d=[[c.left,c.top],[c.left+n,c.top],[c.left,c.top+r],[c.left+n,c.top+r]];for(let e=0;e=0&&a[0]<=i&&a[1]>=0&&a[1]<=l){if(0===a[0]&&0===a[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||d||p||u)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((d||u)&&!a||(c||p)&&a)&&e.slideNext(),((c||p)&&!a||(d||u)&&a)&&e.slidePrev()):((c||d||h||m)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(d||m)&&e.slideNext(),(c||h)&&e.slidePrev()),r("keyPress",n)}}function c(){e.keyboard.enabled||((0,n.A)(i).on("keydown",l),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&((0,n.A)(i).off("keydown",l),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),a("init",(()=>{e.params.keyboard.enabled&&c()})),a("destroy",(()=>{e.keyboard.enabled&&d()})),Object.assign(e.keyboard,{enable:c,disable:d})}},31949:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(21895),n=a(97626);function r({swiper:e,extendParams:t,on:a,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let i=!1,o=!1;function l(t,a=!0){const s=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const i=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),o=i.find(`.${s.elementClass}:not(.${s.loadedClass}):not(.${s.loadingClass})`);!i.hasClass(s.elementClass)||i.hasClass(s.loadedClass)||i.hasClass(s.loadingClass)||o.push(i[0]),0!==o.length&&o.each((t=>{const o=(0,n.A)(t);o.addClass(s.loadingClass);const c=o.attr("data-background"),d=o.attr("data-src"),p=o.attr("data-srcset"),u=o.attr("data-sizes"),h=o.parent("picture");e.loadImage(o[0],d||c,p,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(c?(o.css("background-image",`url("${c}")`),o.removeAttr("data-background")):(p&&(o.attr("srcset",p),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=(0,n.A)(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),i.find(`.${s.preloaderClass}`).remove(),e.params.loop&&a){const t=i.attr("data-swiper-slide-index");if(i.hasClass(e.params.slideDuplicateClass)){l(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{l(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",i[0],o[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",i[0],o[0])}))}function c(){const{$wrapperEl:t,params:a,slides:s,activeIndex:r}=e,i=e.virtual&&a.virtual.enabled,c=a.lazy;let d=a.slidesPerView;function p(e){if(i){if(t.children(`.${a.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(s[e])return!0;return!1}function u(e){return i?(0,n.A)(e).attr("data-swiper-slide-index"):(0,n.A)(e).index()}if("auto"===d&&(d=0),o||(o=!0),e.params.watchSlidesProgress)t.children(`.${a.slideVisibleClass}`).each((e=>{l(i?(0,n.A)(e).attr("data-swiper-slide-index"):(0,n.A)(e).index())}));else if(d>1)for(let e=r;e1||c.loadPrevNextAmount&&c.loadPrevNextAmount>1){const e=c.loadPrevNextAmount,t=Math.ceil(d),a=Math.min(r+t+Math.max(e,t),s.length),n=Math.max(r-Math.max(t,e),0);for(let e=r+t;e0&&l(u(e));const s=t.children(`.${a.slidePrevClass}`);s.length>0&&l(u(s))}}function d(){const t=(0,s.zk)();if(!e||e.destroyed)return;const a=e.params.lazy.scrollingElement?(0,n.A)(e.params.lazy.scrollingElement):(0,n.A)(t),r=a[0]===t,o=r?t.innerWidth:a[0].offsetWidth,l=r?t.innerHeight:a[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:u}=e;let h=!1;u&&(p.left-=e.$el[0].scrollLeft);const m=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let e=0;e=0&&t[0]<=o&&t[1]>=0&&t[1]<=l){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h?(c(),a.off("scroll",d,f)):i||(i=!0,a.on("scroll",d,f))}a("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),a("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?d():c())})),a("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&c()})),a("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?d():c())})),a("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!o)&&(e.params.lazy.checkInView?d():c())})),a("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?d():c())})),a("slideChange",(()=>{const{lazy:t,cssMode:a,watchSlidesProgress:s,touchReleaseOnEdges:n,resistanceRatio:r}=e.params;t.enabled&&(a||s&&(n||0===r))&&c()})),a("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:c,loadInSlide:l})}},23247:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(15684),n=a(65748),r=a(51297),i=a(76884),o=a(33552);function l({swiper:e}){Object.assign(e,{appendSlide:s.A.bind(e),prependSlide:n.A.bind(e),addSlide:r.A.bind(e),removeSlide:i.A.bind(e),removeAllSlides:o.A.bind(e)})}},51297:(e,t,a)=>{function s(e,t){const a=this,{$wrapperEl:s,params:n,activeIndex:r}=a;let i=r;n.loop&&(i-=a.loopedSlides,a.loopDestroy(),a.slides=s.children(`.${n.slideClass}`));const o=a.slides.length;if(e<=0)return void a.prependSlide(t);if(e>=o)return void a.appendSlide(t);let l=i>e?i+1:i;const c=[];for(let t=o-1;t>=e;t-=1){const e=a.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?i+t.length:i}else s.append(t);for(let e=0;es})},15684:(e,t,a)=>{function s(e){const t=this,{$wrapperEl:a,params:s}=t;if(s.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;ts})},65748:(e,t,a)=>{function s(e){const t=this,{params:a,$wrapperEl:s,activeIndex:n}=t;a.loop&&t.loopDestroy();let r=n+1;if("object"==typeof e&&"length"in e){for(let t=0;ts})},33552:(e,t,a)=>{function s(){const e=this,t=[];for(let a=0;as})},76884:(e,t,a)=>{function s(e){const t=this,{params:a,$wrapperEl:s,activeIndex:n}=t;let r=n;a.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=s.children(`.${a.slideClass}`));let i,o=r;if("object"==typeof e&&"length"in e){for(let a=0;as})},87673:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(21895),n=a(97626),r=a(50587);function i({swiper:e,extendParams:t,on:a,emit:i}){const o=(0,s.zk)();let l;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let c,d=(0,r.tB)();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function m(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&(0,r.tB)()-d<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),i("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),i("scroll",t.raw)),d=(new o.Date).getTime(),!1)))}function f(t){let a=t,s=!0;if(!e.enabled)return;const o=e.params.mousewheel;e.params.cssMode&&a.preventDefault();let d=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(d=(0,n.A)(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!d[0].contains(a.target)&&!o.releaseOnEdges)return!0;a.originalEvent&&(a=a.originalEvent);let u=0;const h=e.rtlTranslate?-1:1,f=function(e){let t=0,a=0,s=0,n=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),s=10*t,n=10*a,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=n,n=0),(s||n)&&e.deltaMode&&(1===e.deltaMode?(s*=40,n*=40):(s*=800,n*=800)),s&&!t&&(t=s<1?-1:1),n&&!a&&(a=n<1?-1:1),{spinX:t,spinY:a,pixelX:s,pixelY:n}}(a);if(o.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;u=-f.pixelX*h}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;u=-f.pixelY}else u=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(0===u)return!0;o.invert&&(u=-u);let g=e.getTranslate()+u*o.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),s=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),s&&e.params.nested&&a.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:(0,r.tB)(),delta:Math.abs(u),direction:Math.sign(u)},s=c&&t.time=e.minTranslate()&&(n=e.minTranslate()),n<=e.maxTranslate()&&(n=e.maxTranslate()),e.setTransition(0),e.setTranslate(n),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!h&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(l),l=void 0,p.length>=15&&p.shift();const a=p.length?p[p.length-1]:void 0,s=p[0];if(p.push(t),a&&(t.delta>a.delta||t.direction!==a.direction))p.splice(0);else if(p.length>=15&&t.time-s.time<500&&s.delta-t.delta>=1&&t.delta<=6){const a=u>0?.8:.2;c=t,p.splice(0),l=(0,r.dY)((()=>{e.slideToClosest(e.params.speed,!0,void 0,a)}),0)}l||(l=(0,r.dY)((()=>{c=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(s||i("scroll",a),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),n===e.minTranslate()||n===e.maxTranslate())return!0}}else{const a={time:(0,r.tB)(),delta:Math.abs(u),direction:Math.sign(u),raw:t};p.length>=2&&p.shift();const s=p.length?p[p.length-1]:void 0;if(p.push(a),s?(a.direction!==s.direction||a.delta>s.delta||a.time>s.time+150)&&m(a):m(a),function(t){const a=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&a.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&a.releaseOnEdges)return!0;return!1}(a))return!0}return a.preventDefault?a.preventDefault():a.returnValue=!1,!1}function g(t){let a=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(a=(0,n.A)(e.params.mousewheel.eventsTarget)),a[t]("mouseenter",u),a[t]("mouseleave",h),a[t]("wheel",f)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(g("on"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(g("off"),e.mousewheel.enabled=!1,!0)}a("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()})),a("destroy",(()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()})),Object.assign(e.mousewheel,{enable:v,disable:w})}},86233:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(22793),n=a(97626);function r({swiper:e,extendParams:t,on:a,emit:r}){function i(t){let a;return t&&(a=(0,n.A)(t),e.params.uniqueNavElements&&"string"==typeof t&&a.length>1&&1===e.$el.find(t).length&&(a=e.$el.find(t))),a}function o(t,a){const s=e.params.navigation;t&&t.length>0&&(t[a?"addClass":"removeClass"](s.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=a),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](s.lockClass))}function l(){if(e.params.loop)return;const{$nextEl:t,$prevEl:a}=e.navigation;o(a,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function c(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){const t=e.params.navigation;if(e.params.navigation=(0,s.A)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const a=i(t.nextEl),n=i(t.prevEl);a&&a.length>0&&a.on("click",d),n&&n.length>0&&n.on("click",c),Object.assign(e.navigation,{$nextEl:a,nextEl:a&&a[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(a&&a.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:a}=e.navigation;t&&t.length&&(t.off("click",d),t.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",c),a.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},a("init",(()=>{!1===e.params.navigation.enabled?h():(p(),l())})),a("toEdge fromEdge lock unlock",(()=>{l()})),a("destroy",(()=>{u()})),a("enable disable",(()=>{const{$nextEl:t,$prevEl:a}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),a("click",((t,a)=>{const{$nextEl:s,$prevEl:i}=e.navigation,o=a.target;if(e.params.navigation.hideOnClick&&!(0,n.A)(o).is(i)&&!(0,n.A)(o).is(s)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;s?t=s.hasClass(e.params.navigation.hiddenClass):i&&(t=i.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),s&&s.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),p(),l()},disable:h,update:l,init:p,destroy:u})}},86301:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(97626),n=a(29942),r=a(22793);function i({swiper:e,extendParams:t,on:a,emit:i}){const o="swiper-pagination";let l;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let c=0;function d(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function p(t,a){const{bulletActiveClass:s}=e.params.pagination;t[a]().addClass(`${s}-${a}`)[a]().addClass(`${s}-${a}-${a}`)}function u(){const t=e.rtl,a=e.params.pagination;if(d())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,o=e.pagination.$el;let u;const h=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>h-1&&(u-=h),u<0&&"bullets"!==e.params.paginationType&&(u=h+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let r,i,d;if(a.dynamicBullets&&(l=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",l*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(c+=u-(e.previousIndex-e.loopedSlides||0),c>a.dynamicMainBullets-1?c=a.dynamicMainBullets-1:c<0&&(c=0)),r=Math.max(u-c,0),i=r+(Math.min(n.length,a.dynamicMainBullets)-1),d=(i+r)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${a.bulletActiveClass}${e}`)).join(" ")),o.length>1)n.each((e=>{const t=(0,s.A)(e),n=t.index();n===u&&t.addClass(a.bulletActiveClass),a.dynamicBullets&&(n>=r&&n<=i&&t.addClass(`${a.bulletActiveClass}-main`),n===r&&p(t,"prev"),n===i&&p(t,"next"))}));else{const t=n.eq(u),s=t.index();if(t.addClass(a.bulletActiveClass),a.dynamicBullets){const t=n.eq(r),o=n.eq(i);for(let e=r;e<=i;e+=1)n.eq(e).addClass(`${a.bulletActiveClass}-main`);if(e.params.loop)if(s>=n.length){for(let e=a.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${a.bulletActiveClass}-main`);n.eq(n.length-a.dynamicMainBullets-1).addClass(`${a.bulletActiveClass}-prev`)}else p(t,"prev"),p(o,"next");else p(t,"prev"),p(o,"next")}}if(a.dynamicBullets){const s=Math.min(n.length,a.dynamicMainBullets+4),r=(l*s-l)/2-d*l,i=t?"right":"left";n.css(e.isHorizontal()?i:"top",`${r}px`)}}if("fraction"===a.type&&(o.find((0,n.A)(a.currentClass)).text(a.formatFractionCurrent(u+1)),o.find((0,n.A)(a.totalClass)).text(a.formatFractionTotal(h))),"progressbar"===a.type){let t;t=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const s=(u+1)/h;let r=1,i=1;"horizontal"===t?r=s:i=s,o.find((0,n.A)(a.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${i})`).transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(o.html(a.renderCustom(e,u+1,h)),i("paginationRender",o[0])):i("paginationUpdate",o[0]),e.params.watchOverflow&&e.enabled&&o[e.isLocked?"addClass":"removeClass"](a.lockClass)}function h(){const t=e.params.pagination;if(d())return;const a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el;let r="";if("bullets"===t.type){let i=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&i>a&&(i=a);for(let a=0;a`;s.html(r),e.pagination.bullets=s.find((0,n.A)(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,s.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,s.html(r)),"custom"!==t.type&&i("paginationRender",e.pagination.$el[0])}function m(){e.params.pagination=(0,r.A)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let a=(0,s.A)(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&a.length>1&&(a=e.$el.find(t.el),a.length>1&&(a=a.filter((t=>(0,s.A)(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),a.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(a.addClass(`${t.modifierClass}${t.type}-dynamic`),c=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",(0,n.A)(t.bulletClass),(function(t){t.preventDefault();let a=(0,s.A)(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),Object.assign(e.pagination,{$el:a,el:a[0]}),e.enabled||a.addClass(t.lockClass))}function f(){const t=e.params.pagination;if(d())return;const a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),a.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",(0,n.A)(t.bulletClass))}a("init",(()=>{!1===e.params.pagination.enabled?g():(m(),h(),u())})),a("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),a("snapIndexChange",(()=>{e.params.loop||u()})),a("slidesLengthChange",(()=>{e.params.loop&&(h(),u())})),a("snapGridLengthChange",(()=>{e.params.loop||(h(),u())})),a("destroy",(()=>{f()})),a("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),a("lock unlock",(()=>{u()})),a("click",((t,a)=>{const n=a.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!(0,s.A)(n).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&n===e.navigation.nextEl||e.navigation.prevEl&&n===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}}));const g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),m(),h(),u()},disable:g,render:h,update:u,init:m,destroy:f})}},37855:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(97626);function n({swiper:e,extendParams:t,on:a}){t({parallax:{enabled:!1}});const n=(t,a)=>{const{rtl:n}=e,r=(0,s.A)(t),i=n?-1:1,o=r.attr("data-swiper-parallax")||"0";let l=r.attr("data-swiper-parallax-x"),c=r.attr("data-swiper-parallax-y");const d=r.attr("data-swiper-parallax-scale"),p=r.attr("data-swiper-parallax-opacity");if(l||c?(l=l||"0",c=c||"0"):e.isHorizontal()?(l=o,c="0"):(c=o,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*a*i+"%":l*a*i+"px",c=c.indexOf("%")>=0?parseInt(c,10)*a+"%":c*a+"px",null!=p){const e=p-(p-1)*(1-Math.abs(a));r[0].style.opacity=e}if(null==d)r.transform(`translate3d(${l}, ${c}, 0px)`);else{const e=d-(d-1)*(1-Math.abs(a));r.transform(`translate3d(${l}, ${c}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:a,progress:r,snapGrid:i}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,r)})),a.each(((t,a)=>{let o=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(a/2)-r*(i.length-1)),o=Math.min(Math.max(o,-1),1),(0,s.A)(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,o)}))}))};a("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{e.params.parallax.enabled&&r()})),a("setTranslate",(()=>{e.params.parallax.enabled&&r()})),a("setTransition",((t,a)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:a}=e;a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const a=(0,s.A)(e);let n=parseInt(a.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),a.transition(n)}))})(a)}))}},94387:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(21895),n=a(97626),r=a(50587),i=a(22793);function o({swiper:e,extendParams:t,on:a,emit:o}){const l=(0,s.YE)();let c,d,p,u,h=!1,m=null,f=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:a,progress:s}=e,{$dragEl:n,$el:r}=t,i=e.params.scrollbar;let o=d,l=(p-d)*s;a?(l=-l,l>0?(o=d-l,l=0):-l+d>p&&(o=p+l)):l<0?(o=d+l,l=0):l+d>p&&(o=p-l),e.isHorizontal()?(n.transform(`translate3d(${l}px, 0, 0)`),n[0].style.width=`${o}px`):(n.transform(`translate3d(0px, ${l}px, 0)`),n[0].style.height=`${o}px`),i.hide&&(clearTimeout(m),r[0].style.opacity=1,m=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:a,$el:s}=t;a[0].style.width="",a[0].style.height="",p=e.isHorizontal()?s[0].offsetWidth:s[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),d="auto"===e.params.scrollbar.dragSize?p*u:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=`${d}px`:a[0].style.height=`${d}px`,s[0].style.display=u>=1?"none":"",e.params.scrollbar.hide&&(s[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function w(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function b(t){const{scrollbar:a,rtlTranslate:s}=e,{$el:n}=a;let r;r=(w(t)-n.offset()[e.isHorizontal()?"left":"top"]-(null!==c?c:d/2))/(p-d),r=Math.max(Math.min(r,1),0),s&&(r=1-r);const i=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(i),e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}function y(t){const a=e.params.scrollbar,{scrollbar:s,$wrapperEl:n}=e,{$el:r,$dragEl:i}=s;h=!0,c=t.target===i[0]||t.target===i?w(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),n.transition(100),i.transition(100),b(t),clearTimeout(f),r.transition(0),a.hide&&r.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),o("scrollbarDragStart",t)}function E(t){const{scrollbar:a,$wrapperEl:s}=e,{$el:n,$dragEl:r}=a;h&&(t.preventDefault?t.preventDefault():t.returnValue=!1,b(t),s.transition(0),n.transition(0),r.transition(0),o("scrollbarDragMove",t))}function x(t){const a=e.params.scrollbar,{scrollbar:s,$wrapperEl:n}=e,{$el:i}=s;h&&(h=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),n.transition("")),a.hide&&(clearTimeout(f),f=(0,r.dY)((()=>{i.css("opacity",0),i.transition(400)}),1e3)),o("scrollbarDragEnd",t),a.snapOnRelease&&e.slideToClosest())}function C(t){const{scrollbar:a,touchEventsTouch:s,touchEventsDesktop:n,params:r,support:i}=e,o=a.$el;if(!o)return;const c=o[0],d=!(!i.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!i.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;const u="on"===t?"addEventListener":"removeEventListener";i.touch?(c[u](s.start,y,d),c[u](s.move,E,d),c[u](s.end,x,p)):(c[u](n.start,y,d),l[u](n.move,E,d),l[u](n.end,x,p))}function S(){const{scrollbar:t,$el:a}=e;e.params.scrollbar=(0,i.A)(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const s=e.params.scrollbar;if(!s.el)return;let r=(0,n.A)(s.el);e.params.uniqueNavElements&&"string"==typeof s.el&&r.length>1&&1===a.find(s.el).length&&(r=a.find(s.el)),r.addClass(e.isHorizontal()?s.horizontalClass:s.verticalClass);let o=r.find(`.${e.params.scrollbar.dragClass}`);0===o.length&&(o=(0,n.A)(`
`),r.append(o)),Object.assign(t,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),s.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&C("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function T(){const t=e.params.scrollbar,a=e.scrollbar.$el;a&&a.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&C("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},a("init",(()=>{!1===e.params.scrollbar.enabled?$():(S(),v(),g())})),a("update resize observerUpdate lock unlock",(()=>{v()})),a("setTranslate",(()=>{g()})),a("setTransition",((t,a)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(a)})),a("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),a("destroy",(()=>{T()}));const $=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),S(),v(),g()},disable:$,updateSize:v,setTranslate:g,init:S,destroy:T})}},93663:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(50587),n=a(97626);function r({swiper:e,extendParams:t,on:a}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,i=!1;function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const a=t.clickedIndex,s=t.clickedSlide;if(s&&(0,n.A)(s).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==a)return;let r;if(r=t.params.loop?parseInt((0,n.A)(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const a=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),s=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===a?s:void 0===s?a:s-t1&&!e.params.centeredSlides&&(n=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(n=1),n=Math.floor(n),a.slides.removeClass(r),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(let t=0;t1?s:l:s-le.previousIndex?"next":"prev"}else n=e.realIndex,r=n>e.previousIndex?"next":"prev";o&&(n+="next"===r?i:-1*i),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(n)<0&&(a.params.centeredSlides?n=n>l?n-Math.floor(s/2)+1:n+Math.floor(s/2)-1:n>l&&a.params.slidesPerGroup,a.slideTo(n,t?0:void 0))}}e.thumbs={swiper:null},a("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(l(),c(!0))})),a("slideChange update resize observerUpdate",(()=>{c()})),a("setTransition",((t,a)=>{const s=e.thumbs.swiper;s&&!s.destroyed&&s.setTransition(a)})),a("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&i&&t.destroy()})),Object.assign(e.thumbs,{init:l,update:c})}},19759:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(97626),n=a(50587);function r({swiper:e,extendParams:t,on:a,emit:r}){let i;function o(t,a){const n=e.params.virtual;if(n.cache&&e.virtual.cache[a])return e.virtual.cache[a];const r=n.renderSlide?(0,s.A)(n.renderSlide.call(e,t,a)):(0,s.A)(`
${t}
`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",a),n.cache&&(e.virtual.cache[a]=r),r}function l(t){const{slidesPerView:a,slidesPerGroup:s,centeredSlides:n}=e.params,{addSlidesBefore:i,addSlidesAfter:l}=e.params.virtual,{from:c,to:d,slides:p,slidesGrid:u,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const m=e.activeIndex||0;let f,g,v;f=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",n?(g=Math.floor(a/2)+s+l,v=Math.floor(a/2)+s+i):(g=a+(s-1)+l,v=s+i);const w=Math.max((m||0)-v,0),b=Math.min((m||0)+g,p.length-1),y=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function E(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:y,slidesGrid:e.slidesGrid}),c===w&&d===b&&!t)return e.slidesGrid!==u&&y!==h&&e.slides.css(f,`${y}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:y,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?E():r("virtualUpdate"));const x=[],C=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=c;t<=d;t+=1)(tb)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=w&&e<=b&&(void 0===d||t?C.push(e):(e>d&&C.push(e),e{e.$wrapperEl.append(o(p[t],t))})),x.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(o(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(f,`${y}px`),E()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},a("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||l())})),a("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(i),i=setTimeout((()=>{l()}),100)):l())})),a("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&(0,n.LY)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let a=0;a{const s=t[e],r=s.attr("data-swiper-slide-index");r&&s.attr("data-swiper-slide-index",parseInt(r,10)+n),a[parseInt(e,10)+n]=s})),e.virtual.cache=a}l(!0),e.slideTo(s,0)},removeSlide:function(t){if(null==t)return;let a=e.activeIndex;if(Array.isArray(t))for(let s=t.length-1;s>=0;s-=1)e.virtual.slides.splice(t[s],1),e.params.virtual.cache&&delete e.virtual.cache[t[s]],t[s]{a.d(t,{A:()=>i});var s=a(21895),n=a(97626),r=a(50587);function i({swiper:e,extendParams:t,on:a,emit:i}){const o=(0,s.zk)();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let l,c,d,p=1,u=!1;const h={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt((s-t)**2+(n-a)**2)}function w(t){const a=e.support,s=e.params.zoom;if(c=!1,d=!1,!a.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;c=!0,h.scaleStart=v(t)}h.$slideEl&&h.$slideEl.length||(h.$slideEl=(0,n.A)(t.target).closest(`.${e.params.slideClass}`),0===h.$slideEl.length&&(h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${s.containerClass}`),h.maxRatio=h.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,0!==h.$imageWrapEl.length)?(h.$imageEl&&h.$imageEl.transition(0),u=!0):h.$imageEl=void 0}function b(t){const a=e.support,s=e.params.zoom,n=e.zoom;if(!a.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;d=!0,h.scaleMove=v(t)}h.$imageEl&&0!==h.$imageEl.length?(a.gestures?n.scale=t.scale*p:n.scale=h.scaleMove/h.scaleStart*p,n.scale>h.maxRatio&&(n.scale=h.maxRatio-1+(n.scale-h.maxRatio+1)**.5),n.scalem.touchesStart.x))return void(m.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.ym.touchesStart.y))return void(m.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),m.isMoved=!0,m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX,m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY,m.currentXm.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentYm.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=m.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=m.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(m.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(m.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(m.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(m.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=m.touchesCurrent.x,f.prevPositionY=m.touchesCurrent.y,f.prevTime=Date.now(),h.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}}function x(){const t=e.zoom;h.$slideEl&&e.previousIndex!==e.activeIndex&&(h.$imageEl&&h.$imageEl.transform("translate3d(0,0,0) scale(1)"),h.$imageWrapEl&&h.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,h.$slideEl=void 0,h.$imageEl=void 0,h.$imageWrapEl=void 0)}function C(t){const a=e.zoom,s=e.params.zoom;if(h.$slideEl||(t&&t.target&&(h.$slideEl=(0,n.A)(t.target).closest(`.${e.params.slideClass}`)),h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${s.containerClass}`)),!h.$imageEl||0===h.$imageEl.length||!h.$imageWrapEl||0===h.$imageWrapEl.length)return;let r,i,l,c,d,u,f,g,v,w,b,y,E,x,C,S,T,$;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),h.$slideEl.addClass(`${s.zoomedSlideClass}`),void 0===m.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,i="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=m.touchesStart.x,i=m.touchesStart.y),a.scale=h.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,p=h.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,t?(T=h.$slideEl[0].offsetWidth,$=h.$slideEl[0].offsetHeight,l=h.$slideEl.offset().left+o.scrollX,c=h.$slideEl.offset().top+o.scrollY,d=l+T/2-r,u=c+$/2-i,v=h.$imageEl[0].offsetWidth,w=h.$imageEl[0].offsetHeight,b=v*a.scale,y=w*a.scale,E=Math.min(T/2-b/2,0),x=Math.min($/2-y/2,0),C=-E,S=-x,f=d*a.scale,g=u*a.scale,fC&&(f=C),gS&&(g=S)):(f=0,g=0),h.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}px,0)`),h.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${a.scale})`)}function S(){const t=e.zoom,a=e.params.zoom;h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`)),h.$imageEl&&0!==h.$imageEl.length&&h.$imageWrapEl&&0!==h.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,h.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),h.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),h.$slideEl.removeClass(`${a.zoomedSlideClass}`),h.$slideEl=void 0)}function T(t){const a=e.zoom;a.scale&&1!==a.scale?S():C(t)}function $(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function A(){return`.${e.params.slideClass}`}function k(t){const{passiveListener:a}=$(),s=A();e.$wrapperEl[t]("gesturestart",s,w,a),e.$wrapperEl[t]("gesturechange",s,b,a),e.$wrapperEl[t]("gestureend",s,y,a)}function M(){l||(l=!0,k("on"))}function P(){l&&(l=!1,k("off"))}function O(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const a=e.support,{passiveListener:s,activeListenerWithCapture:n}=$(),r=A();a.gestures?(e.$wrapperEl.on(e.touchEvents.start,M,s),e.$wrapperEl.on(e.touchEvents.end,P,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,s),e.$wrapperEl.on(e.touchEvents.move,r,b,n),e.$wrapperEl.on(e.touchEvents.end,r,y,s),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,y,s)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,E,n)}function z(){const t=e.zoom;if(!t.enabled)return;const a=e.support;t.enabled=!1;const{passiveListener:s,activeListenerWithCapture:n}=$(),r=A();a.gestures?(e.$wrapperEl.off(e.touchEvents.start,M,s),e.$wrapperEl.off(e.touchEvents.end,P,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,s),e.$wrapperEl.off(e.touchEvents.move,r,b,n),e.$wrapperEl.off(e.touchEvents.end,r,y,s),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,y,s)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,E,n)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=h.$imageEl?h.$imageEl[0]:void 0,a=h.$slideEl?h.$slideEl[0]:void 0;i("zoomChange",e,t,a)}g=e}}),a("init",(()=>{e.params.zoom.enabled&&O()})),a("destroy",(()=>{z()})),a("touchStart",((t,a)=>{e.zoom.enabled&&function(t){const a=e.device;h.$imageEl&&0!==h.$imageEl.length&&(m.isTouched||(a.android&&t.cancelable&&t.preventDefault(),m.isTouched=!0,m.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,m.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(a)})),a("touchEnd",((t,a)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!h.$imageEl||0===h.$imageEl.length)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let a=300,s=300;const n=f.x*a,r=m.currentX+n,i=f.y*s,o=m.currentY+i;0!==f.x&&(a=Math.abs((r-m.currentX)/f.x)),0!==f.y&&(s=Math.abs((o-m.currentY)/f.y));const l=Math.max(a,s);m.currentX=r,m.currentY=o;const c=m.width*t.scale,d=m.height*t.scale;m.minX=Math.min(h.slideWidth/2-c/2,0),m.maxX=-m.minX,m.minY=Math.min(h.slideHeight/2-d/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),h.$imageWrapEl.transition(l).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}()})),a("doubleTap",((t,a)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&T(a)})),a("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&x()})),a("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&x()})),Object.assign(e.zoom,{enable:O,disable:z,in:C,out:S,toggle:T})}},29942:(e,t,a)=>{function s(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}a.d(t,{A:()=>s})},22793:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(21895);function n(e,t,a,n){const r=(0,s.YE)();return e.params.createElements&&Object.keys(n).forEach((s=>{if(!a[s]&&!0===a.auto){let i=e.$el.children(`.${n[s]}`)[0];i||(i=r.createElement("div"),i.className=n[s],e.$el.append(i)),a[s]=i,t[s]=i}})),a}},25837:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(97626);function n(e,t,a){const n="swiper-slide-shadow"+(a?`-${a}`:""),r=e.transformEl?t.find(e.transformEl):t;let i=r.children(`.${n}`);return i.length||(i=(0,s.A)(`
`),r.append(i)),i}},97626:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(12411);const n={addClass:s.iQ,removeClass:s.vy,hasClass:s.nB,toggleClass:s.p1,attr:s.CF,removeAttr:s.K$,transform:s.pd,transition:s.kY,on:s.on,off:s.AU,trigger:s.hZ,transitionEnd:s.XQ,outerWidth:s.Gq,outerHeight:s.DK,styles:s.R7,offset:s.cY,css:s.AH,each:s.HN,html:s.qy,text:s.Qq,is:s.is,index:s.Pe,eq:s.eq,append:s.BC,prepend:s.Hs,next:s.K2,nextAll:s.HW,prev:s.YL,prevAll:s.zy,parent:s.$t,parents:s.M8,closest:s.kp,find:s.I6,children:s.Y_,filter:s.pb,remove:s.TF};Object.keys(n).forEach((e=>{Object.defineProperty(s.$.fn,e,{value:n[e],writable:!0})}));const r=s.$},25996:(e,t,a)=>{function s(e){const{effect:t,swiper:a,on:s,setTranslate:n,setTransition:r,overwriteParams:i,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;s("beforeInit",(()=>{if(a.params.effect!==t)return;a.classNames.push(`${a.params.containerModifierClass}${t}`),o&&o()&&a.classNames.push(`${a.params.containerModifierClass}3d`);const e=i?i():{};Object.assign(a.params,e),Object.assign(a.originalParams,e)})),s("setTranslate",(()=>{a.params.effect===t&&n()})),s("setTransition",((e,s)=>{a.params.effect===t&&r(s)})),s("transitionEnd",(()=>{if(a.params.effect===t&&l){if(!c||!c().slideShadows)return;a.slides.each((e=>{a.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),s("virtualUpdate",(()=>{a.params.effect===t&&(a.slides.length||(d=!0),requestAnimationFrame((()=>{d&&a.slides&&a.slides.length&&(n(),d=!1)})))}))}a.d(t,{A:()=>s})},43563:(e,t,a)=>{function s(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}a.d(t,{A:()=>s})},99875:(e,t,a)=>{function s({swiper:e,duration:t,transformEl:a,allSlides:s}){const{slides:n,activeIndex:r,$wrapperEl:i}=e;if(e.params.virtualTranslate&&0!==t){let t,o=!1;t=s?a?n.find(a):n:a?n.eq(r).find(a):n.eq(r),t.transitionEnd((()=>{if(o)return;if(!e||e.destroyed)return;o=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;es})},79167:(e,t,a)=>{a.d(t,{X:()=>r});var s=a(21895);let n;function r(){return n||(n=function(){const e=(0,s.zk)();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),n}},61957:(e,t,a)=>{a.d(t,{P:()=>i});var s=a(21895),n=a(96076);let r;function i(e={}){return r||(r=function({userAgent:e}={}){const t=(0,n.k)(),a=(0,s.zk)(),r=a.navigator.platform,i=e||a.navigator.userAgent,o={ios:!1,android:!1},l=a.screen.width,c=a.screen.height,d=i.match(/(Android);?[\s\/]+([\d.]+)?/);let p=i.match(/(iPad).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===r;let f="MacIntel"===r;return!p&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&(p=i.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),d&&!m&&(o.os="android",o.android=!0),(p||h||u)&&(o.os="ios",o.ios=!0),o}(e)),r}},96076:(e,t,a)=>{a.d(t,{k:()=>r});var s=a(21895);let n;function r(){return n||(n=function(){const e=(0,s.zk)(),t=(0,s.YE)();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const a=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,a)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),n}},50587:(e,t,a)=>{a.d(t,{Gv:()=>l,LY:()=>d,X$:()=>c,dY:()=>r,dy:()=>p,oR:()=>n,ro:()=>o,tB:()=>i});var s=a(21895);function n(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function r(e,t=0){return setTimeout(e,t)}function i(){return Date.now()}function o(e,t="x"){const a=(0,s.zk)();let n,r,i;const o=function(e){const t=(0,s.zk)();let a;return t.getComputedStyle&&(a=t.getComputedStyle(e,null)),!a&&e.currentStyle&&(a=e.currentStyle),a||(a=e.style),a}(e);return a.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new a.WebKitCSSMatrix("none"===r?"":r)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(",")),"x"===t&&(r=a.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=a.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(...e){const t=Object(e[0]),a=["__proto__","constructor","prototype"];for(let n=1;na.indexOf(e)<0));for(let a=0,s=e.length;ar?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{i=(new Date).getTime(),null===o&&(o=i);const s=Math.max(Math.min((i-o)/l,1),0),c=.5-Math.cos(s*Math.PI)/2;let u=r+c*(t-r);if(d(u,t)&&(u=t),e.wrapperEl.scrollTo({[a]:u}),d(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[a]:u})})),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(p)};p()}},83280:(e,t,a)=>{a.d(t,{A:()=>s.A});var s=a(83277),n=a(19759),r=a(49503),i=a(87673),o=a(86233),l=a(86301),c=a(94387),d=a(37855),p=a(39567),u=a(31949),h=a(89677),m=a(70049),f=a(32015),g=a(25855),v=a(70079),w=a(93663),b=a(33887),y=a(60541),E=a(23247),x=a(96027),C=a(22459),S=a(16559),T=a(24931),$=a(55151),A=a(43875);const k=[n.A,r.A,i.A,o.A,l.A,c.A,d.A,p.A,u.A,h.A,m.A,f.A,g.A,v.A,w.A,b.A,y.A,E.A,x.A,C.A,S.A,T.A,$.A,A.A];s.A.use(k)},77319:e=>{e.exports=JSON.parse('{"UU":"homepage-articles"}')}},t={};function a(s){var n=t[s];if(void 0!==n)return n.exports;var r=t[s]={exports:{}};return e[s](r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var s in t)a.o(t,s)&&!a.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var s=a(74997),n=a(52619),r=a(89609),i=a(98688);(0,n.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/carousel"!==e?e:r.t})),(0,s.registerBlockType)(r.t,{...i.W0,category:"widgets"})})(); \ No newline at end of file +__("Excluded %s","jetpack-mu-wpcom"),e),onChange:e=>$(E,x,t,e),tokens:A(E,t)}))))))}}h.defaultProps={enableSpecific:!0,specificPosts:[],authors:[],categories:[],tags:[],customTaxonomies:[],tagExclusions:[],customTaxonomyExclusions:[]};const m=h},9661:(e,t,a)=>{a.d(t,{Az:()=>r,HN:()=>o,NQ:()=>i,X8:()=>c,vQ:()=>l});var s=a(6087),n=a(7723);const _x=n._x,__=n.__,r=e=>e.map((e=>React.createElement("span",{className:"avatar author-avatar",key:e.id},React.createElement("a",{className:"url fn n",href:e.author_link},React.createElement(s.RawHTML,null,e.avatar))))),i=e=>React.createElement("span",{className:"byline"},React.createElement("span",{className:"author-prefix"},_x("by","post author","jetpack-mu-wpcom"))," ",e.reduce(((t,a,s)=>[...t,React.createElement("span",{className:"author vcard",key:a.id},React.createElement("a",{className:"url fn n",href:a.author_link},a.display_name)),s1&&s===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),o=e=>React.createElement("span",{className:"sponsor-logos"},e.map((e=>React.createElement(s.Fragment,{key:e.id},e.src&&React.createElement("a",{href:e.sponsor_url},React.createElement("img",{src:e.src,width:e.img_width,height:e.img_height,alt:e.sponsor_name})))))),l=e=>React.createElement("span",{className:"byline sponsor-byline"},e[0].byline_prefix," ",e.reduce(((t,a,s)=>[...t,React.createElement("span",{className:"author",key:a.id},React.createElement("a",{href:a.author_link},a.sponsor_name)),s1&&s===e.length-2&&_x(" and ","post author","jetpack-mu-wpcom")]),[])),c=(e={})=>"publish"!==e.post_status?React.createElement("div",{className:"newspack-preview-label"},{draft:__("Draft","jetpack-mu-wpcom"),future:__("Scheduled","jetpack-mu-wpcom")}[e.post_status]):null},8468:e=>{e.exports=window.lodash},195:e=>{e.exports=window.wp.a11y},1455:e=>{e.exports=window.wp.apiFetch},4715:e=>{e.exports=window.wp.blockEditor},4997:e=>{e.exports=window.wp.blocks},6427:e=>{e.exports=window.wp.components},9491:e=>{e.exports=window.wp.compose},7143:e=>{e.exports=window.wp.data},8443:e=>{e.exports=window.wp.date},6087:e=>{e.exports=window.wp.element},9877:e=>{e.exports=window.wp.escapeHtml},2619:e=>{e.exports=window.wp.hooks},8537:e=>{e.exports=window.wp.htmlEntities},7723:e=>{e.exports=window.wp.i18n},3832:e=>{e.exports=window.wp.url},4577:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(9156);function n(e,t,a){return(t=(0,s.A)(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},7790:(e,t,a)=>{function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;ts})},4021:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(4577);function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function r(e){for(var t=1;t{function s(e,t){if(null==e)return{};var a={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)>=0)continue;a[s]=e[s]}return a}a.d(t,{A:()=>s})},129:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(7278);function n(e,t){if("object"!=(0,s.A)(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=(0,s.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},9156:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(7278),n=a(129);function r(e){var t=(0,n.A)(e,"string");return"symbol"==(0,s.A)(t)?t:t+""}},7278:(e,t,a)=>{function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}a.d(t,{A:()=>s})},3022:(e,t,a)=>{function s(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;tn});const n=function(){for(var e,t,a=0,n="",r=arguments.length;a{a.d(t,{$:()=>o,$t:()=>N,AH:()=>S,AU:()=>v,BC:()=>z,CF:()=>u,DK:()=>E,Gq:()=>y,HN:()=>T,HW:()=>_,Hs:()=>R,I6:()=>Y,K$:()=>h,K2:()=>I,M8:()=>D,Pe:()=>P,Qq:()=>k,R7:()=>C,TF:()=>G,XQ:()=>b,YL:()=>L,Y_:()=>H,cY:()=>x,eq:()=>O,hZ:()=>w,iQ:()=>l,is:()=>M,kY:()=>f,kp:()=>B,nB:()=>p,on:()=>g,p1:()=>d,pb:()=>$,pd:()=>m,qy:()=>A,vy:()=>c,zy:()=>j});var s=a(1895);class n extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function r(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...r(e)):t.push(e)})),t}function i(e,t){return Array.prototype.filter.call(e,t)}function o(e,t){const a=(0,s.zk)(),r=(0,s.YE)();let i=[];if(!t&&e instanceof n)return e;if(!e)return new n(i);if("string"==typeof e){const a=e.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){let e="div";0===a.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this}function c(...e){const t=r(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this}function d(...e){const t=r(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))}function p(...e){const t=r(e.map((e=>e.split(" "))));return i(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0}function u(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let a=0;a=0;e-=1){const a=i[e];s&&a.listener===s||s&&a.listener&&a.listener.dom7proxy&&a.listener.dom7proxy===s?(r.removeEventListener(t,a.proxyListener,n),i.splice(e,1)):s||(r.removeEventListener(t,a.proxyListener,n),i.splice(e,1))}}}return this}function w(...e){const t=(0,s.zk)(),a=e[0].split(" "),n=e[1];for(let s=0;st>0)),s.dispatchEvent(a),s.dom7EventData=[],delete s.dom7EventData}}}return this}function b(e){const t=this;return e&&t.on("transitionend",(function a(s){s.target===this&&(e.call(this,s),t.off("transitionend",a))})),this}function y(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function E(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function x(){if(this.length>0){const e=(0,s.zk)(),t=(0,s.YE)(),a=this[0],n=a.getBoundingClientRect(),r=t.body,i=a.clientTop||r.clientTop||0,o=a.clientLeft||r.clientLeft||0,l=a===e?e.scrollY:a.scrollTop,c=a===e?e.scrollX:a.scrollLeft;return{top:n.top+l-i,left:n.left+c-o}}return null}function C(){const e=(0,s.zk)();return this[0]?e.getComputedStyle(this[0],null):{}}function S(e,t){const a=(0,s.zk)();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n{e.apply(t,[t,a])})),this):this}function $(e){return o(i(this,e))}function A(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return o([]);if(e<0){const a=t+e;return o(a<0?[]:[this[a]])}return o([this[e]])}function z(...e){let t;const a=(0,s.YE)();for(let s=0;s=0;r-=1)this[a].insertBefore(s.childNodes[r],this[a].childNodes[0])}else if(e instanceof n)for(r=0;r0?e?this[0].nextElementSibling&&o(this[0].nextElementSibling).is(e)?o([this[0].nextElementSibling]):o([]):this[0].nextElementSibling?o([this[0].nextElementSibling]):o([]):o([])}function _(e){const t=[];let a=this[0];if(!a)return o([]);for(;a.nextElementSibling;){const s=a.nextElementSibling;e?o(s).is(e)&&t.push(s):t.push(s),a=s}return o(t)}function L(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&o(t.previousElementSibling).is(e)?o([t.previousElementSibling]):o([]):t.previousElementSibling?o([t.previousElementSibling]):o([])}return o([])}function j(e){const t=[];let a=this[0];if(!a)return o([]);for(;a.previousElementSibling;){const s=a.previousElementSibling;e?o(s).is(e)&&t.push(s):t.push(s),a=s}return o(t)}function N(e){const t=[];for(let a=0;a{function s(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function n(e={},t={}){Object.keys(t).forEach((a=>{void 0===e[a]?e[a]=t[a]:s(t[a])&&s(e[a])&&Object.keys(t[a]).length>0&&n(e[a],t[a])}))}a.d(t,{YE:()=>i,zk:()=>l});const r={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e="undefined"!=typeof document?document:{};return n(e,r),e}const o={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return n(e,o),e}},6100:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(1895);function n(e,t="window",a){if(!e||"container"===t&&!a)return;let n=!1;const r=(0,s.zk)(),i="window"===t?r.innerHeight:a.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e{a.d(t,{A:()=>r});var s=a(6352),n=a(6100);const r={setBreakpoint:s.A,getBreakpoint:n.A}},6352:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(587);const n=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function r(){const e=this,{activeIndex:t,initialized:a,loopedSlides:r=0,params:i,$el:o}=e,l=i.breakpoints;if(!l||l&&0===Object.keys(l).length)return;const c=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(!c||e.currentBreakpoint===c)return;const d=(c in l?l[c]:void 0)||e.originalParams,p=n(e,i),u=n(e,d),h=i.enabled;p&&!u?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(o.addClass(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const a=i[t]&&i[t].enabled,s=d[t]&&d[t].enabled;a&&!s&&e[t].disable(),!a&&s&&e[t].enable()}));const m=d.direction&&d.direction!==i.direction,f=i.loop&&(d.slidesPerView!==i.slidesPerView||m);m&&a&&e.changeDirection(),(0,s.X$)(e.params,d);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!g?e.disable():!h&&g&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),f&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}},736:(e,t,a)=>{a.d(t,{A:()=>s});const s={checkOverflow:function(){const e=this,{isLocked:t,params:a}=e,{slidesOffsetBefore:s}=a;if(s){const t=e.slides.length-1,a=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*s;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===a.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===a.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},9374:(e,t,a)=>{function s(){const e=this,{classNames:t,params:a,rtl:s,$el:n,device:r,support:i}=e,o=function(e,t){const a=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((s=>{e[s]&&a.push(t+s)})):"string"==typeof e&&a.push(t+e)})),a}(["initialized",a.direction,{"pointer-events":!i.touch},{"free-mode":e.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:s},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);t.push(...o),n.addClass([...t].join(" ")),e.emitContainerClasses()}a.d(t,{A:()=>s})},799:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(9374),n=a(6167);const r={addClasses:s.A,removeClasses:n.A}},6167:(e,t,a)=>{function s(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}a.d(t,{A:()=>s})},3277:(e,t,a)=>{a.d(t,{A:()=>k});var s=a(1895),n=a(7626),r=a(587),i=a(6076),o=a(1957),l=a(9167),c=a(7875),d=a(1639),p=a(8260),u=a(5e3),h=a(4361),m=a(3010),f=a(3438),g=a(6299),v=a(1800),w=a(7912),b=a(1183),y=a(799),E=a(8331),x=a(736),C=a(1880),S=a(2040);const T={eventsEmitter:p.A,update:u.A,translate:h.A,transition:m.A,slide:f.A,loop:g.A,grabCursor:v.A,events:w.A,breakpoints:b.A,checkOverflow:x.A,classes:y.A,images:E.A},$={};class A{constructor(...e){let t,a;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?a=e[0]:[t,a]=e,a||(a={}),a=(0,r.X$)({},a),t&&!a.el&&(a.el=t),a.el&&(0,n.A)(a.el).length>1){const e=[];return(0,n.A)(a.el).each((t=>{const s=(0,r.X$)({},a,{el:t});e.push(new A(s))})),e}const s=this;s.__swiper__=!0,s.support=(0,i.k)(),s.device=(0,o.P)({userAgent:a.userAgent}),s.browser=(0,l.X)(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],a.modules&&Array.isArray(a.modules)&&s.modules.push(...a.modules);const c={};s.modules.forEach((e=>{e({swiper:s,extendParams:(0,S.A)(a,c),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})}));const d=(0,r.X$)({},C.A,c);return s.params=(0,r.X$)({},d,$,a),s.originalParams=(0,r.X$)({},s.params),s.passedParams=(0,r.X$)({},a),s.params&&s.params.on&&Object.keys(s.params.on).forEach((e=>{s.on(e,s.params.on[e])})),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=n.A,Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:(0,n.A)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return s.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},s.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:(0,r.tB)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const a=this;e=Math.min(Math.max(e,0),1);const s=a.minTranslate(),n=(a.maxTranslate()-s)*e+s;a.translateTo(n,void 0===t?0:t),a.updateActiveIndex(),a.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((a=>{const s=e.getSlideClasses(a);t.push({slideEl:a,classNames:s}),e.emit("_slideClass",a,s)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:a,slides:s,slidesGrid:n,slidesSizesGrid:r,size:i,activeIndex:o}=this;let l=1;if(a.centeredSlides){let e,t=s[o].swiperSlideSize;for(let a=o+1;ai&&(e=!0));for(let a=o-1;a>=0;a-=1)s[a]&&!e&&(t+=s[a].swiperSlideSize,l+=1,t>i&&(e=!0))}else if("current"===e)for(let e=o+1;e=0;e-=1){n[o]-n[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),n||s()),a.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const a=this,s=a.params.direction;return e||(e="horizontal"===s?"vertical":"horizontal"),e===s||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass(`${a.params.containerModifierClass}${s}`).addClass(`${a.params.containerModifierClass}${e}`),a.emitContainerClasses(),a.params.direction=e,a.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),a.emit("changeDirection"),t&&a.update()),a}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const a=(0,n.A)(e||t.params.el);if(!(e=a[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=(0,n.A)(e.shadowRoot.querySelector(r()));return t.children=e=>a.children(e),t}return a.children?a.children(r()):(0,n.A)(a).children(r())})();if(0===i.length&&t.params.createElements){const e=(0,s.YE)().createElement("div");i=(0,n.A)(e),e.className=t.params.wrapperClass,a.append(e),a.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:a,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===a.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const a=this,{params:s,$el:n,$wrapperEl:i,slides:o}=a;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),s.loop&&a.loopDestroy(),t&&(a.removeClasses(),n.removeAttr("style"),i.removeAttr("style"),o&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((e=>{a.off(e)})),!1!==e&&(a.$el[0].swiper=null,(0,r.oR)(a)),a.destroyed=!0),null}static extendDefaults(e){(0,r.X$)($,e)}static get extendedDefaults(){return $}static get defaults(){return C.A}static installModule(e){A.prototype.__modules__||(A.prototype.__modules__=[]);const t=A.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>A.installModule(e))),A):(A.installModule(e),A)}}Object.keys(T).forEach((e=>{Object.keys(T[e]).forEach((t=>{A.prototype[t]=T[e][t]}))})),A.use([c.A,d.A]);const k=A},1880:(e,t,a)=>{a.d(t,{A:()=>s});const s={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},8260:(e,t,a)=>{a.d(t,{A:()=>s});const s={on(e,t,a){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;const n=a?"unshift":"push";return e.split(" ").forEach((e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][n](t)})),s},once(e,t,a){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof t)return s;function n(...a){s.off(e,n),n.__emitterProxy&&delete n.__emitterProxy,t.apply(s,a)}return n.__emitterProxy=t,s.on(e,n,a)},onAny(e,t){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof e)return a;const s=t?"unshift":"push";return a.eventsAnyListeners.indexOf(e)<0&&a.eventsAnyListeners[s](e),a},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const a=t.eventsAnyListeners.indexOf(e);return a>=0&&t.eventsAnyListeners.splice(a,1),t},off(e,t){const a=this;return!a.eventsListeners||a.destroyed?a:a.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].forEach(((s,n)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&a.eventsListeners[e].splice(n,1)}))})),a):a},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let a,s,n;"string"==typeof e[0]||Array.isArray(e[0])?(a=e[0],s=e.slice(1,e.length),n=t):(a=e[0].events,s=e[0].data,n=e[0].context||t),s.unshift(n);return(Array.isArray(a)?a:a.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(n,[e,...s])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(n,s)}))})),t}}},7912:(e,t,a)=>{a.d(t,{A:()=>h});var s=a(1895),n=a(6446),r=a(3937),i=a(8707),o=a(1087),l=a(1951),c=a(4266);let d=!1;function p(){}const u=(e,t)=>{const a=(0,s.YE)(),{params:n,touchEvents:r,el:i,wrapperEl:l,device:c,support:d}=e,p=!!n.nested,u="on"===t?"addEventListener":"removeEventListener",h=t;if(d.touch){const t=!("touchstart"!==r.start||!d.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};i[u](r.start,e.onTouchStart,t),i[u](r.move,e.onTouchMove,d.passiveListener?{passive:!1,capture:p}:p),i[u](r.end,e.onTouchEnd,t),r.cancel&&i[u](r.cancel,e.onTouchEnd,t)}else i[u](r.start,e.onTouchStart,!1),a[u](r.move,e.onTouchMove,p),a[u](r.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&i[u]("click",e.onClick,!0),n.cssMode&&l[u]("scroll",e.onScroll),n.updateOnWindowResize?e[h](c.ios||c.android?"resize orientationchange observerUpdate":"resize observerUpdate",o.A,!0):e[h]("observerUpdate",o.A,!0)};const h={attachEvents:function(){const e=this,t=(0,s.YE)(),{params:a,support:o}=e;e.onTouchStart=n.A.bind(e),e.onTouchMove=r.A.bind(e),e.onTouchEnd=i.A.bind(e),a.cssMode&&(e.onScroll=c.A.bind(e)),e.onClick=l.A.bind(e),o.touch&&!d&&(t.addEventListener("touchstart",p),d=!0),u(e,"on")},detachEvents:function(){u(this,"off")}}},1951:(e,t,a)=>{function s(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}a.d(t,{A:()=>s})},1087:(e,t,a)=>{function s(){const e=this,{params:t,el:a}=e;if(a&&0===a.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=n,e.allowSlideNext=s,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}a.d(t,{A:()=>s})},4266:(e,t,a)=>{function s(){const e=this,{wrapperEl:t,rtlTranslate:a,enabled:s}=e;if(!s)return;let n;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();n=0===r?0:(e.translate-e.minTranslate())/r,n!==e.progress&&e.updateProgress(a?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}a.d(t,{A:()=>s})},8707:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(587);function n(e){const t=this,a=t.touchEventsData,{params:n,touches:r,rtlTranslate:i,slidesGrid:o,enabled:l}=t;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",c),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&n.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);n.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=(0,s.tB)(),p=d-a.touchStartTime;if(t.allowClick){const e=c.path||c.composedPath&&c.composedPath();t.updateClickedSlide(e&&e[0]||c.target),t.emit("tap click",c),p<300&&d-a.lastClickTime<300&&t.emit("doubleTap doubleClick",c)}if(a.lastClickTime=(0,s.tB)(),(0,s.dY)((()=>{t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===r.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);let u;if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,u=n.followFinger?i?t.translate:-t.translate:-a.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let h=0,m=t.slidesSizesGrid[0];for(let e=0;e=o[e]&&u=o[e]&&(h=e,m=o[o.length-1]-o[o.length-2])}let f=null,g=null;n.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const v=(u-o[h])/m,w=hn.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?f:h+w):t.slideTo(h)),"prev"===t.swipeDirection&&(v>1-n.longSwipesRatio?t.slideTo(h+w):null!==g&&v<0&&Math.abs(v)>n.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl)?c.target===t.navigation.nextEl?t.slideTo(h+w):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==f?f:h+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}},3937:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(1895),n=a(7626),r=a(587);function i(e){const t=(0,s.YE)(),a=this,i=a.touchEventsData,{params:o,touches:l,rtlTranslate:c,enabled:d}=a;if(!d)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",p));if(i.isTouchEvent&&"touchmove"!==p.type)return;const u="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),h="touchmove"===p.type?u.pageX:p.pageX,m="touchmove"===p.type?u.pageY:p.pageY;if(p.preventedByNestedSwiper)return l.startX=h,void(l.startY=m);if(!a.allowTouchMove)return(0,n.A)(p.target).is(i.focusableElements)||(a.allowClick=!1),void(i.isTouched&&(Object.assign(l,{startX:h,startY:m,currentX:h,currentY:m}),i.touchStartTime=(0,r.tB)()));if(i.isTouchEvent&&o.touchReleaseOnEdges&&!o.loop)if(a.isVertical()){if(ml.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(hl.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&(0,n.A)(p.target).is(i.focusableElements))return i.isMoved=!0,void(a.allowClick=!1);if(i.allowTouchCallbacks&&a.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;l.currentX=h,l.currentY=m;const f=l.currentX-l.startX,g=l.currentY-l.startY;if(a.params.threshold&&Math.sqrt(f**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,i.isScrolling=a.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(i.isScrolling&&a.emit("touchMoveOpposite",p),void 0===i.startMoving&&(l.currentX===l.startX&&l.currentY===l.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;a.allowClick=!1,!o.cssMode&&p.cancelable&&p.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&p.stopPropagation(),i.isMoved||(o.loop&&!o.cssMode&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!o.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",p)),a.emit("sliderMove",p),i.isMoved=!0;let v=a.isHorizontal()?f:g;l.diff=v,v*=o.touchRatio,c&&(v=-v),a.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;let w=!0,b=o.resistanceRatio;if(o.touchReleaseOnEdges&&(b=0),v>0&&i.currentTranslate>a.minTranslate()?(w=!1,o.resistance&&(i.currentTranslate=a.minTranslate()-1+(-a.minTranslate()+i.startTranslate+v)**b)):v<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),a.allowSlidePrev||a.allowSlideNext||(i.currentTranslate=i.startTranslate),o.threshold>0){if(!(Math.abs(v)>o.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,i.currentTranslate=i.startTranslate,void(l.diff=a.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&a.freeMode||o.watchSlidesProgress)&&(a.updateActiveIndex(),a.updateSlidesClasses()),a.params.freeMode&&o.freeMode.enabled&&a.freeMode&&a.freeMode.onTouchMove(),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}},6446:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(1895),n=a(7626),r=a(587);function i(e){const t=this,a=(0,s.YE)(),i=(0,s.zk)(),o=t.touchEventsData,{params:l,touches:c,enabled:d}=t;if(!d)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=(0,n.A)(p.target);if("wrapper"===l.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(o.isTouchEvent="touchstart"===p.type,!o.isTouchEvent&&"which"in p&&3===p.which)return;if(!o.isTouchEvent&&"button"in p&&p.button>0)return;if(o.isTouched&&o.isMoved)return;const h=!!l.noSwipingClass&&""!==l.noSwipingClass,m=e.composedPath?e.composedPath():e.path;h&&p.target&&p.target.shadowRoot&&m&&(u=(0,n.A)(m[0]));const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(l.noSwiping&&(g?function(e,t=this){return function t(a){if(!a||a===(0,s.YE)()||a===(0,s.zk)())return null;a.assignedSlot&&(a=a.assignedSlot);const n=a.closest(e);return n||a.getRootNode?n||t(a.getRootNode().host):null}(t)}(f,u[0]):u.closest(f)[0]))return void(t.allowClick=!0);if(l.swipeHandler&&!u.closest(l.swipeHandler)[0])return;c.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,c.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const v=c.currentX,w=c.currentY,b=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,y=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=i.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}if(Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=v,c.startY=w,o.touchStartTime=(0,r.tB)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;u.is(o.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(o.isTouched=!1)),a.activeElement&&(0,n.A)(a.activeElement).is(o.focusableElements)&&a.activeElement!==u[0]&&a.activeElement.blur();const s=e&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!s||u[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}},1800:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(7760),n=a(1589);const r={setGrabCursor:s.A,unsetGrabCursor:n.A}},7760:(e,t,a)=>{function s(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const a="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;a.style.cursor="move",a.style.cursor=e?"grabbing":"grab"}a.d(t,{A:()=>s})},1589:(e,t,a)=>{function s(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}a.d(t,{A:()=>s})},8331:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(4258),n=a(24);const r={loadImage:s.A,preloadImages:n.A}},4258:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(1895),n=a(7626);function r(e,t,a,r,i,o){const l=(0,s.zk)();let c;function d(){o&&o()}(0,n.A)(e).parent("picture")[0]||e.complete&&i?d():t?(c=new l.Image,c.onload=d,c.onerror=d,r&&(c.sizes=r),a&&(c.srcset=a),t&&(c.src=t)):d()}},24:(e,t,a)=>{function s(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let a=0;as})},6299:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(9989),n=a(506),r=a(5031);const i={loopCreate:s.A,loopFix:n.A,loopDestroy:r.A}},9989:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(1895),n=a(7626);function r(){const e=this,t=(0,s.YE)(),{params:a,$wrapperEl:r}=e,i=r.children().length>0?(0,n.A)(r.children()[0].parentNode):r;i.children(`.${a.slideClass}.${a.slideDuplicateClass}`).remove();let o=i.children(`.${a.slideClass}`);if(a.loopFillGroupWithBlank){const e=a.slidesPerGroup-o.length%a.slidesPerGroup;if(e!==a.slidesPerGroup){for(let s=0;so.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const l=[],c=[];o.each(((e,t)=>{(0,n.A)(e).attr("data-swiper-slide-index",t)}));for(let t=0;t=0;e-=1)i.prepend((0,n.A)(l[e].cloneNode(!0)).addClass(a.slideDuplicateClass))}},5031:(e,t,a)=>{function s(){const{$wrapperEl:e,params:t,slides:a}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),a.removeAttr("data-swiper-slide-index")}a.d(t,{A:()=>s})},506:(e,t,a)=>{function s(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:a,loopedSlides:s,allowSlidePrev:n,allowSlideNext:r,snapGrid:i,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-i[t]-e.getTranslate();if(t=a.length-s){l=-a.length+t+s,l+=s;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)}e.allowSlidePrev=n,e.allowSlideNext=r,e.emit("loopFix")}a.d(t,{A:()=>s})},2040:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(587);function n(e,t){return function(a={}){const n=Object.keys(a)[0],r=a[n];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in r?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),(0,s.X$)(t,a)):(0,s.X$)(t,a)):(0,s.X$)(t,a)}}},1639:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(1895);function n({swiper:e,extendParams:t,on:a,emit:n}){const r=[],i=(0,s.zk)(),o=(e,t={})=>{const a=new(i.MutationObserver||i.WebkitMutationObserver)((e=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}));a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(a)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}},7875:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(1895);function n({swiper:e,on:t,emit:a}){const n=(0,s.zk)();let r=null,i=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(a("beforeResize"),a("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&a("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{i=n.requestAnimationFrame((()=>{const{width:a,height:s}=e;let n=a,r=s;t.forEach((({contentBoxSize:t,contentRect:a,target:s})=>{s&&s!==e.el||(n=a?a.width:(t[0]||t).inlineSize,r=a?a.height:(t[0]||t).blockSize)})),n===a&&r===s||o()}))})),r.observe(e.el)):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))})),t("destroy",(()=>{i&&n.cancelAnimationFrame(i),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)}))}},3438:(e,t,a)=>{a.d(t,{A:()=>d});var s=a(682),n=a(1636),r=a(8170),i=a(2166),o=a(1540),l=a(7015),c=a(5068);const d={slideTo:s.A,slideToLoop:n.A,slideNext:r.A,slidePrev:i.A,slideReset:o.A,slideToClosest:l.A,slideToClickedSlide:c.A}},8170:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){const s=this,{animating:n,enabled:r,params:i}=s;if(!r)return s;let o=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const l=s.activeIndexs})},2166:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){const s=this,{params:n,animating:r,snapGrid:i,slidesGrid:o,rtlTranslate:l,enabled:c}=s;if(!c)return s;if(n.loop){if(r&&n.loopPreventsSlide)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(l?s.translate:-s.translate),u=i.map((e=>d(e)));let h=i[u.indexOf(p)-1];if(void 0===h&&n.cssMode){let e;i.forEach(((t,a)=>{p>=t&&(e=a)})),void 0!==e&&(h=i[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=o.indexOf(h),m<0&&(m=s.activeIndex-1),"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(m=m-s.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),n.rewind&&s.isBeginning){const n=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(n,e,t,a)}return s.slideTo(m,e,t,a)}a.d(t,{A:()=>s})},1540:(e,t,a)=>{function s(e=this.params.speed,t=!0,a){return this.slideTo(this.activeIndex,e,t,a)}a.d(t,{A:()=>s})},682:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(587);function n(e=0,t=this.params.speed,a=!0,n,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;o<0&&(o=0);const{params:l,snapGrid:c,slidesGrid:d,previousIndex:p,activeIndex:u,rtlTranslate:h,wrapperEl:m,enabled:f}=i;if(i.animating&&l.preventInteractionOnTransition||!f&&!n&&!r)return!1;const g=Math.min(i.params.slidesPerGroupSkip,o);let v=g+Math.floor((o-g)/i.params.slidesPerGroup);v>=c.length&&(v=c.length-1);const w=-c[v];if(l.normalizeSlideIndex)for(let e=0;e=a&&t=a&&t=a&&(o=e)}if(i.initialized&&o!==u){if(!i.allowSlideNext&&wi.translate&&w>i.maxTranslate()&&(u||0)!==o)return!1}let b;if(o!==(p||0)&&a&&i.emit("beforeSlideChangeStart"),i.updateProgress(w),b=o>u?"next":o{i.wrapperEl.style.scrollSnapType="",i._swiperImmediateVirtual=!1}))}else{if(!i.support.smoothScroll)return(0,s.dy)({swiper:i,targetPosition:a,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:a,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(w),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,n),i.transitionStart(a,b),0===t?i.transitionEnd(a,b):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(a,b))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd)),!0}},5068:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(7626),n=a(587);function r(){const e=this,{params:t,$wrapperEl:a}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt((0,s.A)(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?oe.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=a.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,n.dY)((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=a.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,n.dY)((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}},7015:(e,t,a)=>{function s(e=this.params.speed,t=!0,a,s=.5){const n=this;let r=n.activeIndex;const i=Math.min(n.params.slidesPerGroupSkip,r),o=i+Math.floor((r-i)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){const e=n.snapGrid[o];l-e>(n.snapGrid[o+1]-e)*s&&(r+=n.params.slidesPerGroup)}else{const e=n.snapGrid[o-1];l-e<=(n.snapGrid[o]-e)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,e,t,a)}a.d(t,{A:()=>s})},1636:(e,t,a)=>{function s(e=0,t=this.params.speed,a=!0,s){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let r=e;return n.params.loop&&(r+=n.loopedSlides),n.slideTo(r,t,a,s)}a.d(t,{A:()=>s})},3010:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(8321),n=a(9567),r=a(7986);const i={setTransition:s.A,transitionStart:n.A,transitionEnd:r.A}},8321:(e,t,a)=>{function s(e,t){const a=this;a.params.cssMode||a.$wrapperEl.transition(e),a.emit("setTransition",e,t)}a.d(t,{A:()=>s})},5852:(e,t,a)=>{function s({swiper:e,runCallbacks:t,direction:a,step:s}){const{activeIndex:n,previousIndex:r}=e;let i=a;if(i||(i=n>r?"next":ns})},7986:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(5852);function n(e=!0,t){const a=this,{params:n}=a;a.animating=!1,n.cssMode||(a.setTransition(0),(0,s.A)({swiper:a,runCallbacks:e,direction:t,step:"End"}))}},9567:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(5852);function n(e=!0,t){const a=this,{params:n}=a;n.cssMode||(n.autoHeight&&a.updateAutoHeight(),(0,s.A)({swiper:a,runCallbacks:e,direction:t,step:"Start"}))}},1723:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(587);function n(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:a,translate:n,$wrapperEl:r}=this;if(t.virtualTranslate)return a?-n:n;if(t.cssMode)return n;let i=(0,s.ro)(r[0],e);return a&&(i=-i),i||0}},4361:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(1723),n=a(8159),r=a(8075),i=a(9301),o=a(7466);const l={getTranslate:s.A,setTranslate:n.A,minTranslate:r.A,maxTranslate:i.A,translateTo:o.A}},9301:(e,t,a)=>{function s(){return-this.snapGrid[this.snapGrid.length-1]}a.d(t,{A:()=>s})},8075:(e,t,a)=>{function s(){return-this.snapGrid[0]}a.d(t,{A:()=>s})},8159:(e,t,a)=>{function s(e,t){const a=this,{rtlTranslate:s,params:n,$wrapperEl:r,wrapperEl:i,progress:o}=a;let l=0,c=0;let d;a.isHorizontal()?l=s?-e:e:c=e,n.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.cssMode?i[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-l:-c:n.virtualTranslate||r.transform(`translate3d(${l}px, ${c}px, 0px)`),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?l:c;const p=a.maxTranslate()-a.minTranslate();d=0===p?0:(e-a.minTranslate())/p,d!==o&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)}a.d(t,{A:()=>s})},7466:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(587);function n(e=0,t=this.params.speed,a=!0,n=!0,r){const i=this,{params:o,wrapperEl:l}=i;if(i.animating&&o.preventInteractionOnTransition)return!1;const c=i.minTranslate(),d=i.maxTranslate();let p;if(p=n&&e>c?c:n&&e{a.d(t,{A:()=>u});var s=a(4286),n=a(2329),r=a(8843),i=a(5898),o=a(626),l=a(2972),c=a(6585),d=a(1165),p=a(7393);const u={updateSize:s.A,updateSlides:n.A,updateAutoHeight:r.A,updateSlidesOffset:i.A,updateSlidesProgress:o.A,updateProgress:l.A,updateSlidesClasses:c.A,updateActiveIndex:d.A,updateClickedSlide:p.A}},1165:(e,t,a)=>{function s(e){const t=this,a=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:s,snapGrid:n,params:r,activeIndex:i,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e=s[e]&&a=s[e]&&a=s[e]&&(d=e);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(n.indexOf(a)>=0)c=n.indexOf(a);else{const e=Math.min(r.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/r.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),d===i)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:p,previousIndex:i,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}a.d(t,{A:()=>s})},8843:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(7626);function n(e){const t=this,a=[],n=t.virtual&&t.params.virtual.enabled;let r,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||(0,s.A)([])).each((e=>{a.push(e)}));else for(r=0;rt.slides.length&&!n)break;a.push(o(e))}else a.push(o(t.activeIndex));for(r=0;ri?e:i}(i||0===i)&&t.$wrapperEl.css("height",`${i}px`)}},7393:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(7626);function n(e){const t=this,a=t.params,n=(0,s.A)(e).closest(`.${a.slideClass}`)[0];let r,i=!1;if(n)for(let e=0;e{function s(e){const t=this;if(void 0===e){const a=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*a||0}const a=t.params,s=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:r,isEnd:i}=t;const o=r,l=i;0===s?(n=0,r=!0,i=!0):(n=(e-t.minTranslate())/s,r=n<=0,i=n>=1),Object.assign(t,{progress:n,isBeginning:r,isEnd:i}),(a.watchSlidesProgress||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),i&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!i)&&t.emit("fromEdge"),t.emit("progress",n)}a.d(t,{A:()=>s})},4286:(e,t,a)=>{function s(){const e=this;let t,a;const s=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:s[0].clientWidth,a=void 0!==e.params.height&&null!==e.params.height?e.params.height:s[0].clientHeight,0===t&&e.isHorizontal()||0===a&&e.isVertical()||(t=t-parseInt(s.css("padding-left")||0,10)-parseInt(s.css("padding-right")||0,10),a=a-parseInt(s.css("padding-top")||0,10)-parseInt(s.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(a)&&(a=0),Object.assign(e,{width:t,height:a,size:e.isHorizontal()?t:a}))}a.d(t,{A:()=>s})},2329:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(587);function n(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function a(e,a){return parseFloat(e.getPropertyValue(t(a))||0)}const n=e.params,{$wrapperEl:r,size:i,rtlTranslate:o,wrongRTL:l}=e,c=e.virtual&&n.virtual.enabled,d=c?e.virtual.slides.length:e.slides.length,p=r.children(`.${e.params.slideClass}`),u=c?e.virtual.slides.length:p.length;let h=[];const m=[],f=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let y=n.spaceBetween,E=-g,x=0,C=0;if(void 0===i)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*i),e.virtualSize=-y,o?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&((0,s.LY)(e.wrapperEl,"--swiper-centered-offset-before",""),(0,s.LY)(e.wrapperEl,"--swiper-centered-offset-after",""));const S=n.grid&&n.grid.rows>1&&e.grid;let T;S&&e.grid.initSlides(u);const $="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let s=0;s1&&h.push(e.virtualSize-i)}if(0===h.length&&(h=[0]),0!==n.spaceBetween){const a=e.isHorizontal()&&o?"marginLeft":t("marginRight");p.filter(((e,t)=>!n.cssMode||t!==p.length-1)).css({[a]:`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-i;h=h.map((e=>e<0?-g:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e{h[a]=e-t})),m.forEach(((e,a)=>{m[a]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,s.LY)(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),(0,s.LY)(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],a=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+a))}if(u!==d&&e.emit("slidesLengthChange"),h.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(c||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,a=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?a||e.$el.addClass(t):a&&e.$el.removeClass(t)}}},6585:(e,t,a)=>{function s(){const e=this,{slides:t,params:a,$wrapperEl:s,activeIndex:n,realIndex:r}=e,i=e.virtual&&a.virtual.enabled;let o;t.removeClass(`${a.slideActiveClass} ${a.slideNextClass} ${a.slidePrevClass} ${a.slideDuplicateActiveClass} ${a.slideDuplicateNextClass} ${a.slideDuplicatePrevClass}`),o=i?e.$wrapperEl.find(`.${a.slideClass}[data-swiper-slide-index="${n}"]`):t.eq(n),o.addClass(a.slideActiveClass),a.loop&&(o.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(a.slideDuplicateActiveClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(a.slideDuplicateActiveClass));let l=o.nextAll(`.${a.slideClass}`).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=t.eq(0),l.addClass(a.slideNextClass));let c=o.prevAll(`.${a.slideClass}`).eq(0).addClass(a.slidePrevClass);a.loop&&0===c.length&&(c=t.eq(-1),c.addClass(a.slidePrevClass)),a.loop&&(l.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass),c.hasClass(a.slideDuplicateClass)?s.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass):s.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass)),e.emitSlidesClasses()}a.d(t,{A:()=>s})},5898:(e,t,a)=>{function s(){const e=this,t=e.slides;for(let a=0;as})},626:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(7626);function n(e=this&&this.translate||0){const t=this,a=t.params,{slides:n,rtlTranslate:r,snapGrid:i}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;r&&(o=e),n.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(a.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-d:d}t.visibleSlides=(0,s.A)(t.visibleSlides)}},49:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(9942),n=a(7626);function r({swiper:e,extendParams:t,on:a}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function i(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function o(e){e.attr("tabIndex","0")}function l(e){e.attr("tabIndex","-1")}function c(e,t){e.attr("role",t)}function d(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function h(e){e.attr("aria-disabled",!1)}function m(t){if(13!==t.keyCode&&32!==t.keyCode)return;const a=e.params.a11y,r=(0,n.A)(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?i(a.lastSlideMessage):i(a.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?i(a.firstSlideMessage):i(a.prevSlideMessage)),e.pagination&&r.is((0,s.A)(e.params.pagination.bulletClass))&&r[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return f()&&e.params.pagination.clickable}const v=(e,t,a)=>{o(e),"BUTTON"!==e[0].tagName&&(c(e,"button"),e.on("keydown",m)),p(e,a),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{e.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},y=t=>{if(e.a11y.clicked)return;const a=t.target.closest(`.${e.params.slideClass}`);if(!a||!e.slides.includes(a))return;const s=e.slides.indexOf(a)===e.activeIndex,n=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(a);s||n||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(a),0))},E=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&d((0,n.A)(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&c((0,n.A)(e.slides),t.slideRole);const a=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((s,r)=>{const i=(0,n.A)(s),o=e.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):r;p(i,t.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,a))}))},x=()=>{const t=e.params.a11y;e.$el.append(r);const a=e.$el;t.containerRoleDescriptionMessage&&d(a,t.containerRoleDescriptionMessage),t.containerMessage&&p(a,t.containerMessage);const n=e.$wrapperEl,i=t.id||n.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var l;let c,u;l=i,n.attr("id",l),function(e,t){e.attr("aria-live",t)}(n,o),E(),e.navigation&&e.navigation.$nextEl&&(c=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),c&&c.length&&v(c,i,t.nextSlideMessage),u&&u.length&&v(u,i,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",(0,s.A)(e.params.pagination.bulletClass),m),e.$el.on("focus",y,!0),e.$el.on("pointerdown",w,!0),e.$el.on("pointerup",b,!0)};a("beforeInit",(()=>{r=(0,n.A)(``)})),a("afterInit",(()=>{e.params.a11y.enabled&&x()})),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&E()})),a("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:a}=e.navigation;a&&a.length>0&&(e.isBeginning?(u(a),l(a)):(h(a),o(a))),t&&t.length>0&&(e.isEnd?(u(t),l(t)):(h(t),o(t)))}()})),a("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((a=>{const s=(0,n.A)(a);e.params.pagination.clickable&&(o(s),e.params.pagination.renderBullet||(c(s,"button"),p(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,s.index()+1)))),s.is(`.${e.params.pagination.bulletActiveClass}`)?s.attr("aria-current","true"):s.removeAttr("aria-current")}))}()})),a("destroy",(()=>{e.params.a11y.enabled&&function(){let t,a;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&t.off("keydown",m),a&&a.off("keydown",m),g()&&e.pagination.$el.off("keydown",(0,s.A)(e.params.pagination.bulletClass),m),e.$el.off("focus",y,!0),e.$el.off("pointerdown",w,!0),e.$el.off("pointerup",b,!0)}()}))}},79:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(1895),n=a(587);function r({swiper:e,extendParams:t,on:a,emit:r}){let i;function o(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(i),i=(0,n.dY)((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?c():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?c():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&o()}),a)}function l(){return void 0===i&&(!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),o(),!0))}function c(){return!!e.autoplay.running&&(void 0!==i&&(i&&(clearTimeout(i),i=void 0),e.autoplay.running=!1,r("autoplayStop"),!0))}function d(t){e.autoplay.running&&(e.autoplay.paused||(i&&clearTimeout(i),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,o())))}function p(){const t=(0,s.YE)();"hidden"===t.visibilityState&&e.autoplay.running&&d(),"visible"===t.visibilityState&&e.autoplay.paused&&(o(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?o():c())}function h(){e.params.autoplay.disableOnInteraction?c():(r("autoplayPause"),d()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function m(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),o())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),a("init",(()=>{if(e.params.autoplay.enabled){l();(0,s.YE)().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",m))}})),a("beforeTransitionStart",((t,a,s)=>{e.autoplay.running&&(s||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(a):c())})),a("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?c():d())})),a("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&o()})),a("destroy",(()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",m),e.autoplay.running&&c();(0,s.YE)().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:d,run:o,start:l,stop:c})}},9677:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(587);function n({swiper:e,extendParams:t,on:a}){function n(e,t){const a=function(){let e,t,a;return(s,n)=>{for(t=-1,e=s.length;e-t>1;)a=e+t>>1,s[a]<=n?t=a:e=a;return e}}();let s,n;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=a(this.x,e),s=n-1,(e-this.x[s])*(this.y[n]-this.y[s])/(this.x[n]-this.x[s])+this.y[s]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},a("beforeInit",(()=>{e.controller.control=e.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((t,a,s)=>{e.controller.control&&e.controller.setTranslate(a,s)})),a("setTransition",((t,a,s)=>{e.controller.control&&e.controller.setTransition(a,s)})),Object.assign(e.controller,{setTranslate:function(t,a){const s=e.controller.control;let r,i;const o=e.constructor;function l(t){const a=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new n(e.slidesGrid,t.slidesGrid):new n(e.snapGrid,t.snapGrid))}(t),i=-e.controller.spline.interpolate(-a)),i&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),i=(a-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(i=t.maxTranslate()-i),t.updateProgress(i),t.setTranslate(i,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(s))for(let e=0;e{a.updateAutoHeight()})),a.$wrapperEl.transitionEnd((()=>{r&&(a.params.loop&&"slide"===e.params.controller.by&&a.loopFix(),a.transitionEnd())})))}if(Array.isArray(r))for(i=0;i{a.d(t,{A:()=>o});var s=a(5837),n=a(5996),r=a(3563),i=a(9875);function o({swiper:e,extendParams:t,on:a}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}});(0,n.A)({effect:"cards",swiper:e,on:a,setTranslate:()=>{const{slides:t,activeIndex:a}=e,n=e.params.cardsEffect,{startTranslate:i,isTouched:o}=e.touchEventsData,l=e.translate;for(let c=0;c0&&u<1&&(o||e.params.cssMode)&&l-1&&(o||e.params.cssMode)&&l>i;if(E||x){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;w+=-28*u*e,v+=-.5*e,b+=96*e,f=-25*e*Math.abs(u)+"%"}if(m=u<0?`calc(${m}px + (${b*Math.abs(u)}%))`:u>0?`calc(${m}px + (-${b*Math.abs(u)}%))`:`${m}px`,!e.isHorizontal()){const e=f;f=m,m=e}const C=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),S=`\n translate3d(${m}, ${f}, ${g}px)\n rotateZ(${n.rotate?w:0}deg)\n scale(${C})\n `;if(n.slideShadows){let e=d.find(".swiper-slide-shadow");0===e.length&&(e=(0,s.A)(n,d)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}d[0].style.zIndex=-Math.abs(Math.round(p))+t.length;(0,r.A)(n,d).transform(S)}},setTransition:t=>{const{transformEl:a}=e.params.cardsEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,i.A)({swiper:e,duration:t,transformEl:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},4931:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(5837),n=a(5996),r=a(3563);function i({swiper:e,extendParams:t,on:a}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});(0,n.A)({effect:"coverflow",swiper:e,on:a,setTranslate:()=>{const{width:t,height:a,slides:n,slidesSizesGrid:i}=e,o=e.params.coverflowEffect,l=e.isHorizontal(),c=e.translate,d=l?t/2-c:a/2-c,p=l?o.rotate:-o.rotate,u=o.depth;for(let e=0,t=n.length;e0?h:0),a.length&&(a[0].style.opacity=-h>0?-h:0)}}},setTransition:t=>{const{transformEl:a}=e.params.coverflowEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},5151:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(5837),n=a(5996),r=a(3563),i=a(9875);function o({swiper:e,extendParams:t,on:a}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const o=e=>"string"==typeof e?e:`${e}px`;(0,n.A)({effect:"creative",swiper:e,on:a,setTranslate:()=>{const{slides:t,$wrapperEl:a,slidesSizesGrid:n}=e,i=e.params.creativeEffect,{progressMultiplier:l}=i,c=e.params.centeredSlides;if(c){const t=n[0]/2-e.params.slidesOffsetBefore||0;a.transform(`translateX(calc(50% - ${t}px))`)}for(let a=0;a0&&(v=i.prev,g=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${o(v.translate[t])} * ${Math.abs(p*l)}))`})),f.forEach(((e,t)=>{f[t]=v.rotate[t]*Math.abs(p*l)})),n[0].style.zIndex=-Math.abs(Math.round(d))+t.length;const w=m.join(", "),b=`rotateX(${f[0]}deg) rotateY(${f[1]}deg) rotateZ(${f[2]}deg)`,y=u<0?`scale(${1+(1-v.scale)*u*l})`:`scale(${1-(1-v.scale)*u*l})`,E=u<0?1+(1-v.opacity)*u*l:1-(1-v.opacity)*u*l,x=`translate3d(${w}) ${b} ${y}`;if(g&&v.shadow||!g){let e=n.children(".swiper-slide-shadow");if(0===e.length&&v.shadow&&(e=(0,s.A)(i,n)),e.length){const t=i.shadowPerProgress?p*(1/i.limitProgress):p;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const C=(0,r.A)(i,n);C.transform(x).css({opacity:E}),v.origin&&C.css("transform-origin",v.origin)}},setTransition:t=>{const{transformEl:a}=e.params.creativeEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,i.A)({swiper:e,duration:t,transformEl:a,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},2459:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(7626),n=a(5996);function r({swiper:e,extendParams:t,on:a}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,a)=>{let n=a?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=a?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=(0,s.A)(`
`),e.append(n)),0===r.length&&(r=(0,s.A)(`
`),e.append(r)),n.length&&(n[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};(0,n.A)({effect:"cube",swiper:e,on:a,setTranslate:()=>{const{$el:t,$wrapperEl:a,slides:n,width:i,height:o,rtlTranslate:l,size:c,browser:d}=e,p=e.params.cubeEffect,u=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=a.find(".swiper-cube-shadow"),0===m.length&&(m=(0,s.A)('
'),a.append(m)),m.css({height:`${i}px`})):(m=t.find(".swiper-cube-shadow"),0===m.length&&(m=(0,s.A)('
'),t.append(m))));for(let e=0;e-1&&(f=90*a+90*o,l&&(f=90*-a-90*o)),t.transform(v),p.slideShadows&&r(t,o,u)}if(a.css({"-webkit-transform-origin":`50% 50% -${c/2}px`,"transform-origin":`50% 50% -${c/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${i/2+p.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),a=p.shadowScale,s=p.shadowScale/t,n=p.shadowOffset;m.transform(`scale3d(${a}, 1, ${s}) translate3d(0px, ${o/2+n}px, ${-o/2/s}px) rotateX(-90deg)`)}const g=d.isSafari||d.isWebView?-c/2:0;a.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),a[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:a,slides:s}=e;s.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&a.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const a=Math.max(Math.min(e.progress,1),-1);r((0,s.A)(e),a,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},6027:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(5996),n=a(3563),r=a(9875);function i({swiper:e,extendParams:t,on:a}){t({fadeEffect:{crossFade:!1,transformEl:null}});(0,s.A)({effect:"fade",swiper:e,on:a,setTranslate:()=>{const{slides:t}=e,a=e.params.fadeEffect;for(let s=0;s{const{transformEl:a}=e.params.fadeEffect;(a?e.slides.find(a):e.slides).transition(t),(0,r.A)({swiper:e,duration:t,transformEl:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},6559:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(7626),n=a(5837),r=a(5996),i=a(3563),o=a(9875);function l({swiper:e,extendParams:t,on:a}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const l=(t,a,s)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),i=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=(0,n.A)(s,t,e.isHorizontal()?"left":"top")),0===i.length&&(i=(0,n.A)(s,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-a,0)),i.length&&(i[0].style.opacity=Math.max(a,0))};(0,r.A)({effect:"flip",swiper:e,on:a,setTranslate:()=>{const{slides:t,rtlTranslate:a}=e,s=e.params.flipEffect;for(let n=0;n{const{transformEl:a}=e.params.flipEffect;(a?e.slides.find(a):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),(0,o.A)({swiper:e,duration:t,transformEl:a})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((a=>{const n=(0,s.A)(a);let r=n[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a.progress,1),-1)),l(n,r,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},3887:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(587);function n({swiper:e,extendParams:t,emit:a,once:n}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:a}=e;0===t.velocities.length&&t.velocities.push({position:a[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:a[e.isHorizontal()?"currentX":"currentY"],time:(0,s.tB)()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:i,rtlTranslate:o,snapGrid:l,touchEventsData:c}=e,d=(0,s.tB)()-c.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=c.velocities.pop(),a=c.velocities.pop(),n=t.position-a.position,i=t.time-a.time;e.velocity=n/i,e.velocity/=2,Math.abs(e.velocity)150||(0,s.tB)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,c.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const d=e.velocity*t;let p=e.translate+d;o&&(p=-p);let u,h=!1;const m=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let f;if(pe.minTranslate())r.freeMode.momentumBounce?(p-e.minTranslate()>m&&(p=e.minTranslate()+m),u=e.minTranslate(),h=!0,c.allowMomentumBounce=!0):p=e.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(l[t]-p){e.loopFix()})),0!==e.velocity){if(t=o?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),r.freeMode.sticky){const a=Math.abs((o?-p:p)-e.translate),s=e.slidesSizesGrid[e.activeIndex];t=a{e&&!e.destroyed&&c.allowMomentumBounce&&(a("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),i.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(a("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,i.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||d>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}},541:(e,t,a)=>{function s({swiper:e,extendParams:t}){let a,s,n;t({grid:{rows:1,fill:"column"}});e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:i,fill:o}=e.params.grid;s=a/i,n=Math.floor(t/i),a=Math.floor(t/i)===t/i?t:Math.ceil(t/i)*i,"auto"!==r&&"row"===o&&(a=Math.max(a,r*i))},updateSlide:(t,r,i,o)=>{const{slidesPerGroup:l,spaceBetween:c}=e.params,{rows:d,fill:p}=e.params.grid;let u,h,m;if("row"===p&&l>1){const e=Math.floor(t/(l*d)),s=t-d*l*e,n=0===e?l:Math.min(Math.ceil((i-e*d*l)/d),l);m=Math.floor(s/n),h=s-m*n+e*l,u=h+m*a/d,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=Math.floor(t/d),m=t-h*d,(h>n||h===n&&m===d-1)&&(m+=1,m>=d&&(m=0,h+=1))):(m=Math.floor(t/s),h=t-m*s);r.css(o("margin-top"),0!==m?c&&`${c}px`:"")},updateWrapperSize:(t,s,n)=>{const{spaceBetween:r,centeredSlides:i,roundLengths:o}=e.params,{rows:l}=e.params.grid;if(e.virtualSize=(t+r)*a,e.virtualSize=Math.ceil(e.virtualSize/l)-r,e.$wrapperEl.css({[n("width")]:`${e.virtualSize+r}px`}),i){s.splice(0,s.length);const t=[];for(let a=0;as})},5855:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(1895),n=a(7626);function r({swiper:e,extendParams:t,emit:a,on:r}){let i=!1;const o=(0,s.YE)(),l=(0,s.zk)();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const c=()=>{a("hashChange");const t=o.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const a=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===a)return;e.slideTo(a)}},d=()=>{if(i&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState)l.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),a("hashSet");else{const t=e.slides.eq(e.activeIndex),s=t.attr("data-hash")||t.attr("data-history");o.location.hash=s||"",a("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;i=!0;const t=o.location.hash.replace("#","");if(t){const a=0;for(let s=0,n=e.slides.length;s{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&(0,n.A)(l).off("hashchange",c)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d()})),r("slideChange",(()=>{i&&e.params.cssMode&&d()}))}},2015:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(1895);function n({swiper:e,extendParams:t,on:a}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const i=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=(0,s.zk)();let a;a=e?new URL(e):t.location;const n=a.pathname.slice(1).split("/").filter((e=>""!==e)),r=n.length;return{key:n[r-2],value:n[r-1]}},l=(t,a)=>{const r=(0,s.zk)();if(!n||!e.params.history.enabled)return;let o;o=e.params.url?new URL(e.params.url):r.location;const l=e.slides.eq(a);let c=i(l.attr("data-history"));if(e.params.history.root.length>0){let a=e.params.history.root;"/"===a[a.length-1]&&(a=a.slice(0,a.length-1)),c=`${a}/${t}/${c}`}else o.pathname.includes(t)||(c=`${t}/${c}`);e.params.history.keepQuery&&(c+=o.search);const d=r.history.state;d&&d.value===c||(e.params.history.replaceState?r.history.replaceState({value:c},null,c):r.history.pushState({value:c},null,c))},c=(t,a,s)=>{if(a)for(let n=0,r=e.slides.length;n{r=o(e.params.url),c(e.params.speed,r.value,!1)};a("init",(()=>{e.params.history.enabled&&(()=>{const t=(0,s.zk)();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);n=!0,r=o(e.params.url),(r.key||r.value)&&(c(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",d))}})()})),a("destroy",(()=>{e.params.history.enabled&&(()=>{const t=(0,s.zk)();e.params.history.replaceState||t.removeEventListener("popstate",d)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&l(e.params.history.key,e.activeIndex)})),a("slideChange",(()=>{n&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)}))}},9503:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(1895),n=a(7626);function r({swiper:e,extendParams:t,on:a,emit:r}){const i=(0,s.YE)(),o=(0,s.zk)();function l(t){if(!e.enabled)return;const{rtlTranslate:a}=e;let s=t;s.originalEvent&&(s=s.originalEvent);const n=s.keyCode||s.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===n,d=l&&34===n,p=37===n,u=39===n,h=38===n,m=40===n;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&m||d))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&h||c))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||d||p||u||h||m)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const s=e.$el,n=s[0].clientWidth,r=s[0].clientHeight,i=o.innerWidth,l=o.innerHeight,c=e.$el.offset();a&&(c.left-=e.$el[0].scrollLeft);const d=[[c.left,c.top],[c.left+n,c.top],[c.left,c.top+r],[c.left+n,c.top+r]];for(let e=0;e=0&&a[0]<=i&&a[1]>=0&&a[1]<=l){if(0===a[0]&&0===a[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||d||p||u)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((d||u)&&!a||(c||p)&&a)&&e.slideNext(),((c||p)&&!a||(d||u)&&a)&&e.slidePrev()):((c||d||h||m)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(d||m)&&e.slideNext(),(c||h)&&e.slidePrev()),r("keyPress",n)}}function c(){e.keyboard.enabled||((0,n.A)(i).on("keydown",l),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&((0,n.A)(i).off("keydown",l),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),a("init",(()=>{e.params.keyboard.enabled&&c()})),a("destroy",(()=>{e.keyboard.enabled&&d()})),Object.assign(e.keyboard,{enable:c,disable:d})}},1949:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(1895),n=a(7626);function r({swiper:e,extendParams:t,on:a,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let i=!1,o=!1;function l(t,a=!0){const s=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const i=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),o=i.find(`.${s.elementClass}:not(.${s.loadedClass}):not(.${s.loadingClass})`);!i.hasClass(s.elementClass)||i.hasClass(s.loadedClass)||i.hasClass(s.loadingClass)||o.push(i[0]),0!==o.length&&o.each((t=>{const o=(0,n.A)(t);o.addClass(s.loadingClass);const c=o.attr("data-background"),d=o.attr("data-src"),p=o.attr("data-srcset"),u=o.attr("data-sizes"),h=o.parent("picture");e.loadImage(o[0],d||c,p,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(c?(o.css("background-image",`url("${c}")`),o.removeAttr("data-background")):(p&&(o.attr("srcset",p),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=(0,n.A)(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),i.find(`.${s.preloaderClass}`).remove(),e.params.loop&&a){const t=i.attr("data-swiper-slide-index");if(i.hasClass(e.params.slideDuplicateClass)){l(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{l(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",i[0],o[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",i[0],o[0])}))}function c(){const{$wrapperEl:t,params:a,slides:s,activeIndex:r}=e,i=e.virtual&&a.virtual.enabled,c=a.lazy;let d=a.slidesPerView;function p(e){if(i){if(t.children(`.${a.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(s[e])return!0;return!1}function u(e){return i?(0,n.A)(e).attr("data-swiper-slide-index"):(0,n.A)(e).index()}if("auto"===d&&(d=0),o||(o=!0),e.params.watchSlidesProgress)t.children(`.${a.slideVisibleClass}`).each((e=>{l(i?(0,n.A)(e).attr("data-swiper-slide-index"):(0,n.A)(e).index())}));else if(d>1)for(let e=r;e1||c.loadPrevNextAmount&&c.loadPrevNextAmount>1){const e=c.loadPrevNextAmount,t=Math.ceil(d),a=Math.min(r+t+Math.max(e,t),s.length),n=Math.max(r-Math.max(t,e),0);for(let e=r+t;e0&&l(u(e));const s=t.children(`.${a.slidePrevClass}`);s.length>0&&l(u(s))}}function d(){const t=(0,s.zk)();if(!e||e.destroyed)return;const a=e.params.lazy.scrollingElement?(0,n.A)(e.params.lazy.scrollingElement):(0,n.A)(t),r=a[0]===t,o=r?t.innerWidth:a[0].offsetWidth,l=r?t.innerHeight:a[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:u}=e;let h=!1;u&&(p.left-=e.$el[0].scrollLeft);const m=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let e=0;e=0&&t[0]<=o&&t[1]>=0&&t[1]<=l){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h?(c(),a.off("scroll",d,f)):i||(i=!0,a.on("scroll",d,f))}a("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),a("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?d():c())})),a("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&c()})),a("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?d():c())})),a("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!o)&&(e.params.lazy.checkInView?d():c())})),a("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?d():c())})),a("slideChange",(()=>{const{lazy:t,cssMode:a,watchSlidesProgress:s,touchReleaseOnEdges:n,resistanceRatio:r}=e.params;t.enabled&&(a||s&&(n||0===r))&&c()})),a("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:c,loadInSlide:l})}},3247:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(5684),n=a(5748),r=a(1297),i=a(6884),o=a(3552);function l({swiper:e}){Object.assign(e,{appendSlide:s.A.bind(e),prependSlide:n.A.bind(e),addSlide:r.A.bind(e),removeSlide:i.A.bind(e),removeAllSlides:o.A.bind(e)})}},1297:(e,t,a)=>{function s(e,t){const a=this,{$wrapperEl:s,params:n,activeIndex:r}=a;let i=r;n.loop&&(i-=a.loopedSlides,a.loopDestroy(),a.slides=s.children(`.${n.slideClass}`));const o=a.slides.length;if(e<=0)return void a.prependSlide(t);if(e>=o)return void a.appendSlide(t);let l=i>e?i+1:i;const c=[];for(let t=o-1;t>=e;t-=1){const e=a.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?i+t.length:i}else s.append(t);for(let e=0;es})},5684:(e,t,a)=>{function s(e){const t=this,{$wrapperEl:a,params:s}=t;if(s.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;ts})},5748:(e,t,a)=>{function s(e){const t=this,{params:a,$wrapperEl:s,activeIndex:n}=t;a.loop&&t.loopDestroy();let r=n+1;if("object"==typeof e&&"length"in e){for(let t=0;ts})},3552:(e,t,a)=>{function s(){const e=this,t=[];for(let a=0;as})},6884:(e,t,a)=>{function s(e){const t=this,{params:a,$wrapperEl:s,activeIndex:n}=t;let r=n;a.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=s.children(`.${a.slideClass}`));let i,o=r;if("object"==typeof e&&"length"in e){for(let a=0;as})},7673:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(1895),n=a(7626),r=a(587);function i({swiper:e,extendParams:t,on:a,emit:i}){const o=(0,s.zk)();let l;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let c,d=(0,r.tB)();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function m(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&(0,r.tB)()-d<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),i("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),i("scroll",t.raw)),d=(new o.Date).getTime(),!1)))}function f(t){let a=t,s=!0;if(!e.enabled)return;const o=e.params.mousewheel;e.params.cssMode&&a.preventDefault();let d=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(d=(0,n.A)(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!d[0].contains(a.target)&&!o.releaseOnEdges)return!0;a.originalEvent&&(a=a.originalEvent);let u=0;const h=e.rtlTranslate?-1:1,f=function(e){let t=0,a=0,s=0,n=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),s=10*t,n=10*a,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=n,n=0),(s||n)&&e.deltaMode&&(1===e.deltaMode?(s*=40,n*=40):(s*=800,n*=800)),s&&!t&&(t=s<1?-1:1),n&&!a&&(a=n<1?-1:1),{spinX:t,spinY:a,pixelX:s,pixelY:n}}(a);if(o.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;u=-f.pixelX*h}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;u=-f.pixelY}else u=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(0===u)return!0;o.invert&&(u=-u);let g=e.getTranslate()+u*o.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),s=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),s&&e.params.nested&&a.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:(0,r.tB)(),delta:Math.abs(u),direction:Math.sign(u)},s=c&&t.time=e.minTranslate()&&(n=e.minTranslate()),n<=e.maxTranslate()&&(n=e.maxTranslate()),e.setTransition(0),e.setTranslate(n),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!h&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(l),l=void 0,p.length>=15&&p.shift();const a=p.length?p[p.length-1]:void 0,s=p[0];if(p.push(t),a&&(t.delta>a.delta||t.direction!==a.direction))p.splice(0);else if(p.length>=15&&t.time-s.time<500&&s.delta-t.delta>=1&&t.delta<=6){const a=u>0?.8:.2;c=t,p.splice(0),l=(0,r.dY)((()=>{e.slideToClosest(e.params.speed,!0,void 0,a)}),0)}l||(l=(0,r.dY)((()=>{c=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(s||i("scroll",a),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),n===e.minTranslate()||n===e.maxTranslate())return!0}}else{const a={time:(0,r.tB)(),delta:Math.abs(u),direction:Math.sign(u),raw:t};p.length>=2&&p.shift();const s=p.length?p[p.length-1]:void 0;if(p.push(a),s?(a.direction!==s.direction||a.delta>s.delta||a.time>s.time+150)&&m(a):m(a),function(t){const a=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&a.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&a.releaseOnEdges)return!0;return!1}(a))return!0}return a.preventDefault?a.preventDefault():a.returnValue=!1,!1}function g(t){let a=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(a=(0,n.A)(e.params.mousewheel.eventsTarget)),a[t]("mouseenter",u),a[t]("mouseleave",h),a[t]("wheel",f)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(g("on"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(g("off"),e.mousewheel.enabled=!1,!0)}a("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()})),a("destroy",(()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()})),Object.assign(e.mousewheel,{enable:v,disable:w})}},6233:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(2793),n=a(7626);function r({swiper:e,extendParams:t,on:a,emit:r}){function i(t){let a;return t&&(a=(0,n.A)(t),e.params.uniqueNavElements&&"string"==typeof t&&a.length>1&&1===e.$el.find(t).length&&(a=e.$el.find(t))),a}function o(t,a){const s=e.params.navigation;t&&t.length>0&&(t[a?"addClass":"removeClass"](s.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=a),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](s.lockClass))}function l(){if(e.params.loop)return;const{$nextEl:t,$prevEl:a}=e.navigation;o(a,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function c(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){const t=e.params.navigation;if(e.params.navigation=(0,s.A)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const a=i(t.nextEl),n=i(t.prevEl);a&&a.length>0&&a.on("click",d),n&&n.length>0&&n.on("click",c),Object.assign(e.navigation,{$nextEl:a,nextEl:a&&a[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(a&&a.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:a}=e.navigation;t&&t.length&&(t.off("click",d),t.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",c),a.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},a("init",(()=>{!1===e.params.navigation.enabled?h():(p(),l())})),a("toEdge fromEdge lock unlock",(()=>{l()})),a("destroy",(()=>{u()})),a("enable disable",(()=>{const{$nextEl:t,$prevEl:a}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),a("click",((t,a)=>{const{$nextEl:s,$prevEl:i}=e.navigation,o=a.target;if(e.params.navigation.hideOnClick&&!(0,n.A)(o).is(i)&&!(0,n.A)(o).is(s)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;s?t=s.hasClass(e.params.navigation.hiddenClass):i&&(t=i.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),s&&s.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),p(),l()},disable:h,update:l,init:p,destroy:u})}},6301:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(7626),n=a(9942),r=a(2793);function i({swiper:e,extendParams:t,on:a,emit:i}){const o="swiper-pagination";let l;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let c=0;function d(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function p(t,a){const{bulletActiveClass:s}=e.params.pagination;t[a]().addClass(`${s}-${a}`)[a]().addClass(`${s}-${a}-${a}`)}function u(){const t=e.rtl,a=e.params.pagination;if(d())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,o=e.pagination.$el;let u;const h=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>h-1&&(u-=h),u<0&&"bullets"!==e.params.paginationType&&(u=h+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let r,i,d;if(a.dynamicBullets&&(l=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(e.isHorizontal()?"width":"height",l*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(c+=u-(e.previousIndex-e.loopedSlides||0),c>a.dynamicMainBullets-1?c=a.dynamicMainBullets-1:c<0&&(c=0)),r=Math.max(u-c,0),i=r+(Math.min(n.length,a.dynamicMainBullets)-1),d=(i+r)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${a.bulletActiveClass}${e}`)).join(" ")),o.length>1)n.each((e=>{const t=(0,s.A)(e),n=t.index();n===u&&t.addClass(a.bulletActiveClass),a.dynamicBullets&&(n>=r&&n<=i&&t.addClass(`${a.bulletActiveClass}-main`),n===r&&p(t,"prev"),n===i&&p(t,"next"))}));else{const t=n.eq(u),s=t.index();if(t.addClass(a.bulletActiveClass),a.dynamicBullets){const t=n.eq(r),o=n.eq(i);for(let e=r;e<=i;e+=1)n.eq(e).addClass(`${a.bulletActiveClass}-main`);if(e.params.loop)if(s>=n.length){for(let e=a.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${a.bulletActiveClass}-main`);n.eq(n.length-a.dynamicMainBullets-1).addClass(`${a.bulletActiveClass}-prev`)}else p(t,"prev"),p(o,"next");else p(t,"prev"),p(o,"next")}}if(a.dynamicBullets){const s=Math.min(n.length,a.dynamicMainBullets+4),r=(l*s-l)/2-d*l,i=t?"right":"left";n.css(e.isHorizontal()?i:"top",`${r}px`)}}if("fraction"===a.type&&(o.find((0,n.A)(a.currentClass)).text(a.formatFractionCurrent(u+1)),o.find((0,n.A)(a.totalClass)).text(a.formatFractionTotal(h))),"progressbar"===a.type){let t;t=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const s=(u+1)/h;let r=1,i=1;"horizontal"===t?r=s:i=s,o.find((0,n.A)(a.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${i})`).transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(o.html(a.renderCustom(e,u+1,h)),i("paginationRender",o[0])):i("paginationUpdate",o[0]),e.params.watchOverflow&&e.enabled&&o[e.isLocked?"addClass":"removeClass"](a.lockClass)}function h(){const t=e.params.pagination;if(d())return;const a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el;let r="";if("bullets"===t.type){let i=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&i>a&&(i=a);for(let a=0;a`;s.html(r),e.pagination.bullets=s.find((0,n.A)(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,s.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,s.html(r)),"custom"!==t.type&&i("paginationRender",e.pagination.$el[0])}function m(){e.params.pagination=(0,r.A)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let a=(0,s.A)(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&a.length>1&&(a=e.$el.find(t.el),a.length>1&&(a=a.filter((t=>(0,s.A)(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),a.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(a.addClass(`${t.modifierClass}${t.type}-dynamic`),c=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",(0,n.A)(t.bulletClass),(function(t){t.preventDefault();let a=(0,s.A)(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),Object.assign(e.pagination,{$el:a,el:a[0]}),e.enabled||a.addClass(t.lockClass))}function f(){const t=e.params.pagination;if(d())return;const a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),a.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",(0,n.A)(t.bulletClass))}a("init",(()=>{!1===e.params.pagination.enabled?g():(m(),h(),u())})),a("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),a("snapIndexChange",(()=>{e.params.loop||u()})),a("slidesLengthChange",(()=>{e.params.loop&&(h(),u())})),a("snapGridLengthChange",(()=>{e.params.loop||(h(),u())})),a("destroy",(()=>{f()})),a("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),a("lock unlock",(()=>{u()})),a("click",((t,a)=>{const n=a.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!(0,s.A)(n).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&n===e.navigation.nextEl||e.navigation.prevEl&&n===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}}));const g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),m(),h(),u()},disable:g,render:h,update:u,init:m,destroy:f})}},7855:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(7626);function n({swiper:e,extendParams:t,on:a}){t({parallax:{enabled:!1}});const n=(t,a)=>{const{rtl:n}=e,r=(0,s.A)(t),i=n?-1:1,o=r.attr("data-swiper-parallax")||"0";let l=r.attr("data-swiper-parallax-x"),c=r.attr("data-swiper-parallax-y");const d=r.attr("data-swiper-parallax-scale"),p=r.attr("data-swiper-parallax-opacity");if(l||c?(l=l||"0",c=c||"0"):e.isHorizontal()?(l=o,c="0"):(c=o,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*a*i+"%":l*a*i+"px",c=c.indexOf("%")>=0?parseInt(c,10)*a+"%":c*a+"px",null!=p){const e=p-(p-1)*(1-Math.abs(a));r[0].style.opacity=e}if(null==d)r.transform(`translate3d(${l}, ${c}, 0px)`);else{const e=d-(d-1)*(1-Math.abs(a));r.transform(`translate3d(${l}, ${c}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:a,progress:r,snapGrid:i}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,r)})),a.each(((t,a)=>{let o=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(o+=Math.ceil(a/2)-r*(i.length-1)),o=Math.min(Math.max(o,-1),1),(0,s.A)(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,o)}))}))};a("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{e.params.parallax.enabled&&r()})),a("setTranslate",(()=>{e.params.parallax.enabled&&r()})),a("setTransition",((t,a)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:a}=e;a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const a=(0,s.A)(e);let n=parseInt(a.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),a.transition(n)}))})(a)}))}},4387:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(1895),n=a(7626),r=a(587),i=a(2793);function o({swiper:e,extendParams:t,on:a,emit:o}){const l=(0,s.YE)();let c,d,p,u,h=!1,m=null,f=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:a,progress:s}=e,{$dragEl:n,$el:r}=t,i=e.params.scrollbar;let o=d,l=(p-d)*s;a?(l=-l,l>0?(o=d-l,l=0):-l+d>p&&(o=p+l)):l<0?(o=d+l,l=0):l+d>p&&(o=p-l),e.isHorizontal()?(n.transform(`translate3d(${l}px, 0, 0)`),n[0].style.width=`${o}px`):(n.transform(`translate3d(0px, ${l}px, 0)`),n[0].style.height=`${o}px`),i.hide&&(clearTimeout(m),r[0].style.opacity=1,m=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:a,$el:s}=t;a[0].style.width="",a[0].style.height="",p=e.isHorizontal()?s[0].offsetWidth:s[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),d="auto"===e.params.scrollbar.dragSize?p*u:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=`${d}px`:a[0].style.height=`${d}px`,s[0].style.display=u>=1?"none":"",e.params.scrollbar.hide&&(s[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function w(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function b(t){const{scrollbar:a,rtlTranslate:s}=e,{$el:n}=a;let r;r=(w(t)-n.offset()[e.isHorizontal()?"left":"top"]-(null!==c?c:d/2))/(p-d),r=Math.max(Math.min(r,1),0),s&&(r=1-r);const i=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(i),e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}function y(t){const a=e.params.scrollbar,{scrollbar:s,$wrapperEl:n}=e,{$el:r,$dragEl:i}=s;h=!0,c=t.target===i[0]||t.target===i?w(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),n.transition(100),i.transition(100),b(t),clearTimeout(f),r.transition(0),a.hide&&r.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),o("scrollbarDragStart",t)}function E(t){const{scrollbar:a,$wrapperEl:s}=e,{$el:n,$dragEl:r}=a;h&&(t.preventDefault?t.preventDefault():t.returnValue=!1,b(t),s.transition(0),n.transition(0),r.transition(0),o("scrollbarDragMove",t))}function x(t){const a=e.params.scrollbar,{scrollbar:s,$wrapperEl:n}=e,{$el:i}=s;h&&(h=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),n.transition("")),a.hide&&(clearTimeout(f),f=(0,r.dY)((()=>{i.css("opacity",0),i.transition(400)}),1e3)),o("scrollbarDragEnd",t),a.snapOnRelease&&e.slideToClosest())}function C(t){const{scrollbar:a,touchEventsTouch:s,touchEventsDesktop:n,params:r,support:i}=e,o=a.$el;if(!o)return;const c=o[0],d=!(!i.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!i.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;const u="on"===t?"addEventListener":"removeEventListener";i.touch?(c[u](s.start,y,d),c[u](s.move,E,d),c[u](s.end,x,p)):(c[u](n.start,y,d),l[u](n.move,E,d),l[u](n.end,x,p))}function S(){const{scrollbar:t,$el:a}=e;e.params.scrollbar=(0,i.A)(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const s=e.params.scrollbar;if(!s.el)return;let r=(0,n.A)(s.el);e.params.uniqueNavElements&&"string"==typeof s.el&&r.length>1&&1===a.find(s.el).length&&(r=a.find(s.el)),r.addClass(e.isHorizontal()?s.horizontalClass:s.verticalClass);let o=r.find(`.${e.params.scrollbar.dragClass}`);0===o.length&&(o=(0,n.A)(`
`),r.append(o)),Object.assign(t,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),s.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&C("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function T(){const t=e.params.scrollbar,a=e.scrollbar.$el;a&&a.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&C("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},a("init",(()=>{!1===e.params.scrollbar.enabled?$():(S(),v(),g())})),a("update resize observerUpdate lock unlock",(()=>{v()})),a("setTranslate",(()=>{g()})),a("setTransition",((t,a)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(a)})),a("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),a("destroy",(()=>{T()}));const $=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),S(),v(),g()},disable:$,updateSize:v,setTranslate:g,init:S,destroy:T})}},3663:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(587),n=a(7626);function r({swiper:e,extendParams:t,on:a}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,i=!1;function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const a=t.clickedIndex,s=t.clickedSlide;if(s&&(0,n.A)(s).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==a)return;let r;if(r=t.params.loop?parseInt((0,n.A)(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const a=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),s=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===a?s:void 0===s?a:s-t1&&!e.params.centeredSlides&&(n=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(n=1),n=Math.floor(n),a.slides.removeClass(r),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(let t=0;t1?s:l:s-le.previousIndex?"next":"prev"}else n=e.realIndex,r=n>e.previousIndex?"next":"prev";o&&(n+="next"===r?i:-1*i),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(n)<0&&(a.params.centeredSlides?n=n>l?n-Math.floor(s/2)+1:n+Math.floor(s/2)-1:n>l&&a.params.slidesPerGroup,a.slideTo(n,t?0:void 0))}}e.thumbs={swiper:null},a("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(l(),c(!0))})),a("slideChange update resize observerUpdate",(()=>{c()})),a("setTransition",((t,a)=>{const s=e.thumbs.swiper;s&&!s.destroyed&&s.setTransition(a)})),a("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&i&&t.destroy()})),Object.assign(e.thumbs,{init:l,update:c})}},9759:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(7626),n=a(587);function r({swiper:e,extendParams:t,on:a,emit:r}){let i;function o(t,a){const n=e.params.virtual;if(n.cache&&e.virtual.cache[a])return e.virtual.cache[a];const r=n.renderSlide?(0,s.A)(n.renderSlide.call(e,t,a)):(0,s.A)(`
${t}
`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",a),n.cache&&(e.virtual.cache[a]=r),r}function l(t){const{slidesPerView:a,slidesPerGroup:s,centeredSlides:n}=e.params,{addSlidesBefore:i,addSlidesAfter:l}=e.params.virtual,{from:c,to:d,slides:p,slidesGrid:u,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const m=e.activeIndex||0;let f,g,v;f=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",n?(g=Math.floor(a/2)+s+l,v=Math.floor(a/2)+s+i):(g=a+(s-1)+l,v=s+i);const w=Math.max((m||0)-v,0),b=Math.min((m||0)+g,p.length-1),y=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function E(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:y,slidesGrid:e.slidesGrid}),c===w&&d===b&&!t)return e.slidesGrid!==u&&y!==h&&e.slides.css(f,`${y}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:y,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?E():r("virtualUpdate"));const x=[],C=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=c;t<=d;t+=1)(tb)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=w&&e<=b&&(void 0===d||t?C.push(e):(e>d&&C.push(e),e{e.$wrapperEl.append(o(p[t],t))})),x.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(o(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(f,`${y}px`),E()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},a("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||l())})),a("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(i),i=setTimeout((()=>{l()}),100)):l())})),a("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&(0,n.LY)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let a=0;a{const s=t[e],r=s.attr("data-swiper-slide-index");r&&s.attr("data-swiper-slide-index",parseInt(r,10)+n),a[parseInt(e,10)+n]=s})),e.virtual.cache=a}l(!0),e.slideTo(s,0)},removeSlide:function(t){if(null==t)return;let a=e.activeIndex;if(Array.isArray(t))for(let s=t.length-1;s>=0;s-=1)e.virtual.slides.splice(t[s],1),e.params.virtual.cache&&delete e.virtual.cache[t[s]],t[s]{a.d(t,{A:()=>i});var s=a(1895),n=a(7626),r=a(587);function i({swiper:e,extendParams:t,on:a,emit:i}){const o=(0,s.zk)();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let l,c,d,p=1,u=!1;const h={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt((s-t)**2+(n-a)**2)}function w(t){const a=e.support,s=e.params.zoom;if(c=!1,d=!1,!a.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;c=!0,h.scaleStart=v(t)}h.$slideEl&&h.$slideEl.length||(h.$slideEl=(0,n.A)(t.target).closest(`.${e.params.slideClass}`),0===h.$slideEl.length&&(h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${s.containerClass}`),h.maxRatio=h.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,0!==h.$imageWrapEl.length)?(h.$imageEl&&h.$imageEl.transition(0),u=!0):h.$imageEl=void 0}function b(t){const a=e.support,s=e.params.zoom,n=e.zoom;if(!a.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;d=!0,h.scaleMove=v(t)}h.$imageEl&&0!==h.$imageEl.length?(a.gestures?n.scale=t.scale*p:n.scale=h.scaleMove/h.scaleStart*p,n.scale>h.maxRatio&&(n.scale=h.maxRatio-1+(n.scale-h.maxRatio+1)**.5),n.scalem.touchesStart.x))return void(m.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.ym.touchesStart.y))return void(m.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),m.isMoved=!0,m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX,m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY,m.currentXm.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentYm.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=m.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=m.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(m.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(m.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(m.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(m.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=m.touchesCurrent.x,f.prevPositionY=m.touchesCurrent.y,f.prevTime=Date.now(),h.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}}function x(){const t=e.zoom;h.$slideEl&&e.previousIndex!==e.activeIndex&&(h.$imageEl&&h.$imageEl.transform("translate3d(0,0,0) scale(1)"),h.$imageWrapEl&&h.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,h.$slideEl=void 0,h.$imageEl=void 0,h.$imageWrapEl=void 0)}function C(t){const a=e.zoom,s=e.params.zoom;if(h.$slideEl||(t&&t.target&&(h.$slideEl=(0,n.A)(t.target).closest(`.${e.params.slideClass}`)),h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${s.containerClass}`)),!h.$imageEl||0===h.$imageEl.length||!h.$imageWrapEl||0===h.$imageWrapEl.length)return;let r,i,l,c,d,u,f,g,v,w,b,y,E,x,C,S,T,$;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),h.$slideEl.addClass(`${s.zoomedSlideClass}`),void 0===m.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,i="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=m.touchesStart.x,i=m.touchesStart.y),a.scale=h.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,p=h.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,t?(T=h.$slideEl[0].offsetWidth,$=h.$slideEl[0].offsetHeight,l=h.$slideEl.offset().left+o.scrollX,c=h.$slideEl.offset().top+o.scrollY,d=l+T/2-r,u=c+$/2-i,v=h.$imageEl[0].offsetWidth,w=h.$imageEl[0].offsetHeight,b=v*a.scale,y=w*a.scale,E=Math.min(T/2-b/2,0),x=Math.min($/2-y/2,0),C=-E,S=-x,f=d*a.scale,g=u*a.scale,fC&&(f=C),gS&&(g=S)):(f=0,g=0),h.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}px,0)`),h.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${a.scale})`)}function S(){const t=e.zoom,a=e.params.zoom;h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`)),h.$imageEl&&0!==h.$imageEl.length&&h.$imageWrapEl&&0!==h.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,h.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),h.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),h.$slideEl.removeClass(`${a.zoomedSlideClass}`),h.$slideEl=void 0)}function T(t){const a=e.zoom;a.scale&&1!==a.scale?S():C(t)}function $(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function A(){return`.${e.params.slideClass}`}function k(t){const{passiveListener:a}=$(),s=A();e.$wrapperEl[t]("gesturestart",s,w,a),e.$wrapperEl[t]("gesturechange",s,b,a),e.$wrapperEl[t]("gestureend",s,y,a)}function M(){l||(l=!0,k("on"))}function P(){l&&(l=!1,k("off"))}function O(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const a=e.support,{passiveListener:s,activeListenerWithCapture:n}=$(),r=A();a.gestures?(e.$wrapperEl.on(e.touchEvents.start,M,s),e.$wrapperEl.on(e.touchEvents.end,P,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,s),e.$wrapperEl.on(e.touchEvents.move,r,b,n),e.$wrapperEl.on(e.touchEvents.end,r,y,s),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,y,s)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,E,n)}function z(){const t=e.zoom;if(!t.enabled)return;const a=e.support;t.enabled=!1;const{passiveListener:s,activeListenerWithCapture:n}=$(),r=A();a.gestures?(e.$wrapperEl.off(e.touchEvents.start,M,s),e.$wrapperEl.off(e.touchEvents.end,P,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,s),e.$wrapperEl.off(e.touchEvents.move,r,b,n),e.$wrapperEl.off(e.touchEvents.end,r,y,s),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,y,s)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,E,n)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=h.$imageEl?h.$imageEl[0]:void 0,a=h.$slideEl?h.$slideEl[0]:void 0;i("zoomChange",e,t,a)}g=e}}),a("init",(()=>{e.params.zoom.enabled&&O()})),a("destroy",(()=>{z()})),a("touchStart",((t,a)=>{e.zoom.enabled&&function(t){const a=e.device;h.$imageEl&&0!==h.$imageEl.length&&(m.isTouched||(a.android&&t.cancelable&&t.preventDefault(),m.isTouched=!0,m.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,m.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(a)})),a("touchEnd",((t,a)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!h.$imageEl||0===h.$imageEl.length)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let a=300,s=300;const n=f.x*a,r=m.currentX+n,i=f.y*s,o=m.currentY+i;0!==f.x&&(a=Math.abs((r-m.currentX)/f.x)),0!==f.y&&(s=Math.abs((o-m.currentY)/f.y));const l=Math.max(a,s);m.currentX=r,m.currentY=o;const c=m.width*t.scale,d=m.height*t.scale;m.minX=Math.min(h.slideWidth/2-c/2,0),m.maxX=-m.minX,m.minY=Math.min(h.slideHeight/2-d/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),h.$imageWrapEl.transition(l).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}()})),a("doubleTap",((t,a)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&T(a)})),a("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&x()})),a("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&x()})),Object.assign(e.zoom,{enable:O,disable:z,in:C,out:S,toggle:T})}},9942:(e,t,a)=>{function s(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}a.d(t,{A:()=>s})},2793:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(1895);function n(e,t,a,n){const r=(0,s.YE)();return e.params.createElements&&Object.keys(n).forEach((s=>{if(!a[s]&&!0===a.auto){let i=e.$el.children(`.${n[s]}`)[0];i||(i=r.createElement("div"),i.className=n[s],e.$el.append(i)),a[s]=i,t[s]=i}})),a}},5837:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(7626);function n(e,t,a){const n="swiper-slide-shadow"+(a?`-${a}`:""),r=e.transformEl?t.find(e.transformEl):t;let i=r.children(`.${n}`);return i.length||(i=(0,s.A)(`
`),r.append(i)),i}},7626:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(2411);const n={addClass:s.iQ,removeClass:s.vy,hasClass:s.nB,toggleClass:s.p1,attr:s.CF,removeAttr:s.K$,transform:s.pd,transition:s.kY,on:s.on,off:s.AU,trigger:s.hZ,transitionEnd:s.XQ,outerWidth:s.Gq,outerHeight:s.DK,styles:s.R7,offset:s.cY,css:s.AH,each:s.HN,html:s.qy,text:s.Qq,is:s.is,index:s.Pe,eq:s.eq,append:s.BC,prepend:s.Hs,next:s.K2,nextAll:s.HW,prev:s.YL,prevAll:s.zy,parent:s.$t,parents:s.M8,closest:s.kp,find:s.I6,children:s.Y_,filter:s.pb,remove:s.TF};Object.keys(n).forEach((e=>{Object.defineProperty(s.$.fn,e,{value:n[e],writable:!0})}));const r=s.$},5996:(e,t,a)=>{function s(e){const{effect:t,swiper:a,on:s,setTranslate:n,setTransition:r,overwriteParams:i,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;s("beforeInit",(()=>{if(a.params.effect!==t)return;a.classNames.push(`${a.params.containerModifierClass}${t}`),o&&o()&&a.classNames.push(`${a.params.containerModifierClass}3d`);const e=i?i():{};Object.assign(a.params,e),Object.assign(a.originalParams,e)})),s("setTranslate",(()=>{a.params.effect===t&&n()})),s("setTransition",((e,s)=>{a.params.effect===t&&r(s)})),s("transitionEnd",(()=>{if(a.params.effect===t&&l){if(!c||!c().slideShadows)return;a.slides.each((e=>{a.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),s("virtualUpdate",(()=>{a.params.effect===t&&(a.slides.length||(d=!0),requestAnimationFrame((()=>{d&&a.slides&&a.slides.length&&(n(),d=!1)})))}))}a.d(t,{A:()=>s})},3563:(e,t,a)=>{function s(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}a.d(t,{A:()=>s})},9875:(e,t,a)=>{function s({swiper:e,duration:t,transformEl:a,allSlides:s}){const{slides:n,activeIndex:r,$wrapperEl:i}=e;if(e.params.virtualTranslate&&0!==t){let t,o=!1;t=s?a?n.find(a):n:a?n.eq(r).find(a):n.eq(r),t.transitionEnd((()=>{if(o)return;if(!e||e.destroyed)return;o=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;es})},9167:(e,t,a)=>{a.d(t,{X:()=>r});var s=a(1895);let n;function r(){return n||(n=function(){const e=(0,s.zk)();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),n}},1957:(e,t,a)=>{a.d(t,{P:()=>i});var s=a(1895),n=a(6076);let r;function i(e={}){return r||(r=function({userAgent:e}={}){const t=(0,n.k)(),a=(0,s.zk)(),r=a.navigator.platform,i=e||a.navigator.userAgent,o={ios:!1,android:!1},l=a.screen.width,c=a.screen.height,d=i.match(/(Android);?[\s\/]+([\d.]+)?/);let p=i.match(/(iPad).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===r;let f="MacIntel"===r;return!p&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&(p=i.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),d&&!m&&(o.os="android",o.android=!0),(p||h||u)&&(o.os="ios",o.ios=!0),o}(e)),r}},6076:(e,t,a)=>{a.d(t,{k:()=>r});var s=a(1895);let n;function r(){return n||(n=function(){const e=(0,s.zk)(),t=(0,s.YE)();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const a=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,a)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),n}},587:(e,t,a)=>{a.d(t,{Gv:()=>l,LY:()=>d,X$:()=>c,dY:()=>r,dy:()=>p,oR:()=>n,ro:()=>o,tB:()=>i});var s=a(1895);function n(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function r(e,t=0){return setTimeout(e,t)}function i(){return Date.now()}function o(e,t="x"){const a=(0,s.zk)();let n,r,i;const o=function(e){const t=(0,s.zk)();let a;return t.getComputedStyle&&(a=t.getComputedStyle(e,null)),!a&&e.currentStyle&&(a=e.currentStyle),a||(a=e.style),a}(e);return a.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new a.WebKitCSSMatrix("none"===r?"":r)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(",")),"x"===t&&(r=a.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=a.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(...e){const t=Object(e[0]),a=["__proto__","constructor","prototype"];for(let n=1;na.indexOf(e)<0));for(let a=0,s=e.length;ar?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{i=(new Date).getTime(),null===o&&(o=i);const s=Math.max(Math.min((i-o)/l,1),0),c=.5-Math.cos(s*Math.PI)/2;let u=r+c*(t-r);if(d(u,t)&&(u=t),e.wrapperEl.scrollTo({[a]:u}),d(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[a]:u})})),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(p)};p()}},3280:(e,t,a)=>{a.d(t,{A:()=>s.A});var s=a(3277),n=a(9759),r=a(9503),i=a(7673),o=a(6233),l=a(6301),c=a(4387),d=a(7855),p=a(1948),u=a(1949),h=a(9677),m=a(49),f=a(2015),g=a(5855),v=a(79),w=a(3663),b=a(3887),y=a(541),E=a(3247),x=a(6027),C=a(2459),S=a(6559),T=a(4931),$=a(5151),A=a(3875);const k=[n.A,r.A,i.A,o.A,l.A,c.A,d.A,p.A,u.A,h.A,m.A,f.A,g.A,v.A,w.A,b.A,y.A,E.A,x.A,C.A,S.A,T.A,$.A,A.A];s.A.use(k)},7319:e=>{e.exports=JSON.parse('{"UU":"homepage-articles"}')}},t={};function a(s){var n=t[s];if(void 0!==n)return n.exports;var r=t[s]={exports:{}};return e[s](r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var s in t)a.o(t,s)&&!a.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var s=a(4997),n=a(2619),r=a(9609),i=a(8688);(0,n.addFilter)("blocks.transforms_from_name","set-transformed-block-name",(function(e){return"newspack-blocks/carousel"!==e?e:r.t})),(0,s.registerBlockType)(r.t,{...i.W0,category:"widgets"})})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.asset.php index 89295be1..b4c8f14f 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.asset.php @@ -1 +1 @@ - array('wp-a11y', 'wp-dom-ready', 'wp-escape-html', 'wp-i18n'), 'version' => 'f91645e4135e72994688'); + array('wp-a11y', 'wp-dom-ready', 'wp-escape-html', 'wp-i18n'), 'version' => 'd05b1792cd529f3e058f'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.js b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.js index d202ff9e..d946807e 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/newspack-blocks-carousel-view/newspack-blocks-carousel-view.js @@ -1,3 +1,3 @@ -(()=>{"use strict";var e={22895:(e,t,s)=>{s.d(t,{A:()=>p});var a=s(20195),i=s(89877),r=s(27723),n=s(83280);const __=r.__,l="wp-block-newspack-blocks-carousel__autoplay-playing";function o(e,t){Array.prototype.forEach.call(e,t)}function d(e){e&&(e.setAttribute("aria-hidden","false"),o(e.querySelectorAll("a"),(e=>e.removeAttribute("tabindex"))))}function c(e){e&&(e.setAttribute("aria-hidden","true"),o(e.querySelectorAll("a"),(e=>e.setAttribute("tabindex","-1"))))}function p(e,t={}){if(!(0``},watchSlidesProgress:t.slidesPerView>1,preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,slidesPerView:t.slidesPerView,spaceBetween:16,touchStartPreventDefault:!1,breakpoints:{320:{slidesPerView:1},782:{slidesPerView:t.slidesPerView>1?2:1},1168:{slidesPerView:t.slidesPerView}},on:{init(){o(this.wrapperEl.querySelectorAll(".swiper-slide"),(e=>c(e))),p.call(this),d(this.slides[this.activeIndex])},slideChange(){const e=this.slides[this.activeIndex];if(c(this.slides[this.previousIndex]),d(e),!this.autoplay?.running){const t=e.querySelector("img"),s=!!t&&t?.alt,n=(0,r.sprintf)(/* translators: 1: current slide number and 2: total number of slides */ -__("Slide %1$s of %2$s","jetpack-mu-wpcom"),this.realIndex+1,this.pagination?.bullets?.length||0);(0,a.speak)((0,i.escapeHTML)(`${e.innerText},\n\t\t\t\t\t\t\t${s?/* translators: the title of the image. */ /* translators: the title of the image. */(0,r.sprintf)(__("Image: %s, ","jetpack-mu-wpcom"),s):""}\n\t\t\t\t\t\t\t${n}`),"assertive")}}}});function p(){const{aspectRatio:e}=t;Array.from(this.slides).forEach((t=>{t.style.height=t.clientWidth*e+"px"}))}if(s.on("imagesReady",p),s.on("resize",p),t.autoplay){function u(){s.autoplay.stop(),e.play.focus()}function h(){s.autoplay.start(),e.pause.focus()}s.on("init",(function(){e.play.addEventListener("click",h),e.pause.addEventListener("click",u)})),s.on("autoplayStart",(function(){e.block.classList.add(l),(0,a.speak)(__("Playing","jetpack-mu-wpcom"),"assertive")})),s.on("autoplayStop",(function(){e.block.classList.remove(l),(0,a.speak)(__("Paused","jetpack-mu-wpcom"),"assertive")})),s.on("beforeDestroy",(function(){e.play.removeEventListener("click",h),e.pause.removeEventListener("click",u)}))}return s.init(),s}},7311:(e,t,s)=>{var a=s(98490),i=s.n(a),r=s(22895);"undefined"!=typeof window&&i()((()=>{Array.from(document.querySelectorAll(".wp-block-newspack-blocks-carousel")).forEach((e=>{new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const t=parseInt(e.dataset.slidesPerView),s=parseInt(e.dataset.slideCount);(0,r.A)({block:e,container:e.querySelector(".swiper"),prev:e.querySelector(".swiper-button-prev"),next:e.querySelector(".swiper-button-next"),pagination:e.querySelector(".swiper-pagination-bullets"),pause:e.querySelector(".swiper-button-pause"),play:e.querySelector(".swiper-button-play")},{aspectRatio:parseFloat(e.dataset.aspectRatio),autoplay:!!parseInt(e.dataset.autoplay),delay:1e3*parseInt(e.dataset.autoplay_delay),slidesPerView:t<=s?t:s,spaceBetween:16})}}))}),{threshold:.25}).observe(e)}))}))},20195:e=>{e.exports=window.wp.a11y},98490:e=>{e.exports=window.wp.domReady},89877:e=>{e.exports=window.wp.escapeHtml},27723:e=>{e.exports=window.wp.i18n},12411:(e,t,s)=>{s.d(t,{$:()=>l,$t:()=>G,AH:()=>C,AU:()=>v,BC:()=>L,CF:()=>u,DK:()=>x,Gq:()=>y,HN:()=>T,HW:()=>D,Hs:()=>I,I6:()=>N,K$:()=>h,K2:()=>O,M8:()=>H,Pe:()=>P,Qq:()=>M,R7:()=>$,TF:()=>R,XQ:()=>b,YL:()=>Y,Y_:()=>q,cY:()=>E,eq:()=>z,hZ:()=>w,iQ:()=>o,is:()=>k,kY:()=>f,kp:()=>X,nB:()=>p,on:()=>g,p1:()=>c,pb:()=>S,pd:()=>m,qy:()=>A,vy:()=>d,zy:()=>B});var a=s(21895);class i extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function r(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...r(e)):t.push(e)})),t}function n(e,t){return Array.prototype.filter.call(e,t)}function l(e,t){const s=(0,a.zk)(),r=(0,a.YE)();let n=[];if(!t&&e instanceof i)return e;if(!e)return new i(n);if("string"==typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this}function d(...e){const t=r(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this}function c(...e){const t=r(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))}function p(...e){const t=r(e.map((e=>e.split(" "))));return n(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0}function u(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s=0;e-=1){const s=n[e];a&&s.listener===a||a&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===a?(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1)):a||(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1))}}}return this}function w(...e){const t=(0,a.zk)(),s=e[0].split(" "),i=e[1];for(let a=0;at>0)),a.dispatchEvent(s),a.dom7EventData=[],delete a.dom7EventData}}}return this}function b(e){const t=this;return e&&t.on("transitionend",(function s(a){a.target===this&&(e.call(this,a),t.off("transitionend",s))})),this}function y(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function x(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function E(){if(this.length>0){const e=(0,a.zk)(),t=(0,a.YE)(),s=this[0],i=s.getBoundingClientRect(),r=t.body,n=s.clientTop||r.clientTop||0,l=s.clientLeft||r.clientLeft||0,o=s===e?e.scrollY:s.scrollTop,d=s===e?e.scrollX:s.scrollLeft;return{top:i.top+o-n,left:i.left+d-l}}return null}function $(){const e=(0,a.zk)();return this[0]?e.getComputedStyle(this[0],null):{}}function C(e,t){const s=(0,a.zk)();let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i{e.apply(t,[t,s])})),this):this}function S(e){return l(n(this,e))}function A(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return l([]);if(e<0){const s=t+e;return l(s<0?[]:[this[s]])}return l([this[e]])}function L(...e){let t;const s=(0,a.YE)();for(let a=0;a=0;r-=1)this[s].insertBefore(a.childNodes[r],this[s].childNodes[0])}else if(e instanceof i)for(r=0;r0?e?this[0].nextElementSibling&&l(this[0].nextElementSibling).is(e)?l([this[0].nextElementSibling]):l([]):this[0].nextElementSibling?l([this[0].nextElementSibling]):l([]):l([])}function D(e){const t=[];let s=this[0];if(!s)return l([]);for(;s.nextElementSibling;){const a=s.nextElementSibling;e?l(a).is(e)&&t.push(a):t.push(a),s=a}return l(t)}function Y(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&l(t.previousElementSibling).is(e)?l([t.previousElementSibling]):l([]):t.previousElementSibling?l([t.previousElementSibling]):l([])}return l([])}function B(e){const t=[];let s=this[0];if(!s)return l([]);for(;s.previousElementSibling;){const a=s.previousElementSibling;e?l(a).is(e)&&t.push(a):t.push(a),s=a}return l(t)}function G(e){const t=[];for(let s=0;s{function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){Object.keys(t).forEach((s=>{void 0===e[s]?e[s]=t[s]:a(t[s])&&a(e[s])&&Object.keys(t[s]).length>0&&i(e[s],t[s])}))}s.d(t,{YE:()=>n,zk:()=>o});const r={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function n(){const e="undefined"!=typeof document?document:{};return i(e,r),e}const l={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){const e="undefined"!=typeof window?window:{};return i(e,l),e}},6100:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(21895);function i(e,t="window",s){if(!e||"container"===t&&!s)return;let i=!1;const r=(0,a.zk)(),n="window"===t?r.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e{s.d(t,{A:()=>r});var a=s(36352),i=s(6100);const r={setBreakpoint:a.A,getBreakpoint:i.A}},36352:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(50587);const i=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function r(){const e=this,{activeIndex:t,initialized:s,loopedSlides:r=0,params:n,$el:l}=e,o=n.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const d=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!d||e.currentBreakpoint===d)return;const c=(d in o?o[d]:void 0)||e.originalParams,p=i(e,n),u=i(e,c),h=n.enabled;p&&!u?(l.removeClass(`${n.containerModifierClass}grid ${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(l.addClass(`${n.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===n.grid.fill)&&l.addClass(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=n[t]&&n[t].enabled,a=c[t]&&c[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const m=c.direction&&c.direction!==n.direction,f=n.loop&&(c.slidesPerView!==n.slidesPerView||m);m&&s&&e.changeDirection(),(0,a.X$)(e.params,c);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!g?e.disable():!h&&g&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",c),f&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}},30736:(e,t,s)=>{s.d(t,{A:()=>a});const a={checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},49374:(e,t,s)=>{function a(){const e=this,{classNames:t,params:s,rtl:a,$el:i,device:r,support:n}=e,l=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!n.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...l),i.addClass([...t].join(" ")),e.emitContainerClasses()}s.d(t,{A:()=>a})},50799:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(49374),i=s(86167);const r={addClasses:a.A,removeClasses:i.A}},86167:(e,t,s)=>{function a(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}s.d(t,{A:()=>a})},83277:(e,t,s)=>{s.d(t,{A:()=>M});var a=s(21895),i=s(97626),r=s(50587),n=s(96076),l=s(61957),o=s(79167),d=s(27875),c=s(81639),p=s(8260),u=s(85e3),h=s(54361),m=s(43010),f=s(33438),g=s(6299),v=s(1800),w=s(47912),b=s(1183),y=s(50799),x=s(28331),E=s(30736),$=s(21880),C=s(52040);const T={eventsEmitter:p.A,update:u.A,translate:h.A,transition:m.A,slide:f.A,loop:g.A,grabCursor:v.A,events:w.A,breakpoints:b.A,checkOverflow:E.A,classes:y.A,images:x.A},S={};class A{constructor(...e){let t,s;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?s=e[0]:[t,s]=e,s||(s={}),s=(0,r.X$)({},s),t&&!s.el&&(s.el=t),s.el&&(0,i.A)(s.el).length>1){const e=[];return(0,i.A)(s.el).each((t=>{const a=(0,r.X$)({},s,{el:t});e.push(new A(a))})),e}const a=this;a.__swiper__=!0,a.support=(0,n.k)(),a.device=(0,l.P)({userAgent:s.userAgent}),a.browser=(0,o.X)(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],s.modules&&Array.isArray(s.modules)&&a.modules.push(...s.modules);const d={};a.modules.forEach((e=>{e({swiper:a,extendParams:(0,C.A)(s,d),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const c=(0,r.X$)({},$.A,d);return a.params=(0,r.X$)({},c,S,s),a.originalParams=(0,r.X$)({},a.params),a.passedParams=(0,r.X$)({},s),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=i.A,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:(0,i.A)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:(0,r.tB)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if(s.centeredSlides){let e,t=a[l].swiperSlideSize;for(let s=l+1;sn&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e=0;e-=1){i[l]-i[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const s=(0,i.A)(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let n=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=(0,i.A)(e.shadowRoot.querySelector(r()));return t.children=e=>s.children(e),t}return s.children?s.children(r()):(0,i.A)(s).children(r())})();if(0===n.length&&t.params.createElements){const e=(0,a.YE)().createElement("div");n=(0,i.A)(e),e.className=t.params.wrapperClass,s.append(e),s.children(`.${t.params.slideClass}`).each((e=>{n.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const s=this,{params:a,$el:i,$wrapperEl:n,slides:l}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),n.removeAttr("style"),l&&l.length&&l.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,(0,r.oR)(s)),s.destroyed=!0),null}static extendDefaults(e){(0,r.X$)(S,e)}static get extendedDefaults(){return S}static get defaults(){return $.A}static installModule(e){A.prototype.__modules__||(A.prototype.__modules__=[]);const t=A.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>A.installModule(e))),A):(A.installModule(e),A)}}Object.keys(T).forEach((e=>{Object.keys(T[e]).forEach((t=>{A.prototype[t]=T[e][t]}))})),A.use([d.A,c.A]);const M=A},21880:(e,t,s)=>{s.d(t,{A:()=>a});const a={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},8260:(e,t,s)=>{s.d(t,{A:()=>a});const a={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(...s){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(a,s)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let s,a,i;"string"==typeof e[0]||Array.isArray(e[0])?(s=e[0],a=e.slice(1,e.length),i=t):(s=e[0].events,a=e[0].data,i=e[0].context||t),a.unshift(i);return(Array.isArray(s)?s:s.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...a])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,a)}))})),t}}},47912:(e,t,s)=>{s.d(t,{A:()=>h});var a=s(21895),i=s(6446),r=s(23937),n=s(38707),l=s(81087),o=s(41951),d=s(24266);let c=!1;function p(){}const u=(e,t)=>{const s=(0,a.YE)(),{params:i,touchEvents:r,el:n,wrapperEl:o,device:d,support:c}=e,p=!!i.nested,u="on"===t?"addEventListener":"removeEventListener",h=t;if(c.touch){const t=!("touchstart"!==r.start||!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n[u](r.start,e.onTouchStart,t),n[u](r.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:p}:p),n[u](r.end,e.onTouchEnd,t),r.cancel&&n[u](r.cancel,e.onTouchEnd,t)}else n[u](r.start,e.onTouchStart,!1),s[u](r.move,e.onTouchMove,p),s[u](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&n[u]("click",e.onClick,!0),i.cssMode&&o[u]("scroll",e.onScroll),i.updateOnWindowResize?e[h](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",l.A,!0):e[h]("observerUpdate",l.A,!0)};const h={attachEvents:function(){const e=this,t=(0,a.YE)(),{params:s,support:l}=e;e.onTouchStart=i.A.bind(e),e.onTouchMove=r.A.bind(e),e.onTouchEnd=n.A.bind(e),s.cssMode&&(e.onScroll=d.A.bind(e)),e.onClick=o.A.bind(e),l.touch&&!c&&(t.addEventListener("touchstart",p),c=!0),u(e,"on")},detachEvents:function(){u(this,"off")}}},41951:(e,t,s)=>{function a(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}s.d(t,{A:()=>a})},81087:(e,t,s)=>{function a(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}s.d(t,{A:()=>a})},24266:(e,t,s)=>{function a(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}s.d(t,{A:()=>a})},38707:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(50587);function i(e){const t=this,s=t.touchEventsData,{params:i,touches:r,rtlTranslate:n,slidesGrid:l,enabled:o}=t;if(!o)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",d),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&i.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);i.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=(0,a.tB)(),p=c-s.touchStartTime;if(t.allowClick){const e=d.path||d.composedPath&&d.composedPath();t.updateClickedSlide(e&&e[0]||d.target),t.emit("tap click",d),p<300&&c-s.lastClickTime<300&&t.emit("doubleTap doubleClick",d)}if(s.lastClickTime=(0,a.tB)(),(0,a.dY)((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let u;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,u=i.followFinger?n?t.translate:-t.translate:-s.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let h=0,m=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&u=l[e]&&(h=e,m=l[l.length-1]-l[l.length-2])}let f=null,g=null;i.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const v=(u-l[h])/m,w=hi.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?f:h+w):t.slideTo(h)),"prev"===t.swipeDirection&&(v>1-i.longSwipesRatio?t.slideTo(h+w):null!==g&&v<0&&Math.abs(v)>i.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(h+w):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==f?f:h+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}},23937:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(21895),i=s(97626),r=s(50587);function n(e){const t=(0,a.YE)(),s=this,n=s.touchEventsData,{params:l,touches:o,rtlTranslate:d,enabled:c}=s;if(!c)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&s.emit("touchMoveOpposite",p));if(n.isTouchEvent&&"touchmove"!==p.type)return;const u="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),h="touchmove"===p.type?u.pageX:p.pageX,m="touchmove"===p.type?u.pageY:p.pageY;if(p.preventedByNestedSwiper)return o.startX=h,void(o.startY=m);if(!s.allowTouchMove)return(0,i.A)(p.target).is(n.focusableElements)||(s.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m}),n.touchStartTime=(0,r.tB)()));if(n.isTouchEvent&&l.touchReleaseOnEdges&&!l.loop)if(s.isVertical()){if(mo.startY&&s.translate>=s.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(ho.startX&&s.translate>=s.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&(0,i.A)(p.target).is(n.focusableElements))return n.isMoved=!0,void(s.allowClick=!1);if(n.allowTouchCallbacks&&s.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;o.currentX=h,o.currentY=m;const f=o.currentX-o.startX,g=o.currentY-o.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,n.isScrolling=s.isHorizontal()?e>l.touchAngle:90-e>l.touchAngle)}if(n.isScrolling&&s.emit("touchMoveOpposite",p),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;s.allowClick=!1,!l.cssMode&&p.cancelable&&p.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&p.stopPropagation(),n.isMoved||(l.loop&&!l.cssMode&&s.loopFix(),n.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!l.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)),s.emit("sliderMove",p),n.isMoved=!0;let v=s.isHorizontal()?f:g;o.diff=v,v*=l.touchRatio,d&&(v=-v),s.swipeDirection=v>0?"prev":"next",n.currentTranslate=v+n.startTranslate;let w=!0,b=l.resistanceRatio;if(l.touchReleaseOnEdges&&(b=0),v>0&&n.currentTranslate>s.minTranslate()?(w=!1,l.resistance&&(n.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+n.startTranslate+v)**b)):v<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),s.allowSlidePrev||s.allowSlideNext||(n.currentTranslate=n.startTranslate),l.threshold>0){if(!(Math.abs(v)>l.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=s.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}l.followFinger&&!l.cssMode&&((l.freeMode&&l.freeMode.enabled&&s.freeMode||l.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&l.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(n.currentTranslate),s.setTranslate(n.currentTranslate))}},6446:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(21895),i=s(97626),r=s(50587);function n(e){const t=this,s=(0,a.YE)(),n=(0,a.zk)(),l=t.touchEventsData,{params:o,touches:d,enabled:c}=t;if(!c)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=(0,i.A)(p.target);if("wrapper"===o.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(l.isTouchEvent="touchstart"===p.type,!l.isTouchEvent&&"which"in p&&3===p.which)return;if(!l.isTouchEvent&&"button"in p&&p.button>0)return;if(l.isTouched&&l.isMoved)return;const h=!!o.noSwipingClass&&""!==o.noSwipingClass,m=e.composedPath?e.composedPath():e.path;h&&p.target&&p.target.shadowRoot&&m&&(u=(0,i.A)(m[0]));const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(o.noSwiping&&(g?function(e,t=this){return function t(s){if(!s||s===(0,a.YE)()||s===(0,a.zk)())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,u[0]):u.closest(f)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!u.closest(o.swipeHandler)[0])return;d.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,d.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const v=d.currentX,w=d.currentY,b=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,y=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=n.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}if(Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=v,d.startY=w,l.touchStartTime=(0,r.tB)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;u.is(l.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(l.isTouched=!1)),s.activeElement&&(0,i.A)(s.activeElement).is(l.focusableElements)&&s.activeElement!==u[0]&&s.activeElement.blur();const a=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!a||u[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}},1800:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(7760),i=s(71589);const r={setGrabCursor:a.A,unsetGrabCursor:i.A}},7760:(e,t,s)=>{function a(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"}s.d(t,{A:()=>a})},71589:(e,t,s)=>{function a(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}s.d(t,{A:()=>a})},28331:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(14258),i=s(80024);const r={loadImage:a.A,preloadImages:i.A}},14258:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(21895),i=s(97626);function r(e,t,s,r,n,l){const o=(0,a.zk)();let d;function c(){l&&l()}(0,i.A)(e).parent("picture")[0]||e.complete&&n?c():t?(d=new o.Image,d.onload=c,d.onerror=c,r&&(d.sizes=r),s&&(d.srcset=s),t&&(d.src=t)):c()}},80024:(e,t,s)=>{function a(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;sa})},6299:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(89989),i=s(60506),r=s(25031);const n={loopCreate:a.A,loopFix:i.A,loopDestroy:r.A}},89989:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(21895),i=s(97626);function r(){const e=this,t=(0,a.YE)(),{params:s,$wrapperEl:r}=e,n=r.children().length>0?(0,i.A)(r.children()[0].parentNode):r;n.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let l=n.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-l.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let a=0;al.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=l.length);const o=[],d=[];l.each(((e,t)=>{(0,i.A)(e).attr("data-swiper-slide-index",t)}));for(let t=0;t=0;e-=1)n.prepend((0,i.A)(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass))}},25031:(e,t,s)=>{function a(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}s.d(t,{A:()=>a})},60506:(e,t,s)=>{function a(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:a,allowSlidePrev:i,allowSlideNext:r,snapGrid:n,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-n[t]-e.getTranslate();if(t=s.length-a){o=-s.length+t+a,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}e.allowSlidePrev=i,e.allowSlideNext=r,e.emit("loopFix")}s.d(t,{A:()=>a})},52040:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(50587);function i(e,t){return function(s={}){const i=Object.keys(s)[0],r=s[i];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in r?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),(0,a.X$)(t,s)):(0,a.X$)(t,s)):(0,a.X$)(t,s)}}},81639:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(21895);function i({swiper:e,extendParams:t,on:s,emit:i}){const r=[],n=(0,a.zk)(),l=(e,t={})=>{const s=new(n.MutationObserver||n.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}},27875:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(21895);function i({swiper:e,on:t,emit:s}){const i=(0,a.zk)();let r=null,n=null;const l=()=>{e&&!e.destroyed&&e.initialized&&(s("beforeResize"),s("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&s("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{n=i.requestAnimationFrame((()=>{const{width:s,height:a}=e;let i=s,r=a;t.forEach((({contentBoxSize:t,contentRect:s,target:a})=>{a&&a!==e.el||(i=s?s.width:(t[0]||t).inlineSize,r=s?s.height:(t[0]||t).blockSize)})),i===s&&r===a||l()}))})),r.observe(e.el)):(i.addEventListener("resize",l),i.addEventListener("orientationchange",o))})),t("destroy",(()=>{n&&i.cancelAnimationFrame(n),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",o)}))}},33438:(e,t,s)=>{s.d(t,{A:()=>c});var a=s(40682),i=s(91636),r=s(98170),n=s(32166),l=s(71540),o=s(7015),d=s(35068);const c={slideTo:a.A,slideToLoop:i.A,slideNext:r.A,slidePrev:n.A,slideReset:l.A,slideToClosest:o.A,slideToClickedSlide:d.A}},98170:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){const a=this,{animating:i,enabled:r,params:n}=a;if(!r)return a;let l=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndexa})},32166:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){const a=this,{params:i,animating:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:d}=a;if(!d)return a;if(i.loop){if(r&&i.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(o?a.translate:-a.translate),u=n.map((e=>c(e)));let h=n[u.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;n.forEach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(h=n[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=l.indexOf(h),m<0&&(m=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return a.slideTo(m,e,t,s)}s.d(t,{A:()=>a})},71540:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){return this.slideTo(this.activeIndex,e,t,s)}s.d(t,{A:()=>a})},40682:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(50587);function i(e=0,t=this.params.speed,s=!0,i,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let l=e;l<0&&(l=0);const{params:o,snapGrid:d,slidesGrid:c,previousIndex:p,activeIndex:u,rtlTranslate:h,wrapperEl:m,enabled:f}=n;if(n.animating&&o.preventInteractionOnTransition||!f&&!i&&!r)return!1;const g=Math.min(n.params.slidesPerGroupSkip,l);let v=g+Math.floor((l-g)/n.params.slidesPerGroup);v>=d.length&&(v=d.length-1);const w=-d[v];if(o.normalizeSlideIndex)for(let e=0;e=s&&t=s&&t=s&&(l=e)}if(n.initialized&&l!==u){if(!n.allowSlideNext&&wn.translate&&w>n.maxTranslate()&&(u||0)!==l)return!1}let b;if(l!==(p||0)&&s&&n.emit("beforeSlideChangeStart"),n.updateProgress(w),b=l>u?"next":l{n.wrapperEl.style.scrollSnapType="",n._swiperImmediateVirtual=!1}))}else{if(!n.support.smoothScroll)return(0,a.dy)({swiper:n,targetPosition:s,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(s,b),0===t?n.transitionEnd(s,b):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(s,b))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd)),!0}},35068:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(97626),i=s(50587);function r(){const e=this,{params:t,$wrapperEl:s}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let n,l=e.clickedIndex;if(t.loop){if(e.animating)return;n=parseInt((0,a.A)(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?le.slides.length-e.loopedSlides+r/2?(e.loopFix(),l=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,i.dY)((()=>{e.slideTo(l)}))):e.slideTo(l):l>e.slides.length-r?(e.loopFix(),l=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,i.dY)((()=>{e.slideTo(l)}))):e.slideTo(l)}else e.slideTo(l)}},7015:(e,t,s)=>{function a(e=this.params.speed,t=!0,s,a=.5){const i=this;let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)}s.d(t,{A:()=>a})},91636:(e,t,s)=>{function a(e=0,t=this.params.speed,s=!0,a){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,s,a)}s.d(t,{A:()=>a})},43010:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(28321),i=s(19567),r=s(67986);const n={setTransition:a.A,transitionStart:i.A,transitionEnd:r.A}},28321:(e,t,s)=>{function a(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)}s.d(t,{A:()=>a})},25852:(e,t,s)=>{function a({swiper:e,runCallbacks:t,direction:s,step:a}){const{activeIndex:i,previousIndex:r}=e;let n=s;if(n||(n=i>r?"next":ia})},67986:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(25852);function i(e=!0,t){const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),(0,a.A)({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},19567:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(25852);function i(e=!0,t){const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),(0,a.A)({swiper:s,runCallbacks:e,direction:t,step:"Start"}))}},61723:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(50587);function i(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:s,translate:i,$wrapperEl:r}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=(0,a.ro)(r[0],e);return s&&(n=-n),n||0}},54361:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(61723),i=s(8159),r=s(68075),n=s(9301),l=s(57466);const o={getTranslate:a.A,setTranslate:i.A,minTranslate:r.A,maxTranslate:n.A,translateTo:l.A}},9301:(e,t,s)=>{function a(){return-this.snapGrid[this.snapGrid.length-1]}s.d(t,{A:()=>a})},68075:(e,t,s)=>{function a(){return-this.snapGrid[0]}s.d(t,{A:()=>a})},8159:(e,t,s)=>{function a(e,t){const s=this,{rtlTranslate:a,params:i,$wrapperEl:r,wrapperEl:n,progress:l}=s;let o=0,d=0;let c;s.isHorizontal()?o=a?-e:e:d=e,i.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),i.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-o:-d:i.virtualTranslate||r.transform(`translate3d(${o}px, ${d}px, 0px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?o:d;const p=s.maxTranslate()-s.minTranslate();c=0===p?0:(e-s.minTranslate())/p,c!==l&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)}s.d(t,{A:()=>a})},57466:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(50587);function i(e=0,t=this.params.speed,s=!0,i=!0,r){const n=this,{params:l,wrapperEl:o}=n;if(n.animating&&l.preventInteractionOnTransition)return!1;const d=n.minTranslate(),c=n.maxTranslate();let p;if(p=i&&e>d?d:i&&e{s.d(t,{A:()=>u});var a=s(44286),i=s(72329),r=s(18843),n=s(35898),l=s(626),o=s(22972),d=s(46585),c=s(1165),p=s(57393);const u={updateSize:a.A,updateSlides:i.A,updateAutoHeight:r.A,updateSlidesOffset:n.A,updateSlidesProgress:l.A,updateProgress:o.A,updateSlidesClasses:d.A,updateActiveIndex:c.A,updateClickedSlide:p.A}},1165:(e,t,s)=>{function a(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:r,activeIndex:n,realIndex:l,snapIndex:o}=t;let d,c=e;if(void 0===c){for(let e=0;e=a[e]&&s=a[e]&&s=a[e]&&(c=e);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(i.indexOf(s)>=0)d=i.indexOf(s);else{const e=Math.min(r.slidesPerGroupSkip,c);d=e+Math.floor((c-e)/r.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),c===n)return void(d!==o&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(t,{snapIndex:d,realIndex:p,previousIndex:n,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}s.d(t,{A:()=>a})},18843:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(97626);function i(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let r,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const l=e=>i?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||(0,a.A)([])).each((e=>{s.push(e)}));else for(r=0;rt.slides.length&&!i)break;s.push(l(e))}else s.push(l(t.activeIndex));for(r=0;rn?e:n}(n||0===n)&&t.$wrapperEl.css("height",`${n}px`)}},57393:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(97626);function i(e){const t=this,s=t.params,i=(0,a.A)(e).closest(`.${s.slideClass}`)[0];let r,n=!1;if(i)for(let e=0;e{function a(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n}=t;const l=r,o=n;0===a?(i=0,r=!0,n=!0):(i=(e-t.minTranslate())/a,r=i<=0,n=i>=1),Object.assign(t,{progress:i,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),n&&!o&&t.emit("reachEnd toEdge"),(l&&!r||o&&!n)&&t.emit("fromEdge"),t.emit("progress",i)}s.d(t,{A:()=>a})},44286:(e,t,s)=>{function a(){const e=this;let t,s;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),s=s-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))}s.d(t,{A:()=>a})},72329:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(50587);function i(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const i=e.params,{$wrapperEl:r,size:n,rtlTranslate:l,wrongRTL:o}=e,d=e.virtual&&i.virtual.enabled,c=d?e.virtual.slides.length:e.slides.length,p=r.children(`.${e.params.slideClass}`),u=d?e.virtual.slides.length:p.length;let h=[];const m=[],f=[];let g=i.slidesOffsetBefore;"function"==typeof g&&(g=i.slidesOffsetBefore.call(e));let v=i.slidesOffsetAfter;"function"==typeof v&&(v=i.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let y=i.spaceBetween,x=-g,E=0,$=0;if(void 0===n)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*n),e.virtualSize=-y,l?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&((0,a.LY)(e.wrapperEl,"--swiper-centered-offset-before",""),(0,a.LY)(e.wrapperEl,"--swiper-centered-offset-after",""));const C=i.grid&&i.grid.rows>1&&e.grid;let T;C&&e.grid.initSlides(u);const S="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let a=0;a1&&h.push(e.virtualSize-n)}if(0===h.length&&(h=[0]),0!==i.spaceBetween){const s=e.isHorizontal()&&l?"marginLeft":t("marginRight");p.filter(((e,t)=>!i.cssMode||t!==p.length-1)).css({[s]:`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween;const t=e-n;h=h.map((e=>e<0?-g:e>t?t+v:e))}if(i.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween,e{h[s]=e-t})),m.forEach(((e,s)=>{m[s]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){(0,a.LY)(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),(0,a.LY)(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(u!==c&&e.emit("slidesLengthChange"),h.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==b&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!(d||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,s=e.$el.hasClass(t);u<=i.maxBackfaceHiddenSlides?s||e.$el.addClass(t):s&&e.$el.removeClass(t)}}},46585:(e,t,s)=>{function a(){const e=this,{slides:t,params:s,$wrapperEl:a,activeIndex:i,realIndex:r}=e,n=e.virtual&&s.virtual.enabled;let l;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),l=n?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addClass(s.slideActiveClass),s.loop&&(l.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass));let o=l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===o.length&&(o=t.eq(0),o.addClass(s.slideNextClass));let d=l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(o.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()}s.d(t,{A:()=>a})},35898:(e,t,s)=>{function a(){const e=this,t=e.slides;for(let s=0;sa})},626:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(97626);function i(e=this&&this.translate||0){const t=this,s=t.params,{slides:i,rtlTranslate:r,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let l=-e;r&&(l=e),i.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),i.eq(e).addClass(s.slideVisibleClass)),a.progress=r?-d:d,a.originalProgress=r?-c:c}t.visibleSlides=(0,a.A)(t.visibleSlides)}},70049:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(29942),i=s(97626);function r({swiper:e,extendParams:t,on:s}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function n(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function l(e){e.attr("tabIndex","0")}function o(e){e.attr("tabIndex","-1")}function d(e,t){e.attr("role",t)}function c(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function h(e){e.attr("aria-disabled",!1)}function m(t){if(13!==t.keyCode&&32!==t.keyCode)return;const s=e.params.a11y,r=(0,i.A)(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?n(s.lastSlideMessage):n(s.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?n(s.firstSlideMessage):n(s.prevSlideMessage)),e.pagination&&r.is((0,a.A)(e.params.pagination.bulletClass))&&r[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return f()&&e.params.pagination.clickable}const v=(e,t,s)=>{l(e),"BUTTON"!==e[0].tagName&&(d(e,"button"),e.on("keydown",m)),p(e,s),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{e.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},y=t=>{if(e.a11y.clicked)return;const s=t.target.closest(`.${e.params.slideClass}`);if(!s||!e.slides.includes(s))return;const a=e.slides.indexOf(s)===e.activeIndex,i=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(s);a||i||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(s),0))},x=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&c((0,i.A)(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&d((0,i.A)(e.slides),t.slideRole);const s=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((a,r)=>{const n=(0,i.A)(a),l=e.params.loop?parseInt(n.attr("data-swiper-slide-index"),10):r;p(n,t.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,s))}))},E=()=>{const t=e.params.a11y;e.$el.append(r);const s=e.$el;t.containerRoleDescriptionMessage&&c(s,t.containerRoleDescriptionMessage),t.containerMessage&&p(s,t.containerMessage);const i=e.$wrapperEl,n=t.id||i.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,l=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var o;let d,u;o=n,i.attr("id",o),function(e,t){e.attr("aria-live",t)}(i,l),x(),e.navigation&&e.navigation.$nextEl&&(d=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),d&&d.length&&v(d,n,t.nextSlideMessage),u&&u.length&&v(u,n,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",(0,a.A)(e.params.pagination.bulletClass),m),e.$el.on("focus",y,!0),e.$el.on("pointerdown",w,!0),e.$el.on("pointerup",b,!0)};s("beforeInit",(()=>{r=(0,i.A)(``)})),s("afterInit",(()=>{e.params.a11y.enabled&&E()})),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&x()})),s("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:s}=e.navigation;s&&s.length>0&&(e.isBeginning?(u(s),o(s)):(h(s),l(s))),t&&t.length>0&&(e.isEnd?(u(t),o(t)):(h(t),l(t)))}()})),s("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((s=>{const a=(0,i.A)(s);e.params.pagination.clickable&&(l(a),e.params.pagination.renderBullet||(d(a,"button"),p(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))),a.is(`.${e.params.pagination.bulletActiveClass}`)?a.attr("aria-current","true"):a.removeAttr("aria-current")}))}()})),s("destroy",(()=>{e.params.a11y.enabled&&function(){let t,s;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),t&&t.off("keydown",m),s&&s.off("keydown",m),g()&&e.pagination.$el.off("keydown",(0,a.A)(e.params.pagination.bulletClass),m),e.$el.off("focus",y,!0),e.$el.off("pointerdown",w,!0),e.$el.off("pointerup",b,!0)}()}))}},70079:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(21895),i=s(50587);function r({swiper:e,extendParams:t,on:s,emit:r}){let n;function l(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let s=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(s=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(n),n=(0,i.dY)((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?d():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?d():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&l()}),s)}function o(){return void 0===n&&(!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),l(),!0))}function d(){return!!e.autoplay.running&&(void 0!==n&&(n&&(clearTimeout(n),n=void 0),e.autoplay.running=!1,r("autoplayStop"),!0))}function c(t){e.autoplay.running&&(e.autoplay.paused||(n&&clearTimeout(n),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,l())))}function p(){const t=(0,a.YE)();"hidden"===t.visibilityState&&e.autoplay.running&&c(),"visible"===t.visibilityState&&e.autoplay.paused&&(l(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?l():d())}function h(){e.params.autoplay.disableOnInteraction?d():(r("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function m(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),l())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",(()=>{if(e.params.autoplay.enabled){o();(0,a.YE)().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",m))}})),s("beforeTransitionStart",((t,s,a)=>{e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(s):d())})),s("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?d():c())})),s("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&l()})),s("destroy",(()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",m),e.autoplay.running&&d();(0,a.YE)().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:c,run:l,start:o,stop:d})}},89677:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(50587);function i({swiper:e,extendParams:t,on:s}){function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},s("beforeInit",(()=>{e.controller.control=e.params.controller.control})),s("update",(()=>{r()})),s("resize",(()=>{r()})),s("observerUpdate",(()=>{r()})),s("setTranslate",((t,s,a)=>{e.controller.control&&e.controller.setTranslate(s,a)})),s("setTransition",((t,s,a)=>{e.controller.control&&e.controller.setTransition(s,a)})),Object.assign(e.controller,{setTranslate:function(t,s){const a=e.controller.control;let r,n;const l=e.constructor;function o(t){const s=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new i(e.slidesGrid,t.slidesGrid):new i(e.snapGrid,t.snapGrid))}(t),n=-e.controller.spline.interpolate(-s)),n&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),n=(s-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(n=t.maxTranslate()-n),t.updateProgress(n),t.setTranslate(n,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e{s.updateAutoHeight()})),s.$wrapperEl.transitionEnd((()=>{r&&(s.params.loop&&"slide"===e.params.controller.by&&s.loopFix(),s.transitionEnd())})))}if(Array.isArray(r))for(n=0;n{s.d(t,{A:()=>l});var a=s(25837),i=s(25996),r=s(43563),n=s(99875);function l({swiper:e,extendParams:t,on:s}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}});(0,i.A)({effect:"cards",swiper:e,on:s,setTranslate:()=>{const{slides:t,activeIndex:s}=e,i=e.params.cardsEffect,{startTranslate:n,isTouched:l}=e.touchEventsData,o=e.translate;for(let d=0;d0&&u<1&&(l||e.params.cssMode)&&o-1&&(l||e.params.cssMode)&&o>n;if(x||E){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;w+=-28*u*e,v+=-.5*e,b+=96*e,f=-25*e*Math.abs(u)+"%"}if(m=u<0?`calc(${m}px + (${b*Math.abs(u)}%))`:u>0?`calc(${m}px + (-${b*Math.abs(u)}%))`:`${m}px`,!e.isHorizontal()){const e=f;f=m,m=e}const $=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),C=`\n translate3d(${m}, ${f}, ${g}px)\n rotateZ(${i.rotate?w:0}deg)\n scale(${$})\n `;if(i.slideShadows){let e=c.find(".swiper-slide-shadow");0===e.length&&(e=(0,a.A)(i,c)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}c[0].style.zIndex=-Math.abs(Math.round(p))+t.length;(0,r.A)(i,c).transform(C)}},setTransition:t=>{const{transformEl:s}=e.params.cardsEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,n.A)({swiper:e,duration:t,transformEl:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},24931:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(25837),i=s(25996),r=s(43563);function n({swiper:e,extendParams:t,on:s}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});(0,i.A)({effect:"coverflow",swiper:e,on:s,setTranslate:()=>{const{width:t,height:s,slides:i,slidesSizesGrid:n}=e,l=e.params.coverflowEffect,o=e.isHorizontal(),d=e.translate,c=o?t/2-d:s/2-d,p=o?l.rotate:-l.rotate,u=l.depth;for(let e=0,t=i.length;e0?h:0),s.length&&(s[0].style.opacity=-h>0?-h:0)}}},setTransition:t=>{const{transformEl:s}=e.params.coverflowEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},55151:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(25837),i=s(25996),r=s(43563),n=s(99875);function l({swiper:e,extendParams:t,on:s}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const l=e=>"string"==typeof e?e:`${e}px`;(0,i.A)({effect:"creative",swiper:e,on:s,setTranslate:()=>{const{slides:t,$wrapperEl:s,slidesSizesGrid:i}=e,n=e.params.creativeEffect,{progressMultiplier:o}=n,d=e.params.centeredSlides;if(d){const t=i[0]/2-e.params.slidesOffsetBefore||0;s.transform(`translateX(calc(50% - ${t}px))`)}for(let s=0;s0&&(v=n.prev,g=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${l(v.translate[t])} * ${Math.abs(p*o)}))`})),f.forEach(((e,t)=>{f[t]=v.rotate[t]*Math.abs(p*o)})),i[0].style.zIndex=-Math.abs(Math.round(c))+t.length;const w=m.join(", "),b=`rotateX(${f[0]}deg) rotateY(${f[1]}deg) rotateZ(${f[2]}deg)`,y=u<0?`scale(${1+(1-v.scale)*u*o})`:`scale(${1-(1-v.scale)*u*o})`,x=u<0?1+(1-v.opacity)*u*o:1-(1-v.opacity)*u*o,E=`translate3d(${w}) ${b} ${y}`;if(g&&v.shadow||!g){let e=i.children(".swiper-slide-shadow");if(0===e.length&&v.shadow&&(e=(0,a.A)(n,i)),e.length){const t=n.shadowPerProgress?p*(1/n.limitProgress):p;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const $=(0,r.A)(n,i);$.transform(E).css({opacity:x}),v.origin&&$.css("transform-origin",v.origin)}},setTransition:t=>{const{transformEl:s}=e.params.creativeEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,n.A)({swiper:e,duration:t,transformEl:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},22459:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(97626),i=s(25996);function r({swiper:e,extendParams:t,on:s}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,s)=>{let i=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=(0,a.A)(`
`),e.append(i)),0===r.length&&(r=(0,a.A)(`
`),e.append(r)),i.length&&(i[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};(0,i.A)({effect:"cube",swiper:e,on:s,setTranslate:()=>{const{$el:t,$wrapperEl:s,slides:i,width:n,height:l,rtlTranslate:o,size:d,browser:c}=e,p=e.params.cubeEffect,u=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=s.find(".swiper-cube-shadow"),0===m.length&&(m=(0,a.A)('
'),s.append(m)),m.css({height:`${n}px`})):(m=t.find(".swiper-cube-shadow"),0===m.length&&(m=(0,a.A)('
'),t.append(m))));for(let e=0;e-1&&(f=90*s+90*l,o&&(f=90*-s-90*l)),t.transform(v),p.slideShadows&&r(t,l,u)}if(s.css({"-webkit-transform-origin":`50% 50% -${d/2}px`,"transform-origin":`50% 50% -${d/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${n/2+p.shadowOffset}px, ${-n/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;m.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${l/2+i}px, ${-l/2/a}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-d/2:0;s.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),s[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:s,slides:a}=e;a.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&s.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const s=Math.max(Math.min(e.progress,1),-1);r((0,a.A)(e),s,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},96027:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(25996),i=s(43563),r=s(99875);function n({swiper:e,extendParams:t,on:s}){t({fadeEffect:{crossFade:!1,transformEl:null}});(0,a.A)({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:t}=e,s=e.params.fadeEffect;for(let a=0;a{const{transformEl:s}=e.params.fadeEffect;(s?e.slides.find(s):e.slides).transition(t),(0,r.A)({swiper:e,duration:t,transformEl:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},16559:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(97626),i=s(25837),r=s(25996),n=s(43563),l=s(99875);function o({swiper:e,extendParams:t,on:s}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const o=(t,s,a)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),n=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=(0,i.A)(a,t,e.isHorizontal()?"left":"top")),0===n.length&&(n=(0,i.A)(a,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-s,0)),n.length&&(n[0].style.opacity=Math.max(s,0))};(0,r.A)({effect:"flip",swiper:e,on:s,setTranslate:()=>{const{slides:t,rtlTranslate:s}=e,a=e.params.flipEffect;for(let i=0;i{const{transformEl:s}=e.params.flipEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),(0,l.A)({swiper:e,duration:t,transformEl:s})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((s=>{const i=(0,a.A)(s);let r=i[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s.progress,1),-1)),o(i,r,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},33887:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(50587);function i({swiper:e,extendParams:t,emit:s,once:i}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:s}=e;0===t.velocities.length&&t.velocities.push({position:s[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[e.isHorizontal()?"currentX":"currentY"],time:(0,a.tB)()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:n,rtlTranslate:l,snapGrid:o,touchEventsData:d}=e,c=(0,a.tB)()-d.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=d.velocities.pop(),s=d.velocities.pop(),i=t.position-s.position,n=t.time-s.time;e.velocity=i/n,e.velocity/=2,Math.abs(e.velocity)150||(0,a.tB)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,d.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const c=e.velocity*t;let p=e.translate+c;l&&(p=-p);let u,h=!1;const m=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let f;if(pe.minTranslate())r.freeMode.momentumBounce?(p-e.minTranslate()>m&&(p=e.minTranslate()+m),u=e.minTranslate(),h=!0,d.allowMomentumBounce=!0):p=e.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(o[t]-p){e.loopFix()})),0!==e.velocity){if(t=l?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),r.freeMode.sticky){const s=Math.abs((l?-p:p)-e.translate),a=e.slidesSizesGrid[e.activeIndex];t=s{e&&!e.destroyed&&d.allowMomentumBounce&&(s("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),n.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(s("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,n.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&s("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||c>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}},60541:(e,t,s)=>{function a({swiper:e,extendParams:t}){let s,a,i;t({grid:{rows:1,fill:"column"}});e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:n,fill:l}=e.params.grid;a=s/n,i=Math.floor(t/n),s=Math.floor(t/n)===t/n?t:Math.ceil(t/n)*n,"auto"!==r&&"row"===l&&(s=Math.max(s,r*n))},updateSlide:(t,r,n,l)=>{const{slidesPerGroup:o,spaceBetween:d}=e.params,{rows:c,fill:p}=e.params.grid;let u,h,m;if("row"===p&&o>1){const e=Math.floor(t/(o*c)),a=t-c*o*e,i=0===e?o:Math.min(Math.ceil((n-e*c*o)/c),o);m=Math.floor(a/i),h=a-m*i+e*o,u=h+m*s/c,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=Math.floor(t/c),m=t-h*c,(h>i||h===i&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=Math.floor(t/a),h=t-m*a);r.css(l("margin-top"),0!==m?d&&`${d}px`:"")},updateWrapperSize:(t,a,i)=>{const{spaceBetween:r,centeredSlides:n,roundLengths:l}=e.params,{rows:o}=e.params.grid;if(e.virtualSize=(t+r)*s,e.virtualSize=Math.ceil(e.virtualSize/o)-r,e.$wrapperEl.css({[i("width")]:`${e.virtualSize+r}px`}),n){a.splice(0,a.length);const t=[];for(let s=0;sa})},25855:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(21895),i=s(97626);function r({swiper:e,extendParams:t,emit:s,on:r}){let n=!1;const l=(0,a.YE)(),o=(0,a.zk)();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const d=()=>{s("hashChange");const t=l.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const s=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===s)return;e.slideTo(s)}},c=()=>{if(n&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),s("hashSet");else{const t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");l.location.hash=a||"",s("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const t=l.location.hash.replace("#","");if(t){const s=0;for(let a=0,i=e.slides.length;a{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&(0,i.A)(o).off("hashchange",d)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&c()})),r("slideChange",(()=>{n&&e.params.cssMode&&c()}))}},32015:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(21895);function i({swiper:e,extendParams:t,on:s}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,r={};const n=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=(0,a.zk)();let s;s=e?new URL(e):t.location;const i=s.pathname.slice(1).split("/").filter((e=>""!==e)),r=i.length;return{key:i[r-2],value:i[r-1]}},o=(t,s)=>{const r=(0,a.zk)();if(!i||!e.params.history.enabled)return;let l;l=e.params.url?new URL(e.params.url):r.location;const o=e.slides.eq(s);let d=n(o.attr("data-history"));if(e.params.history.root.length>0){let s=e.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${t}/${d}`}else l.pathname.includes(t)||(d=`${t}/${d}`);e.params.history.keepQuery&&(d+=l.search);const c=r.history.state;c&&c.value===d||(e.params.history.replaceState?r.history.replaceState({value:d},null,d):r.history.pushState({value:d},null,d))},d=(t,s,a)=>{if(s)for(let i=0,r=e.slides.length;i{r=l(e.params.url),d(e.params.speed,r.value,!1)};s("init",(()=>{e.params.history.enabled&&(()=>{const t=(0,a.zk)();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);i=!0,r=l(e.params.url),(r.key||r.value)&&(d(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",c))}})()})),s("destroy",(()=>{e.params.history.enabled&&(()=>{const t=(0,a.zk)();e.params.history.replaceState||t.removeEventListener("popstate",c)})()})),s("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&o(e.params.history.key,e.activeIndex)})),s("slideChange",(()=>{i&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)}))}},49503:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(21895),i=s(97626);function r({swiper:e,extendParams:t,on:s,emit:r}){const n=(0,a.YE)(),l=(0,a.zk)();function o(t){if(!e.enabled)return;const{rtlTranslate:s}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode,o=e.params.keyboard.pageUpDown,d=o&&33===i,c=o&&34===i,p=37===i,u=39===i,h=38===i,m=40===i;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&m||c))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&h||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||n.activeElement&&n.activeElement.nodeName&&("input"===n.activeElement.nodeName.toLowerCase()||"textarea"===n.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(d||c||p||u||h||m)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const a=e.$el,i=a[0].clientWidth,r=a[0].clientHeight,n=l.innerWidth,o=l.innerHeight,d=e.$el.offset();s&&(d.left-=e.$el[0].scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let e=0;e=0&&s[0]<=n&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&e.slideNext(),((d||p)&&!s||(c||u)&&s)&&e.slidePrev()):((d||c||h||m)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||m)&&e.slideNext(),(d||h)&&e.slidePrev()),r("keyPress",i)}}function d(){e.keyboard.enabled||((0,i.A)(n).on("keydown",o),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&((0,i.A)(n).off("keydown",o),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",(()=>{e.params.keyboard.enabled&&d()})),s("destroy",(()=>{e.keyboard.enabled&&c()})),Object.assign(e.keyboard,{enable:d,disable:c})}},31949:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(21895),i=s(97626);function r({swiper:e,extendParams:t,on:s,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let n=!1,l=!1;function o(t,s=!0){const a=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const n=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),l=n.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!n.hasClass(a.elementClass)||n.hasClass(a.loadedClass)||n.hasClass(a.loadingClass)||l.push(n[0]),0!==l.length&&l.each((t=>{const l=(0,i.A)(t);l.addClass(a.loadingClass);const d=l.attr("data-background"),c=l.attr("data-src"),p=l.attr("data-srcset"),u=l.attr("data-sizes"),h=l.parent("picture");e.loadImage(l[0],c||d,p,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(d?(l.css("background-image",`url("${d}")`),l.removeAttr("data-background")):(p&&(l.attr("srcset",p),l.removeAttr("data-srcset")),u&&(l.attr("sizes",u),l.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=(0,i.A)(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(l.attr("src",c),l.removeAttr("data-src"))),l.addClass(a.loadedClass).removeClass(a.loadingClass),n.find(`.${a.preloaderClass}`).remove(),e.params.loop&&s){const t=n.attr("data-swiper-slide-index");if(n.hasClass(e.params.slideDuplicateClass)){o(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{o(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",n[0],l[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",n[0],l[0])}))}function d(){const{$wrapperEl:t,params:s,slides:a,activeIndex:r}=e,n=e.virtual&&s.virtual.enabled,d=s.lazy;let c=s.slidesPerView;function p(e){if(n){if(t.children(`.${s.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(a[e])return!0;return!1}function u(e){return n?(0,i.A)(e).attr("data-swiper-slide-index"):(0,i.A)(e).index()}if("auto"===c&&(c=0),l||(l=!0),e.params.watchSlidesProgress)t.children(`.${s.slideVisibleClass}`).each((e=>{o(n?(0,i.A)(e).attr("data-swiper-slide-index"):(0,i.A)(e).index())}));else if(c>1)for(let e=r;e1||d.loadPrevNextAmount&&d.loadPrevNextAmount>1){const e=d.loadPrevNextAmount,t=Math.ceil(c),s=Math.min(r+t+Math.max(e,t),a.length),i=Math.max(r-Math.max(t,e),0);for(let e=r+t;e0&&o(u(e));const a=t.children(`.${s.slidePrevClass}`);a.length>0&&o(u(a))}}function c(){const t=(0,a.zk)();if(!e||e.destroyed)return;const s=e.params.lazy.scrollingElement?(0,i.A)(e.params.lazy.scrollingElement):(0,i.A)(t),r=s[0]===t,l=r?t.innerWidth:s[0].offsetWidth,o=r?t.innerHeight:s[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:u}=e;let h=!1;u&&(p.left-=e.$el[0].scrollLeft);const m=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let e=0;e=0&&t[0]<=l&&t[1]>=0&&t[1]<=o){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h?(d(),s.off("scroll",c,f)):n||(n=!0,s.on("scroll",c,f))}s("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),s("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():d())})),s("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&d()})),s("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():d())})),s("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!l)&&(e.params.lazy.checkInView?c():d())})),s("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():d())})),s("slideChange",(()=>{const{lazy:t,cssMode:s,watchSlidesProgress:a,touchReleaseOnEdges:i,resistanceRatio:r}=e.params;t.enabled&&(s||a&&(i||0===r))&&d()})),s("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:d,loadInSlide:o})}},23247:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(15684),i=s(65748),r=s(51297),n=s(76884),l=s(33552);function o({swiper:e}){Object.assign(e,{appendSlide:a.A.bind(e),prependSlide:i.A.bind(e),addSlide:r.A.bind(e),removeSlide:n.A.bind(e),removeAllSlides:l.A.bind(e)})}},51297:(e,t,s)=>{function a(e,t){const s=this,{$wrapperEl:a,params:i,activeIndex:r}=s;let n=r;i.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.slides=a.children(`.${i.slideClass}`));const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides.eq(t);e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?n+t.length:n}else a.append(t);for(let e=0;ea})},15684:(e,t,s)=>{function a(e){const t=this,{$wrapperEl:s,params:a}=t;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;ta})},65748:(e,t,s)=>{function a(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;s.loop&&t.loopDestroy();let r=i+1;if("object"==typeof e&&"length"in e){for(let t=0;ta})},33552:(e,t,s)=>{function a(){const e=this,t=[];for(let s=0;sa})},76884:(e,t,s)=>{function a(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;let r=i;s.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(`.${s.slideClass}`));let n,l=r;if("object"==typeof e&&"length"in e){for(let s=0;sa})},87673:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(21895),i=s(97626),r=s(50587);function n({swiper:e,extendParams:t,on:s,emit:n}){const l=(0,a.zk)();let o;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let d,c=(0,r.tB)();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function m(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&(0,r.tB)()-c<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),n("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),n("scroll",t.raw)),c=(new l.Date).getTime(),!1)))}function f(t){let s=t,a=!0;if(!e.enabled)return;const l=e.params.mousewheel;e.params.cssMode&&s.preventDefault();let c=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(c=(0,i.A)(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!c[0].contains(s.target)&&!l.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let u=0;const h=e.rtlTranslate?-1:1,f=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(l.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;u=-f.pixelX*h}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;u=-f.pixelY}else u=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(0===u)return!0;l.invert&&(u=-u);let g=e.getTranslate()+u*l.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),a=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),a&&e.params.nested&&s.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:(0,r.tB)(),delta:Math.abs(u),direction:Math.sign(u)},a=d&&t.time=e.minTranslate()&&(i=e.minTranslate()),i<=e.maxTranslate()&&(i=e.maxTranslate()),e.setTransition(0),e.setTranslate(i),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!c&&e.isBeginning||!h&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(o),o=void 0,p.length>=15&&p.shift();const s=p.length?p[p.length-1]:void 0,a=p[0];if(p.push(t),s&&(t.delta>s.delta||t.direction!==s.direction))p.splice(0);else if(p.length>=15&&t.time-a.time<500&&a.delta-t.delta>=1&&t.delta<=6){const s=u>0?.8:.2;d=t,p.splice(0),o=(0,r.dY)((()=>{e.slideToClosest(e.params.speed,!0,void 0,s)}),0)}o||(o=(0,r.dY)((()=>{d=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(a||n("scroll",s),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),i===e.minTranslate()||i===e.maxTranslate())return!0}}else{const s={time:(0,r.tB)(),delta:Math.abs(u),direction:Math.sign(u),raw:t};p.length>=2&&p.shift();const a=p.length?p[p.length-1]:void 0;if(p.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&m(s):m(s),function(t){const s=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&s.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function g(t){let s=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(s=(0,i.A)(e.params.mousewheel.eventsTarget)),s[t]("mouseenter",u),s[t]("mouseleave",h),s[t]("wheel",f)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(g("on"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(g("off"),e.mousewheel.enabled=!1,!0)}s("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()})),s("destroy",(()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()})),Object.assign(e.mousewheel,{enable:v,disable:w})}},86233:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(22793),i=s(97626);function r({swiper:e,extendParams:t,on:s,emit:r}){function n(t){let s;return t&&(s=(0,i.A)(t),e.params.uniqueNavElements&&"string"==typeof t&&s.length>1&&1===e.$el.find(t).length&&(s=e.$el.find(t))),s}function l(t,s){const a=e.params.navigation;t&&t.length>0&&(t[s?"addClass":"removeClass"](a.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=s),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](a.lockClass))}function o(){if(e.params.loop)return;const{$nextEl:t,$prevEl:s}=e.navigation;l(s,e.isBeginning&&!e.params.rewind),l(t,e.isEnd&&!e.params.rewind)}function d(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){const t=e.params.navigation;if(e.params.navigation=(0,a.A)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const s=n(t.nextEl),i=n(t.prevEl);s&&s.length>0&&s.on("click",c),i&&i.length>0&&i.on("click",d),Object.assign(e.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(s&&s.addClass(t.lockClass),i&&i.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:s}=e.navigation;t&&t.length&&(t.off("click",c),t.removeClass(e.params.navigation.disabledClass)),s&&s.length&&(s.off("click",d),s.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},s("init",(()=>{!1===e.params.navigation.enabled?h():(p(),o())})),s("toEdge fromEdge lock unlock",(()=>{o()})),s("destroy",(()=>{u()})),s("enable disable",(()=>{const{$nextEl:t,$prevEl:s}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),s&&s[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),s("click",((t,s)=>{const{$nextEl:a,$prevEl:n}=e.navigation,l=s.target;if(e.params.navigation.hideOnClick&&!(0,i.A)(l).is(n)&&!(0,i.A)(l).is(a)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===l||e.pagination.el.contains(l)))return;let t;a?t=a.hasClass(e.params.navigation.hiddenClass):n&&(t=n.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),n&&n.toggleClass(e.params.navigation.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),p(),o()},disable:h,update:o,init:p,destroy:u})}},86301:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(97626),i=s(29942),r=s(22793);function n({swiper:e,extendParams:t,on:s,emit:n}){const l="swiper-pagination";let o;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let d=0;function c(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function p(t,s){const{bulletActiveClass:a}=e.params.pagination;t[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`)}function u(){const t=e.rtl,s=e.params.pagination;if(c())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,l=e.pagination.$el;let u;const h=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>h-1&&(u-=h),u<0&&"bullets"!==e.params.paginationType&&(u=h+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let r,n,c;if(s.dynamicBullets&&(o=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),l.css(e.isHorizontal()?"width":"height",o*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==e.previousIndex&&(d+=u-(e.previousIndex-e.loopedSlides||0),d>s.dynamicMainBullets-1?d=s.dynamicMainBullets-1:d<0&&(d=0)),r=Math.max(u-d,0),n=r+(Math.min(i.length,s.dynamicMainBullets)-1),c=(n+r)/2),i.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`)).join(" ")),l.length>1)i.each((e=>{const t=(0,a.A)(e),i=t.index();i===u&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(i>=r&&i<=n&&t.addClass(`${s.bulletActiveClass}-main`),i===r&&p(t,"prev"),i===n&&p(t,"next"))}));else{const t=i.eq(u),a=t.index();if(t.addClass(s.bulletActiveClass),s.dynamicBullets){const t=i.eq(r),l=i.eq(n);for(let e=r;e<=n;e+=1)i.eq(e).addClass(`${s.bulletActiveClass}-main`);if(e.params.loop)if(a>=i.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)i.eq(i.length-e).addClass(`${s.bulletActiveClass}-main`);i.eq(i.length-s.dynamicMainBullets-1).addClass(`${s.bulletActiveClass}-prev`)}else p(t,"prev"),p(l,"next");else p(t,"prev"),p(l,"next")}}if(s.dynamicBullets){const a=Math.min(i.length,s.dynamicMainBullets+4),r=(o*a-o)/2-c*o,n=t?"right":"left";i.css(e.isHorizontal()?n:"top",`${r}px`)}}if("fraction"===s.type&&(l.find((0,i.A)(s.currentClass)).text(s.formatFractionCurrent(u+1)),l.find((0,i.A)(s.totalClass)).text(s.formatFractionTotal(h))),"progressbar"===s.type){let t;t=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(u+1)/h;let r=1,n=1;"horizontal"===t?r=a:n=a,l.find((0,i.A)(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${n})`).transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(l.html(s.renderCustom(e,u+1,h)),n("paginationRender",l[0])):n("paginationUpdate",l[0]),e.params.watchOverflow&&e.enabled&&l[e.isLocked?"addClass":"removeClass"](s.lockClass)}function h(){const t=e.params.pagination;if(c())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el;let r="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>s&&(n=s);for(let s=0;s`;a.html(r),e.pagination.bullets=a.find((0,i.A)(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,a.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,a.html(r)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0])}function m(){e.params.pagination=(0,r.A)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let s=(0,a.A)(t.el);0!==s.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&s.length>1&&(s=e.$el.find(t.el),s.length>1&&(s=s.filter((t=>(0,a.A)(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&s.addClass(t.clickableClass),s.addClass(t.modifierClass+t.type),s.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(s.addClass(`${t.modifierClass}${t.type}-dynamic`),d=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.addClass(t.progressbarOppositeClass),t.clickable&&s.on("click",(0,i.A)(t.bulletClass),(function(t){t.preventDefault();let s=(0,a.A)(this).index()*e.params.slidesPerGroup;e.params.loop&&(s+=e.loopedSlides),e.slideTo(s)})),Object.assign(e.pagination,{$el:s,el:s[0]}),e.enabled||s.addClass(t.lockClass))}function f(){const t=e.params.pagination;if(c())return;const s=e.pagination.$el;s.removeClass(t.hiddenClass),s.removeClass(t.modifierClass+t.type),s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&s.off("click",(0,i.A)(t.bulletClass))}s("init",(()=>{!1===e.params.pagination.enabled?g():(m(),h(),u())})),s("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),s("snapIndexChange",(()=>{e.params.loop||u()})),s("slidesLengthChange",(()=>{e.params.loop&&(h(),u())})),s("snapGridLengthChange",(()=>{e.params.loop||(h(),u())})),s("destroy",(()=>{f()})),s("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),s("lock unlock",(()=>{u()})),s("click",((t,s)=>{const i=s.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!(0,a.A)(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}}));const g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),m(),h(),u()},disable:g,render:h,update:u,init:m,destroy:f})}},37855:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(97626);function i({swiper:e,extendParams:t,on:s}){t({parallax:{enabled:!1}});const i=(t,s)=>{const{rtl:i}=e,r=(0,a.A)(t),n=i?-1:1,l=r.attr("data-swiper-parallax")||"0";let o=r.attr("data-swiper-parallax-x"),d=r.attr("data-swiper-parallax-y");const c=r.attr("data-swiper-parallax-scale"),p=r.attr("data-swiper-parallax-opacity");if(o||d?(o=o||"0",d=d||"0"):e.isHorizontal()?(o=l,d="0"):(d=l,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*s*n+"%":o*s*n+"px",d=d.indexOf("%")>=0?parseInt(d,10)*s+"%":d*s+"px",null!=p){const e=p-(p-1)*(1-Math.abs(s));r[0].style.opacity=e}if(null==c)r.transform(`translate3d(${o}, ${d}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(s));r.transform(`translate3d(${o}, ${d}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:s,progress:r,snapGrid:n}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,r)})),s.each(((t,s)=>{let l=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(l+=Math.ceil(s/2)-r*(n.length-1)),l=Math.min(Math.max(l,-1),1),(0,a.A)(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,l)}))}))};s("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),s("init",(()=>{e.params.parallax.enabled&&r()})),s("setTranslate",(()=>{e.params.parallax.enabled&&r()})),s("setTransition",((t,s)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:s}=e;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const s=(0,a.A)(e);let i=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;0===t&&(i=0),s.transition(i)}))})(s)}))}},94387:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(21895),i=s(97626),r=s(50587),n=s(22793);function l({swiper:e,extendParams:t,on:s,emit:l}){const o=(0,a.YE)();let d,c,p,u,h=!1,m=null,f=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:s,progress:a}=e,{$dragEl:i,$el:r}=t,n=e.params.scrollbar;let l=c,o=(p-c)*a;s?(o=-o,o>0?(l=c-o,o=0):-o+c>p&&(l=p+o)):o<0?(l=c+o,o=0):o+c>p&&(l=p-o),e.isHorizontal()?(i.transform(`translate3d(${o}px, 0, 0)`),i[0].style.width=`${l}px`):(i.transform(`translate3d(0px, ${o}px, 0)`),i[0].style.height=`${l}px`),n.hide&&(clearTimeout(m),r[0].style.opacity=1,m=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:s,$el:a}=t;s[0].style.width="",s[0].style.height="",p=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),c="auto"===e.params.scrollbar.dragSize?p*u:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s[0].style.width=`${c}px`:s[0].style.height=`${c}px`,a[0].style.display=u>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function w(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function b(t){const{scrollbar:s,rtlTranslate:a}=e,{$el:i}=s;let r;r=(w(t)-i.offset()[e.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(n),e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}function y(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:i}=e,{$el:r,$dragEl:n}=a;h=!0,d=t.target===n[0]||t.target===n?w(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),i.transition(100),n.transition(100),b(t),clearTimeout(f),r.transition(0),s.hide&&r.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),l("scrollbarDragStart",t)}function x(t){const{scrollbar:s,$wrapperEl:a}=e,{$el:i,$dragEl:r}=s;h&&(t.preventDefault?t.preventDefault():t.returnValue=!1,b(t),a.transition(0),i.transition(0),r.transition(0),l("scrollbarDragMove",t))}function E(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:i}=e,{$el:n}=a;h&&(h=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),i.transition("")),s.hide&&(clearTimeout(f),f=(0,r.dY)((()=>{n.css("opacity",0),n.transition(400)}),1e3)),l("scrollbarDragEnd",t),s.snapOnRelease&&e.slideToClosest())}function $(t){const{scrollbar:s,touchEventsTouch:a,touchEventsDesktop:i,params:r,support:n}=e,l=s.$el;if(!l)return;const d=l[0],c=!(!n.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!n.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!d)return;const u="on"===t?"addEventListener":"removeEventListener";n.touch?(d[u](a.start,y,c),d[u](a.move,x,c),d[u](a.end,E,p)):(d[u](i.start,y,c),o[u](i.move,x,c),o[u](i.end,E,p))}function C(){const{scrollbar:t,$el:s}=e;e.params.scrollbar=(0,n.A)(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const a=e.params.scrollbar;if(!a.el)return;let r=(0,i.A)(a.el);e.params.uniqueNavElements&&"string"==typeof a.el&&r.length>1&&1===s.find(a.el).length&&(r=s.find(a.el)),r.addClass(e.isHorizontal()?a.horizontalClass:a.verticalClass);let l=r.find(`.${e.params.scrollbar.dragClass}`);0===l.length&&(l=(0,i.A)(`
`),r.append(l)),Object.assign(t,{$el:r,el:r[0],$dragEl:l,dragEl:l[0]}),a.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&$("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function T(){const t=e.params.scrollbar,s=e.scrollbar.$el;s&&s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&$("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},s("init",(()=>{!1===e.params.scrollbar.enabled?S():(C(),v(),g())})),s("update resize observerUpdate lock unlock",(()=>{v()})),s("setTranslate",(()=>{g()})),s("setTransition",((t,s)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(s)})),s("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),s("destroy",(()=>{T()}));const S=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),C(),v(),g()},disable:S,updateSize:v,setTranslate:g,init:C,destroy:T})}},93663:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(50587),i=s(97626);function r({swiper:e,extendParams:t,on:s}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!1;function l(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const s=t.clickedIndex,a=t.clickedSlide;if(a&&(0,i.A)(a).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let r;if(r=t.params.loop?parseInt((0,i.A)(t.clickedSlide).attr("data-swiper-slide-index"),10):s,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const s=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),a=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===s?a:void 0===a?s:a-t1&&!e.params.centeredSlides&&(i=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.removeClass(r),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let t=0;t1?a:o:a-oe.previousIndex?"next":"prev"}else i=e.realIndex,r=i>e.previousIndex?"next":"prev";l&&(i+="next"===r?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(i)<0&&(s.params.centeredSlides?i=i>o?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>o&&s.params.slidesPerGroup,s.slideTo(i,t?0:void 0))}}e.thumbs={swiper:null},s("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(o(),d(!0))})),s("slideChange update resize observerUpdate",(()=>{d()})),s("setTransition",((t,s)=>{const a=e.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),s("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&n&&t.destroy()})),Object.assign(e.thumbs,{init:o,update:d})}},19759:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(97626),i=s(50587);function r({swiper:e,extendParams:t,on:s,emit:r}){let n;function l(t,s){const i=e.params.virtual;if(i.cache&&e.virtual.cache[s])return e.virtual.cache[s];const r=i.renderSlide?(0,a.A)(i.renderSlide.call(e,t,s)):(0,a.A)(`
${t}
`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",s),i.cache&&(e.virtual.cache[s]=r),r}function o(t){const{slidesPerView:s,slidesPerGroup:a,centeredSlides:i}=e.params,{addSlidesBefore:n,addSlidesAfter:o}=e.params.virtual,{from:d,to:c,slides:p,slidesGrid:u,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const m=e.activeIndex||0;let f,g,v;f=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",i?(g=Math.floor(s/2)+a+o,v=Math.floor(s/2)+a+n):(g=s+(a-1)+o,v=a+n);const w=Math.max((m||0)-v,0),b=Math.min((m||0)+g,p.length-1),y=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function x(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:y,slidesGrid:e.slidesGrid}),d===w&&c===b&&!t)return e.slidesGrid!==u&&y!==h&&e.slides.css(f,`${y}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:y,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?x():r("virtualUpdate"));const E=[],$=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=d;t<=c;t+=1)(tb)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=w&&e<=b&&(void 0===c||t?$.push(e):(e>c&&$.push(e),e{e.$wrapperEl.append(l(p[t],t))})),E.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(l(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(f,`${y}px`),x()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},s("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||o())})),s("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(n),n=setTimeout((()=>{o()}),100)):o())})),s("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&(0,i.LY)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let s=0;s{const a=t[e],r=a.attr("data-swiper-slide-index");r&&a.attr("data-swiper-slide-index",parseInt(r,10)+i),s[parseInt(e,10)+i]=a})),e.virtual.cache=s}o(!0),e.slideTo(a,0)},removeSlide:function(t){if(null==t)return;let s=e.activeIndex;if(Array.isArray(t))for(let a=t.length-1;a>=0;a-=1)e.virtual.slides.splice(t[a],1),e.params.virtual.cache&&delete e.virtual.cache[t[a]],t[a]{s.d(t,{A:()=>n});var a=s(21895),i=s(97626),r=s(50587);function n({swiper:e,extendParams:t,on:s,emit:n}){const l=(0,a.zk)();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o,d,c,p=1,u=!1;const h={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,s=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((a-t)**2+(i-s)**2)}function w(t){const s=e.support,a=e.params.zoom;if(d=!1,c=!1,!s.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;d=!0,h.scaleStart=v(t)}h.$slideEl&&h.$slideEl.length||(h.$slideEl=(0,i.A)(t.target).closest(`.${e.params.slideClass}`),0===h.$slideEl.length&&(h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`),h.maxRatio=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==h.$imageWrapEl.length)?(h.$imageEl&&h.$imageEl.transition(0),u=!0):h.$imageEl=void 0}function b(t){const s=e.support,a=e.params.zoom,i=e.zoom;if(!s.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;c=!0,h.scaleMove=v(t)}h.$imageEl&&0!==h.$imageEl.length?(s.gestures?i.scale=t.scale*p:i.scale=h.scaleMove/h.scaleStart*p,i.scale>h.maxRatio&&(i.scale=h.maxRatio-1+(i.scale-h.maxRatio+1)**.5),i.scalem.touchesStart.x))return void(m.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.ym.touchesStart.y))return void(m.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),m.isMoved=!0,m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX,m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY,m.currentXm.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentYm.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=m.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=m.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(m.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(m.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(m.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(m.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=m.touchesCurrent.x,f.prevPositionY=m.touchesCurrent.y,f.prevTime=Date.now(),h.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}}function E(){const t=e.zoom;h.$slideEl&&e.previousIndex!==e.activeIndex&&(h.$imageEl&&h.$imageEl.transform("translate3d(0,0,0) scale(1)"),h.$imageWrapEl&&h.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,h.$slideEl=void 0,h.$imageEl=void 0,h.$imageWrapEl=void 0)}function $(t){const s=e.zoom,a=e.params.zoom;if(h.$slideEl||(t&&t.target&&(h.$slideEl=(0,i.A)(t.target).closest(`.${e.params.slideClass}`)),h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`)),!h.$imageEl||0===h.$imageEl.length||!h.$imageWrapEl||0===h.$imageWrapEl.length)return;let r,n,o,d,c,u,f,g,v,w,b,y,x,E,$,C,T,S;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),h.$slideEl.addClass(`${a.zoomedSlideClass}`),void 0===m.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=m.touchesStart.x,n=m.touchesStart.y),s.scale=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,p=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,t?(T=h.$slideEl[0].offsetWidth,S=h.$slideEl[0].offsetHeight,o=h.$slideEl.offset().left+l.scrollX,d=h.$slideEl.offset().top+l.scrollY,c=o+T/2-r,u=d+S/2-n,v=h.$imageEl[0].offsetWidth,w=h.$imageEl[0].offsetHeight,b=v*s.scale,y=w*s.scale,x=Math.min(T/2-b/2,0),E=Math.min(S/2-y/2,0),$=-x,C=-E,f=c*s.scale,g=u*s.scale,f$&&(f=$),gC&&(g=C)):(f=0,g=0),h.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}px,0)`),h.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)}function C(){const t=e.zoom,s=e.params.zoom;h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex),h.$imageEl=h.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${s.containerClass}`)),h.$imageEl&&0!==h.$imageEl.length&&h.$imageWrapEl&&0!==h.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,h.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),h.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),h.$slideEl.removeClass(`${s.zoomedSlideClass}`),h.$slideEl=void 0)}function T(t){const s=e.zoom;s.scale&&1!==s.scale?C():$(t)}function S(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function A(){return`.${e.params.slideClass}`}function M(t){const{passiveListener:s}=S(),a=A();e.$wrapperEl[t]("gesturestart",a,w,s),e.$wrapperEl[t]("gesturechange",a,b,s),e.$wrapperEl[t]("gestureend",a,y,s)}function k(){o||(o=!0,M("on"))}function P(){o&&(o=!1,M("off"))}function z(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const s=e.support,{passiveListener:a,activeListenerWithCapture:i}=S(),r=A();s.gestures?(e.$wrapperEl.on(e.touchEvents.start,k,a),e.$wrapperEl.on(e.touchEvents.end,P,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,a),e.$wrapperEl.on(e.touchEvents.move,r,b,i),e.$wrapperEl.on(e.touchEvents.end,r,y,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,y,a)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,x,i)}function L(){const t=e.zoom;if(!t.enabled)return;const s=e.support;t.enabled=!1;const{passiveListener:a,activeListenerWithCapture:i}=S(),r=A();s.gestures?(e.$wrapperEl.off(e.touchEvents.start,k,a),e.$wrapperEl.off(e.touchEvents.end,P,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,a),e.$wrapperEl.off(e.touchEvents.move,r,b,i),e.$wrapperEl.off(e.touchEvents.end,r,y,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,y,a)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,x,i)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=h.$imageEl?h.$imageEl[0]:void 0,s=h.$slideEl?h.$slideEl[0]:void 0;n("zoomChange",e,t,s)}g=e}}),s("init",(()=>{e.params.zoom.enabled&&z()})),s("destroy",(()=>{L()})),s("touchStart",((t,s)=>{e.zoom.enabled&&function(t){const s=e.device;h.$imageEl&&0!==h.$imageEl.length&&(m.isTouched||(s.android&&t.cancelable&&t.preventDefault(),m.isTouched=!0,m.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,m.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(s)})),s("touchEnd",((t,s)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!h.$imageEl||0===h.$imageEl.length)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let s=300,a=300;const i=f.x*s,r=m.currentX+i,n=f.y*a,l=m.currentY+n;0!==f.x&&(s=Math.abs((r-m.currentX)/f.x)),0!==f.y&&(a=Math.abs((l-m.currentY)/f.y));const o=Math.max(s,a);m.currentX=r,m.currentY=l;const d=m.width*t.scale,c=m.height*t.scale;m.minX=Math.min(h.slideWidth/2-d/2,0),m.maxX=-m.minX,m.minY=Math.min(h.slideHeight/2-c/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),h.$imageWrapEl.transition(o).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}()})),s("doubleTap",((t,s)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&T(s)})),s("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&E()})),s("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&E()})),Object.assign(e.zoom,{enable:z,disable:L,in:$,out:C,toggle:T})}},29942:(e,t,s)=>{function a(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}s.d(t,{A:()=>a})},22793:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(21895);function i(e,t,s,i){const r=(0,a.YE)();return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=e.$el.children(`.${i[a]}`)[0];n||(n=r.createElement("div"),n.className=i[a],e.$el.append(n)),s[a]=n,t[a]=n}})),s}},25837:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(97626);function i(e,t,s){const i="swiper-slide-shadow"+(s?`-${s}`:""),r=e.transformEl?t.find(e.transformEl):t;let n=r.children(`.${i}`);return n.length||(n=(0,a.A)(`
`),r.append(n)),n}},97626:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(12411);const i={addClass:a.iQ,removeClass:a.vy,hasClass:a.nB,toggleClass:a.p1,attr:a.CF,removeAttr:a.K$,transform:a.pd,transition:a.kY,on:a.on,off:a.AU,trigger:a.hZ,transitionEnd:a.XQ,outerWidth:a.Gq,outerHeight:a.DK,styles:a.R7,offset:a.cY,css:a.AH,each:a.HN,html:a.qy,text:a.Qq,is:a.is,index:a.Pe,eq:a.eq,append:a.BC,prepend:a.Hs,next:a.K2,nextAll:a.HW,prev:a.YL,prevAll:a.zy,parent:a.$t,parents:a.M8,closest:a.kp,find:a.I6,children:a.Y_,filter:a.pb,remove:a.TF};Object.keys(i).forEach((e=>{Object.defineProperty(a.$.fn,e,{value:i[e],writable:!0})}));const r=a.$},25996:(e,t,s)=>{function a(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.each((e=>{s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}s.d(t,{A:()=>a})},43563:(e,t,s)=>{function a(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}s.d(t,{A:()=>a})},99875:(e,t,s)=>{function a({swiper:e,duration:t,transformEl:s,allSlides:a}){const{slides:i,activeIndex:r,$wrapperEl:n}=e;if(e.params.virtualTranslate&&0!==t){let t,l=!1;t=a?s?i.find(s):i:s?i.eq(r).find(s):i.eq(r),t.transitionEnd((()=>{if(l)return;if(!e||e.destroyed)return;l=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;ea})},79167:(e,t,s)=>{s.d(t,{X:()=>r});var a=s(21895);let i;function r(){return i||(i=function(){const e=(0,a.zk)();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),i}},61957:(e,t,s)=>{s.d(t,{P:()=>n});var a=s(21895),i=s(96076);let r;function n(e={}){return r||(r=function({userAgent:e}={}){const t=(0,i.k)(),s=(0,a.zk)(),r=s.navigator.platform,n=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,d=s.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===r;let f="MacIntel"===r;return!p&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!m&&(l.os="android",l.android=!0),(p||h||u)&&(l.os="ios",l.ios=!0),l}(e)),r}},96076:(e,t,s)=>{s.d(t,{k:()=>r});var a=s(21895);let i;function r(){return i||(i=function(){const e=(0,a.zk)(),t=(0,a.YE)();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),i}},50587:(e,t,s)=>{s.d(t,{Gv:()=>o,LY:()=>c,X$:()=>d,dY:()=>r,dy:()=>p,oR:()=>i,ro:()=>l,tB:()=>n});var a=s(21895);function i(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function r(e,t=0){return setTimeout(e,t)}function n(){return Date.now()}function l(e,t="x"){const s=(0,a.zk)();let i,r,n;const l=function(e){const t=(0,a.zk)();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===r?"":r)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),"x"===t&&(r=s.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=s.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(...e){const t=Object(e[0]),s=["__proto__","constructor","prototype"];for(let i=1;is.indexOf(e)<0));for(let s=0,a=e.length;sr?"next":"prev",c=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,p=()=>{n=(new Date).getTime(),null===l&&(l=n);const a=Math.max(Math.min((n-l)/o,1),0),d=.5-Math.cos(a*Math.PI)/2;let u=r+d*(t-r);if(c(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),c(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})})),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(p)};p()}},83280:(e,t,s)=>{s.d(t,{A:()=>a.A});var a=s(83277),i=s(19759),r=s(49503),n=s(87673),l=s(86233),o=s(86301),d=s(94387),c=s(37855),p=s(39567),u=s(31949),h=s(89677),m=s(70049),f=s(32015),g=s(25855),v=s(70079),w=s(93663),b=s(33887),y=s(60541),x=s(23247),E=s(96027),$=s(22459),C=s(16559),T=s(24931),S=s(55151),A=s(43875);const M=[i.A,r.A,n.A,l.A,o.A,d.A,c.A,p.A,u.A,h.A,m.A,f.A,g.A,v.A,w.A,b.A,y.A,x.A,E.A,$.A,C.A,T.A,S.A,A.A];a.A.use(M)}},t={};function s(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);s(7311)})(); \ No newline at end of file +__("Slide %1$s of %2$s","jetpack-mu-wpcom"),this.realIndex+1,this.pagination?.bullets?.length||0);(0,a.speak)((0,i.escapeHTML)(`${e.innerText},\n\t\t\t\t\t\t\t${s?/* translators: the title of the image. */ /* translators: the title of the image. */(0,r.sprintf)(__("Image: %s, ","jetpack-mu-wpcom"),s):""}\n\t\t\t\t\t\t\t${n}`),"assertive")}}}});function p(){const{aspectRatio:e}=t;Array.from(this.slides).forEach((t=>{t.style.height=t.clientWidth*e+"px"}))}if(s.on("imagesReady",p),s.on("resize",p),t.autoplay){function u(){s.autoplay.stop(),e.play.focus()}function h(){s.autoplay.start(),e.pause.focus()}s.on("init",(function(){e.play.addEventListener("click",h),e.pause.addEventListener("click",u)})),s.on("autoplayStart",(function(){e.block.classList.add(l),(0,a.speak)(__("Playing","jetpack-mu-wpcom"),"assertive")})),s.on("autoplayStop",(function(){e.block.classList.remove(l),(0,a.speak)(__("Paused","jetpack-mu-wpcom"),"assertive")})),s.on("beforeDestroy",(function(){e.play.removeEventListener("click",h),e.pause.removeEventListener("click",u)}))}return s.init(),s}},7311:(e,t,s)=>{var a=s(8490),i=s.n(a),r=s(2895);"undefined"!=typeof window&&i()((()=>{Array.from(document.querySelectorAll(".wp-block-newspack-blocks-carousel")).forEach((e=>{new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const t=parseInt(e.dataset.slidesPerView),s=parseInt(e.dataset.slideCount);(0,r.A)({block:e,container:e.querySelector(".swiper"),prev:e.querySelector(".swiper-button-prev"),next:e.querySelector(".swiper-button-next"),pagination:e.querySelector(".swiper-pagination-bullets"),pause:e.querySelector(".swiper-button-pause"),play:e.querySelector(".swiper-button-play")},{aspectRatio:parseFloat(e.dataset.aspectRatio),autoplay:!!parseInt(e.dataset.autoplay),delay:1e3*parseInt(e.dataset.autoplay_delay),slidesPerView:t<=s?t:s,spaceBetween:16})}}))}),{threshold:.25}).observe(e)}))}))},195:e=>{e.exports=window.wp.a11y},8490:e=>{e.exports=window.wp.domReady},9877:e=>{e.exports=window.wp.escapeHtml},7723:e=>{e.exports=window.wp.i18n},2411:(e,t,s)=>{s.d(t,{$:()=>l,$t:()=>G,AH:()=>C,AU:()=>v,BC:()=>L,CF:()=>u,DK:()=>x,Gq:()=>y,HN:()=>T,HW:()=>D,Hs:()=>I,I6:()=>N,K$:()=>h,K2:()=>O,M8:()=>H,Pe:()=>P,Qq:()=>M,R7:()=>$,TF:()=>R,XQ:()=>b,YL:()=>Y,Y_:()=>q,cY:()=>E,eq:()=>z,hZ:()=>w,iQ:()=>o,is:()=>k,kY:()=>f,kp:()=>X,nB:()=>p,on:()=>g,p1:()=>c,pb:()=>S,pd:()=>m,qy:()=>A,vy:()=>d,zy:()=>B});var a=s(1895);class i extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function r(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...r(e)):t.push(e)})),t}function n(e,t){return Array.prototype.filter.call(e,t)}function l(e,t){const s=(0,a.zk)(),r=(0,a.YE)();let n=[];if(!t&&e instanceof i)return e;if(!e)return new i(n);if("string"==typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this}function d(...e){const t=r(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this}function c(...e){const t=r(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))}function p(...e){const t=r(e.map((e=>e.split(" "))));return n(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0}function u(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s=0;e-=1){const s=n[e];a&&s.listener===a||a&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===a?(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1)):a||(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1))}}}return this}function w(...e){const t=(0,a.zk)(),s=e[0].split(" "),i=e[1];for(let a=0;at>0)),a.dispatchEvent(s),a.dom7EventData=[],delete a.dom7EventData}}}return this}function b(e){const t=this;return e&&t.on("transitionend",(function s(a){a.target===this&&(e.call(this,a),t.off("transitionend",s))})),this}function y(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function x(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function E(){if(this.length>0){const e=(0,a.zk)(),t=(0,a.YE)(),s=this[0],i=s.getBoundingClientRect(),r=t.body,n=s.clientTop||r.clientTop||0,l=s.clientLeft||r.clientLeft||0,o=s===e?e.scrollY:s.scrollTop,d=s===e?e.scrollX:s.scrollLeft;return{top:i.top+o-n,left:i.left+d-l}}return null}function $(){const e=(0,a.zk)();return this[0]?e.getComputedStyle(this[0],null):{}}function C(e,t){const s=(0,a.zk)();let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i{e.apply(t,[t,s])})),this):this}function S(e){return l(n(this,e))}function A(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return l([]);if(e<0){const s=t+e;return l(s<0?[]:[this[s]])}return l([this[e]])}function L(...e){let t;const s=(0,a.YE)();for(let a=0;a=0;r-=1)this[s].insertBefore(a.childNodes[r],this[s].childNodes[0])}else if(e instanceof i)for(r=0;r0?e?this[0].nextElementSibling&&l(this[0].nextElementSibling).is(e)?l([this[0].nextElementSibling]):l([]):this[0].nextElementSibling?l([this[0].nextElementSibling]):l([]):l([])}function D(e){const t=[];let s=this[0];if(!s)return l([]);for(;s.nextElementSibling;){const a=s.nextElementSibling;e?l(a).is(e)&&t.push(a):t.push(a),s=a}return l(t)}function Y(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&l(t.previousElementSibling).is(e)?l([t.previousElementSibling]):l([]):t.previousElementSibling?l([t.previousElementSibling]):l([])}return l([])}function B(e){const t=[];let s=this[0];if(!s)return l([]);for(;s.previousElementSibling;){const a=s.previousElementSibling;e?l(a).is(e)&&t.push(a):t.push(a),s=a}return l(t)}function G(e){const t=[];for(let s=0;s{function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){Object.keys(t).forEach((s=>{void 0===e[s]?e[s]=t[s]:a(t[s])&&a(e[s])&&Object.keys(t[s]).length>0&&i(e[s],t[s])}))}s.d(t,{YE:()=>n,zk:()=>o});const r={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function n(){const e="undefined"!=typeof document?document:{};return i(e,r),e}const l={document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){const e="undefined"!=typeof window?window:{};return i(e,l),e}},6100:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(1895);function i(e,t="window",s){if(!e||"container"===t&&!s)return;let i=!1;const r=(0,a.zk)(),n="window"===t?r.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e{s.d(t,{A:()=>r});var a=s(6352),i=s(6100);const r={setBreakpoint:a.A,getBreakpoint:i.A}},6352:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(587);const i=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function r(){const e=this,{activeIndex:t,initialized:s,loopedSlides:r=0,params:n,$el:l}=e,o=n.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const d=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!d||e.currentBreakpoint===d)return;const c=(d in o?o[d]:void 0)||e.originalParams,p=i(e,n),u=i(e,c),h=n.enabled;p&&!u?(l.removeClass(`${n.containerModifierClass}grid ${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(l.addClass(`${n.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===n.grid.fill)&&l.addClass(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=n[t]&&n[t].enabled,a=c[t]&&c[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const m=c.direction&&c.direction!==n.direction,f=n.loop&&(c.slidesPerView!==n.slidesPerView||m);m&&s&&e.changeDirection(),(0,a.X$)(e.params,c);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!g?e.disable():!h&&g&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",c),f&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}},736:(e,t,s)=>{s.d(t,{A:()=>a});const a={checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},9374:(e,t,s)=>{function a(){const e=this,{classNames:t,params:s,rtl:a,$el:i,device:r,support:n}=e,l=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!n.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...l),i.addClass([...t].join(" ")),e.emitContainerClasses()}s.d(t,{A:()=>a})},799:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(9374),i=s(6167);const r={addClasses:a.A,removeClasses:i.A}},6167:(e,t,s)=>{function a(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}s.d(t,{A:()=>a})},3277:(e,t,s)=>{s.d(t,{A:()=>M});var a=s(1895),i=s(7626),r=s(587),n=s(6076),l=s(1957),o=s(9167),d=s(7875),c=s(1639),p=s(8260),u=s(5e3),h=s(4361),m=s(3010),f=s(3438),g=s(6299),v=s(1800),w=s(7912),b=s(1183),y=s(799),x=s(8331),E=s(736),$=s(1880),C=s(2040);const T={eventsEmitter:p.A,update:u.A,translate:h.A,transition:m.A,slide:f.A,loop:g.A,grabCursor:v.A,events:w.A,breakpoints:b.A,checkOverflow:E.A,classes:y.A,images:x.A},S={};class A{constructor(...e){let t,s;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?s=e[0]:[t,s]=e,s||(s={}),s=(0,r.X$)({},s),t&&!s.el&&(s.el=t),s.el&&(0,i.A)(s.el).length>1){const e=[];return(0,i.A)(s.el).each((t=>{const a=(0,r.X$)({},s,{el:t});e.push(new A(a))})),e}const a=this;a.__swiper__=!0,a.support=(0,n.k)(),a.device=(0,l.P)({userAgent:s.userAgent}),a.browser=(0,o.X)(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],s.modules&&Array.isArray(s.modules)&&a.modules.push(...s.modules);const d={};a.modules.forEach((e=>{e({swiper:a,extendParams:(0,C.A)(s,d),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const c=(0,r.X$)({},$.A,d);return a.params=(0,r.X$)({},c,S,s),a.originalParams=(0,r.X$)({},a.params),a.passedParams=(0,r.X$)({},s),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=i.A,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:(0,i.A)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:(0,r.tB)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if(s.centeredSlides){let e,t=a[l].swiperSlideSize;for(let s=l+1;sn&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e=0;e-=1){i[l]-i[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const s=(0,i.A)(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let n=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=(0,i.A)(e.shadowRoot.querySelector(r()));return t.children=e=>s.children(e),t}return s.children?s.children(r()):(0,i.A)(s).children(r())})();if(0===n.length&&t.params.createElements){const e=(0,a.YE)().createElement("div");n=(0,i.A)(e),e.className=t.params.wrapperClass,s.append(e),s.children(`.${t.params.slideClass}`).each((e=>{n.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const s=this,{params:a,$el:i,$wrapperEl:n,slides:l}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),n.removeAttr("style"),l&&l.length&&l.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,(0,r.oR)(s)),s.destroyed=!0),null}static extendDefaults(e){(0,r.X$)(S,e)}static get extendedDefaults(){return S}static get defaults(){return $.A}static installModule(e){A.prototype.__modules__||(A.prototype.__modules__=[]);const t=A.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>A.installModule(e))),A):(A.installModule(e),A)}}Object.keys(T).forEach((e=>{Object.keys(T[e]).forEach((t=>{A.prototype[t]=T[e][t]}))})),A.use([d.A,c.A]);const M=A},1880:(e,t,s)=>{s.d(t,{A:()=>a});const a={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1}},8260:(e,t,s)=>{s.d(t,{A:()=>a});const a={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(...s){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(a,s)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let s,a,i;"string"==typeof e[0]||Array.isArray(e[0])?(s=e[0],a=e.slice(1,e.length),i=t):(s=e[0].events,a=e[0].data,i=e[0].context||t),a.unshift(i);return(Array.isArray(s)?s:s.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...a])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,a)}))})),t}}},7912:(e,t,s)=>{s.d(t,{A:()=>h});var a=s(1895),i=s(6446),r=s(3937),n=s(8707),l=s(1087),o=s(1951),d=s(4266);let c=!1;function p(){}const u=(e,t)=>{const s=(0,a.YE)(),{params:i,touchEvents:r,el:n,wrapperEl:o,device:d,support:c}=e,p=!!i.nested,u="on"===t?"addEventListener":"removeEventListener",h=t;if(c.touch){const t=!("touchstart"!==r.start||!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n[u](r.start,e.onTouchStart,t),n[u](r.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:p}:p),n[u](r.end,e.onTouchEnd,t),r.cancel&&n[u](r.cancel,e.onTouchEnd,t)}else n[u](r.start,e.onTouchStart,!1),s[u](r.move,e.onTouchMove,p),s[u](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&n[u]("click",e.onClick,!0),i.cssMode&&o[u]("scroll",e.onScroll),i.updateOnWindowResize?e[h](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",l.A,!0):e[h]("observerUpdate",l.A,!0)};const h={attachEvents:function(){const e=this,t=(0,a.YE)(),{params:s,support:l}=e;e.onTouchStart=i.A.bind(e),e.onTouchMove=r.A.bind(e),e.onTouchEnd=n.A.bind(e),s.cssMode&&(e.onScroll=d.A.bind(e)),e.onClick=o.A.bind(e),l.touch&&!c&&(t.addEventListener("touchstart",p),c=!0),u(e,"on")},detachEvents:function(){u(this,"off")}}},1951:(e,t,s)=>{function a(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}s.d(t,{A:()=>a})},1087:(e,t,s)=>{function a(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}s.d(t,{A:()=>a})},4266:(e,t,s)=>{function a(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}s.d(t,{A:()=>a})},8707:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(587);function i(e){const t=this,s=t.touchEventsData,{params:i,touches:r,rtlTranslate:n,slidesGrid:l,enabled:o}=t;if(!o)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",d),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&i.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);i.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=(0,a.tB)(),p=c-s.touchStartTime;if(t.allowClick){const e=d.path||d.composedPath&&d.composedPath();t.updateClickedSlide(e&&e[0]||d.target),t.emit("tap click",d),p<300&&c-s.lastClickTime<300&&t.emit("doubleTap doubleClick",d)}if(s.lastClickTime=(0,a.tB)(),(0,a.dY)((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===r.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let u;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,u=i.followFinger?n?t.translate:-t.translate:-s.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let h=0,m=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&u=l[e]&&(h=e,m=l[l.length-1]-l[l.length-2])}let f=null,g=null;i.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const v=(u-l[h])/m,w=hi.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?f:h+w):t.slideTo(h)),"prev"===t.swipeDirection&&(v>1-i.longSwipesRatio?t.slideTo(h+w):null!==g&&v<0&&Math.abs(v)>i.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(h+w):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==f?f:h+w),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:h))}}},3937:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(1895),i=s(7626),r=s(587);function n(e){const t=(0,a.YE)(),s=this,n=s.touchEventsData,{params:l,touches:o,rtlTranslate:d,enabled:c}=s;if(!c)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&s.emit("touchMoveOpposite",p));if(n.isTouchEvent&&"touchmove"!==p.type)return;const u="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),h="touchmove"===p.type?u.pageX:p.pageX,m="touchmove"===p.type?u.pageY:p.pageY;if(p.preventedByNestedSwiper)return o.startX=h,void(o.startY=m);if(!s.allowTouchMove)return(0,i.A)(p.target).is(n.focusableElements)||(s.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:h,startY:m,currentX:h,currentY:m}),n.touchStartTime=(0,r.tB)()));if(n.isTouchEvent&&l.touchReleaseOnEdges&&!l.loop)if(s.isVertical()){if(mo.startY&&s.translate>=s.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(ho.startX&&s.translate>=s.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&(0,i.A)(p.target).is(n.focusableElements))return n.isMoved=!0,void(s.allowClick=!1);if(n.allowTouchCallbacks&&s.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;o.currentX=h,o.currentY=m;const f=o.currentX-o.startX,g=o.currentY-o.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,n.isScrolling=s.isHorizontal()?e>l.touchAngle:90-e>l.touchAngle)}if(n.isScrolling&&s.emit("touchMoveOpposite",p),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;s.allowClick=!1,!l.cssMode&&p.cancelable&&p.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&p.stopPropagation(),n.isMoved||(l.loop&&!l.cssMode&&s.loopFix(),n.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!l.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)),s.emit("sliderMove",p),n.isMoved=!0;let v=s.isHorizontal()?f:g;o.diff=v,v*=l.touchRatio,d&&(v=-v),s.swipeDirection=v>0?"prev":"next",n.currentTranslate=v+n.startTranslate;let w=!0,b=l.resistanceRatio;if(l.touchReleaseOnEdges&&(b=0),v>0&&n.currentTranslate>s.minTranslate()?(w=!1,l.resistance&&(n.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+n.startTranslate+v)**b)):v<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),s.allowSlidePrev||s.allowSlideNext||(n.currentTranslate=n.startTranslate),l.threshold>0){if(!(Math.abs(v)>l.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=s.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}l.followFinger&&!l.cssMode&&((l.freeMode&&l.freeMode.enabled&&s.freeMode||l.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&l.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(n.currentTranslate),s.setTranslate(n.currentTranslate))}},6446:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(1895),i=s(7626),r=s(587);function n(e){const t=this,s=(0,a.YE)(),n=(0,a.zk)(),l=t.touchEventsData,{params:o,touches:d,enabled:c}=t;if(!c)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let u=(0,i.A)(p.target);if("wrapper"===o.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(l.isTouchEvent="touchstart"===p.type,!l.isTouchEvent&&"which"in p&&3===p.which)return;if(!l.isTouchEvent&&"button"in p&&p.button>0)return;if(l.isTouched&&l.isMoved)return;const h=!!o.noSwipingClass&&""!==o.noSwipingClass,m=e.composedPath?e.composedPath():e.path;h&&p.target&&p.target.shadowRoot&&m&&(u=(0,i.A)(m[0]));const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,g=!(!p.target||!p.target.shadowRoot);if(o.noSwiping&&(g?function(e,t=this){return function t(s){if(!s||s===(0,a.YE)()||s===(0,a.zk)())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,u[0]):u.closest(f)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!u.closest(o.swipeHandler)[0])return;d.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,d.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const v=d.currentX,w=d.currentY,b=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,y=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(b&&(v<=y||v>=n.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}if(Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=v,d.startY=w,l.touchStartTime=(0,r.tB)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(l.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;u.is(l.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(l.isTouched=!1)),s.activeElement&&(0,i.A)(s.activeElement).is(l.focusableElements)&&s.activeElement!==u[0]&&s.activeElement.blur();const a=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!a||u[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}},1800:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(7760),i=s(1589);const r={setGrabCursor:a.A,unsetGrabCursor:i.A}},7760:(e,t,s)=>{function a(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"}s.d(t,{A:()=>a})},1589:(e,t,s)=>{function a(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}s.d(t,{A:()=>a})},8331:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(4258),i=s(24);const r={loadImage:a.A,preloadImages:i.A}},4258:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(1895),i=s(7626);function r(e,t,s,r,n,l){const o=(0,a.zk)();let d;function c(){l&&l()}(0,i.A)(e).parent("picture")[0]||e.complete&&n?c():t?(d=new o.Image,d.onload=c,d.onerror=c,r&&(d.sizes=r),s&&(d.srcset=s),t&&(d.src=t)):c()}},24:(e,t,s)=>{function a(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;sa})},6299:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(9989),i=s(506),r=s(5031);const n={loopCreate:a.A,loopFix:i.A,loopDestroy:r.A}},9989:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(1895),i=s(7626);function r(){const e=this,t=(0,a.YE)(),{params:s,$wrapperEl:r}=e,n=r.children().length>0?(0,i.A)(r.children()[0].parentNode):r;n.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let l=n.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-l.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let a=0;al.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=l.length);const o=[],d=[];l.each(((e,t)=>{(0,i.A)(e).attr("data-swiper-slide-index",t)}));for(let t=0;t=0;e-=1)n.prepend((0,i.A)(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass))}},5031:(e,t,s)=>{function a(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}s.d(t,{A:()=>a})},506:(e,t,s)=>{function a(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:a,allowSlidePrev:i,allowSlideNext:r,snapGrid:n,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-n[t]-e.getTranslate();if(t=s.length-a){o=-s.length+t+a,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}e.allowSlidePrev=i,e.allowSlideNext=r,e.emit("loopFix")}s.d(t,{A:()=>a})},2040:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(587);function i(e,t){return function(s={}){const i=Object.keys(s)[0],r=s[i];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in r?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),(0,a.X$)(t,s)):(0,a.X$)(t,s)):(0,a.X$)(t,s)}}},1639:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(1895);function i({swiper:e,extendParams:t,on:s,emit:i}){const r=[],n=(0,a.zk)(),l=(e,t={})=>{const s=new(n.MutationObserver||n.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}},7875:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(1895);function i({swiper:e,on:t,emit:s}){const i=(0,a.zk)();let r=null,n=null;const l=()=>{e&&!e.destroyed&&e.initialized&&(s("beforeResize"),s("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&s("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{n=i.requestAnimationFrame((()=>{const{width:s,height:a}=e;let i=s,r=a;t.forEach((({contentBoxSize:t,contentRect:s,target:a})=>{a&&a!==e.el||(i=s?s.width:(t[0]||t).inlineSize,r=s?s.height:(t[0]||t).blockSize)})),i===s&&r===a||l()}))})),r.observe(e.el)):(i.addEventListener("resize",l),i.addEventListener("orientationchange",o))})),t("destroy",(()=>{n&&i.cancelAnimationFrame(n),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",o)}))}},3438:(e,t,s)=>{s.d(t,{A:()=>c});var a=s(682),i=s(1636),r=s(8170),n=s(2166),l=s(1540),o=s(7015),d=s(5068);const c={slideTo:a.A,slideToLoop:i.A,slideNext:r.A,slidePrev:n.A,slideReset:l.A,slideToClosest:o.A,slideToClickedSlide:d.A}},8170:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){const a=this,{animating:i,enabled:r,params:n}=a;if(!r)return a;let l=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndexa})},2166:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){const a=this,{params:i,animating:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:d}=a;if(!d)return a;if(i.loop){if(r&&i.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(o?a.translate:-a.translate),u=n.map((e=>c(e)));let h=n[u.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;n.forEach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(h=n[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=l.indexOf(h),m<0&&(m=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return a.slideTo(m,e,t,s)}s.d(t,{A:()=>a})},1540:(e,t,s)=>{function a(e=this.params.speed,t=!0,s){return this.slideTo(this.activeIndex,e,t,s)}s.d(t,{A:()=>a})},682:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(587);function i(e=0,t=this.params.speed,s=!0,i,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let l=e;l<0&&(l=0);const{params:o,snapGrid:d,slidesGrid:c,previousIndex:p,activeIndex:u,rtlTranslate:h,wrapperEl:m,enabled:f}=n;if(n.animating&&o.preventInteractionOnTransition||!f&&!i&&!r)return!1;const g=Math.min(n.params.slidesPerGroupSkip,l);let v=g+Math.floor((l-g)/n.params.slidesPerGroup);v>=d.length&&(v=d.length-1);const w=-d[v];if(o.normalizeSlideIndex)for(let e=0;e=s&&t=s&&t=s&&(l=e)}if(n.initialized&&l!==u){if(!n.allowSlideNext&&wn.translate&&w>n.maxTranslate()&&(u||0)!==l)return!1}let b;if(l!==(p||0)&&s&&n.emit("beforeSlideChangeStart"),n.updateProgress(w),b=l>u?"next":l{n.wrapperEl.style.scrollSnapType="",n._swiperImmediateVirtual=!1}))}else{if(!n.support.smoothScroll)return(0,a.dy)({swiper:n,targetPosition:s,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return n.setTransition(t),n.setTranslate(w),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,i),n.transitionStart(s,b),0===t?n.transitionEnd(s,b):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(s,b))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd)),!0}},5068:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(7626),i=s(587);function r(){const e=this,{params:t,$wrapperEl:s}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let n,l=e.clickedIndex;if(t.loop){if(e.animating)return;n=parseInt((0,a.A)(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?le.slides.length-e.loopedSlides+r/2?(e.loopFix(),l=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,i.dY)((()=>{e.slideTo(l)}))):e.slideTo(l):l>e.slides.length-r?(e.loopFix(),l=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),(0,i.dY)((()=>{e.slideTo(l)}))):e.slideTo(l)}else e.slideTo(l)}},7015:(e,t,s)=>{function a(e=this.params.speed,t=!0,s,a=.5){const i=this;let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)}s.d(t,{A:()=>a})},1636:(e,t,s)=>{function a(e=0,t=this.params.speed,s=!0,a){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,s,a)}s.d(t,{A:()=>a})},3010:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(8321),i=s(9567),r=s(7986);const n={setTransition:a.A,transitionStart:i.A,transitionEnd:r.A}},8321:(e,t,s)=>{function a(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)}s.d(t,{A:()=>a})},5852:(e,t,s)=>{function a({swiper:e,runCallbacks:t,direction:s,step:a}){const{activeIndex:i,previousIndex:r}=e;let n=s;if(n||(n=i>r?"next":ia})},7986:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(5852);function i(e=!0,t){const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),(0,a.A)({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},9567:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(5852);function i(e=!0,t){const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),(0,a.A)({swiper:s,runCallbacks:e,direction:t,step:"Start"}))}},1723:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(587);function i(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:s,translate:i,$wrapperEl:r}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=(0,a.ro)(r[0],e);return s&&(n=-n),n||0}},4361:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(1723),i=s(8159),r=s(8075),n=s(9301),l=s(7466);const o={getTranslate:a.A,setTranslate:i.A,minTranslate:r.A,maxTranslate:n.A,translateTo:l.A}},9301:(e,t,s)=>{function a(){return-this.snapGrid[this.snapGrid.length-1]}s.d(t,{A:()=>a})},8075:(e,t,s)=>{function a(){return-this.snapGrid[0]}s.d(t,{A:()=>a})},8159:(e,t,s)=>{function a(e,t){const s=this,{rtlTranslate:a,params:i,$wrapperEl:r,wrapperEl:n,progress:l}=s;let o=0,d=0;let c;s.isHorizontal()?o=a?-e:e:d=e,i.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),i.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-o:-d:i.virtualTranslate||r.transform(`translate3d(${o}px, ${d}px, 0px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?o:d;const p=s.maxTranslate()-s.minTranslate();c=0===p?0:(e-s.minTranslate())/p,c!==l&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)}s.d(t,{A:()=>a})},7466:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(587);function i(e=0,t=this.params.speed,s=!0,i=!0,r){const n=this,{params:l,wrapperEl:o}=n;if(n.animating&&l.preventInteractionOnTransition)return!1;const d=n.minTranslate(),c=n.maxTranslate();let p;if(p=i&&e>d?d:i&&e{s.d(t,{A:()=>u});var a=s(4286),i=s(2329),r=s(8843),n=s(5898),l=s(626),o=s(2972),d=s(6585),c=s(1165),p=s(7393);const u={updateSize:a.A,updateSlides:i.A,updateAutoHeight:r.A,updateSlidesOffset:n.A,updateSlidesProgress:l.A,updateProgress:o.A,updateSlidesClasses:d.A,updateActiveIndex:c.A,updateClickedSlide:p.A}},1165:(e,t,s)=>{function a(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:r,activeIndex:n,realIndex:l,snapIndex:o}=t;let d,c=e;if(void 0===c){for(let e=0;e=a[e]&&s=a[e]&&s=a[e]&&(c=e);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(i.indexOf(s)>=0)d=i.indexOf(s);else{const e=Math.min(r.slidesPerGroupSkip,c);d=e+Math.floor((c-e)/r.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),c===n)return void(d!==o&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(t,{snapIndex:d,realIndex:p,previousIndex:n,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}s.d(t,{A:()=>a})},8843:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(7626);function i(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let r,n=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const l=e=>i?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||(0,a.A)([])).each((e=>{s.push(e)}));else for(r=0;rt.slides.length&&!i)break;s.push(l(e))}else s.push(l(t.activeIndex));for(r=0;rn?e:n}(n||0===n)&&t.$wrapperEl.css("height",`${n}px`)}},7393:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(7626);function i(e){const t=this,s=t.params,i=(0,a.A)(e).closest(`.${s.slideClass}`)[0];let r,n=!1;if(i)for(let e=0;e{function a(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n}=t;const l=r,o=n;0===a?(i=0,r=!0,n=!0):(i=(e-t.minTranslate())/a,r=i<=0,n=i>=1),Object.assign(t,{progress:i,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),n&&!o&&t.emit("reachEnd toEdge"),(l&&!r||o&&!n)&&t.emit("fromEdge"),t.emit("progress",i)}s.d(t,{A:()=>a})},4286:(e,t,s)=>{function a(){const e=this;let t,s;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),s=s-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))}s.d(t,{A:()=>a})},2329:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(587);function i(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const i=e.params,{$wrapperEl:r,size:n,rtlTranslate:l,wrongRTL:o}=e,d=e.virtual&&i.virtual.enabled,c=d?e.virtual.slides.length:e.slides.length,p=r.children(`.${e.params.slideClass}`),u=d?e.virtual.slides.length:p.length;let h=[];const m=[],f=[];let g=i.slidesOffsetBefore;"function"==typeof g&&(g=i.slidesOffsetBefore.call(e));let v=i.slidesOffsetAfter;"function"==typeof v&&(v=i.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let y=i.spaceBetween,x=-g,E=0,$=0;if(void 0===n)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*n),e.virtualSize=-y,l?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&((0,a.LY)(e.wrapperEl,"--swiper-centered-offset-before",""),(0,a.LY)(e.wrapperEl,"--swiper-centered-offset-after",""));const C=i.grid&&i.grid.rows>1&&e.grid;let T;C&&e.grid.initSlides(u);const S="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let a=0;a1&&h.push(e.virtualSize-n)}if(0===h.length&&(h=[0]),0!==i.spaceBetween){const s=e.isHorizontal()&&l?"marginLeft":t("marginRight");p.filter(((e,t)=>!i.cssMode||t!==p.length-1)).css({[s]:`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween;const t=e-n;h=h.map((e=>e<0?-g:e>t?t+v:e))}if(i.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween,e{h[s]=e-t})),m.forEach(((e,s)=>{m[s]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){(0,a.LY)(e.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),(0,a.LY)(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(u!==c&&e.emit("slidesLengthChange"),h.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),m.length!==b&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!(d||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,s=e.$el.hasClass(t);u<=i.maxBackfaceHiddenSlides?s||e.$el.addClass(t):s&&e.$el.removeClass(t)}}},6585:(e,t,s)=>{function a(){const e=this,{slides:t,params:s,$wrapperEl:a,activeIndex:i,realIndex:r}=e,n=e.virtual&&s.virtual.enabled;let l;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),l=n?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addClass(s.slideActiveClass),s.loop&&(l.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass));let o=l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===o.length&&(o=t.eq(0),o.addClass(s.slideNextClass));let d=l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(o.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()}s.d(t,{A:()=>a})},5898:(e,t,s)=>{function a(){const e=this,t=e.slides;for(let s=0;sa})},626:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(7626);function i(e=this&&this.translate||0){const t=this,s=t.params,{slides:i,rtlTranslate:r,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let l=-e;r&&(l=e),i.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),i.eq(e).addClass(s.slideVisibleClass)),a.progress=r?-d:d,a.originalProgress=r?-c:c}t.visibleSlides=(0,a.A)(t.visibleSlides)}},49:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(9942),i=s(7626);function r({swiper:e,extendParams:t,on:s}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let r=null;function n(e){const t=r;0!==t.length&&(t.html(""),t.html(e))}function l(e){e.attr("tabIndex","0")}function o(e){e.attr("tabIndex","-1")}function d(e,t){e.attr("role",t)}function c(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function h(e){e.attr("aria-disabled",!1)}function m(t){if(13!==t.keyCode&&32!==t.keyCode)return;const s=e.params.a11y,r=(0,i.A)(t.target);e.navigation&&e.navigation.$nextEl&&r.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?n(s.lastSlideMessage):n(s.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&r.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?n(s.firstSlideMessage):n(s.prevSlideMessage)),e.pagination&&r.is((0,a.A)(e.params.pagination.bulletClass))&&r[0].click()}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return f()&&e.params.pagination.clickable}const v=(e,t,s)=>{l(e),"BUTTON"!==e[0].tagName&&(d(e,"button"),e.on("keydown",m)),p(e,s),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{e.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},y=t=>{if(e.a11y.clicked)return;const s=t.target.closest(`.${e.params.slideClass}`);if(!s||!e.slides.includes(s))return;const a=e.slides.indexOf(s)===e.activeIndex,i=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(s);a||i||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(s),0))},x=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&c((0,i.A)(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&d((0,i.A)(e.slides),t.slideRole);const s=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((a,r)=>{const n=(0,i.A)(a),l=e.params.loop?parseInt(n.attr("data-swiper-slide-index"),10):r;p(n,t.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,s))}))},E=()=>{const t=e.params.a11y;e.$el.append(r);const s=e.$el;t.containerRoleDescriptionMessage&&c(s,t.containerRoleDescriptionMessage),t.containerMessage&&p(s,t.containerMessage);const i=e.$wrapperEl,n=t.id||i.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,l=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var o;let d,u;o=n,i.attr("id",o),function(e,t){e.attr("aria-live",t)}(i,l),x(),e.navigation&&e.navigation.$nextEl&&(d=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),d&&d.length&&v(d,n,t.nextSlideMessage),u&&u.length&&v(u,n,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",(0,a.A)(e.params.pagination.bulletClass),m),e.$el.on("focus",y,!0),e.$el.on("pointerdown",w,!0),e.$el.on("pointerup",b,!0)};s("beforeInit",(()=>{r=(0,i.A)(``)})),s("afterInit",(()=>{e.params.a11y.enabled&&E()})),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&x()})),s("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:s}=e.navigation;s&&s.length>0&&(e.isBeginning?(u(s),o(s)):(h(s),l(s))),t&&t.length>0&&(e.isEnd?(u(t),o(t)):(h(t),l(t)))}()})),s("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((s=>{const a=(0,i.A)(s);e.params.pagination.clickable&&(l(a),e.params.pagination.renderBullet||(d(a,"button"),p(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))),a.is(`.${e.params.pagination.bulletActiveClass}`)?a.attr("aria-current","true"):a.removeAttr("aria-current")}))}()})),s("destroy",(()=>{e.params.a11y.enabled&&function(){let t,s;r&&r.length>0&&r.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),t&&t.off("keydown",m),s&&s.off("keydown",m),g()&&e.pagination.$el.off("keydown",(0,a.A)(e.params.pagination.bulletClass),m),e.$el.off("focus",y,!0),e.$el.off("pointerdown",w,!0),e.$el.off("pointerup",b,!0)}()}))}},79:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(1895),i=s(587);function r({swiper:e,extendParams:t,on:s,emit:r}){let n;function l(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let s=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(s=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(n),n=(0,i.dY)((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?d():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),r("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),r("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),r("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?d():(t=e.slideTo(0,e.params.speed,!0,!0),r("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),r("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&l()}),s)}function o(){return void 0===n&&(!e.autoplay.running&&(e.autoplay.running=!0,r("autoplayStart"),l(),!0))}function d(){return!!e.autoplay.running&&(void 0!==n&&(n&&(clearTimeout(n),n=void 0),e.autoplay.running=!1,r("autoplayStop"),!0))}function c(t){e.autoplay.running&&(e.autoplay.paused||(n&&clearTimeout(n),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,l())))}function p(){const t=(0,a.YE)();"hidden"===t.visibilityState&&e.autoplay.running&&c(),"visible"===t.visibilityState&&e.autoplay.paused&&(l(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?l():d())}function h(){e.params.autoplay.disableOnInteraction?d():(r("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function m(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,r("autoplayResume"),l())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",(()=>{if(e.params.autoplay.enabled){o();(0,a.YE)().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",m))}})),s("beforeTransitionStart",((t,s,a)=>{e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(s):d())})),s("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?d():c())})),s("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&l()})),s("destroy",(()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",m),e.autoplay.running&&d();(0,a.YE)().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:c,run:l,start:o,stop:d})}},9677:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(587);function i({swiper:e,extendParams:t,on:s}){function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},s("beforeInit",(()=>{e.controller.control=e.params.controller.control})),s("update",(()=>{r()})),s("resize",(()=>{r()})),s("observerUpdate",(()=>{r()})),s("setTranslate",((t,s,a)=>{e.controller.control&&e.controller.setTranslate(s,a)})),s("setTransition",((t,s,a)=>{e.controller.control&&e.controller.setTransition(s,a)})),Object.assign(e.controller,{setTranslate:function(t,s){const a=e.controller.control;let r,n;const l=e.constructor;function o(t){const s=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new i(e.slidesGrid,t.slidesGrid):new i(e.snapGrid,t.snapGrid))}(t),n=-e.controller.spline.interpolate(-s)),n&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),n=(s-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(n=t.maxTranslate()-n),t.updateProgress(n),t.setTranslate(n,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e{s.updateAutoHeight()})),s.$wrapperEl.transitionEnd((()=>{r&&(s.params.loop&&"slide"===e.params.controller.by&&s.loopFix(),s.transitionEnd())})))}if(Array.isArray(r))for(n=0;n{s.d(t,{A:()=>l});var a=s(5837),i=s(5996),r=s(3563),n=s(9875);function l({swiper:e,extendParams:t,on:s}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}});(0,i.A)({effect:"cards",swiper:e,on:s,setTranslate:()=>{const{slides:t,activeIndex:s}=e,i=e.params.cardsEffect,{startTranslate:n,isTouched:l}=e.touchEventsData,o=e.translate;for(let d=0;d0&&u<1&&(l||e.params.cssMode)&&o-1&&(l||e.params.cssMode)&&o>n;if(x||E){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;w+=-28*u*e,v+=-.5*e,b+=96*e,f=-25*e*Math.abs(u)+"%"}if(m=u<0?`calc(${m}px + (${b*Math.abs(u)}%))`:u>0?`calc(${m}px + (-${b*Math.abs(u)}%))`:`${m}px`,!e.isHorizontal()){const e=f;f=m,m=e}const $=u<0?""+(1+(1-v)*u):""+(1-(1-v)*u),C=`\n translate3d(${m}, ${f}, ${g}px)\n rotateZ(${i.rotate?w:0}deg)\n scale(${$})\n `;if(i.slideShadows){let e=c.find(".swiper-slide-shadow");0===e.length&&(e=(0,a.A)(i,c)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}c[0].style.zIndex=-Math.abs(Math.round(p))+t.length;(0,r.A)(i,c).transform(C)}},setTransition:t=>{const{transformEl:s}=e.params.cardsEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,n.A)({swiper:e,duration:t,transformEl:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},4931:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(5837),i=s(5996),r=s(3563);function n({swiper:e,extendParams:t,on:s}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});(0,i.A)({effect:"coverflow",swiper:e,on:s,setTranslate:()=>{const{width:t,height:s,slides:i,slidesSizesGrid:n}=e,l=e.params.coverflowEffect,o=e.isHorizontal(),d=e.translate,c=o?t/2-d:s/2-d,p=o?l.rotate:-l.rotate,u=l.depth;for(let e=0,t=i.length;e0?h:0),s.length&&(s[0].style.opacity=-h>0?-h:0)}}},setTransition:t=>{const{transformEl:s}=e.params.coverflowEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},5151:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(5837),i=s(5996),r=s(3563),n=s(9875);function l({swiper:e,extendParams:t,on:s}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const l=e=>"string"==typeof e?e:`${e}px`;(0,i.A)({effect:"creative",swiper:e,on:s,setTranslate:()=>{const{slides:t,$wrapperEl:s,slidesSizesGrid:i}=e,n=e.params.creativeEffect,{progressMultiplier:o}=n,d=e.params.centeredSlides;if(d){const t=i[0]/2-e.params.slidesOffsetBefore||0;s.transform(`translateX(calc(50% - ${t}px))`)}for(let s=0;s0&&(v=n.prev,g=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${l(v.translate[t])} * ${Math.abs(p*o)}))`})),f.forEach(((e,t)=>{f[t]=v.rotate[t]*Math.abs(p*o)})),i[0].style.zIndex=-Math.abs(Math.round(c))+t.length;const w=m.join(", "),b=`rotateX(${f[0]}deg) rotateY(${f[1]}deg) rotateZ(${f[2]}deg)`,y=u<0?`scale(${1+(1-v.scale)*u*o})`:`scale(${1-(1-v.scale)*u*o})`,x=u<0?1+(1-v.opacity)*u*o:1-(1-v.opacity)*u*o,E=`translate3d(${w}) ${b} ${y}`;if(g&&v.shadow||!g){let e=i.children(".swiper-slide-shadow");if(0===e.length&&v.shadow&&(e=(0,a.A)(n,i)),e.length){const t=n.shadowPerProgress?p*(1/n.limitProgress):p;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const $=(0,r.A)(n,i);$.transform(E).css({opacity:x}),v.origin&&$.css("transform-origin",v.origin)}},setTransition:t=>{const{transformEl:s}=e.params.creativeEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),(0,n.A)({swiper:e,duration:t,transformEl:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}},2459:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(7626),i=s(5996);function r({swiper:e,extendParams:t,on:s}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,s)=>{let i=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=(0,a.A)(`
`),e.append(i)),0===r.length&&(r=(0,a.A)(`
`),e.append(r)),i.length&&(i[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};(0,i.A)({effect:"cube",swiper:e,on:s,setTranslate:()=>{const{$el:t,$wrapperEl:s,slides:i,width:n,height:l,rtlTranslate:o,size:d,browser:c}=e,p=e.params.cubeEffect,u=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=s.find(".swiper-cube-shadow"),0===m.length&&(m=(0,a.A)('
'),s.append(m)),m.css({height:`${n}px`})):(m=t.find(".swiper-cube-shadow"),0===m.length&&(m=(0,a.A)('
'),t.append(m))));for(let e=0;e-1&&(f=90*s+90*l,o&&(f=90*-s-90*l)),t.transform(v),p.slideShadows&&r(t,l,u)}if(s.css({"-webkit-transform-origin":`50% 50% -${d/2}px`,"transform-origin":`50% 50% -${d/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${n/2+p.shadowOffset}px, ${-n/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;m.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${l/2+i}px, ${-l/2/a}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-d/2:0;s.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),s[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:s,slides:a}=e;a.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&s.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const s=Math.max(Math.min(e.progress,1),-1);r((0,a.A)(e),s,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},6027:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(5996),i=s(3563),r=s(9875);function n({swiper:e,extendParams:t,on:s}){t({fadeEffect:{crossFade:!1,transformEl:null}});(0,a.A)({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:t}=e,s=e.params.fadeEffect;for(let a=0;a{const{transformEl:s}=e.params.fadeEffect;(s?e.slides.find(s):e.slides).transition(t),(0,r.A)({swiper:e,duration:t,transformEl:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},6559:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(7626),i=s(5837),r=s(5996),n=s(3563),l=s(9875);function o({swiper:e,extendParams:t,on:s}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const o=(t,s,a)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),n=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=(0,i.A)(a,t,e.isHorizontal()?"left":"top")),0===n.length&&(n=(0,i.A)(a,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-s,0)),n.length&&(n[0].style.opacity=Math.max(s,0))};(0,r.A)({effect:"flip",swiper:e,on:s,setTranslate:()=>{const{slides:t,rtlTranslate:s}=e,a=e.params.flipEffect;for(let i=0;i{const{transformEl:s}=e.params.flipEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),(0,l.A)({swiper:e,duration:t,transformEl:s})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((s=>{const i=(0,a.A)(s);let r=i[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s.progress,1),-1)),o(i,r,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},3887:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(587);function i({swiper:e,extendParams:t,emit:s,once:i}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:s}=e;0===t.velocities.length&&t.velocities.push({position:s[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[e.isHorizontal()?"currentX":"currentY"],time:(0,a.tB)()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:n,rtlTranslate:l,snapGrid:o,touchEventsData:d}=e,c=(0,a.tB)()-d.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=d.velocities.pop(),s=d.velocities.pop(),i=t.position-s.position,n=t.time-s.time;e.velocity=i/n,e.velocity/=2,Math.abs(e.velocity)150||(0,a.tB)()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,d.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const c=e.velocity*t;let p=e.translate+c;l&&(p=-p);let u,h=!1;const m=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let f;if(pe.minTranslate())r.freeMode.momentumBounce?(p-e.minTranslate()>m&&(p=e.minTranslate()+m),u=e.minTranslate(),h=!0,d.allowMomentumBounce=!0):p=e.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(o[t]-p){e.loopFix()})),0!==e.velocity){if(t=l?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),r.freeMode.sticky){const s=Math.abs((l?-p:p)-e.translate),a=e.slidesSizesGrid[e.activeIndex];t=s{e&&!e.destroyed&&d.allowMomentumBounce&&(s("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),n.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(s("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,n.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&s("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||c>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}},541:(e,t,s)=>{function a({swiper:e,extendParams:t}){let s,a,i;t({grid:{rows:1,fill:"column"}});e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:n,fill:l}=e.params.grid;a=s/n,i=Math.floor(t/n),s=Math.floor(t/n)===t/n?t:Math.ceil(t/n)*n,"auto"!==r&&"row"===l&&(s=Math.max(s,r*n))},updateSlide:(t,r,n,l)=>{const{slidesPerGroup:o,spaceBetween:d}=e.params,{rows:c,fill:p}=e.params.grid;let u,h,m;if("row"===p&&o>1){const e=Math.floor(t/(o*c)),a=t-c*o*e,i=0===e?o:Math.min(Math.ceil((n-e*c*o)/c),o);m=Math.floor(a/i),h=a-m*i+e*o,u=h+m*s/c,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=Math.floor(t/c),m=t-h*c,(h>i||h===i&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=Math.floor(t/a),h=t-m*a);r.css(l("margin-top"),0!==m?d&&`${d}px`:"")},updateWrapperSize:(t,a,i)=>{const{spaceBetween:r,centeredSlides:n,roundLengths:l}=e.params,{rows:o}=e.params.grid;if(e.virtualSize=(t+r)*s,e.virtualSize=Math.ceil(e.virtualSize/o)-r,e.$wrapperEl.css({[i("width")]:`${e.virtualSize+r}px`}),n){a.splice(0,a.length);const t=[];for(let s=0;sa})},5855:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(1895),i=s(7626);function r({swiper:e,extendParams:t,emit:s,on:r}){let n=!1;const l=(0,a.YE)(),o=(0,a.zk)();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const d=()=>{s("hashChange");const t=l.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const s=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===s)return;e.slideTo(s)}},c=()=>{if(n&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),s("hashSet");else{const t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");l.location.hash=a||"",s("hashSet")}};r("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const t=l.location.hash.replace("#","");if(t){const s=0;for(let a=0,i=e.slides.length;a{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&(0,i.A)(o).off("hashchange",d)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&c()})),r("slideChange",(()=>{n&&e.params.cssMode&&c()}))}},2015:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(1895);function i({swiper:e,extendParams:t,on:s}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,r={};const n=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=(0,a.zk)();let s;s=e?new URL(e):t.location;const i=s.pathname.slice(1).split("/").filter((e=>""!==e)),r=i.length;return{key:i[r-2],value:i[r-1]}},o=(t,s)=>{const r=(0,a.zk)();if(!i||!e.params.history.enabled)return;let l;l=e.params.url?new URL(e.params.url):r.location;const o=e.slides.eq(s);let d=n(o.attr("data-history"));if(e.params.history.root.length>0){let s=e.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${t}/${d}`}else l.pathname.includes(t)||(d=`${t}/${d}`);e.params.history.keepQuery&&(d+=l.search);const c=r.history.state;c&&c.value===d||(e.params.history.replaceState?r.history.replaceState({value:d},null,d):r.history.pushState({value:d},null,d))},d=(t,s,a)=>{if(s)for(let i=0,r=e.slides.length;i{r=l(e.params.url),d(e.params.speed,r.value,!1)};s("init",(()=>{e.params.history.enabled&&(()=>{const t=(0,a.zk)();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);i=!0,r=l(e.params.url),(r.key||r.value)&&(d(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",c))}})()})),s("destroy",(()=>{e.params.history.enabled&&(()=>{const t=(0,a.zk)();e.params.history.replaceState||t.removeEventListener("popstate",c)})()})),s("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&o(e.params.history.key,e.activeIndex)})),s("slideChange",(()=>{i&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)}))}},9503:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(1895),i=s(7626);function r({swiper:e,extendParams:t,on:s,emit:r}){const n=(0,a.YE)(),l=(0,a.zk)();function o(t){if(!e.enabled)return;const{rtlTranslate:s}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode,o=e.params.keyboard.pageUpDown,d=o&&33===i,c=o&&34===i,p=37===i,u=39===i,h=38===i,m=40===i;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&m||c))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&h||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||n.activeElement&&n.activeElement.nodeName&&("input"===n.activeElement.nodeName.toLowerCase()||"textarea"===n.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(d||c||p||u||h||m)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const a=e.$el,i=a[0].clientWidth,r=a[0].clientHeight,n=l.innerWidth,o=l.innerHeight,d=e.$el.offset();s&&(d.left-=e.$el[0].scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let e=0;e=0&&s[0]<=n&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&e.slideNext(),((d||p)&&!s||(c||u)&&s)&&e.slidePrev()):((d||c||h||m)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||m)&&e.slideNext(),(d||h)&&e.slidePrev()),r("keyPress",i)}}function d(){e.keyboard.enabled||((0,i.A)(n).on("keydown",o),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&((0,i.A)(n).off("keydown",o),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",(()=>{e.params.keyboard.enabled&&d()})),s("destroy",(()=>{e.keyboard.enabled&&c()})),Object.assign(e.keyboard,{enable:d,disable:c})}},1949:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(1895),i=s(7626);function r({swiper:e,extendParams:t,on:s,emit:r}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let n=!1,l=!1;function o(t,s=!0){const a=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const n=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),l=n.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!n.hasClass(a.elementClass)||n.hasClass(a.loadedClass)||n.hasClass(a.loadingClass)||l.push(n[0]),0!==l.length&&l.each((t=>{const l=(0,i.A)(t);l.addClass(a.loadingClass);const d=l.attr("data-background"),c=l.attr("data-src"),p=l.attr("data-srcset"),u=l.attr("data-sizes"),h=l.parent("picture");e.loadImage(l[0],c||d,p,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(d?(l.css("background-image",`url("${d}")`),l.removeAttr("data-background")):(p&&(l.attr("srcset",p),l.removeAttr("data-srcset")),u&&(l.attr("sizes",u),l.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=(0,i.A)(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(l.attr("src",c),l.removeAttr("data-src"))),l.addClass(a.loadedClass).removeClass(a.loadingClass),n.find(`.${a.preloaderClass}`).remove(),e.params.loop&&s){const t=n.attr("data-swiper-slide-index");if(n.hasClass(e.params.slideDuplicateClass)){o(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{o(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}r("lazyImageReady",n[0],l[0]),e.params.autoHeight&&e.updateAutoHeight()}})),r("lazyImageLoad",n[0],l[0])}))}function d(){const{$wrapperEl:t,params:s,slides:a,activeIndex:r}=e,n=e.virtual&&s.virtual.enabled,d=s.lazy;let c=s.slidesPerView;function p(e){if(n){if(t.children(`.${s.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(a[e])return!0;return!1}function u(e){return n?(0,i.A)(e).attr("data-swiper-slide-index"):(0,i.A)(e).index()}if("auto"===c&&(c=0),l||(l=!0),e.params.watchSlidesProgress)t.children(`.${s.slideVisibleClass}`).each((e=>{o(n?(0,i.A)(e).attr("data-swiper-slide-index"):(0,i.A)(e).index())}));else if(c>1)for(let e=r;e1||d.loadPrevNextAmount&&d.loadPrevNextAmount>1){const e=d.loadPrevNextAmount,t=Math.ceil(c),s=Math.min(r+t+Math.max(e,t),a.length),i=Math.max(r-Math.max(t,e),0);for(let e=r+t;e0&&o(u(e));const a=t.children(`.${s.slidePrevClass}`);a.length>0&&o(u(a))}}function c(){const t=(0,a.zk)();if(!e||e.destroyed)return;const s=e.params.lazy.scrollingElement?(0,i.A)(e.params.lazy.scrollingElement):(0,i.A)(t),r=s[0]===t,l=r?t.innerWidth:s[0].offsetWidth,o=r?t.innerHeight:s[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:u}=e;let h=!1;u&&(p.left-=e.$el[0].scrollLeft);const m=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let e=0;e=0&&t[0]<=l&&t[1]>=0&&t[1]<=o){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h?(d(),s.off("scroll",c,f)):n||(n=!0,s.on("scroll",c,f))}s("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),s("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():d())})),s("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&d()})),s("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():d())})),s("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!l)&&(e.params.lazy.checkInView?c():d())})),s("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():d())})),s("slideChange",(()=>{const{lazy:t,cssMode:s,watchSlidesProgress:a,touchReleaseOnEdges:i,resistanceRatio:r}=e.params;t.enabled&&(s||a&&(i||0===r))&&d()})),s("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:d,loadInSlide:o})}},3247:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(5684),i=s(5748),r=s(1297),n=s(6884),l=s(3552);function o({swiper:e}){Object.assign(e,{appendSlide:a.A.bind(e),prependSlide:i.A.bind(e),addSlide:r.A.bind(e),removeSlide:n.A.bind(e),removeAllSlides:l.A.bind(e)})}},1297:(e,t,s)=>{function a(e,t){const s=this,{$wrapperEl:a,params:i,activeIndex:r}=s;let n=r;i.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.slides=a.children(`.${i.slideClass}`));const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides.eq(t);e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?n+t.length:n}else a.append(t);for(let e=0;ea})},5684:(e,t,s)=>{function a(e){const t=this,{$wrapperEl:s,params:a}=t;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;ta})},5748:(e,t,s)=>{function a(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;s.loop&&t.loopDestroy();let r=i+1;if("object"==typeof e&&"length"in e){for(let t=0;ta})},3552:(e,t,s)=>{function a(){const e=this,t=[];for(let s=0;sa})},6884:(e,t,s)=>{function a(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;let r=i;s.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(`.${s.slideClass}`));let n,l=r;if("object"==typeof e&&"length"in e){for(let s=0;sa})},7673:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(1895),i=s(7626),r=s(587);function n({swiper:e,extendParams:t,on:s,emit:n}){const l=(0,a.zk)();let o;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let d,c=(0,r.tB)();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function m(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&(0,r.tB)()-c<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),n("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),n("scroll",t.raw)),c=(new l.Date).getTime(),!1)))}function f(t){let s=t,a=!0;if(!e.enabled)return;const l=e.params.mousewheel;e.params.cssMode&&s.preventDefault();let c=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(c=(0,i.A)(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!c[0].contains(s.target)&&!l.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let u=0;const h=e.rtlTranslate?-1:1,f=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(l.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;u=-f.pixelX*h}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;u=-f.pixelY}else u=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(0===u)return!0;l.invert&&(u=-u);let g=e.getTranslate()+u*l.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),a=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),a&&e.params.nested&&s.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:(0,r.tB)(),delta:Math.abs(u),direction:Math.sign(u)},a=d&&t.time=e.minTranslate()&&(i=e.minTranslate()),i<=e.maxTranslate()&&(i=e.maxTranslate()),e.setTransition(0),e.setTranslate(i),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!c&&e.isBeginning||!h&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(o),o=void 0,p.length>=15&&p.shift();const s=p.length?p[p.length-1]:void 0,a=p[0];if(p.push(t),s&&(t.delta>s.delta||t.direction!==s.direction))p.splice(0);else if(p.length>=15&&t.time-a.time<500&&a.delta-t.delta>=1&&t.delta<=6){const s=u>0?.8:.2;d=t,p.splice(0),o=(0,r.dY)((()=>{e.slideToClosest(e.params.speed,!0,void 0,s)}),0)}o||(o=(0,r.dY)((()=>{d=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(a||n("scroll",s),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),i===e.minTranslate()||i===e.maxTranslate())return!0}}else{const s={time:(0,r.tB)(),delta:Math.abs(u),direction:Math.sign(u),raw:t};p.length>=2&&p.shift();const a=p.length?p[p.length-1]:void 0;if(p.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&m(s):m(s),function(t){const s=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&s.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function g(t){let s=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(s=(0,i.A)(e.params.mousewheel.eventsTarget)),s[t]("mouseenter",u),s[t]("mouseleave",h),s[t]("wheel",f)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(g("on"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(g("off"),e.mousewheel.enabled=!1,!0)}s("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()})),s("destroy",(()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()})),Object.assign(e.mousewheel,{enable:v,disable:w})}},6233:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(2793),i=s(7626);function r({swiper:e,extendParams:t,on:s,emit:r}){function n(t){let s;return t&&(s=(0,i.A)(t),e.params.uniqueNavElements&&"string"==typeof t&&s.length>1&&1===e.$el.find(t).length&&(s=e.$el.find(t))),s}function l(t,s){const a=e.params.navigation;t&&t.length>0&&(t[s?"addClass":"removeClass"](a.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=s),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](a.lockClass))}function o(){if(e.params.loop)return;const{$nextEl:t,$prevEl:s}=e.navigation;l(s,e.isBeginning&&!e.params.rewind),l(t,e.isEnd&&!e.params.rewind)}function d(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){const t=e.params.navigation;if(e.params.navigation=(0,a.A)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const s=n(t.nextEl),i=n(t.prevEl);s&&s.length>0&&s.on("click",c),i&&i.length>0&&i.on("click",d),Object.assign(e.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(s&&s.addClass(t.lockClass),i&&i.addClass(t.lockClass))}function u(){const{$nextEl:t,$prevEl:s}=e.navigation;t&&t.length&&(t.off("click",c),t.removeClass(e.params.navigation.disabledClass)),s&&s.length&&(s.off("click",d),s.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},s("init",(()=>{!1===e.params.navigation.enabled?h():(p(),o())})),s("toEdge fromEdge lock unlock",(()=>{o()})),s("destroy",(()=>{u()})),s("enable disable",(()=>{const{$nextEl:t,$prevEl:s}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),s&&s[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),s("click",((t,s)=>{const{$nextEl:a,$prevEl:n}=e.navigation,l=s.target;if(e.params.navigation.hideOnClick&&!(0,i.A)(l).is(n)&&!(0,i.A)(l).is(a)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===l||e.pagination.el.contains(l)))return;let t;a?t=a.hasClass(e.params.navigation.hiddenClass):n&&(t=n.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),n&&n.toggleClass(e.params.navigation.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),u()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),p(),o()},disable:h,update:o,init:p,destroy:u})}},6301:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(7626),i=s(9942),r=s(2793);function n({swiper:e,extendParams:t,on:s,emit:n}){const l="swiper-pagination";let o;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let d=0;function c(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function p(t,s){const{bulletActiveClass:a}=e.params.pagination;t[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`)}function u(){const t=e.rtl,s=e.params.pagination;if(c())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,l=e.pagination.$el;let u;const h=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(u=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),u>r-1-2*e.loopedSlides&&(u-=r-2*e.loopedSlides),u>h-1&&(u-=h),u<0&&"bullets"!==e.params.paginationType&&(u=h+u)):u=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let r,n,c;if(s.dynamicBullets&&(o=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),l.css(e.isHorizontal()?"width":"height",o*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==e.previousIndex&&(d+=u-(e.previousIndex-e.loopedSlides||0),d>s.dynamicMainBullets-1?d=s.dynamicMainBullets-1:d<0&&(d=0)),r=Math.max(u-d,0),n=r+(Math.min(i.length,s.dynamicMainBullets)-1),c=(n+r)/2),i.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`)).join(" ")),l.length>1)i.each((e=>{const t=(0,a.A)(e),i=t.index();i===u&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(i>=r&&i<=n&&t.addClass(`${s.bulletActiveClass}-main`),i===r&&p(t,"prev"),i===n&&p(t,"next"))}));else{const t=i.eq(u),a=t.index();if(t.addClass(s.bulletActiveClass),s.dynamicBullets){const t=i.eq(r),l=i.eq(n);for(let e=r;e<=n;e+=1)i.eq(e).addClass(`${s.bulletActiveClass}-main`);if(e.params.loop)if(a>=i.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)i.eq(i.length-e).addClass(`${s.bulletActiveClass}-main`);i.eq(i.length-s.dynamicMainBullets-1).addClass(`${s.bulletActiveClass}-prev`)}else p(t,"prev"),p(l,"next");else p(t,"prev"),p(l,"next")}}if(s.dynamicBullets){const a=Math.min(i.length,s.dynamicMainBullets+4),r=(o*a-o)/2-c*o,n=t?"right":"left";i.css(e.isHorizontal()?n:"top",`${r}px`)}}if("fraction"===s.type&&(l.find((0,i.A)(s.currentClass)).text(s.formatFractionCurrent(u+1)),l.find((0,i.A)(s.totalClass)).text(s.formatFractionTotal(h))),"progressbar"===s.type){let t;t=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(u+1)/h;let r=1,n=1;"horizontal"===t?r=a:n=a,l.find((0,i.A)(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${n})`).transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(l.html(s.renderCustom(e,u+1,h)),n("paginationRender",l[0])):n("paginationUpdate",l[0]),e.params.watchOverflow&&e.enabled&&l[e.isLocked?"addClass":"removeClass"](s.lockClass)}function h(){const t=e.params.pagination;if(c())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el;let r="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>s&&(n=s);for(let s=0;s`;a.html(r),e.pagination.bullets=a.find((0,i.A)(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,a.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,a.html(r)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0])}function m(){e.params.pagination=(0,r.A)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let s=(0,a.A)(t.el);0!==s.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&s.length>1&&(s=e.$el.find(t.el),s.length>1&&(s=s.filter((t=>(0,a.A)(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&s.addClass(t.clickableClass),s.addClass(t.modifierClass+t.type),s.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(s.addClass(`${t.modifierClass}${t.type}-dynamic`),d=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.addClass(t.progressbarOppositeClass),t.clickable&&s.on("click",(0,i.A)(t.bulletClass),(function(t){t.preventDefault();let s=(0,a.A)(this).index()*e.params.slidesPerGroup;e.params.loop&&(s+=e.loopedSlides),e.slideTo(s)})),Object.assign(e.pagination,{$el:s,el:s[0]}),e.enabled||s.addClass(t.lockClass))}function f(){const t=e.params.pagination;if(c())return;const s=e.pagination.$el;s.removeClass(t.hiddenClass),s.removeClass(t.modifierClass+t.type),s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&s.off("click",(0,i.A)(t.bulletClass))}s("init",(()=>{!1===e.params.pagination.enabled?g():(m(),h(),u())})),s("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&u()})),s("snapIndexChange",(()=>{e.params.loop||u()})),s("slidesLengthChange",(()=>{e.params.loop&&(h(),u())})),s("snapGridLengthChange",(()=>{e.params.loop||(h(),u())})),s("destroy",(()=>{f()})),s("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),s("lock unlock",(()=>{u()})),s("click",((t,s)=>{const i=s.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!(0,a.A)(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}}));const g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),m(),h(),u()},disable:g,render:h,update:u,init:m,destroy:f})}},7855:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(7626);function i({swiper:e,extendParams:t,on:s}){t({parallax:{enabled:!1}});const i=(t,s)=>{const{rtl:i}=e,r=(0,a.A)(t),n=i?-1:1,l=r.attr("data-swiper-parallax")||"0";let o=r.attr("data-swiper-parallax-x"),d=r.attr("data-swiper-parallax-y");const c=r.attr("data-swiper-parallax-scale"),p=r.attr("data-swiper-parallax-opacity");if(o||d?(o=o||"0",d=d||"0"):e.isHorizontal()?(o=l,d="0"):(d=l,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*s*n+"%":o*s*n+"px",d=d.indexOf("%")>=0?parseInt(d,10)*s+"%":d*s+"px",null!=p){const e=p-(p-1)*(1-Math.abs(s));r[0].style.opacity=e}if(null==c)r.transform(`translate3d(${o}, ${d}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(s));r.transform(`translate3d(${o}, ${d}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:s,progress:r,snapGrid:n}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,r)})),s.each(((t,s)=>{let l=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(l+=Math.ceil(s/2)-r*(n.length-1)),l=Math.min(Math.max(l,-1),1),(0,a.A)(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,l)}))}))};s("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),s("init",(()=>{e.params.parallax.enabled&&r()})),s("setTranslate",(()=>{e.params.parallax.enabled&&r()})),s("setTransition",((t,s)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:s}=e;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const s=(0,a.A)(e);let i=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;0===t&&(i=0),s.transition(i)}))})(s)}))}},4387:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(1895),i=s(7626),r=s(587),n=s(2793);function l({swiper:e,extendParams:t,on:s,emit:l}){const o=(0,a.YE)();let d,c,p,u,h=!1,m=null,f=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:s,progress:a}=e,{$dragEl:i,$el:r}=t,n=e.params.scrollbar;let l=c,o=(p-c)*a;s?(o=-o,o>0?(l=c-o,o=0):-o+c>p&&(l=p+o)):o<0?(l=c+o,o=0):o+c>p&&(l=p-o),e.isHorizontal()?(i.transform(`translate3d(${o}px, 0, 0)`),i[0].style.width=`${l}px`):(i.transform(`translate3d(0px, ${o}px, 0)`),i[0].style.height=`${l}px`),n.hide&&(clearTimeout(m),r[0].style.opacity=1,m=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:s,$el:a}=t;s[0].style.width="",s[0].style.height="",p=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),c="auto"===e.params.scrollbar.dragSize?p*u:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s[0].style.width=`${c}px`:s[0].style.height=`${c}px`,a[0].style.display=u>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function w(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function b(t){const{scrollbar:s,rtlTranslate:a}=e,{$el:i}=s;let r;r=(w(t)-i.offset()[e.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(n),e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}function y(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:i}=e,{$el:r,$dragEl:n}=a;h=!0,d=t.target===n[0]||t.target===n?w(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),i.transition(100),n.transition(100),b(t),clearTimeout(f),r.transition(0),s.hide&&r.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),l("scrollbarDragStart",t)}function x(t){const{scrollbar:s,$wrapperEl:a}=e,{$el:i,$dragEl:r}=s;h&&(t.preventDefault?t.preventDefault():t.returnValue=!1,b(t),a.transition(0),i.transition(0),r.transition(0),l("scrollbarDragMove",t))}function E(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:i}=e,{$el:n}=a;h&&(h=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),i.transition("")),s.hide&&(clearTimeout(f),f=(0,r.dY)((()=>{n.css("opacity",0),n.transition(400)}),1e3)),l("scrollbarDragEnd",t),s.snapOnRelease&&e.slideToClosest())}function $(t){const{scrollbar:s,touchEventsTouch:a,touchEventsDesktop:i,params:r,support:n}=e,l=s.$el;if(!l)return;const d=l[0],c=!(!n.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!n.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!d)return;const u="on"===t?"addEventListener":"removeEventListener";n.touch?(d[u](a.start,y,c),d[u](a.move,x,c),d[u](a.end,E,p)):(d[u](i.start,y,c),o[u](i.move,x,c),o[u](i.end,E,p))}function C(){const{scrollbar:t,$el:s}=e;e.params.scrollbar=(0,n.A)(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const a=e.params.scrollbar;if(!a.el)return;let r=(0,i.A)(a.el);e.params.uniqueNavElements&&"string"==typeof a.el&&r.length>1&&1===s.find(a.el).length&&(r=s.find(a.el)),r.addClass(e.isHorizontal()?a.horizontalClass:a.verticalClass);let l=r.find(`.${e.params.scrollbar.dragClass}`);0===l.length&&(l=(0,i.A)(`
`),r.append(l)),Object.assign(t,{$el:r,el:r[0],$dragEl:l,dragEl:l[0]}),a.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&$("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function T(){const t=e.params.scrollbar,s=e.scrollbar.$el;s&&s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&$("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},s("init",(()=>{!1===e.params.scrollbar.enabled?S():(C(),v(),g())})),s("update resize observerUpdate lock unlock",(()=>{v()})),s("setTranslate",(()=>{g()})),s("setTransition",((t,s)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(s)})),s("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),s("destroy",(()=>{T()}));const S=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),T()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),C(),v(),g()},disable:S,updateSize:v,setTranslate:g,init:C,destroy:T})}},3663:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(587),i=s(7626);function r({swiper:e,extendParams:t,on:s}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!1;function l(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const s=t.clickedIndex,a=t.clickedSlide;if(a&&(0,i.A)(a).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let r;if(r=t.params.loop?parseInt((0,i.A)(t.clickedSlide).attr("data-swiper-slide-index"),10):s,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const s=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),a=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===s?a:void 0===a?s:a-t1&&!e.params.centeredSlides&&(i=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.removeClass(r),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let t=0;t1?a:o:a-oe.previousIndex?"next":"prev"}else i=e.realIndex,r=i>e.previousIndex?"next":"prev";l&&(i+="next"===r?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(i)<0&&(s.params.centeredSlides?i=i>o?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>o&&s.params.slidesPerGroup,s.slideTo(i,t?0:void 0))}}e.thumbs={swiper:null},s("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(o(),d(!0))})),s("slideChange update resize observerUpdate",(()=>{d()})),s("setTransition",((t,s)=>{const a=e.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),s("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&n&&t.destroy()})),Object.assign(e.thumbs,{init:o,update:d})}},9759:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(7626),i=s(587);function r({swiper:e,extendParams:t,on:s,emit:r}){let n;function l(t,s){const i=e.params.virtual;if(i.cache&&e.virtual.cache[s])return e.virtual.cache[s];const r=i.renderSlide?(0,a.A)(i.renderSlide.call(e,t,s)):(0,a.A)(`
${t}
`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",s),i.cache&&(e.virtual.cache[s]=r),r}function o(t){const{slidesPerView:s,slidesPerGroup:a,centeredSlides:i}=e.params,{addSlidesBefore:n,addSlidesAfter:o}=e.params.virtual,{from:d,to:c,slides:p,slidesGrid:u,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const m=e.activeIndex||0;let f,g,v;f=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",i?(g=Math.floor(s/2)+a+o,v=Math.floor(s/2)+a+n):(g=s+(a-1)+o,v=a+n);const w=Math.max((m||0)-v,0),b=Math.min((m||0)+g,p.length-1),y=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function x(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),r("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:y,slidesGrid:e.slidesGrid}),d===w&&c===b&&!t)return e.slidesGrid!==u&&y!==h&&e.slides.css(f,`${y}px`),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:y,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?x():r("virtualUpdate"));const E=[],$=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=d;t<=c;t+=1)(tb)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=w&&e<=b&&(void 0===c||t?$.push(e):(e>c&&$.push(e),e{e.$wrapperEl.append(l(p[t],t))})),E.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(l(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(f,`${y}px`),x()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},s("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||o())})),s("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(n),n=setTimeout((()=>{o()}),100)):o())})),s("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&(0,i.LY)(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let s=0;s{const a=t[e],r=a.attr("data-swiper-slide-index");r&&a.attr("data-swiper-slide-index",parseInt(r,10)+i),s[parseInt(e,10)+i]=a})),e.virtual.cache=s}o(!0),e.slideTo(a,0)},removeSlide:function(t){if(null==t)return;let s=e.activeIndex;if(Array.isArray(t))for(let a=t.length-1;a>=0;a-=1)e.virtual.slides.splice(t[a],1),e.params.virtual.cache&&delete e.virtual.cache[t[a]],t[a]{s.d(t,{A:()=>n});var a=s(1895),i=s(7626),r=s(587);function n({swiper:e,extendParams:t,on:s,emit:n}){const l=(0,a.zk)();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o,d,c,p=1,u=!1;const h={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,s=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((a-t)**2+(i-s)**2)}function w(t){const s=e.support,a=e.params.zoom;if(d=!1,c=!1,!s.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;d=!0,h.scaleStart=v(t)}h.$slideEl&&h.$slideEl.length||(h.$slideEl=(0,i.A)(t.target).closest(`.${e.params.slideClass}`),0===h.$slideEl.length&&(h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`),h.maxRatio=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==h.$imageWrapEl.length)?(h.$imageEl&&h.$imageEl.transition(0),u=!0):h.$imageEl=void 0}function b(t){const s=e.support,a=e.params.zoom,i=e.zoom;if(!s.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;c=!0,h.scaleMove=v(t)}h.$imageEl&&0!==h.$imageEl.length?(s.gestures?i.scale=t.scale*p:i.scale=h.scaleMove/h.scaleStart*p,i.scale>h.maxRatio&&(i.scale=h.maxRatio-1+(i.scale-h.maxRatio+1)**.5),i.scalem.touchesStart.x))return void(m.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.ym.touchesStart.y))return void(m.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),m.isMoved=!0,m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX,m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY,m.currentXm.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentYm.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=m.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=m.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(m.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(m.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(m.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(m.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=m.touchesCurrent.x,f.prevPositionY=m.touchesCurrent.y,f.prevTime=Date.now(),h.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}}function E(){const t=e.zoom;h.$slideEl&&e.previousIndex!==e.activeIndex&&(h.$imageEl&&h.$imageEl.transform("translate3d(0,0,0) scale(1)"),h.$imageWrapEl&&h.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,h.$slideEl=void 0,h.$imageEl=void 0,h.$imageWrapEl=void 0)}function $(t){const s=e.zoom,a=e.params.zoom;if(h.$slideEl||(t&&t.target&&(h.$slideEl=(0,i.A)(t.target).closest(`.${e.params.slideClass}`)),h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex)),h.$imageEl=h.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${a.containerClass}`)),!h.$imageEl||0===h.$imageEl.length||!h.$imageWrapEl||0===h.$imageWrapEl.length)return;let r,n,o,d,c,u,f,g,v,w,b,y,x,E,$,C,T,S;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),h.$slideEl.addClass(`${a.zoomedSlideClass}`),void 0===m.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=m.touchesStart.x,n=m.touchesStart.y),s.scale=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,p=h.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,t?(T=h.$slideEl[0].offsetWidth,S=h.$slideEl[0].offsetHeight,o=h.$slideEl.offset().left+l.scrollX,d=h.$slideEl.offset().top+l.scrollY,c=o+T/2-r,u=d+S/2-n,v=h.$imageEl[0].offsetWidth,w=h.$imageEl[0].offsetHeight,b=v*s.scale,y=w*s.scale,x=Math.min(T/2-b/2,0),E=Math.min(S/2-y/2,0),$=-x,C=-E,f=c*s.scale,g=u*s.scale,f$&&(f=$),gC&&(g=C)):(f=0,g=0),h.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}px,0)`),h.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)}function C(){const t=e.zoom,s=e.params.zoom;h.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):h.$slideEl=e.slides.eq(e.activeIndex),h.$imageEl=h.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),h.$imageWrapEl=h.$imageEl.parent(`.${s.containerClass}`)),h.$imageEl&&0!==h.$imageEl.length&&h.$imageWrapEl&&0!==h.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,h.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),h.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),h.$slideEl.removeClass(`${s.zoomedSlideClass}`),h.$slideEl=void 0)}function T(t){const s=e.zoom;s.scale&&1!==s.scale?C():$(t)}function S(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function A(){return`.${e.params.slideClass}`}function M(t){const{passiveListener:s}=S(),a=A();e.$wrapperEl[t]("gesturestart",a,w,s),e.$wrapperEl[t]("gesturechange",a,b,s),e.$wrapperEl[t]("gestureend",a,y,s)}function k(){o||(o=!0,M("on"))}function P(){o&&(o=!1,M("off"))}function z(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const s=e.support,{passiveListener:a,activeListenerWithCapture:i}=S(),r=A();s.gestures?(e.$wrapperEl.on(e.touchEvents.start,k,a),e.$wrapperEl.on(e.touchEvents.end,P,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,a),e.$wrapperEl.on(e.touchEvents.move,r,b,i),e.$wrapperEl.on(e.touchEvents.end,r,y,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,y,a)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,x,i)}function L(){const t=e.zoom;if(!t.enabled)return;const s=e.support;t.enabled=!1;const{passiveListener:a,activeListenerWithCapture:i}=S(),r=A();s.gestures?(e.$wrapperEl.off(e.touchEvents.start,k,a),e.$wrapperEl.off(e.touchEvents.end,P,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,a),e.$wrapperEl.off(e.touchEvents.move,r,b,i),e.$wrapperEl.off(e.touchEvents.end,r,y,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,y,a)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,x,i)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=h.$imageEl?h.$imageEl[0]:void 0,s=h.$slideEl?h.$slideEl[0]:void 0;n("zoomChange",e,t,s)}g=e}}),s("init",(()=>{e.params.zoom.enabled&&z()})),s("destroy",(()=>{L()})),s("touchStart",((t,s)=>{e.zoom.enabled&&function(t){const s=e.device;h.$imageEl&&0!==h.$imageEl.length&&(m.isTouched||(s.android&&t.cancelable&&t.preventDefault(),m.isTouched=!0,m.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,m.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(s)})),s("touchEnd",((t,s)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!h.$imageEl||0===h.$imageEl.length)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let s=300,a=300;const i=f.x*s,r=m.currentX+i,n=f.y*a,l=m.currentY+n;0!==f.x&&(s=Math.abs((r-m.currentX)/f.x)),0!==f.y&&(a=Math.abs((l-m.currentY)/f.y));const o=Math.max(s,a);m.currentX=r,m.currentY=l;const d=m.width*t.scale,c=m.height*t.scale;m.minX=Math.min(h.slideWidth/2-d/2,0),m.maxX=-m.minX,m.minY=Math.min(h.slideHeight/2-c/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),h.$imageWrapEl.transition(o).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}()})),s("doubleTap",((t,s)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&T(s)})),s("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&E()})),s("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&E()})),Object.assign(e.zoom,{enable:z,disable:L,in:$,out:C,toggle:T})}},9942:(e,t,s)=>{function a(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}s.d(t,{A:()=>a})},2793:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(1895);function i(e,t,s,i){const r=(0,a.YE)();return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=e.$el.children(`.${i[a]}`)[0];n||(n=r.createElement("div"),n.className=i[a],e.$el.append(n)),s[a]=n,t[a]=n}})),s}},5837:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(7626);function i(e,t,s){const i="swiper-slide-shadow"+(s?`-${s}`:""),r=e.transformEl?t.find(e.transformEl):t;let n=r.children(`.${i}`);return n.length||(n=(0,a.A)(`
`),r.append(n)),n}},7626:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(2411);const i={addClass:a.iQ,removeClass:a.vy,hasClass:a.nB,toggleClass:a.p1,attr:a.CF,removeAttr:a.K$,transform:a.pd,transition:a.kY,on:a.on,off:a.AU,trigger:a.hZ,transitionEnd:a.XQ,outerWidth:a.Gq,outerHeight:a.DK,styles:a.R7,offset:a.cY,css:a.AH,each:a.HN,html:a.qy,text:a.Qq,is:a.is,index:a.Pe,eq:a.eq,append:a.BC,prepend:a.Hs,next:a.K2,nextAll:a.HW,prev:a.YL,prevAll:a.zy,parent:a.$t,parents:a.M8,closest:a.kp,find:a.I6,children:a.Y_,filter:a.pb,remove:a.TF};Object.keys(i).forEach((e=>{Object.defineProperty(a.$.fn,e,{value:i[e],writable:!0})}));const r=a.$},5996:(e,t,s)=>{function a(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.each((e=>{s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}s.d(t,{A:()=>a})},3563:(e,t,s)=>{function a(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}s.d(t,{A:()=>a})},9875:(e,t,s)=>{function a({swiper:e,duration:t,transformEl:s,allSlides:a}){const{slides:i,activeIndex:r,$wrapperEl:n}=e;if(e.params.virtualTranslate&&0!==t){let t,l=!1;t=a?s?i.find(s):i:s?i.eq(r).find(s):i.eq(r),t.transitionEnd((()=>{if(l)return;if(!e||e.destroyed)return;l=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;ea})},9167:(e,t,s)=>{s.d(t,{X:()=>r});var a=s(1895);let i;function r(){return i||(i=function(){const e=(0,a.zk)();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),i}},1957:(e,t,s)=>{s.d(t,{P:()=>n});var a=s(1895),i=s(6076);let r;function n(e={}){return r||(r=function({userAgent:e}={}){const t=(0,i.k)(),s=(0,a.zk)(),r=s.navigator.platform,n=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,d=s.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===r;let f="MacIntel"===r;return!p&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!m&&(l.os="android",l.android=!0),(p||h||u)&&(l.os="ios",l.ios=!0),l}(e)),r}},6076:(e,t,s)=>{s.d(t,{k:()=>r});var a=s(1895);let i;function r(){return i||(i=function(){const e=(0,a.zk)(),t=(0,a.YE)();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),i}},587:(e,t,s)=>{s.d(t,{Gv:()=>o,LY:()=>c,X$:()=>d,dY:()=>r,dy:()=>p,oR:()=>i,ro:()=>l,tB:()=>n});var a=s(1895);function i(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function r(e,t=0){return setTimeout(e,t)}function n(){return Date.now()}function l(e,t="x"){const s=(0,a.zk)();let i,r,n;const l=function(e){const t=(0,a.zk)();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===r?"":r)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),"x"===t&&(r=s.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=s.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(...e){const t=Object(e[0]),s=["__proto__","constructor","prototype"];for(let i=1;is.indexOf(e)<0));for(let s=0,a=e.length;sr?"next":"prev",c=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,p=()=>{n=(new Date).getTime(),null===l&&(l=n);const a=Math.max(Math.min((n-l)/o,1),0),d=.5-Math.cos(a*Math.PI)/2;let u=r+d*(t-r);if(c(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),c(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})})),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(p)};p()}},3280:(e,t,s)=>{s.d(t,{A:()=>a.A});var a=s(3277),i=s(9759),r=s(9503),n=s(7673),l=s(6233),o=s(6301),d=s(4387),c=s(7855),p=s(1948),u=s(1949),h=s(9677),m=s(49),f=s(2015),g=s(5855),v=s(79),w=s(3663),b=s(3887),y=s(541),x=s(3247),E=s(6027),$=s(2459),C=s(6559),T=s(4931),S=s(5151),A=s(3875);const M=[i.A,r.A,n.A,l.A,o.A,d.A,c.A,p.A,u.A,h.A,m.A,f.A,g.A,v.A,w.A,b.A,y.A,x.A,E.A,$.A,C.A,T.A,S.A,A.A];a.A.use(M)}},t={};function s(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,s),r.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var a in t)s.o(t,a)&&!s.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);s(7311)})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.asset.php index fed29c58..4a036cff 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.asset.php @@ -1 +1 @@ - array('wp-data', 'wp-url'), 'version' => '2c3223e20be4cce9ef76'); + array('wp-data', 'wp-url'), 'version' => '79698f9b02121618eed6'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.js b/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.js index ab55895e..b815e1a9 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/override-preview-button-url/override-preview-button-url.js @@ -1 +1 @@ -(()=>{"use strict";var e={47143:e=>{e.exports=window.wp.data},93832:e=>{e.exports=window.wp.url}},r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var o=t(47143),a=t(93832);!async function(){(0,o.use)((e=>({dispatch:r=>{const t=r.name??r,o={...e.dispatch(t)};if("core/editor"===t&&o.__unstableSaveForPreview){const{__unstableSaveForPreview:e}=o;o.__unstableSaveForPreview=async(...r)=>{const t=await e(...r);return t.startsWith(window.location.origin)?t:(0,a.addQueryArgs)(t,{logmein:"direct"})}}return o}})))}()})(); \ No newline at end of file +(()=>{"use strict";var e={7143:e=>{e.exports=window.wp.data},3832:e=>{e.exports=window.wp.url}},r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var o=t(7143),a=t(3832);!async function(){(0,o.use)((e=>({dispatch:r=>{const t=r.name??r,o={...e.dispatch(t)};if("core/editor"===t&&o.__unstableSaveForPreview){const{__unstableSaveForPreview:e}=o;o.__unstableSaveForPreview=async(...r)=>{const t=await e(...r);return t.startsWith(window.location.origin)?t:(0,a.addQueryArgs)(t,{logmein:"direct"})}}return o}})))}()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.asset.php index 6dfeb6d5..37aae298 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.asset.php @@ -1 +1 @@ - array('wp-hooks'), 'version' => '4a5e959607ceed8285e8'); + array('wp-hooks'), 'version' => '0dcff7d8c950ca83a317'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.js b/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.js index 56c16ca6..3b5f1b2d 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/paragraph-block-placeholder/paragraph-block-placeholder.js @@ -1 +1 @@ -(()=>{"use strict";var r={52619:r=>{r.exports=window.wp.hooks}},e={};function o(a){var t=e[a];if(void 0!==t)return t.exports;var p=e[a]={exports:{}};return r[a](p,p.exports,o),p.exports}o.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return o.d(e,{a:e}),e},o.d=(r,e)=>{for(var a in e)o.o(e,a)&&!o.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:e[a]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);var a=o(52619);(0,a.addFilter)("blocks.registerBlockType","jetpack-mu-wpcom/paragraph-block-placeholder",((r,e)=>"core/paragraph"===e&&window.wpcomParagraphBlock?{...r,attributes:{...r.attributes,placeholder:{...r.attributes.placeholder,default:window.wpcomParagraphBlock.placeholder}}}:r))})(); \ No newline at end of file +(()=>{"use strict";var r={2619:r=>{r.exports=window.wp.hooks}},e={};function o(a){var t=e[a];if(void 0!==t)return t.exports;var p=e[a]={exports:{}};return r[a](p,p.exports,o),p.exports}o.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return o.d(e,{a:e}),e},o.d=(r,e)=>{for(var a in e)o.o(e,a)&&!o.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:e[a]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);var a=o(2619);(0,a.addFilter)("blocks.registerBlockType","jetpack-mu-wpcom/paragraph-block-placeholder",((r,e)=>"core/paragraph"===e&&window.wpcomParagraphBlock?{...r,attributes:{...r.attributes,placeholder:{...r.attributes.placeholder,default:window.wpcomParagraphBlock.placeholder}}}:r))})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.asset.php index 45d6bb05..f6e3cdcc 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.asset.php @@ -1 +1 @@ - array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins'), 'version' => 'f3eb4bee718f1500db39'); + array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-nux', 'wp-plugins'), 'version' => '8c4f787e143456a6a64a'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.js b/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.js index 8dbe3fc0..97c4e8e7 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/starter-page-templates/starter-page-templates.js @@ -1 +1 @@ -(()=>{var e={43377:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var s=r(10790),n=r(74997),a=r(56427),o=r(29491),i=r(86087),l=r(27723),c=r(13022),p=r(66087),d=r(10356),u=r(79917),m=r(64797),g=r(55897),h=r(13613),_=r(78193);const w=a.MenuItem;class k extends i.Component{constructor(e){super(e),this.state={selectedCategory:this.getDefaultSelectedCategory()}}getFormattedPatternsByPatternSlugs=(0,p.memoize)((e=>{const t=e.reduce(((e,{name:t,title:r="",description:s="",html:a,pattern_meta:o})=>{const i=o?.viewport_width?Number(o.viewport_width):1280;return e[t]={name:t,title:s||r,blocks:a?(0,n.parse)((0,g.A)(a,this.props.siteInformation)):[],viewportWidth:Math.max(i,320)},e}),{});return this.filterPatternsWithMissingBlocks(t)}));filterPatternsWithMissingBlocks(e){return Object.entries(e).reduce(((e,[t,r])=>((0,d.A)(r.blocks)&&r.blocks.length||(e[t]=r),e)),{})}getBlocksForSelection=e=>{const t=this.getBlocksByPatternSlug(e);return(0,m.A)(t,(function(e){return"core/button"===e.name&&void 0!==e.attributes.url&&(e.attributes.url="#"),e}))};componentDidMount(){this.props.isOpen&&this.trackCurrentView()}componentDidUpdate(e){!e.isOpen&&this.props.isOpen&&this.trackCurrentView(),(this.props.isWelcomeGuideActive||this.props.areTipsEnabled)&&this.props.hideWelcomeGuide()}trackCurrentView(){(0,h.$3)("add-page")}getDefaultSelectedCategory(){const e=this.getPatternCategories();return e?.length?e[0].slug:null}setPattern=e=>{(0,h.m3)(e);const{selectedCategory:t}=this.state;if(this.props.savePatternChoice(e,t),"blank"===e)return this.props.insertPattern("",[]),void this.props.onClose();const r=this.props.patterns.find((t=>t.name===e)),s=(r?.categories||{}).hasOwnProperty("home"),n=this.getBlocksForSelection(e),a=s?null:r?.title||"";n&&n.length?(this.props.insertPattern(a,n),this.props.onClose()):this.props.onClose()};handleCategorySelection=e=>{this.setState({selectedCategory:e})};closeModal=e=>{"blur"!==e?.type?((0,h.mk)(),this.props.onClose()):e.stopPropagation()};getBlocksByPatternSlug(e){return this.getFormattedPatternsByPatternSlugs(this.props.patterns)?.[e]?.blocks??[]}getPatternGroups=()=>{if(!this.props.patterns.length)return null;const e={};for(const t of this.props.patterns)for(const r in t.categories)r in e||(e[r]=t.categories[r]);return(0,u.W)(["featured","about","blog","home","gallery","services","contact"],e)};getPatternsForGroup=e=>{if(!this.props.patterns.length)return null;if("blank"===e)return[{name:"blank",title:"Blank",html:"",ID:null}];const t=[];for(const r of this.props.patterns)for(const s in r.categories)s===e&&t.push(r);return t};getPatternCategories=()=>{const e=this.getPatternGroups();if(!e)return null;const t=[];for(const r in e)t.push({slug:r,name:e[r].title});return t};renderPatternGroup=()=>{const{selectedCategory:e}=this.state;if(!e)return null;const t=this.getPatternsForGroup(e);return t?.length?this.renderPatternsList(t):null};renderPatternsList=e=>{if(!e.length)return null;const t=this.getFormattedPatternsByPatternSlugs(this.props.patterns),r=Object.keys(t),n=(a=r,e.filter((e=>a.includes(e.name))));var a;return n.length?(0,s.jsx)(_.A,{label:(0,l.__)("Layout","jetpack-mu-wpcom"),patterns:n.map((e=>t[e.name])),onPatternSelect:this.setPattern}):null};render(){const{selectedCategory:e}=this.state,{isOpen:t,instanceId:r}=this.props;return t?(0,s.jsx)(a.Modal,{title:"",className:"page-pattern-modal",onRequestClose:this.closeModal,aria:{labelledby:`page-pattern-modal__heading-${r}`,describedby:`page-pattern-modal__description-${r}`},children:(0,s.jsxs)("div",{className:"page-pattern-modal__inner",children:[(0,s.jsxs)("div",{className:"page-pattern-modal__sidebar",children:[(0,s.jsx)("h1",{id:`page-pattern-modal__heading-${r}`,className:(0,c.A)("page-pattern-modal__heading",{"page-pattern-modal__heading--default":!this.props.title}),children:this.props.title||(0,l.__)("Add a page","jetpack-mu-wpcom")}),(0,s.jsx)("p",{id:`page-pattern-modal__description-${r}`,className:"page-pattern-modal__description",children:this.props.description||(0,l.__)("Pick a pre-defined layout or start with a blank page.","jetpack-mu-wpcom")}),(0,s.jsxs)("div",{className:"page-pattern-modal__button-container",children:[(0,s.jsx)(a.Button,{variant:"secondary",onClick:()=>this.setPattern("blank"),className:"page-pattern-modal__blank-button",children:(0,l.__)("Blank page","jetpack-mu-wpcom")}),(0,s.jsx)("select",{className:"page-pattern-modal__mobile-category-dropdown",value:e??void 0,onChange:e=>this.handleCategorySelection(e.currentTarget.value),children:this.getPatternCategories()?.map((({slug:e,name:t})=>(0,s.jsx)("option",{value:e,children:t},e)))})]}),(0,s.jsx)(a.VisuallyHidden,{as:"h2",id:`page-pattern-modal__list-heading-${r}`,children:(0,l.__)("Page categories","jetpack-mu-wpcom")}),(0,s.jsx)(a.NavigableMenu,{className:"page-pattern-modal__category-list",orientation:"vertical","aria-labelledby":`page-pattern-modal__list-heading-${r}`,onNavigate:(e,t)=>this.handleCategorySelection(t.dataset.slug??null),children:this.getPatternCategories()?.map((({slug:t,name:r})=>(0,s.jsx)(w,{variant:"tertiary","aria-selected":t===e,"data-slug":t,onClick:()=>this.handleCategorySelection(t),className:"page-pattern-modal__category-button",tabIndex:t===e?void 0:-1,children:(0,s.jsx)("span",{className:"page-pattern-modal__category-item-selection-wrapper",children:r})},t)))})]}),(0,s.jsx)("div",{className:"page-pattern-modal__pattern-list-container",children:this.renderPatternGroup()})]})}):null}}const b=(0,o.withInstanceId)(k)},78193:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var s=r(10790),n=r(94715),a=r(56427),o=r(29491),i=r(86087);const l=()=>{},c=(0,i.memo)((0,o.withInstanceId)((({instanceId:e,label:t,patterns:r=[],onPatternSelect:i=l})=>{const c=(0,o.useAsyncList)(r);return Array.isArray(r)&&r.length?(0,s.jsx)(a.BaseControl,{id:`pattern-selector-control__${e}`,label:t,className:"pattern-selector-control",children:(0,s.jsx)(n.__experimentalBlockPatternsList,{blockPatterns:r,shownPatterns:c,onClickPattern:e=>i(e.name)})}):null})))},10356:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});const s=function e(t){return!!t.find((t=>"core/missing"===t.name||!(!t.innerBlocks||!t.innerBlocks.length)&&e(t.innerBlocks)))}},79917:(e,t,r)=>{"use strict";function s(e,t){const r=Object.keys(t),s=e.filter((e=>r.includes(e))),n=r.filter((t=>!e.includes(t)));return s.concat(n.sort()).reduce(((e,r)=>(e[r]=t[r],e)),{})}r.d(t,{W:()=>s})},64797:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(74997);const n=function e(t,r){return t.map((t=>((t=r((0,s.cloneBlock)(t))).innerBlocks&&t.innerBlocks.length&&(t.innerBlocks=e(t.innerBlocks,r)),t)))}},55897:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(27723);const n={Address:(0,s._x)("123 Main St","default address","jetpack-mu-wpcom"),Phone:(0,s._x)("555-555-5555","default phone number","jetpack-mu-wpcom"),CompanyName:(0,s._x)("Your Company Name","default company name","jetpack-mu-wpcom"),Vertical:(0,s._x)("Business","default vertical name","jetpack-mu-wpcom")},a={CompanyName:"title",Address:"address",Phone:"phone",Vertical:"vertical"};function o(e,t){return e in t}const i=(e,t={})=>e?e.replace(/{{(\w+)}}/g,((e,r)=>{const s=o(r,n)?n[r]:"",i=o(r,a)?a[r]:"";return t[i]||s||r})):""},13613:(e,t,r)=>{"use strict";r.d(t,{$3:()=>a,br:()=>n,m3:()=>i,mk:()=>o}),window._tkq=window._tkq||[];let s=null;const n=e=>{s=e,window._tkq.push(["identifyUser",e.userid,e.username])},a=e=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_view",{blog_id:s.blogid,source:e}])},o=()=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_dismiss",{blog_id:s.blogid}])},i=e=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_template_selected",{blog_id:s.blogid,pattern:e}])}},95048:(e,t,r)=>{"use strict";r.d(t,{i:()=>m});var s=r(96072),n=r.n(s),a=r(43377),o=r(47143),i=r(86087),l=r(52619),c=r(27723),p=r(77514);r(45518);const __=c.__,d="isInsertingPagePattern",u="automattic/full-site-editing/inserting-pattern";function m(e){const{setOpenState:t}=(0,o.useDispatch)(p.L),{setUsedPageOrPatternsModal:r}=(0,o.useDispatch)("automattic/wpcom-welcome-guide"),{replaceInnerBlocks:s}=(0,o.useDispatch)("core/block-editor"),{editPost:c}=(0,o.useDispatch)("core/editor"),{toggleFeature:m}=(0,o.useDispatch)("core/edit-post"),{disableTips:g}=(0,o.useDispatch)("core/nux"),h=(0,o.useSelect)((e=>{const{isOpen:t,isPatternPicker:r}=e(p.L);return{isOpen:t(),isWelcomeGuideActive:e("core/edit-post").isFeatureActive("welcomeGuide"),areTipsEnabled:!!e("core/nux")&&e("core/nux").areTipsEnabled(),...r()&&{title:__("Choose a Pattern","jetpack-mu-wpcom"),description:__("Pick a pre-defined layout or continue with a blank page","jetpack-mu-wpcom")}}}),[]),{getMeta:_,postContentBlock:w}=(0,o.useSelect)((e=>({getMeta:()=>e("core/editor").getEditedPostAttribute("meta"),postContentBlock:e("core/editor").getBlocks().find((e=>"a8c/post-content"===e.name))})),[]),k=(0,i.useCallback)(((e,t)=>{const r=_(),s=Array.isArray(r._wpcom_template_layout_category)&&r._wpcom_template_layout_category||[];c({meta:{...r,_starter_page_template:e,_wpcom_template_layout_category:[...s,t]}})}),[c,_]),b=(0,i.useCallback)(((e,t)=>{(0,l.addFilter)(d,u,(()=>!0)),e&&c({title:e}),s(w?w.clientId:"",t,!1),(0,l.removeFilter)(d,u)}),[c,w,s]),{isWelcomeGuideActive:f,areTipsEnabled:P}=h,y=(0,i.useCallback)((()=>{f?m("welcomeGuide"):P&&g()}),[P,g,f,m]),v=(0,i.useCallback)((()=>{t("CLOSED"),r?.()}),[t,r]);return React.createElement(a.A,n()({},h,{onClose:v,savePatternChoice:k,insertPattern:b,hideWelcomeGuide:y},e))}},77514:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});var s=r(47143);const n=(0,s.createReduxStore)("automattic/starter-page-layouts",{reducer:(e="CLOSED",{type:t,...r})=>"SET_IS_OPEN"===t?r.openState:e,actions:{setOpenState:e=>({type:"SET_IS_OPEN",openState:e||"CLOSED"})},selectors:{isOpen:e=>"CLOSED"!==e,isPatternPicker:e=>"OPEN_FOR_BLANK_CANVAS"===e}});(0,s.register)(n)},10790:e=>{"use strict";e.exports=window.ReactJSXRuntime},66087:e=>{"use strict";e.exports=window.lodash},94715:e=>{"use strict";e.exports=window.wp.blockEditor},74997:e=>{"use strict";e.exports=window.wp.blocks},56427:e=>{"use strict";e.exports=window.wp.components},29491:e=>{"use strict";e.exports=window.wp.compose},47143:e=>{"use strict";e.exports=window.wp.data},86087:e=>{"use strict";e.exports=window.wp.element},52619:e=>{"use strict";e.exports=window.wp.hooks},27723:e=>{"use strict";e.exports=window.wp.i18n},45518:e=>{"use strict";e.exports=window.wp.nux},92279:e=>{"use strict";e.exports=window.wp.plugins},96072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function s(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;tn});const n=function(){for(var e,t,r=0,n="",a=arguments.length;r{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(13613),t=r(47143),s=r(92279),n=r(95048),a=r(77514);const{templates:o=[],tracksUserData:i,screenAction:l}=window.starterPageTemplatesConfig??{};i&&(0,e.br)(i),"add"===l&&(0,t.dispatch)(a.L).setOpenState("OPEN_FROM_ADD_PAGE"),(0,s.registerPlugin)("page-patterns",{render:()=>React.createElement(n.i,{patterns:o}),icon:void 0})})()})(); \ No newline at end of file +(()=>{var e={3377:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var s=r(790),n=r(4997),a=r(6427),o=r(9491),i=r(6087),l=r(7723),c=r(3022),p=r(8468),d=r(356),u=r(9917),m=r(4797),g=r(5897),h=r(3613),_=r(8193);const w=a.MenuItem;class k extends i.Component{constructor(e){super(e),this.state={selectedCategory:this.getDefaultSelectedCategory()}}getFormattedPatternsByPatternSlugs=(0,p.memoize)((e=>{const t=e.reduce(((e,{name:t,title:r="",description:s="",html:a,pattern_meta:o})=>{const i=o?.viewport_width?Number(o.viewport_width):1280;return e[t]={name:t,title:s||r,blocks:a?(0,n.parse)((0,g.A)(a,this.props.siteInformation)):[],viewportWidth:Math.max(i,320)},e}),{});return this.filterPatternsWithMissingBlocks(t)}));filterPatternsWithMissingBlocks(e){return Object.entries(e).reduce(((e,[t,r])=>((0,d.A)(r.blocks)&&r.blocks.length||(e[t]=r),e)),{})}getBlocksForSelection=e=>{const t=this.getBlocksByPatternSlug(e);return(0,m.A)(t,(function(e){return"core/button"===e.name&&void 0!==e.attributes.url&&(e.attributes.url="#"),e}))};componentDidMount(){this.props.isOpen&&this.trackCurrentView()}componentDidUpdate(e){!e.isOpen&&this.props.isOpen&&this.trackCurrentView(),(this.props.isWelcomeGuideActive||this.props.areTipsEnabled)&&this.props.hideWelcomeGuide()}trackCurrentView(){(0,h.$3)("add-page")}getDefaultSelectedCategory(){const e=this.getPatternCategories();return e?.length?e[0].slug:null}setPattern=e=>{(0,h.m3)(e);const{selectedCategory:t}=this.state;if(this.props.savePatternChoice(e,t),"blank"===e)return this.props.insertPattern("",[]),void this.props.onClose();const r=this.props.patterns.find((t=>t.name===e)),s=(r?.categories||{}).hasOwnProperty("home"),n=this.getBlocksForSelection(e),a=s?null:r?.title||"";n&&n.length?(this.props.insertPattern(a,n),this.props.onClose()):this.props.onClose()};handleCategorySelection=e=>{this.setState({selectedCategory:e})};closeModal=e=>{"blur"!==e?.type?((0,h.mk)(),this.props.onClose()):e.stopPropagation()};getBlocksByPatternSlug(e){return this.getFormattedPatternsByPatternSlugs(this.props.patterns)?.[e]?.blocks??[]}getPatternGroups=()=>{if(!this.props.patterns.length)return null;const e={};for(const t of this.props.patterns)for(const r in t.categories)r in e||(e[r]=t.categories[r]);return(0,u.W)(["featured","about","blog","home","gallery","services","contact"],e)};getPatternsForGroup=e=>{if(!this.props.patterns.length)return null;if("blank"===e)return[{name:"blank",title:"Blank",html:"",ID:null}];const t=[];for(const r of this.props.patterns)for(const s in r.categories)s===e&&t.push(r);return t};getPatternCategories=()=>{const e=this.getPatternGroups();if(!e)return null;const t=[];for(const r in e)t.push({slug:r,name:e[r].title});return t};renderPatternGroup=()=>{const{selectedCategory:e}=this.state;if(!e)return null;const t=this.getPatternsForGroup(e);return t?.length?this.renderPatternsList(t):null};renderPatternsList=e=>{if(!e.length)return null;const t=this.getFormattedPatternsByPatternSlugs(this.props.patterns),r=Object.keys(t),n=(a=r,e.filter((e=>a.includes(e.name))));var a;return n.length?(0,s.jsx)(_.A,{label:(0,l.__)("Layout","jetpack-mu-wpcom"),patterns:n.map((e=>t[e.name])),onPatternSelect:this.setPattern}):null};render(){const{selectedCategory:e}=this.state,{isOpen:t,instanceId:r}=this.props;return t?(0,s.jsx)(a.Modal,{title:"",className:"page-pattern-modal",onRequestClose:this.closeModal,aria:{labelledby:`page-pattern-modal__heading-${r}`,describedby:`page-pattern-modal__description-${r}`},children:(0,s.jsxs)("div",{className:"page-pattern-modal__inner",children:[(0,s.jsxs)("div",{className:"page-pattern-modal__sidebar",children:[(0,s.jsx)("h1",{id:`page-pattern-modal__heading-${r}`,className:(0,c.A)("page-pattern-modal__heading",{"page-pattern-modal__heading--default":!this.props.title}),children:this.props.title||(0,l.__)("Add a page","jetpack-mu-wpcom")}),(0,s.jsx)("p",{id:`page-pattern-modal__description-${r}`,className:"page-pattern-modal__description",children:this.props.description||(0,l.__)("Pick a pre-defined layout or start with a blank page.","jetpack-mu-wpcom")}),(0,s.jsxs)("div",{className:"page-pattern-modal__button-container",children:[(0,s.jsx)(a.Button,{variant:"secondary",onClick:()=>this.setPattern("blank"),className:"page-pattern-modal__blank-button",children:(0,l.__)("Blank page","jetpack-mu-wpcom")}),(0,s.jsx)("select",{className:"page-pattern-modal__mobile-category-dropdown",value:e??void 0,onChange:e=>this.handleCategorySelection(e.currentTarget.value),children:this.getPatternCategories()?.map((({slug:e,name:t})=>(0,s.jsx)("option",{value:e,children:t},e)))})]}),(0,s.jsx)(a.VisuallyHidden,{as:"h2",id:`page-pattern-modal__list-heading-${r}`,children:(0,l.__)("Page categories","jetpack-mu-wpcom")}),(0,s.jsx)(a.NavigableMenu,{className:"page-pattern-modal__category-list",orientation:"vertical","aria-labelledby":`page-pattern-modal__list-heading-${r}`,onNavigate:(e,t)=>this.handleCategorySelection(t.dataset.slug??null),children:this.getPatternCategories()?.map((({slug:t,name:r})=>(0,s.jsx)(w,{variant:"tertiary","aria-selected":t===e,"data-slug":t,onClick:()=>this.handleCategorySelection(t),className:"page-pattern-modal__category-button",tabIndex:t===e?void 0:-1,children:(0,s.jsx)("span",{className:"page-pattern-modal__category-item-selection-wrapper",children:r})},t)))})]}),(0,s.jsx)("div",{className:"page-pattern-modal__pattern-list-container",children:this.renderPatternGroup()})]})}):null}}const b=(0,o.withInstanceId)(k)},8193:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var s=r(790),n=r(4715),a=r(6427),o=r(9491),i=r(6087);const l=()=>{},c=(0,i.memo)((0,o.withInstanceId)((({instanceId:e,label:t,patterns:r=[],onPatternSelect:i=l})=>{const c=(0,o.useAsyncList)(r);return Array.isArray(r)&&r.length?(0,s.jsx)(a.BaseControl,{id:`pattern-selector-control__${e}`,label:t,className:"pattern-selector-control",children:(0,s.jsx)(n.__experimentalBlockPatternsList,{blockPatterns:r,shownPatterns:c,onClickPattern:e=>i(e.name)})}):null})))},356:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});const s=function e(t){return!!t.find((t=>"core/missing"===t.name||!(!t.innerBlocks||!t.innerBlocks.length)&&e(t.innerBlocks)))}},9917:(e,t,r)=>{"use strict";function s(e,t){const r=Object.keys(t),s=e.filter((e=>r.includes(e))),n=r.filter((t=>!e.includes(t)));return s.concat(n.sort()).reduce(((e,r)=>(e[r]=t[r],e)),{})}r.d(t,{W:()=>s})},4797:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(4997);const n=function e(t,r){return t.map((t=>((t=r((0,s.cloneBlock)(t))).innerBlocks&&t.innerBlocks.length&&(t.innerBlocks=e(t.innerBlocks,r)),t)))}},5897:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(7723);const n={Address:(0,s._x)("123 Main St","default address","jetpack-mu-wpcom"),Phone:(0,s._x)("555-555-5555","default phone number","jetpack-mu-wpcom"),CompanyName:(0,s._x)("Your Company Name","default company name","jetpack-mu-wpcom"),Vertical:(0,s._x)("Business","default vertical name","jetpack-mu-wpcom")},a={CompanyName:"title",Address:"address",Phone:"phone",Vertical:"vertical"};function o(e,t){return e in t}const i=(e,t={})=>e?e.replace(/{{(\w+)}}/g,((e,r)=>{const s=o(r,n)?n[r]:"",i=o(r,a)?a[r]:"";return t[i]||s||r})):""},3613:(e,t,r)=>{"use strict";r.d(t,{$3:()=>a,br:()=>n,m3:()=>i,mk:()=>o}),window._tkq=window._tkq||[];let s=null;const n=e=>{s=e,window._tkq.push(["identifyUser",e.userid,e.username])},a=e=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_view",{blog_id:s.blogid,source:e}])},o=()=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_dismiss",{blog_id:s.blogid}])},i=e=>{s&&window._tkq.push(["recordEvent","a8c_full_site_editing_template_selector_template_selected",{blog_id:s.blogid,pattern:e}])}},5048:(e,t,r)=>{"use strict";r.d(t,{i:()=>m});var s=r(6072),n=r.n(s),a=r(3377),o=r(7143),i=r(6087),l=r(2619),c=r(7723),p=r(7514);r(5518);const __=c.__,d="isInsertingPagePattern",u="automattic/full-site-editing/inserting-pattern";function m(e){const{setOpenState:t}=(0,o.useDispatch)(p.L),{setUsedPageOrPatternsModal:r}=(0,o.useDispatch)("automattic/wpcom-welcome-guide"),{replaceInnerBlocks:s}=(0,o.useDispatch)("core/block-editor"),{editPost:c}=(0,o.useDispatch)("core/editor"),{toggleFeature:m}=(0,o.useDispatch)("core/edit-post"),{disableTips:g}=(0,o.useDispatch)("core/nux"),h=(0,o.useSelect)((e=>{const{isOpen:t,isPatternPicker:r}=e(p.L);return{isOpen:t(),isWelcomeGuideActive:e("core/edit-post").isFeatureActive("welcomeGuide"),areTipsEnabled:!!e("core/nux")&&e("core/nux").areTipsEnabled(),...r()&&{title:__("Choose a Pattern","jetpack-mu-wpcom"),description:__("Pick a pre-defined layout or continue with a blank page","jetpack-mu-wpcom")}}}),[]),{getMeta:_,postContentBlock:w}=(0,o.useSelect)((e=>({getMeta:()=>e("core/editor").getEditedPostAttribute("meta"),postContentBlock:e("core/editor").getBlocks().find((e=>"a8c/post-content"===e.name))})),[]),k=(0,i.useCallback)(((e,t)=>{const r=_(),s=Array.isArray(r._wpcom_template_layout_category)&&r._wpcom_template_layout_category||[];c({meta:{...r,_starter_page_template:e,_wpcom_template_layout_category:[...s,t]}})}),[c,_]),b=(0,i.useCallback)(((e,t)=>{(0,l.addFilter)(d,u,(()=>!0)),e&&c({title:e}),s(w?w.clientId:"",t,!1),(0,l.removeFilter)(d,u)}),[c,w,s]),{isWelcomeGuideActive:f,areTipsEnabled:P}=h,y=(0,i.useCallback)((()=>{f?m("welcomeGuide"):P&&g()}),[P,g,f,m]),v=(0,i.useCallback)((()=>{t("CLOSED"),r?.()}),[t,r]);return React.createElement(a.A,n()({},h,{onClose:v,savePatternChoice:k,insertPattern:b,hideWelcomeGuide:y},e))}},7514:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});var s=r(7143);const n=(0,s.createReduxStore)("automattic/starter-page-layouts",{reducer:(e="CLOSED",{type:t,...r})=>"SET_IS_OPEN"===t?r.openState:e,actions:{setOpenState:e=>({type:"SET_IS_OPEN",openState:e||"CLOSED"})},selectors:{isOpen:e=>"CLOSED"!==e,isPatternPicker:e=>"OPEN_FOR_BLANK_CANVAS"===e}});(0,s.register)(n)},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},8468:e=>{"use strict";e.exports=window.lodash},4715:e=>{"use strict";e.exports=window.wp.blockEditor},4997:e=>{"use strict";e.exports=window.wp.blocks},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},2619:e=>{"use strict";e.exports=window.wp.hooks},7723:e=>{"use strict";e.exports=window.wp.i18n},5518:e=>{"use strict";e.exports=window.wp.nux},2279:e=>{"use strict";e.exports=window.wp.plugins},6072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function s(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;tn});const n=function(){for(var e,t,r=0,n="",a=arguments.length;r{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(3613),t=r(7143),s=r(2279),n=r(5048),a=r(7514);const{templates:o=[],tracksUserData:i,screenAction:l}=window.starterPageTemplatesConfig??{};i&&(0,e.br)(i),"add"===l&&(0,t.dispatch)(a.L).setOpenState("OPEN_FROM_ADD_PAGE"),(0,s.registerPlugin)("page-patterns",{render:()=>React.createElement(n.i,{patterns:o}),icon:void 0})})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.asset.php index 2dc2347f..e5af1c62 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.asset.php @@ -1 +1 @@ - array('jetpack-script-data', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'ca5d1cd649fb75dac6fb'); + array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'b432ae12c046b29bc88d'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.js b/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.js index f758f99a..ff7cdf88 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/tags-education/tags-education.js @@ -1 +1 @@ -(()=>{var e={78254:(e,t,n)=>{"use strict";n.d(t,{Ym:()=>u,t:()=>a});var s=n(10790),r=n(29491),o=n(27723),i=n(51609);const c=(0,i.createContext)(null);function a(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=o.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function u(){const e=(0,i.useContext)(c),t=!!e,[n,s]=(0,i.useState)(a());return(0,i.useEffect)((()=>{if(!t)return s(a()),o.subscribe((()=>{s(a())}))}),[t]),e||n||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,r.createHigherOrderComponent)((e=>t=>{const n={...t,locale:u()};return(0,s.jsx)(e,{...n})}),"withLocale")},57711:(e,t,n)=>{"use strict";n.d(t,{BS:()=>p,Cx:()=>r,K8:()=>i,S9:()=>o,Sc:()=>s,Sj:()=>u,Ws:()=>a,_J:()=>d,lW:()=>l,mt:()=>c,rh:()=>h});const s=["en","ja","es","pt","fr","pt-br"],r=["en","pt-br","de","es","fr","it"],o=["en","fr","de","es"],i=["en","fr","de","es"],c=["en","es"],a=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],u={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},d=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],p=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],l=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],h=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},14437:(e,t,n)=>{"use strict";n.d(t,{rm:()=>m});var s=n(10790),r=n(29491),o=n(51609),i=n(78254),c=n(57711);const a="http://__domain__.invalid";const u=(e,t=[])=>(n,s)=>(t.includes(s)&&"en"!==s&&n.pathname.substr(0,s.length+2)!=="/"+s+"/"&&(n.host=`${c.Sj[s]||s}.${e}`),n),d=(e,t=[],n=null)=>(s,r)=>(s.host="wordpress.com","object"==typeof n&&n instanceof RegExp&&!n.test(s.pathname)&&(t=[]),s.pathname=e+s.pathname,t.includes(r)&&"en"!==r&&(s.pathname=r+s.pathname),s),p=(e=[],t=null,n)=>(s,r)=>"object"==typeof t&&t instanceof RegExp&&!t.test(s.pathname)?s:e.includes(r)&&"en"!==r?("prefix"===n?s.pathname=r+s.pathname:"suffix"===n&&(s.pathname.endsWith("/")?s.pathname+=r+"/":s.pathname+="/"+r),s):s,l=(e=[],t=null)=>(n,s)=>p(e,t,"prefix")(n,s),h=(e=[],t=null)=>(n,s)=>p(e,t,"suffix")(n,s),g={"wordpress.com/support/":l(c._J),"wordpress.com/forums/":l(c.BS),"wordpress.com/blog/":l(c.Sc,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?l(c.Cx)(e,t):e,"wordpress.com/pricing/":l(c.Ws),"wordpress.com/tos/":l(c.lW),"wordpress.com/wp-admin/":u("wordpress.com",c.lW),"wordpress.com/wp-login.php":u("wordpress.com",c.lW),"jetpack.com":l(c.rh),"cloud.jetpack.com":l(c.rh),"en.support.wordpress.com":d("/support",c._J),"en.blog.wordpress.com":d("/blog",c.Sc,/^\/$/),"apps.wordpress.com":l(c.lW),"en.forums.wordpress.com":d("/forums",c.BS),"automattic.com/privacy/":l(c.S9),"automattic.com/cookies/":l(c.K8),"wordpress.com/help/contact/":(e,t,n)=>n?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),l(c._J)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:l(c.lW)(e,t),"wordpress.com/theme/":(e,t,n)=>n?e:l(c.lW)(e,t),"wordpress.com/themes/":(e,t,n)=>n?e:l(c.lW)(e,t),"wordpress.com/plugins/":(e,t,n)=>n?e:l(c.lW)(e,t),"wordpress.com/log-in/":(e,t,n)=>n?e:h(c.lW)(e,t),"wordpress.com/start/":(e,t,n)=>n?e:h(c.lW)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):h(c.mt)(e,t),"wordpress.com/plans/":(e,t,n)=>n||"/plans/"!==e.pathname?e:l(c.Ws)(e,t),"wordpress.com/setup/":(e,t,n)=>n?e:h(c.lW)(e,t)};function f(e){try{return new URL(String(e),a).pathname.endsWith("/")}catch(e){return!1}}function m(e,t=function(){return(0,i.t)()??"en"}(),n=!0,s=!1){let r;try{r=new URL(String(e),a)}catch(t){return e}if(r.origin===a)return e;r.protocol="https:",r.pathname.endsWith(".php")||(r.pathname=(r.pathname+"/").replace(/\/+$/,"/"));const o=r.pathname.substr(0,1+r.pathname.indexOf("/",1));if("en.wordpress.com"===r.host&&(r.host="wordpress.com"),"/"+t+"/"===o)return e;const c=[r.host,r.host+o,r.host+r.pathname];for(let o=c.length-1;o>=0;o--)if(c[o]in g){const i=g[c[o]](r,t,n).href;if(!s)return i;try{const t=new URL(i);return f(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return i}}return e}function w(){const e=(0,i.Ym)();return(0,o.useCallback)(((t,n,s,r)=>m(t,n||e,s,r)),[e])}(0,r.createHigherOrderComponent)((e=>t=>{const n={...t,localizeUrl:w()};return(0,s.jsx)(e,{...n})}),"withLocalizeUrl")},46941:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let s=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(r=s))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(53212)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},53212:(e,t,n)=>{e.exports=function(e){function t(e){let n,r,o,i=null;function c(...e){if(!c.enabled)return;const s=c,r=Number(new Date),o=r-(n||r);s.diff=o,s.prev=n,s.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,r)=>{if("%%"===n)return"%";i++;const o=t.formatters[r];if("function"==typeof o){const t=e[i];n=o.call(s,t),e.splice(i,1),i--}return n})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=s,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function s(e,n){const s=t(this.namespace+(void 0===n?":":n)+e);return s.log=this.log,s}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),r=s.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,s=60*n,r=24*s,o=7*r,i=365.25*r;function c(e,t,n,s){var r=t>=1.5*n;return Math.round(e/n)+" "+s+(r?"s":"")}e.exports=function(e,a){a=a||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"weeks":case"week":case"w":return a*o;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*s;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===u&&isFinite(e))return a.long?function(e){var o=Math.abs(e);if(o>=r)return c(e,o,r,"day");if(o>=s)return c(e,o,s,"hour");if(o>=n)return c(e,o,n,"minute");if(o>=t)return c(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=r)return Math.round(e/r)+"d";if(o>=s)return Math.round(e/s)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},90372:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var s=n(46941);const r=n.n(s)()("dops:analytics");let o,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,s,r,o,i){c.ga.recordPurchase(e,t,n,s,r,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(r("- Super Props: %o",o),t=Object.assign(t,o)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,s){c.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==s&&(o+=" [Option Value: "+s+"]"),r(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,s)},recordPurchase:function(e,t,n,s,r,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},a=c},5932:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var s=n(56439),r=n(93832);function o(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=o("JsonParseError"),c=o("JsonParseAfterRedirectError"),a=o("Api404Error"),u=o("Api404AfterRedirectError"),d=o("FetchNetworkError");const p=new function(e,t){let n=e,o=e,i={"X-WP-Nonce":t},c={credentials:"same-origin",headers:i},a={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},u=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",s=n.length?n.split("&"):[];return s.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+s.join("&")};const d={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){i={"X-WP-Nonce":e},c={credentials:"same-origin",headers:i},a={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{u=e},registerSite:(e,t,r)=>{const o={registration_nonce:e,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(o.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==t&&(o.redirect_uri=t),r&&(o.from=r),g(`${n}jetpack/v4/connection/register`,a,{body:JSON.stringify(o)}).then(l).then(h)},fetchAuthorizationUrl:e=>p((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(l).then(h),fetchSiteConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(h),fetchSiteConnectionStatus:()=>p(`${n}jetpack/v4/connection`,c).then(h),fetchSiteConnectionTest:()=>p(`${n}jetpack/v4/connection/test`,c).then(l).then(h),fetchUserConnectionData:()=>p(`${n}jetpack/v4/connection/data`,c).then(h),fetchUserTrackingSettings:()=>p(`${n}jetpack/v4/tracking/settings`,c).then(l).then(h),updateUserTrackingSettings:e=>g(`${n}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),disconnectSite:()=>g(`${n}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(l).then(h),fetchConnectUrl:()=>p(`${n}jetpack/v4/connection/url`,c).then(l).then(h),unlinkUser:()=>g(`${n}jetpack/v4/connection/user`,a,{body:JSON.stringify({linked:!1})}).then(l).then(h),reconnect:()=>g(`${n}jetpack/v4/connection/reconnect`,a).then(l).then(h),fetchConnectedPlugins:()=>p(`${n}jetpack/v4/connection/plugins`,c).then(l).then(h),setHasSeenWCConnectionModal:()=>g(`${n}jetpack/v4/seen-wc-connection-modal`,a).then(l).then(h),fetchModules:()=>p(`${n}jetpack/v4/module/all`,c).then(l).then(h),fetchModule:e=>p(`${n}jetpack/v4/module/${e}`,c).then(l).then(h),activateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!0})}).then(l).then(h),deactivateModule:e=>g(`${n}jetpack/v4/module/${e}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>g(`${n}jetpack/v4/module/${e}`,a,{body:JSON.stringify(t)}).then(l).then(h),updateSettings:e=>g(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),getProtectCount:()=>p(`${n}jetpack/v4/module/protect/data`,c).then(l).then(h),resetOptions:e=>g(`${n}jetpack/v4/options/${e}`,a,{body:JSON.stringify({reset:!0})}).then(l).then(h),activateVaultPress:()=>g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(l).then(h),getVaultPressData:()=>p(`${n}jetpack/v4/module/vaultpress/data`,c).then(l).then(h),installPlugin:(e,t)=>{const s={slug:e,status:"active"};return t&&(s.source=t),g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify(s)}).then(l).then(h)},activateAkismet:()=>g(`${n}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(l).then(h),getAkismetData:()=>p(`${n}jetpack/v4/module/akismet/data`,c).then(l).then(h),checkAkismetKey:()=>p(`${n}jetpack/v4/module/akismet/key/check`,c).then(l).then(h),checkAkismetKeyTyped:e=>g(`${n}jetpack/v4/module/akismet/key/check`,a,{body:JSON.stringify({api_key:e})}).then(l).then(h),fetchStatsData:e=>p(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(l).then(h).then(m),getPluginUpdates:()=>p(`${n}jetpack/v4/updates/plugins`,c).then(l).then(h),getPlans:()=>p(`${n}jetpack/v4/plans`,c).then(l).then(h),fetchSettings:()=>p(`${n}jetpack/v4/settings`,c).then(l).then(h),updateSetting:e=>g(`${n}jetpack/v4/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchSiteData:()=>p(`${n}jetpack/v4/site`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>p(`${n}jetpack/v4/site/features`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>p(`${n}jetpack/v4/site/products`,c).then(l).then(h),fetchSitePurchases:()=>p(`${n}jetpack/v4/site/purchases`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>p(`${n}jetpack/v4/site/benefits`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>p(`${n}jetpack/v4/site/discount`,c).then(l).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>p(`${n}jetpack/v4/setup/questionnaire`,c).then(l).then(h),fetchRecommendationsData:()=>p(`${n}jetpack/v4/recommendations/data`,c).then(l).then(h),fetchRecommendationsProductSuggestions:()=>p(`${n}jetpack/v4/recommendations/product-suggestions`,c).then(l).then(h),fetchRecommendationsUpsell:()=>p(`${n}jetpack/v4/recommendations/upsell`,c).then(l).then(h),fetchRecommendationsConditional:()=>p(`${n}jetpack/v4/recommendations/conditional`,c).then(l).then(h),saveRecommendationsData:e=>g(`${n}jetpack/v4/recommendations/data`,a,{body:JSON.stringify({data:e})}).then(l),fetchProducts:()=>p(`${n}jetpack/v4/products`,c).then(l).then(h),fetchRewindStatus:()=>p(`${n}jetpack/v4/rewind`,c).then(l).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>p(`${n}jetpack/v4/scan`,c).then(l).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>g(`${n}jetpack/v4/notice/${e}`,a,{body:JSON.stringify({dismissed:!0})}).then(l).then(h),fetchPluginsData:()=>p(`${n}jetpack/v4/plugins`,c).then(l).then(h),fetchIntroOffers:()=>p(`${n}jetpack/v4/intro-offers`,c).then(l).then(h),fetchVerifySiteGoogleStatus:e=>p(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,c).then(l).then(h),verifySiteGoogle:e=>g(`${n}jetpack/v4/verify-site/google`,a,{body:JSON.stringify({keyring_id:e})}).then(l).then(h),submitSurvey:e=>g(`${n}jetpack/v4/marketing/survey`,a,{body:JSON.stringify(e)}).then(l).then(h),saveSetupQuestionnaire:e=>g(`${n}jetpack/v4/setup/questionnaire`,a,{body:JSON.stringify(e)}).then(l).then(h),updateLicensingError:e=>g(`${n}jetpack/v4/licensing/error`,a,{body:JSON.stringify(e)}).then(l).then(h),updateLicenseKey:e=>g(`${n}jetpack/v4/licensing/set-license`,a,{body:JSON.stringify({license:e})}).then(l).then(h),getUserLicensesCounts:()=>p(`${n}jetpack/v4/licensing/user/counts`,c).then(l).then(h),getUserLicenses:()=>p(`${n}jetpack/v4/licensing/user/licenses`,c).then(l).then(h),updateLicensingActivationNoticeDismiss:e=>g(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,a,{body:JSON.stringify({last_detached_count:e})}).then(l).then(h),updateRecommendationsStep:e=>g(`${n}jetpack/v4/recommendations/step`,a,{body:JSON.stringify({step:e})}).then(l),confirmIDCSafeMode:()=>g(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,a).then(l),startIDCFresh:e=>g(`${n}jetpack/v4/identity-crisis/start-fresh`,a,{body:JSON.stringify({redirect_uri:e})}).then(l).then(h),migrateIDC:()=>g(`${n}jetpack/v4/identity-crisis/migrate`,a).then(l),attachLicenses:e=>g(`${n}jetpack/v4/licensing/attach-licenses`,a,{body:JSON.stringify({licenses:e})}).then(l).then(h),fetchSearchPlanInfo:()=>p(`${o}jetpack/v4/search/plan`,c).then(l).then(h),fetchSearchSettings:()=>p(`${o}jetpack/v4/search/settings`,c).then(l).then(h),updateSearchSettings:e=>g(`${o}jetpack/v4/search/settings`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchSearchStats:()=>p(`${o}jetpack/v4/search/stats`,c).then(l).then(h),fetchWafSettings:()=>p(`${n}jetpack/v4/waf`,c).then(l).then(h),updateWafSettings:e=>g(`${n}jetpack/v4/waf`,a,{body:JSON.stringify(e)}).then(l).then(h),fetchWordAdsSettings:()=>p(`${n}jetpack/v4/wordads/settings`,c).then(l).then(h),updateWordAdsSettings:e=>g(`${n}jetpack/v4/wordads/settings`,a,{body:JSON.stringify(e)}),fetchSearchPricing:()=>p(`${o}jetpack/v4/search/pricing`,c).then(l).then(h),fetchMigrationStatus:()=>p(`${n}jetpack/v4/migration/status`,c).then(l).then(h),fetchBackupUndoEvent:()=>p(`${n}jetpack/v4/site/backup/undo-event`,c).then(l).then(h),fetchBackupPreflightStatus:()=>p(`${n}jetpack/v4/site/backup/preflight`,c).then(l).then(h)};function p(e,t){return fetch(u(e),t)}function g(e,t,n){return fetch(e,Object.assign({},t,n)).catch(f)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function l(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new u(e.redirected):new a})):e.json().catch((e=>g(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function h(e){return e.json().catch((t=>g(t,e.redirected,e.url)))}function g(e,t,n){throw t?new c(n):new i}function f(){throw new d}},56439:(e,t,n)=>{let s={};try{s=n(52877)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),s={missingConfig:!0}}const r=e=>Object.hasOwn(s,e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return s[e]}}},89660:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var s=n(5932),r=n(97999),o=n(47143),i=n(51609),c=n(34293);const a=window?.JP_CONNECTION_INITIAL_STATE||(0,r.getScriptData)()?.connection||{},u=({registrationNonce:e=a.registrationNonce,apiRoot:t=a.apiRoot,apiNonce:n=a.apiNonce,redirectUri:r,autoTrigger:u,from:d,skipUserConnection:p}={})=>{const{registerSite:l,connectUser:h,refreshConnectedPlugins:g}=(0,o.useDispatch)(c.a),f=(0,o.useSelect)((e=>e(c.a).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:w,userConnectionData:C,connectedPlugins:y,connectionErrors:v,isRegistered:k,isUserConnected:S,hasConnectedOwner:E,isOfflineMode:j}=(0,o.useSelect)((e=>({siteIsRegistering:e(c.a).getSiteIsRegistering(),userIsConnecting:e(c.a).getUserIsConnecting(),userConnectionData:e(c.a).getUserConnectionData(),connectedPlugins:e(c.a).getConnectedPlugins(),connectionErrors:e(c.a).getConnectionErrors(),isOfflineMode:e(c.a).getIsOfflineMode(),...e(c.a).getConnectionStatus()}))),_=()=>p?r?(window.location=r,Promise.resolve(r)):Promise.resolve():h({from:d,redirectUri:r}),b=t=>(t&&t.preventDefault(),k?_():l({registrationNonce:e,redirectUri:r,from:d}).then((()=>_())));return(0,i.useEffect)((()=>{s.Ay.setApiRoot(t),s.Ay.setApiNonce(n)}),[t,n]),(0,i.useEffect)((()=>{!u||m||w||b()}),[]),{handleRegisterSite:b,handleConnectUser:_,refreshConnectedPlugins:g,isRegistered:k,isUserConnected:S,siteIsRegistering:m,userIsConnecting:w,registrationError:f,userConnectionData:C,hasConnectedOwner:E,connectedPlugins:y,connectionErrors:v,isOfflineMode:j}}},33935:(e,t,n)=>{"use strict";n.d(t,{A1:()=>a,Ay:()=>S,DO:()=>c,Ij:()=>i,Kl:()=>h,LW:()=>u,MU:()=>g,XY:()=>d,ZO:()=>o,dz:()=>p,gH:()=>l,v_:()=>r});var s=n(5932);const r="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",u="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",p="DISCONNECT_USER_SUCCESS",l="SET_CONNECTED_PLUGINS",h="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",f=e=>({type:r,connectionStatus:e}),m=e=>({type:i,isRegistering:e}),w=e=>({type:c,isConnecting:e}),C=e=>({type:a,registrationError:e}),y=()=>({type:u}),v=e=>({type:d,authorizationUrl:e}),k=e=>({type:l,connectedPlugins:e});const S={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:w,setRegistrationError:C,clearRegistrationError:y,setAuthorizationUrl:v,registerSite:function*({registrationNonce:e,redirectUri:t,from:n=""}){yield y(),yield m(!0);try{const s=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:n};return yield f({isRegistered:!0}),yield v(s.authorizeUrl),yield m(!1),Promise.resolve(s)}catch(e){return yield C(e),yield m(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:n}={}){yield w(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}},disconnectUserSuccess:()=>({type:p}),setConnectedPlugins:k,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>s.Ay.fetchConnectedPlugins().then((n=>{e(k(n)),t(n)})))),setConnectionErrors:e=>({type:h,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},22494:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(5932),r=n(47143),o=n(32279);const i={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>s.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:n})=>s.Ay.registerSite(e,t,n),CONNECT_USER:(0,r.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:n,redirectUri:s}={})=>new Promise(((r,i)=>{e(o.A).getAuthorizationUrl(s).then((e=>{const s=n||(e=>window.location.assign(e)),o=new URL(e);t&&o.searchParams.set("from",encodeURIComponent(t));const i=o.toString();s(i),r(i)})).catch((e=>{i(e)}))}))))}},5051:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(47143),r=n(33935);const o=(0,s.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case r.v_:return{...e,...t.connectionStatus};case r.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===r.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===r.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===r.DO?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case r.LW:return!1;case r.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.XY?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===r.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===r.Kl?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===r.MU?t.isConnecting:e})},58019:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(47143),r=n(33935),o=n(32279);const i={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const n=Boolean(e.authorizationUrl),r=(0,s.select)(o.A).hasFinishedResolution("getAuthorizationUrl",t);return n&&!r&&(0,s.dispatch)(o.A).finishResolution("getAuthorizationUrl",t),n},*fulfill(e){const t=yield r.Ay.fetchAuthorizationUrl(e);yield r.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},52676:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},18734:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(47143);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,s.createReduxStore)(e,t),(0,s.register)(r.store))}}const o=r},32279:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const s="jetpack-connection"},34293:(e,t,n)=>{"use strict";n.d(t,{a:()=>d.A});var s=n(97999),r=n(33935),o=n(22494),i=n(5051),c=n(58019),a=n(52676),u=n(18734),d=n(32279);const p=window.JP_CONNECTION_INITIAL_STATE||(0,s.getScriptData)()?.connection;p||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),u.A.mayBeInit(d.A,{__experimentalUseThunks:!0,reducer:i.A,actions:r.Ay,selectors:a.A,resolvers:c.A,controls:o.A,initialState:p||{}})},85985:(e,t,n)=>{"use strict";n.d(t,{st:()=>s.A});n(82034),n(65595),n(53265);var s=n(73489);n(76923),n(15877),n(30335),n(88290)},15877:(e,t,n)=>{"use strict";n(51609)},30335:(e,t,n)=>{"use strict";n(86087)},73489:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var s=n(90372),r=n(89660),o=n(86087);const{tracks:i}=s.A,{recordEvent:c}=i,a=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:a={}}={})=>{const[u,d]=(0,o.useState)(!1),{isUserConnected:p,isRegistered:l,userConnectionData:h={}}=(0,r.A)(),{wpcomUser:{login:g,ID:f}={},blogId:m}=h.currentUser||{},w=(0,o.useCallback)((async(e,t={})=>{p&&f&&g&&c(e,t)}),[p,f,g]);return(0,o.useEffect)((()=>{p&&f&&g&&m&&s.A.initialize(f,g,{blog_id:m})}),[m,f,g,p]),(0,o.useEffect)((()=>{const s=e?`${t}_${e}_${n}`:null;l&&s&&(u||(w(s,a),d(!0)))}),[u,t,e,n,l,a,w]),{recordEvent:w,tracks:i}}},76923:(e,t,n)=>{"use strict";n(47143),n(86087),n(88290)},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,E9:()=>p});var s=n(47143),r=n(62634),o=n(94478),i=n(88290);const c="SET_JETPACK_MODULES",a="SET_MODULE_UPDATING";function u(e){return p({isLoading:e})}function d(e,t){return{type:a,name:e,isUpdating:t}}function p(e){return{type:c,options:e}}const l={updateJetpackModuleStatus:function*(e){try{yield d(e.name,!0),yield(0,o.sB)(e);const t=yield(0,o.wz)();return yield p({data:t}),!0}catch(e){const t=(0,s.select)(i.F).getJetpackModules();return yield p(t),!1}finally{yield d(e.name,!1)}},setJetpackModules:p,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield u(!0);const e=yield(0,o.wz)();return yield p({data:e}),!0}catch(e){const t=(0,s.select)(i.F).getJetpackModules();return yield p(t),!1}finally{yield u(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,sB:()=>a,wz:()=>c});var s=n(1455),r=n.n(s);const o="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",c=()=>({type:o}),a=e=>({type:i,settings:e}),u={[o]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});var s=n(47143),r=n(27105),o=n(94478),i=n(38862),c=n(62701),a=n(31640);const u="jetpack-modules",d=(0,s.createReduxStore)(u,{reducer:i.A,actions:r.Ay,controls:o.Ay,resolvers:c.A,selectors:a.A});(0,s.register)(d);const p=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==p&&(0,s.dispatch)(u).setJetpackModules({data:{...p}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const s={isLoading:!1,isUpdating:{},data:{}},r=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(27105),r=n(94478);const o={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(62634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";var s=n(27723);n(93832),n(66087);const __=s.__;__("Upgrade your plan to use video covers","jetpack-mu-wpcom"),__("Upgrade your plan to upload audio","jetpack-mu-wpcom")},82034:(e,t,n)=>{"use strict";n(92279)},62634:(e,t,n)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===s()}n.d(t,{Sy:()=>r})},65595:(e,t,n)=>{"use strict";n(96072),n(29491)},52877:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-mu-wpcom"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-mu-wpcom"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-mu-wpcom"}},97999:e=>{"use strict";e.exports=window.JetpackScriptDataModule},51609:e=>{"use strict";e.exports=window.React},10790:e=>{"use strict";e.exports=window.ReactJSXRuntime},66087:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},56427:e=>{"use strict";e.exports=window.wp.components},29491:e=>{"use strict";e.exports=window.wp.compose},47143:e=>{"use strict";e.exports=window.wp.data},86087:e=>{"use strict";e.exports=window.wp.element},52619:e=>{"use strict";e.exports=window.wp.hooks},27723:e=>{"use strict";e.exports=window.wp.i18n},92279:e=>{"use strict";e.exports=window.wp.plugins},93832:e=>{"use strict";e.exports=window.wp.url},96072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(14437),t=n(85985),s=n(56427),r=n(29491),o=n(52619);const i=(0,r.createHigherOrderComponent)((n=>r=>{const{tracks:o}=(0,t.st)();return"post_tag"===r.slug&&window.wpcomTagsEducation?React.createElement(React.Fragment,null,React.createElement(n,r),React.createElement(s.ExternalLink,{href:(0,e.rm)("https://wordpress.com/support/posts/tags/"),onClick:()=>{o.recordEvent("jetpack_mu_wpcom_tags_education_link_click")}},window.wpcomTagsEducation.actionText)):React.createElement(n,r)}),"addTagsEducationLink");(0,o.addFilter)("editor.PostTaxonomyType","jetpack-mu-wpcom/add-tags-education-link",i)})()})(); \ No newline at end of file +(()=>{var e={8254:(e,t,n)=>{"use strict";n.d(t,{Ym:()=>u,t:()=>c});var r=n(790),o=n(9491),s=n(7723),a=n(1609);const i=(0,a.createContext)(null);function c(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=s.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function u(){const e=(0,a.useContext)(i),t=!!e,[n,r]=(0,a.useState)(c());return(0,a.useEffect)((()=>{if(!t)return r(c()),s.subscribe((()=>{r(c())}))}),[t]),e||n||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,o.createHigherOrderComponent)((e=>t=>{const n={...t,locale:u()};return(0,r.jsx)(e,{...n})}),"withLocale")},7711:(e,t,n)=>{"use strict";n.d(t,{BS:()=>p,Cx:()=>o,K8:()=>a,S9:()=>s,Sc:()=>r,Sj:()=>u,Ws:()=>c,_J:()=>d,lW:()=>l,mt:()=>i,rh:()=>m});const r=["en","ja","es","pt","fr","pt-br"],o=["en","pt-br","de","es","fr","it"],s=["en","fr","de","es"],a=["en","fr","de","es"],i=["en","es"],c=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],u={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},d=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],p=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],l=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],m=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},4437:(e,t,n)=>{"use strict";n.d(t,{rm:()=>g});var r=n(790),o=n(9491),s=n(1609),a=n(8254),i=n(7711);const c="http://__domain__.invalid";const u=(e,t=[])=>(n,r)=>(t.includes(r)&&"en"!==r&&n.pathname.substr(0,r.length+2)!=="/"+r+"/"&&(n.host=`${i.Sj[r]||r}.${e}`),n),d=(e,t=[],n=null)=>(r,o)=>(r.host="wordpress.com","object"==typeof n&&n instanceof RegExp&&!n.test(r.pathname)&&(t=[]),r.pathname=e+r.pathname,t.includes(o)&&"en"!==o&&(r.pathname=o+r.pathname),r),p=(e=[],t=null,n)=>(r,o)=>"object"==typeof t&&t instanceof RegExp&&!t.test(r.pathname)?r:e.includes(o)&&"en"!==o?("prefix"===n?r.pathname=o+r.pathname:"suffix"===n&&(r.pathname.endsWith("/")?r.pathname+=o+"/":r.pathname+="/"+o),r):r,l=(e=[],t=null)=>(n,r)=>p(e,t,"prefix")(n,r),m=(e=[],t=null)=>(n,r)=>p(e,t,"suffix")(n,r),w={"wordpress.com/support/":l(i._J),"wordpress.com/forums/":l(i.BS),"wordpress.com/blog/":l(i.Sc,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?l(i.Cx)(e,t):e,"wordpress.com/pricing/":l(i.Ws),"wordpress.com/tos/":l(i.lW),"wordpress.com/wp-admin/":u("wordpress.com",i.lW),"wordpress.com/wp-login.php":u("wordpress.com",i.lW),"jetpack.com":l(i.rh),"cloud.jetpack.com":l(i.rh),"en.support.wordpress.com":d("/support",i._J),"en.blog.wordpress.com":d("/blog",i.Sc,/^\/$/),"apps.wordpress.com":l(i.lW),"en.forums.wordpress.com":d("/forums",i.BS),"automattic.com/privacy/":l(i.S9),"automattic.com/cookies/":l(i.K8),"wordpress.com/help/contact/":(e,t,n)=>n?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),l(i._J)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:l(i.lW)(e,t),"wordpress.com/theme/":(e,t,n)=>n?e:l(i.lW)(e,t),"wordpress.com/themes/":(e,t,n)=>n?e:l(i.lW)(e,t),"wordpress.com/plugins/":(e,t,n)=>n?e:l(i.lW)(e,t),"wordpress.com/log-in/":(e,t,n)=>n?e:m(i.lW)(e,t),"wordpress.com/start/":(e,t,n)=>n?e:m(i.lW)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):m(i.mt)(e,t),"wordpress.com/plans/":(e,t,n)=>n||"/plans/"!==e.pathname?e:l(i.Ws)(e,t),"wordpress.com/setup/":(e,t,n)=>n?e:m(i.lW)(e,t)};function f(e){try{return new URL(String(e),c).pathname.endsWith("/")}catch(e){return!1}}function g(e,t=function(){return(0,a.t)()??"en"}(),n=!0,r=!1){let o;try{o=new URL(String(e),c)}catch(t){return e}if(o.origin===c)return e;o.protocol="https:",o.pathname.endsWith(".php")||(o.pathname=(o.pathname+"/").replace(/\/+$/,"/"));const s=o.pathname.substr(0,1+o.pathname.indexOf("/",1));if("en.wordpress.com"===o.host&&(o.host="wordpress.com"),"/"+t+"/"===s)return e;const i=[o.host,o.host+s,o.host+o.pathname];for(let s=i.length-1;s>=0;s--)if(i[s]in w){const a=w[i[s]](o,t,n).href;if(!r)return a;try{const t=new URL(a);return f(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return a}}return e}function h(){const e=(0,a.Ym)();return(0,s.useCallback)(((t,n,r,o)=>g(t,n||e,r,o)),[e])}(0,o.createHigherOrderComponent)((e=>t=>{const n={...t,localizeUrl:h()};return(0,r.jsx)(e,{...n})}),"withLocalizeUrl")},6941:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(3212)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3212:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,s,a=null;function i(...e){if(!i.enabled)return;const r=i,o=Number(new Date),s=o-(n||o);r.diff=s,r.prev=n,r.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";a++;const s=t.formatters[o];if("function"==typeof s){const t=e[a];n=s.call(r,t),e.splice(a,1),a--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=r,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,s=t.enabled(e)),s),set:e=>{a=e}}),"function"==typeof t.init&&t.init(i),i}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,r=60*n,o=24*r,s=7*o,a=365.25*o;function i(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var c=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return c.long?function(e){var s=Math.abs(e);if(s>=o)return i(e,s,o,"day");if(s>=r)return i(e,s,r,"hour");if(s>=n)return i(e,s,n,"minute");if(s>=t)return i(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=o)return Math.round(e/o)+"d";if(s>=r)return Math.round(e/r)+"h";if(s>=n)return Math.round(e/n)+"m";if(s>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6941);const o=n.n(r)()("dops:analytics");let s,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,n){i.setUser(e,t),i.setSuperProps(n),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){a={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=Object.assign(s||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return n}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,o,s,a){i.ga.recordPurchase(e,t,n,r,o,s,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(o("- Super Props: %o",s),t=Object.assign(t,s)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(a&&(e={userId:"u-"+a.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){i.ga.initialize();let s="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(s+=" [Option Label: "+n+"]"),void 0!==r&&(s+=" [Option Value: "+r+"]"),o(s),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,o,s,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){a&&window._tkq.push(["identifyUser",a.ID,a.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=i},5985:(e,t,n)=>{"use strict";n.d(t,{st:()=>r.A});n(2034),n(5595),n(3265);var r=n(3489);n(6923),n(5877),n(335),n(8290)},5877:(e,t,n)=>{"use strict";n(1609)},335:(e,t,n)=>{"use strict";n(6087)},3489:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(372),o=n(9384),s=n(6087);const{tracks:a}=r.A,{recordEvent:i}=a,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[u,d]=(0,s.useState)(!1),{isUserConnected:p,isRegistered:l,userConnectionData:m={}}=(0,o.useConnection)(),{wpcomUser:{login:w,ID:f}={},blogId:g}=m.currentUser||{},h=(0,s.useCallback)((async(e,t={})=>{p&&f&&w&&i(e,t)}),[p,f,w]);return(0,s.useEffect)((()=>{p&&f&&w&&g&&r.A.initialize(f,w,{blog_id:g})}),[g,f,w,p]),(0,s.useEffect)((()=>{const r=e?`${t}_${e}_${n}`:null;l&&r&&(u||(h(r,c),d(!0)))}),[u,t,e,n,l,c,h]),{recordEvent:h,tracks:a}}},6923:(e,t,n)=>{"use strict";n(7143),n(6087),n(8290)},7105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,E9:()=>p});var r=n(7143),o=n(2634),s=n(4478),a=n(8290);const i="SET_JETPACK_MODULES",c="SET_MODULE_UPDATING";function u(e){return p({isLoading:e})}function d(e,t){return{type:c,name:e,isUpdating:t}}function p(e){return{type:i,options:e}}const l={updateJetpackModuleStatus:function*(e){try{yield d(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield p({data:t}),!0}catch(e){const t=(0,r.select)(a.F).getJetpackModules();return yield p(t),!1}finally{yield d(e.name,!1)}},setJetpackModules:p,fetchModules:function*(){if((0,o.Sy)())return!0;try{yield u(!0);const e=yield(0,s.wz)();return yield p({data:e}),!0}catch(e){const t=(0,r.select)(a.F).getJetpackModules();return yield p(t),!1}finally{yield u(!1)}}}},4478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,sB:()=>c,wz:()=>i});var r=n(1455),o=n.n(r);const s="FETCH_JETPACK_MODULES",a="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),c=e=>({type:a,settings:e}),u={[s]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[a]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});var r=n(7143),o=n(7105),s=n(4478),a=n(8862),i=n(2701),c=n(1640);const u="jetpack-modules",d=(0,r.createReduxStore)(u,{reducer:a.A,actions:o.Ay,controls:s.Ay,resolvers:i.A,selectors:c.A});(0,r.register)(d);const p=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==p&&(0,r.dispatch)(u).setJetpackModules({data:{...p}})},8862:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r={isLoading:!1,isUpdating:{},data:{}},o=(e=r,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(7105),o=n(4478);const s={getJetpackModules:function*(){try{const e=yield(0,o.wz)();if(e)return(0,r.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2634);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,r.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,n)=>{"use strict";var r=n(7723);n(3832),n(8468);const __=r.__;__("Upgrade your plan to use video covers","jetpack-mu-wpcom"),__("Upgrade your plan to upload audio","jetpack-mu-wpcom")},2034:(e,t,n)=>{"use strict";n(2279)},2634:(e,t,n)=>{"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===r()}n.d(t,{Sy:()=>o})},5595:(e,t,n)=>{"use strict";n(6072),n(9491)},9384:e=>{"use strict";e.exports=window.JetpackConnection},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},8468:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},2619:e=>{"use strict";e.exports=window.wp.hooks},7723:e=>{"use strict";e.exports=window.wp.i18n},2279:e=>{"use strict";e.exports=window.wp.plugins},3832:e=>{"use strict";e.exports=window.wp.url},6072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(4437),t=n(5985),r=n(6427),o=n(9491),s=n(2619);const a=(0,o.createHigherOrderComponent)((n=>o=>{const{tracks:s}=(0,t.st)();return"post_tag"===o.slug&&window.wpcomTagsEducation?React.createElement(React.Fragment,null,React.createElement(n,o),React.createElement(r.ExternalLink,{href:(0,e.rm)("https://wordpress.com/support/posts/tags/"),onClick:()=>{s.recordEvent("jetpack_mu_wpcom_tags_education_link_click")}},window.wpcomTagsEducation.actionText)):React.createElement(n,o)}),"addTagsEducationLink");(0,s.addFilter)("editor.PostTaxonomyType","jetpack-mu-wpcom/add-tags-education-link",a)})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.asset.php index 0ef5a2c6..384a4632 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.asset.php @@ -1 +1 @@ - array('jetpack-script-data', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'bc5a3905e367218c56a5'); + array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => '91b7584fad22422011ee'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.js b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.js index bdee3d50..1faf94c3 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-description-links/wpcom-block-description-links.js @@ -1 +1 @@ -(()=>{var e={78254:(e,t,o)=>{"use strict";o.d(t,{Ym:()=>a,t:()=>p});var s=o(10790),r=o(29491),n=o(27723),i=o(51609);const c=(0,i.createContext)(null);function p(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=n.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function a(){const e=(0,i.useContext)(c),t=!!e,[o,s]=(0,i.useState)(p());return(0,i.useEffect)((()=>{if(!t)return s(p()),n.subscribe((()=>{s(p())}))}),[t]),e||o||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,locale:a()};return(0,s.jsx)(e,{...o})}),"withLocale")},57711:(e,t,o)=>{"use strict";o.d(t,{BS:()=>l,Cx:()=>r,K8:()=>i,S9:()=>n,Sc:()=>s,Sj:()=>a,Ws:()=>p,_J:()=>d,lW:()=>u,mt:()=>c,rh:()=>h});const s=["en","ja","es","pt","fr","pt-br"],r=["en","pt-br","de","es","fr","it"],n=["en","fr","de","es"],i=["en","fr","de","es"],c=["en","es"],p=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],a={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},d=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],l=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],u=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],h=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},14437:(e,t,o)=>{"use strict";o.d(t,{rm:()=>m});var s=o(10790),r=o(29491),n=o(51609),i=o(78254),c=o(57711);const p="http://__domain__.invalid";const a=(e,t=[])=>(o,s)=>(t.includes(s)&&"en"!==s&&o.pathname.substr(0,s.length+2)!=="/"+s+"/"&&(o.host=`${c.Sj[s]||s}.${e}`),o),d=(e,t=[],o=null)=>(s,r)=>(s.host="wordpress.com","object"==typeof o&&o instanceof RegExp&&!o.test(s.pathname)&&(t=[]),s.pathname=e+s.pathname,t.includes(r)&&"en"!==r&&(s.pathname=r+s.pathname),s),l=(e=[],t=null,o)=>(s,r)=>"object"==typeof t&&t instanceof RegExp&&!t.test(s.pathname)?s:e.includes(r)&&"en"!==r?("prefix"===o?s.pathname=r+s.pathname:"suffix"===o&&(s.pathname.endsWith("/")?s.pathname+=r+"/":s.pathname+="/"+r),s):s,u=(e=[],t=null)=>(o,s)=>l(e,t,"prefix")(o,s),h=(e=[],t=null)=>(o,s)=>l(e,t,"suffix")(o,s),k={"wordpress.com/support/":u(c._J),"wordpress.com/forums/":u(c.BS),"wordpress.com/blog/":u(c.Sc,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?u(c.Cx)(e,t):e,"wordpress.com/pricing/":u(c.Ws),"wordpress.com/tos/":u(c.lW),"wordpress.com/wp-admin/":a("wordpress.com",c.lW),"wordpress.com/wp-login.php":a("wordpress.com",c.lW),"jetpack.com":u(c.rh),"cloud.jetpack.com":u(c.rh),"en.support.wordpress.com":d("/support",c._J),"en.blog.wordpress.com":d("/blog",c.Sc,/^\/$/),"apps.wordpress.com":u(c.lW),"en.forums.wordpress.com":d("/forums",c.BS),"automattic.com/privacy/":u(c.S9),"automattic.com/cookies/":u(c.K8),"wordpress.com/help/contact/":(e,t,o)=>o?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),u(c._J)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:u(c.lW)(e,t),"wordpress.com/theme/":(e,t,o)=>o?e:u(c.lW)(e,t),"wordpress.com/themes/":(e,t,o)=>o?e:u(c.lW)(e,t),"wordpress.com/plugins/":(e,t,o)=>o?e:u(c.lW)(e,t),"wordpress.com/log-in/":(e,t,o)=>o?e:h(c.lW)(e,t),"wordpress.com/start/":(e,t,o)=>o?e:h(c.lW)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):h(c.mt)(e,t),"wordpress.com/plans/":(e,t,o)=>o||"/plans/"!==e.pathname?e:u(c.Ws)(e,t),"wordpress.com/setup/":(e,t,o)=>o?e:h(c.lW)(e,t)};function g(e){try{return new URL(String(e),p).pathname.endsWith("/")}catch(e){return!1}}function m(e,t=function(){return(0,i.t)()??"en"}(),o=!0,s=!1){let r;try{r=new URL(String(e),p)}catch(t){return e}if(r.origin===p)return e;r.protocol="https:",r.pathname.endsWith(".php")||(r.pathname=(r.pathname+"/").replace(/\/+$/,"/"));const n=r.pathname.substr(0,1+r.pathname.indexOf("/",1));if("en.wordpress.com"===r.host&&(r.host="wordpress.com"),"/"+t+"/"===n)return e;const c=[r.host,r.host+n,r.host+r.pathname];for(let n=c.length-1;n>=0;n--)if(c[n]in k){const i=k[c[n]](r,t,o).href;if(!s)return i;try{const t=new URL(i);return g(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return i}}return e}function w(){const e=(0,i.Ym)();return(0,n.useCallback)(((t,o,s,r)=>m(t,o||e,s,r)),[e])}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,localizeUrl:w()};return(0,s.jsx)(e,{...o})}),"withLocalizeUrl")},46941:(e,t,o)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let s=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(r=s))})),t.splice(r,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=o(53212)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},53212:(e,t,o)=>{e.exports=function(e){function t(e){let o,r,n,i=null;function c(...e){if(!c.enabled)return;const s=c,r=Number(new Date),n=r-(o||r);s.diff=n,s.prev=o,s.curr=r,o=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";i++;const n=t.formatters[r];if("function"==typeof n){const t=e[i];o=n.call(s,t),e.splice(i,1),i--}return o})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=s,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==t.namespaces&&(r=t.namespaces,n=t.enabled(e)),n),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function s(e,o){const s=t(this.namespace+(void 0===o?":":o)+e);return s.log=this.log,s}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let o;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),r=s.length;for(o=0;o{t[o]=e[o]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t{var t=1e3,o=60*t,s=60*o,r=24*s,n=7*r,i=365.25*r;function c(e,t,o,s){var r=t>=1.5*o;return Math.round(e/o)+" "+s+(r?"s":"")}e.exports=function(e,p){p=p||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var p=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return p*i;case"weeks":case"week":case"w":return p*n;case"days":case"day":case"d":return p*r;case"hours":case"hour":case"hrs":case"hr":case"h":return p*s;case"minutes":case"minute":case"mins":case"min":case"m":return p*o;case"seconds":case"second":case"secs":case"sec":case"s":return p*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}(e);if("number"===a&&isFinite(e))return p.long?function(e){var n=Math.abs(e);if(n>=r)return c(e,n,r,"day");if(n>=s)return c(e,n,s,"hour");if(n>=o)return c(e,n,o,"minute");if(n>=t)return c(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=r)return Math.round(e/r)+"d";if(n>=s)return Math.round(e/s)+"h";if(n>=o)return Math.round(e/o)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},90372:(e,t,o)=>{"use strict";o.d(t,{A:()=>p});var s=o(46941);const r=o.n(s)()("dops:analytics");let n,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,o){c.setUser(e,t),c.setSuperProps(o),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const o=function(e,t){let o="";if("object"==typeof e){for(const t in e)o+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else o="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return o}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+o+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const o=function(e,t){let o="";if("object"==typeof e){for(const t in e)o+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else o="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return o}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+o+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,o,s,r,n,i){c.ga.recordPurchase(e,t,o,s,r,n,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(r("- Super Props: %o",n),t=Object.assign(t,n)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,o,s){c.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==o&&(n+=" [Option Label: "+o+"]"),void 0!==s&&(n+=" [Option Value: "+s+"]"),r(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,o,s)},recordPurchase:function(e,t,o,s,r,n,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:o,price:r,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},p=c},5932:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>l});var s=o(56439),r=o(93832);function n(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const i=n("JsonParseError"),c=n("JsonParseAfterRedirectError"),p=n("Api404Error"),a=n("Api404AfterRedirectError"),d=n("FetchNetworkError");const l=new function(e,t){let o=e,n=e,i={"X-WP-Nonce":t},c={credentials:"same-origin",headers:i},p={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})},a=function(e){const t=e.split("?"),o=t.length>1?t[1]:"",s=o.length?o.split("&"):[];return s.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+s.join("&")};const d={setApiRoot(e){o=e},setWpcomOriginApiUrl(e){n=e},setApiNonce(e){i={"X-WP-Nonce":e},c={credentials:"same-origin",headers:i},p={method:"post",credentials:"same-origin",headers:Object.assign({},i,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{a=e},registerSite:(e,t,r)=>{const n={registration_nonce:e,no_iframe:!0};return(0,s.jetpackConfigHas)("consumer_slug")&&(n.plugin_slug=(0,s.jetpackConfigGet)("consumer_slug")),null!==t&&(n.redirect_uri=t),r&&(n.from=r),k(`${o}jetpack/v4/connection/register`,p,{body:JSON.stringify(n)}).then(u).then(h)},fetchAuthorizationUrl:e=>l((0,r.addQueryArgs)(`${o}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(u).then(h),fetchSiteConnectionData:()=>l(`${o}jetpack/v4/connection/data`,c).then(h),fetchSiteConnectionStatus:()=>l(`${o}jetpack/v4/connection`,c).then(h),fetchSiteConnectionTest:()=>l(`${o}jetpack/v4/connection/test`,c).then(u).then(h),fetchUserConnectionData:()=>l(`${o}jetpack/v4/connection/data`,c).then(h),fetchUserTrackingSettings:()=>l(`${o}jetpack/v4/tracking/settings`,c).then(u).then(h),updateUserTrackingSettings:e=>k(`${o}jetpack/v4/tracking/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),disconnectSite:()=>k(`${o}jetpack/v4/connection`,p,{body:JSON.stringify({isActive:!1})}).then(u).then(h),fetchConnectUrl:()=>l(`${o}jetpack/v4/connection/url`,c).then(u).then(h),unlinkUser:()=>k(`${o}jetpack/v4/connection/user`,p,{body:JSON.stringify({linked:!1})}).then(u).then(h),reconnect:()=>k(`${o}jetpack/v4/connection/reconnect`,p).then(u).then(h),fetchConnectedPlugins:()=>l(`${o}jetpack/v4/connection/plugins`,c).then(u).then(h),setHasSeenWCConnectionModal:()=>k(`${o}jetpack/v4/seen-wc-connection-modal`,p).then(u).then(h),fetchModules:()=>l(`${o}jetpack/v4/module/all`,c).then(u).then(h),fetchModule:e=>l(`${o}jetpack/v4/module/${e}`,c).then(u).then(h),activateModule:e=>k(`${o}jetpack/v4/module/${e}/active`,p,{body:JSON.stringify({active:!0})}).then(u).then(h),deactivateModule:e=>k(`${o}jetpack/v4/module/${e}/active`,p,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>k(`${o}jetpack/v4/module/${e}`,p,{body:JSON.stringify(t)}).then(u).then(h),updateSettings:e=>k(`${o}jetpack/v4/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),getProtectCount:()=>l(`${o}jetpack/v4/module/protect/data`,c).then(u).then(h),resetOptions:e=>k(`${o}jetpack/v4/options/${e}`,p,{body:JSON.stringify({reset:!0})}).then(u).then(h),activateVaultPress:()=>k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(u).then(h),getVaultPressData:()=>l(`${o}jetpack/v4/module/vaultpress/data`,c).then(u).then(h),installPlugin:(e,t)=>{const s={slug:e,status:"active"};return t&&(s.source=t),k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify(s)}).then(u).then(h)},activateAkismet:()=>k(`${o}jetpack/v4/plugins`,p,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(u).then(h),getAkismetData:()=>l(`${o}jetpack/v4/module/akismet/data`,c).then(u).then(h),checkAkismetKey:()=>l(`${o}jetpack/v4/module/akismet/key/check`,c).then(u).then(h),checkAkismetKeyTyped:e=>k(`${o}jetpack/v4/module/akismet/key/check`,p,{body:JSON.stringify({api_key:e})}).then(u).then(h),fetchStatsData:e=>l(function(e){let t=`${o}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(u).then(h).then(m),getPluginUpdates:()=>l(`${o}jetpack/v4/updates/plugins`,c).then(u).then(h),getPlans:()=>l(`${o}jetpack/v4/plans`,c).then(u).then(h),fetchSettings:()=>l(`${o}jetpack/v4/settings`,c).then(u).then(h),updateSetting:e=>k(`${o}jetpack/v4/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchSiteData:()=>l(`${o}jetpack/v4/site`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>l(`${o}jetpack/v4/site/features`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>l(`${o}jetpack/v4/site/products`,c).then(u).then(h),fetchSitePurchases:()=>l(`${o}jetpack/v4/site/purchases`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>l(`${o}jetpack/v4/site/benefits`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>l(`${o}jetpack/v4/site/discount`,c).then(u).then(h).then((e=>e.data)),fetchSetupQuestionnaire:()=>l(`${o}jetpack/v4/setup/questionnaire`,c).then(u).then(h),fetchRecommendationsData:()=>l(`${o}jetpack/v4/recommendations/data`,c).then(u).then(h),fetchRecommendationsProductSuggestions:()=>l(`${o}jetpack/v4/recommendations/product-suggestions`,c).then(u).then(h),fetchRecommendationsUpsell:()=>l(`${o}jetpack/v4/recommendations/upsell`,c).then(u).then(h),fetchRecommendationsConditional:()=>l(`${o}jetpack/v4/recommendations/conditional`,c).then(u).then(h),saveRecommendationsData:e=>k(`${o}jetpack/v4/recommendations/data`,p,{body:JSON.stringify({data:e})}).then(u),fetchProducts:()=>l(`${o}jetpack/v4/products`,c).then(u).then(h),fetchRewindStatus:()=>l(`${o}jetpack/v4/rewind`,c).then(u).then(h).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>l(`${o}jetpack/v4/scan`,c).then(u).then(h).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>k(`${o}jetpack/v4/notice/${e}`,p,{body:JSON.stringify({dismissed:!0})}).then(u).then(h),fetchPluginsData:()=>l(`${o}jetpack/v4/plugins`,c).then(u).then(h),fetchIntroOffers:()=>l(`${o}jetpack/v4/intro-offers`,c).then(u).then(h),fetchVerifySiteGoogleStatus:e=>l(null!==e?`${o}jetpack/v4/verify-site/google/${e}`:`${o}jetpack/v4/verify-site/google`,c).then(u).then(h),verifySiteGoogle:e=>k(`${o}jetpack/v4/verify-site/google`,p,{body:JSON.stringify({keyring_id:e})}).then(u).then(h),submitSurvey:e=>k(`${o}jetpack/v4/marketing/survey`,p,{body:JSON.stringify(e)}).then(u).then(h),saveSetupQuestionnaire:e=>k(`${o}jetpack/v4/setup/questionnaire`,p,{body:JSON.stringify(e)}).then(u).then(h),updateLicensingError:e=>k(`${o}jetpack/v4/licensing/error`,p,{body:JSON.stringify(e)}).then(u).then(h),updateLicenseKey:e=>k(`${o}jetpack/v4/licensing/set-license`,p,{body:JSON.stringify({license:e})}).then(u).then(h),getUserLicensesCounts:()=>l(`${o}jetpack/v4/licensing/user/counts`,c).then(u).then(h),getUserLicenses:()=>l(`${o}jetpack/v4/licensing/user/licenses`,c).then(u).then(h),updateLicensingActivationNoticeDismiss:e=>k(`${o}jetpack/v4/licensing/user/activation-notice-dismiss`,p,{body:JSON.stringify({last_detached_count:e})}).then(u).then(h),updateRecommendationsStep:e=>k(`${o}jetpack/v4/recommendations/step`,p,{body:JSON.stringify({step:e})}).then(u),confirmIDCSafeMode:()=>k(`${o}jetpack/v4/identity-crisis/confirm-safe-mode`,p).then(u),startIDCFresh:e=>k(`${o}jetpack/v4/identity-crisis/start-fresh`,p,{body:JSON.stringify({redirect_uri:e})}).then(u).then(h),migrateIDC:()=>k(`${o}jetpack/v4/identity-crisis/migrate`,p).then(u),attachLicenses:e=>k(`${o}jetpack/v4/licensing/attach-licenses`,p,{body:JSON.stringify({licenses:e})}).then(u).then(h),fetchSearchPlanInfo:()=>l(`${n}jetpack/v4/search/plan`,c).then(u).then(h),fetchSearchSettings:()=>l(`${n}jetpack/v4/search/settings`,c).then(u).then(h),updateSearchSettings:e=>k(`${n}jetpack/v4/search/settings`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchSearchStats:()=>l(`${n}jetpack/v4/search/stats`,c).then(u).then(h),fetchWafSettings:()=>l(`${o}jetpack/v4/waf`,c).then(u).then(h),updateWafSettings:e=>k(`${o}jetpack/v4/waf`,p,{body:JSON.stringify(e)}).then(u).then(h),fetchWordAdsSettings:()=>l(`${o}jetpack/v4/wordads/settings`,c).then(u).then(h),updateWordAdsSettings:e=>k(`${o}jetpack/v4/wordads/settings`,p,{body:JSON.stringify(e)}),fetchSearchPricing:()=>l(`${n}jetpack/v4/search/pricing`,c).then(u).then(h),fetchMigrationStatus:()=>l(`${o}jetpack/v4/migration/status`,c).then(u).then(h),fetchBackupUndoEvent:()=>l(`${o}jetpack/v4/site/backup/undo-event`,c).then(u).then(h),fetchBackupPreflightStatus:()=>l(`${o}jetpack/v4/site/backup/preflight`,c).then(u).then(h)};function l(e,t){return fetch(a(e),t)}function k(e,t,o){return fetch(e,Object.assign({},t,o)).catch(g)}function m(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function u(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new a(e.redirected):new p})):e.json().catch((e=>k(e))).then((t=>{const o=new Error(`${t.message} (Status ${e.status})`);throw o.response=t,o.name="ApiError",o}))}function h(e){return e.json().catch((t=>k(t,e.redirected,e.url)))}function k(e,t,o){throw t?new c(o):new i}function g(){throw new d}},56439:(e,t,o)=>{let s={};try{s=o(52877)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),s={missingConfig:!0}}const r=e=>Object.hasOwn(s,e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return s[e]}}},89660:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var s=o(5932),r=o(97999),n=o(47143),i=o(51609),c=o(34293);const p=window?.JP_CONNECTION_INITIAL_STATE||(0,r.getScriptData)()?.connection||{},a=({registrationNonce:e=p.registrationNonce,apiRoot:t=p.apiRoot,apiNonce:o=p.apiNonce,redirectUri:r,autoTrigger:a,from:d,skipUserConnection:l}={})=>{const{registerSite:u,connectUser:h,refreshConnectedPlugins:k}=(0,n.useDispatch)(c.a),g=(0,n.useSelect)((e=>e(c.a).getRegistrationError())),{siteIsRegistering:m,userIsConnecting:w,userConnectionData:f,connectedPlugins:b,connectionErrors:y,isRegistered:C,isUserConnected:v,hasConnectedOwner:I,isOfflineMode:S}=(0,n.useSelect)((e=>({siteIsRegistering:e(c.a).getSiteIsRegistering(),userIsConnecting:e(c.a).getUserIsConnecting(),userConnectionData:e(c.a).getUserConnectionData(),connectedPlugins:e(c.a).getConnectedPlugins(),connectionErrors:e(c.a).getConnectionErrors(),isOfflineMode:e(c.a).getIsOfflineMode(),...e(c.a).getConnectionStatus()}))),j=()=>l?r?(window.location=r,Promise.resolve(r)):Promise.resolve():h({from:d,redirectUri:r}),_=t=>(t&&t.preventDefault(),C?j():u({registrationNonce:e,redirectUri:r,from:d}).then((()=>j())));return(0,i.useEffect)((()=>{s.Ay.setApiRoot(t),s.Ay.setApiNonce(o)}),[t,o]),(0,i.useEffect)((()=>{!a||m||w||_()}),[]),{handleRegisterSite:_,handleConnectUser:j,refreshConnectedPlugins:k,isRegistered:C,isUserConnected:v,siteIsRegistering:m,userIsConnecting:w,registrationError:g,userConnectionData:f,hasConnectedOwner:I,connectedPlugins:b,connectionErrors:y,isOfflineMode:S}}},33935:(e,t,o)=>{"use strict";o.d(t,{A1:()=>p,Ay:()=>v,DO:()=>c,Ij:()=>i,Kl:()=>h,LW:()=>a,MU:()=>k,XY:()=>d,ZO:()=>n,dz:()=>l,gH:()=>u,v_:()=>r});var s=o(5932);const r="SET_CONNECTION_STATUS",n="SET_CONNECTION_STATUS_IS_FETCHING",i="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",p="SET_REGISTRATION_ERROR",a="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",l="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",h="SET_CONNECTION_ERRORS",k="SET_IS_OFFLINE_MODE",g=e=>({type:r,connectionStatus:e}),m=e=>({type:i,isRegistering:e}),w=e=>({type:c,isConnecting:e}),f=e=>({type:p,registrationError:e}),b=()=>({type:a}),y=e=>({type:d,authorizationUrl:e}),C=e=>({type:u,connectedPlugins:e});const v={setConnectionStatus:g,setConnectionStatusIsFetching:e=>({type:n,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:m,setUserIsConnecting:w,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:y,registerSite:function*({registrationNonce:e,redirectUri:t,from:o=""}){yield b(),yield m(!0);try{const s=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:o};return yield g({isRegistered:!0}),yield y(s.authorizeUrl),yield m(!1),Promise.resolve(s)}catch(e){return yield f(e),yield m(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:o}={}){yield w(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:o}},disconnectUserSuccess:()=>({type:l}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>s.Ay.fetchConnectedPlugins().then((o=>{e(C(o)),t(o)})))),setConnectionErrors:e=>({type:h,connectionErrors:e}),setIsOfflineMode:e=>({type:k,isOfflineMode:e})}},22494:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o(5932),r=o(47143),n=o(32279);const i={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>s.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:o})=>s.Ay.registerSite(e,t,o),CONNECT_USER:(0,r.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:o,redirectUri:s}={})=>new Promise(((r,i)=>{e(n.A).getAuthorizationUrl(s).then((e=>{const s=o||(e=>window.location.assign(e)),n=new URL(e);t&&n.searchParams.set("from",encodeURIComponent(t));const i=n.toString();s(i),r(i)})).catch((e=>{i(e)}))}))))}},5051:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o(47143),r=o(33935);const n=(0,s.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case r.v_:return{...e,...t.connectionStatus};case r.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===r.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===r.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===r.DO?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case r.LW:return!1;case r.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.XY?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===r.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===r.Kl?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===r.MU?t.isConnecting:e})},58019:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o(47143),r=o(33935),n=o(32279);const i={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const o=Boolean(e.authorizationUrl),r=(0,s.select)(n.A).hasFinishedResolution("getAuthorizationUrl",t);return o&&!r&&(0,s.dispatch)(n.A).finishResolution("getAuthorizationUrl",t),o},*fulfill(e){const t=yield r.Ay.fetchAuthorizationUrl(e);yield r.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},52676:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},18734:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o(47143);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,s.createReduxStore)(e,t),(0,s.register)(r.store))}}const n=r},32279:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});const s="jetpack-connection"},34293:(e,t,o)=>{"use strict";o.d(t,{a:()=>d.A});var s=o(97999),r=o(33935),n=o(22494),i=o(5051),c=o(58019),p=o(52676),a=o(18734),d=o(32279);const l=window.JP_CONNECTION_INITIAL_STATE||(0,s.getScriptData)()?.connection;l||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),a.A.mayBeInit(d.A,{__experimentalUseThunks:!0,reducer:i.A,actions:r.Ay,selectors:p.A,resolvers:c.A,controls:n.A,initialState:l||{}})},85985:(e,t,o)=>{"use strict";o.d(t,{st:()=>s.A});o(82034),o(65595),o(53265);var s=o(73489);o(76923),o(15877),o(30335),o(88290)},15877:(e,t,o)=>{"use strict";o(51609)},30335:(e,t,o)=>{"use strict";o(86087)},73489:(e,t,o)=>{"use strict";o.d(t,{A:()=>p});var s=o(90372),r=o(89660),n=o(86087);const{tracks:i}=s.A,{recordEvent:c}=i,p=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:o="page_view",pageViewEventProperties:p={}}={})=>{const[a,d]=(0,n.useState)(!1),{isUserConnected:l,isRegistered:u,userConnectionData:h={}}=(0,r.A)(),{wpcomUser:{login:k,ID:g}={},blogId:m}=h.currentUser||{},w=(0,n.useCallback)((async(e,t={})=>{l&&g&&k&&c(e,t)}),[l,g,k]);return(0,n.useEffect)((()=>{l&&g&&k&&m&&s.A.initialize(g,k,{blog_id:m})}),[m,g,k,l]),(0,n.useEffect)((()=>{const s=e?`${t}_${e}_${o}`:null;u&&s&&(a||(w(s,p),d(!0)))}),[a,t,e,o,u,p,w]),{recordEvent:w,tracks:i}}},76923:(e,t,o)=>{"use strict";o(47143),o(86087),o(88290)},27105:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>u,E9:()=>l});var s=o(47143),r=o(62634),n=o(94478),i=o(88290);const c="SET_JETPACK_MODULES",p="SET_MODULE_UPDATING";function a(e){return l({isLoading:e})}function d(e,t){return{type:p,name:e,isUpdating:t}}function l(e){return{type:c,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield d(e.name,!0),yield(0,n.sB)(e);const t=yield(0,n.wz)();return yield l({data:t}),!0}catch(e){const t=(0,s.select)(i.F).getJetpackModules();return yield l(t),!1}finally{yield d(e.name,!1)}},setJetpackModules:l,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield a(!0);const e=yield(0,n.wz)();return yield l({data:e}),!0}catch(e){const t=(0,s.select)(i.F).getJetpackModules();return yield l(t),!1}finally{yield a(!1)}}}},94478:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>a,sB:()=>p,wz:()=>c});var s=o(1455),r=o.n(s);const n="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",c=()=>({type:n}),p=e=>({type:i,settings:e}),a={[n]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,o)=>{"use strict";o.d(t,{F:()=>a});var s=o(47143),r=o(27105),n=o(94478),i=o(38862),c=o(62701),p=o(31640);const a="jetpack-modules",d=(0,s.createReduxStore)(a,{reducer:i.A,actions:r.Ay,controls:n.Ay,resolvers:c.A,selectors:p.A});(0,s.register)(d);const l=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==l&&(0,s.dispatch)(a).setJetpackModules({data:{...l}})},38862:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});const s={isLoading:!1,isUpdating:{},data:{}},r=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o(27105),r=o(94478);const n={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o(62634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,o)=>{"use strict";var s=o(27723);o(93832),o(66087);const __=s.__;__("Upgrade your plan to use video covers","jetpack-mu-wpcom"),__("Upgrade your plan to upload audio","jetpack-mu-wpcom")},82034:(e,t,o)=>{"use strict";o(92279)},62634:(e,t,o)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===s()}o.d(t,{Sy:()=>r})},65595:(e,t,o)=>{"use strict";o(96072),o(29491)},48424:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>n,UT:()=>s,V4:()=>r});const s={"core/group":{group:{link:"https://wordpress.com/support/wordpress-editor/blocks/group-block/",postId:161882},"group-row":{link:"https://wordpress.com/support/wordpress-editor/blocks/row-block/",postId:190036},"group-stack":{link:"https://wordpress.com/support/wordpress-editor/blocks/row-block/",postId:190036}},"core/embed":{soundcloud:{link:"https://wordpress.com/support/soundcloud-audio-player/",postId:4213},twitter:{link:"https://wordpress.com/support/wordpress-editor/blocks/twitter-block/",postId:150413},vimeo:{link:"https://wordpress.com/support/videos/vimeo/",postId:1235},youtube:{link:"https://wordpress.com/support/wordpress-editor/blocks/youtube-block/",postId:150414}}},r={"core/nextpage":{link:"https://wordpress.com/support/wordpress-editor/blocks/page-break-block/",postId:149374}},n={"core/template-part":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/template-part-block/",postId:192398},"core/site-title":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-title-block/",postId:184569},"core/site-tagline":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-tagline-block/",postId:184553},"core/site-logo":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-logo-block/",postId:184537},"core/page-list":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/page-list-block/",postId:180696},"core/loginout":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/login-out-block/",postId:184610},"core/video":{link:"https://wordpress.com/support/wordpress-editor/blocks/video-block/",postId:149045},"core/verse":{link:"https://wordpress.com/support/wordpress-editor/blocks/verse-block/",postId:149992},"core/spacer":{link:"https://wordpress.com/support/wordpress-editor/blocks/spacer-block/",postId:148996},"core/shortcode":{link:"https://wordpress.com/support/wordpress-editor/blocks/shortcode-block/",postId:149209},"core/separator":{link:"https://wordpress.com/support/wordpress-editor/blocks/separator-block/",postId:149012},"core/search":{link:"https://wordpress.com/support/wordpress-editor/blocks/search-block/",postId:187104},"core/rss":{link:"https://wordpress.com/support/wordpress-editor/blocks/rss-block/",postId:174794},"core/navigation":{link:"https://wordpress.com/support/site-editing/theme-blocks/navigation-block/",postId:162159},"core/tag-cloud":{link:"https://wordpress.com/support/wordpress-editor/blocks/tag-cloud-block/",postId:188957},"core/quote":{link:"https://wordpress.com/support/wordpress-editor/blocks/quote-block/",postId:148575},"core/pullquote":{link:"https://wordpress.com/support/wordpress-editor/blocks/pullquote-block/",postId:149344},"core/preformatted":{link:"https://wordpress.com/support/wordpress-editor/blocks/preformatted-block/",postId:149339},"core/more":{link:"https://wordpress.com/support/wordpress-editor/blocks/more-block/",postId:148614},"core/list":{link:"https://wordpress.com/support/wordpress-editor/blocks/list-block/",postId:148563},"core/latest-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/latest-posts-block/",postId:149818},"core/latest-comments":{link:"https://wordpress.com/support/wordpress-editor/blocks/latest-comments-block/",postId:149811},"core/heading":{link:"https://wordpress.com/support/wordpress-editor/blocks/heading-block/",postId:148403},"core/file":{link:"https://wordpress.com/support/wordpress-editor/blocks/file-block/",postId:148586},"core/embed":{link:"https://wordpress.com/support/wordpress-editor/blocks/embed-block/",postId:150644},"core/html":{link:"https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/",postId:149059},"core/code":{link:"https://wordpress.com/support/wordpress-editor/blocks/code-block/",postId:149042},"core/freeform":{link:"https://wordpress.com/support/wordpress-editor/blocks/classic-block/",postId:149026},"core/categories":{link:"https://wordpress.com/support/wordpress-editor/blocks/categories-block/",postId:149793},"core/calendar":{link:"https://wordpress.com/support/wordpress-editor/blocks/calendar-block/",postId:171935},"core/audio":{link:"https://wordpress.com/support/wordpress-editor/blocks/audio-block/",postId:148670},"core/archives":{link:"https://wordpress.com/support/wordpress-editor/blocks/archives-block/",postId:149225},"core/query":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/query-loop-block/",postId:184188},"core/media-text":{link:"https://wordpress.com/support/wordpress-editor/blocks/media-text-block/",postId:151100},"core/table":{link:"https://wordpress.com/support/wordpress-editor/blocks/table-block/",postId:149666},"core/social-links":{link:"https://wordpress.com/support/wordpress-editor/blocks/social-links-block/",postId:159466},"core/columns":{link:"https://wordpress.com/support/wordpress-editor/blocks/columns-block/",postId:149073},"core/image":{link:"https://wordpress.com/support/wordpress-editor/blocks/image-block/",postId:148378},"core/cover":{link:"https://wordpress.com/support/wordpress-editor/blocks/cover-block/",postId:148675},"core/buttons":{link:"https://wordpress.com/support/wordpress-editor/blocks/buttons-block/",postId:162116},"core/gallery":{link:"https://wordpress.com/support/wordpress-editor/blocks/gallery-block/",postId:148667},"core/post-content":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/post-content-block/",postId:216265},"core/table-of-contents":{link:"https://wordpress.com/support/wordpress-editor/table-of-contents-block/",postId:201571},"core/comments":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/comments-block/",postId:218903},"core/post-time-to-read":{link:"https://wordpress.com/support/site-editing/theme-blocks/time-to-read-block",postId:243241},"syntaxhighlighter/code":{link:"https://wordpress.com/support/wordpress-editor/blocks/syntax-highlighter-code-block/",postId:4743},"crowdsignal-forms/vote":{link:"https://wordpress.com/support/wordpress-editor/blocks/vote-block/",postId:174824},"crowdsignal-forms/poll":{link:"https://wordpress.com/support/wordpress-editor/blocks/poll-block/",postId:170183},"crowdsignal-forms/nps":{link:"https://wordpress.com/support/wordpress-editor/blocks/measure-nps-block/",postId:182393},"crowdsignal-forms/feedback":{link:"https://wordpress.com/support/wordpress-editor/blocks/feedback-button-block/",postId:183578},"a8c/posts-carousel":{link:"https://wordpress.com/support/wordpress-editor/blocks/posts-carousel-block/",postId:166417},"premium-content/container":{link:"https://wordpress.com/support/wordpress-editor/blocks/premium-content-block/",postId:243475},"a8c/blog-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/blog-posts-block/",postId:158419},"jetpack/send-a-message":{link:"https://wordpress.com/support/wordpress-editor/blocks/whatsapp-button-block/",postId:169728},"jetpack/blogroll":{link:"https://wordpress.com/support/wordpress-editor/blocks/blogroll-block/",postId:291406},"jetpack/timeline":{link:"https://wordpress.com/support/wordpress-editor/blocks/timeline-block/",postId:158453},"jetpack/story":{link:"https://wordpress.com/support/wordpress-editor/blocks/story-block/",postId:176320},"jetpack/revue":{link:"https://wordpress.com/support/wordpress-editor/blocks/revue-block/",postId:67810},"jetpack/rating-star":{link:"https://wordpress.com/support/wordpress-editor/blocks/ratings-block/",postId:158224},"jetpack/related-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/related-posts-block/",postId:1545},"jetpack/repeat-visitor":{link:"https://wordpress.com/support/wordpress-editor/blocks/repeat-visitor-block/",postId:154471},"jetpack/podcast-player":{link:"https://wordpress.com/support/wordpress-editor/blocks/podcast-player-block/",postId:163160},"jetpack/opentable":{link:"https://wordpress.com/support/wordpress-editor/blocks/opentable-block/",postId:162208},"jetpack/map":{link:"https://wordpress.com/support/wordpress-editor/blocks/map-block/",postId:149684},"jetpack/image-compare":{link:"https://wordpress.com/support/wordpress-editor/blocks/image-compare-block/",postId:168169},"jetpack/gif":{link:"https://wordpress.com/support/wordpress-editor/blocks/gif-block/",postId:174810},"jetpack/event-countdown":{link:"https://wordpress.com/support/wordpress-editor/blocks/event-countdown-block/",postId:159246},"jetpack/donations":{link:"https://wordpress.com/support/wordpress-editor/blocks/donations/",postId:171110},"jetpack/calendly":{link:"https://wordpress.com/support/wordpress-editor/blocks/calendly-block/",postId:162199},"jetpack/business-hours":{link:"https://wordpress.com/support/wordpress-editor/blocks/business-hours-block/",postId:173136},"jetpack/wordads":{link:"https://wordpress.com/support/wordpress-editor/blocks/ad-block/",postId:190916},"jetpack/payments-intro":{link:"https://wordpress.com/support/wordpress-editor/blocks/payments/",postId:169123},"jetpack/contact-info":{link:"https://wordpress.com/support/wordpress-editor/blocks/contact-info-block/",postId:186162},"jetpack/tiled-gallery":{link:"https://wordpress.com/support/wordpress-editor/blocks/tiled-gallery-block/",postId:150746},"jetpack/slideshow":{link:"https://wordpress.com/support/wordpress-editor/blocks/slideshow-block/",postId:157055},"jetpack/subscriptions":{link:"https://wordpress.com/support/wordpress-editor/blocks/subscription-form-block/",postId:170164},"jetpack/contact-form":{link:"https://wordpress.com/support/wordpress-editor/blocks/form-block/",postId:168307},"jetpack/layout-grid":{link:"https://wordpress.com/support/wordpress-editor/blocks/layout-grid-block/",postId:160172},"jetpack/mailchimp":{link:"https://wordpress.com/support/wordpress-editor/blocks/mailchimp-block/",postId:152657},"jetpack/paywall":{link:"https://wordpress.com/support/paid-newsletters/#use-the-paywall-block",postId:168381},"jetpack/sharing-buttons":{link:"https://wordpress.com/support/wordpress-editor/blocks/sharing-buttons-block/",postId:330003},"jetpack/like":{link:"https://wordpress.com/support/likes/",postId:7294},"jetpack/subscriber-login":{link:"https://wordpress.com/support/wordpress-editor/blocks/subscriber-login-block/",postId:380451},"jetpack/blog-stats":{link:"https://wordpress.com/support/wordpress-editor/blocks/blog-stats-block/",postId:382010},"jetpack/top-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/top-posts-pages-block/",postId:381536},"jetpack/goodreads":{link:"https://wordpress.com/support/wordpress-editor/blocks/goodreads-block/",postId:382051}}},19576:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var s=o(14437),r=o(85985),n=o(56427),i=o(47143),c=o(27723),p=o(51609),a=o.n(p);const __=c.__;function d({children:e,title:t,url:o,postId:c}){const[d,l]=(0,p.useState)(),{tracks:u}=(0,r.st)(),h=(0,i.useDispatch)("automattic/help-center"),k=h?.setShowHelpCenter,g=h?.setShowSupportDoc;return d&&!d?.closest(".block-editor-block-inspector")?e:a().createElement(a().Fragment,null,e,a().createElement("br",null),k?a().createElement(n.Button,{onClick:()=>{k(!0),g((0,s.rm)(o),c),u.recordEvent("jetpack_mu_wpcom_block_description_support_link_click",{block:t,support_link:o})},style:{marginTop:10,height:"unset"},ref:e=>d!==e&&l(e),className:"fse-inline-support-link is-compact",variant:"link"},__("Block guide","jetpack-mu-wpcom")):a().createElement(n.ExternalLink,{onClick:()=>{u.recordEvent("jetpack_mu_wpcom_block_description_support_link_click",{block:t,support_link:o})},ref:e=>d!==e&&l(e),style:{display:"block",marginTop:10,maxWidth:"fit-content"},className:"fse-inline-support-link",href:o},__("Learn more","jetpack-mu-wpcom")))}},52877:e=>{"use strict";if(void 0==={consumer_slug:"jetpack-mu-wpcom"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-mu-wpcom"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-mu-wpcom"}},97999:e=>{"use strict";e.exports=window.JetpackScriptDataModule},51609:e=>{"use strict";e.exports=window.React},10790:e=>{"use strict";e.exports=window.ReactJSXRuntime},66087:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},56427:e=>{"use strict";e.exports=window.wp.components},29491:e=>{"use strict";e.exports=window.wp.compose},47143:e=>{"use strict";e.exports=window.wp.data},86087:e=>{"use strict";e.exports=window.wp.element},52619:e=>{"use strict";e.exports=window.wp.hooks},27723:e=>{"use strict";e.exports=window.wp.i18n},92279:e=>{"use strict";e.exports=window.wp.plugins},93832:e=>{"use strict";e.exports=window.wp.url},96072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=o(14437),t=o(86087),s=o(52619),r=o(51609),n=o.n(r),i=o(48424),c=o(19576);const p=(o,s,r,i)=>{const p=(0,e.rm)(r);return(0,t.createInterpolateElement)("",{InlineSupportLink:n().createElement(c.A,{title:String(o),url:p,postId:i},s)})},a={};(0,s.addFilter)("blocks.registerBlockType","jetpack-mu-wpcom/add-block-support-link",((e,t)=>{const o=e?.parent?.toString(),s=o&&"core/post-content"!==o?o:t;if(a[t])return e;a[t]=!0;const r=i.V4[t]?.link||i.Ay[s]?.link,n=i.V4[t]?.postId||i.Ay[s]?.postId;return r&&n&&(e.description=p(String(e.title),e.description,r,n)),i.UT[t]&&e.variations&&Array.isArray(e.variations)&&(e.variations=e.variations.map((e=>{let o=i.UT[t][e.name]?.link,s=i.UT[t][e.name]?.postId;if(o||"core/embed"!==t){if(!o)return e}else o="https://wordpress.com/support/wordpress-editor/blocks/embed-block/",s=150644;return e.description=p(e.title,e.description,o,s),e}))),e}))})()})(); \ No newline at end of file +(()=>{var e={8254:(e,t,o)=>{"use strict";o.d(t,{Ym:()=>d,t:()=>i});var s=o(790),r=o(9491),n=o(7723),p=o(1609);const c=(0,p.createContext)(null);function i(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=n.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function d(){const e=(0,p.useContext)(c),t=!!e,[o,s]=(0,p.useState)(i());return(0,p.useEffect)((()=>{if(!t)return s(i()),n.subscribe((()=>{s(i())}))}),[t]),e||o||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,locale:d()};return(0,s.jsx)(e,{...o})}),"withLocale")},7711:(e,t,o)=>{"use strict";o.d(t,{BS:()=>a,Cx:()=>r,K8:()=>p,S9:()=>n,Sc:()=>s,Sj:()=>d,Ws:()=>i,_J:()=>l,lW:()=>u,mt:()=>c,rh:()=>k});const s=["en","ja","es","pt","fr","pt-br"],r=["en","pt-br","de","es","fr","it"],n=["en","fr","de","es"],p=["en","fr","de","es"],c=["en","es"],i=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],d={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},l=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],a=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],u=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],k=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},4437:(e,t,o)=>{"use strict";o.d(t,{rm:()=>h});var s=o(790),r=o(9491),n=o(1609),p=o(8254),c=o(7711);const i="http://__domain__.invalid";const d=(e,t=[])=>(o,s)=>(t.includes(s)&&"en"!==s&&o.pathname.substr(0,s.length+2)!=="/"+s+"/"&&(o.host=`${c.Sj[s]||s}.${e}`),o),l=(e,t=[],o=null)=>(s,r)=>(s.host="wordpress.com","object"==typeof o&&o instanceof RegExp&&!o.test(s.pathname)&&(t=[]),s.pathname=e+s.pathname,t.includes(r)&&"en"!==r&&(s.pathname=r+s.pathname),s),a=(e=[],t=null,o)=>(s,r)=>"object"==typeof t&&t instanceof RegExp&&!t.test(s.pathname)?s:e.includes(r)&&"en"!==r?("prefix"===o?s.pathname=r+s.pathname:"suffix"===o&&(s.pathname.endsWith("/")?s.pathname+=r+"/":s.pathname+="/"+r),s):s,u=(e=[],t=null)=>(o,s)=>a(e,t,"prefix")(o,s),k=(e=[],t=null)=>(o,s)=>a(e,t,"suffix")(o,s),m={"wordpress.com/support/":u(c._J),"wordpress.com/forums/":u(c.BS),"wordpress.com/blog/":u(c.Sc,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?u(c.Cx)(e,t):e,"wordpress.com/pricing/":u(c.Ws),"wordpress.com/tos/":u(c.lW),"wordpress.com/wp-admin/":d("wordpress.com",c.lW),"wordpress.com/wp-login.php":d("wordpress.com",c.lW),"jetpack.com":u(c.rh),"cloud.jetpack.com":u(c.rh),"en.support.wordpress.com":l("/support",c._J),"en.blog.wordpress.com":l("/blog",c.Sc,/^\/$/),"apps.wordpress.com":u(c.lW),"en.forums.wordpress.com":l("/forums",c.BS),"automattic.com/privacy/":u(c.S9),"automattic.com/cookies/":u(c.K8),"wordpress.com/help/contact/":(e,t,o)=>o?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),u(c._J)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:u(c.lW)(e,t),"wordpress.com/theme/":(e,t,o)=>o?e:u(c.lW)(e,t),"wordpress.com/themes/":(e,t,o)=>o?e:u(c.lW)(e,t),"wordpress.com/plugins/":(e,t,o)=>o?e:u(c.lW)(e,t),"wordpress.com/log-in/":(e,t,o)=>o?e:k(c.lW)(e,t),"wordpress.com/start/":(e,t,o)=>o?e:k(c.lW)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):k(c.mt)(e,t),"wordpress.com/plans/":(e,t,o)=>o||"/plans/"!==e.pathname?e:u(c.Ws)(e,t),"wordpress.com/setup/":(e,t,o)=>o?e:k(c.lW)(e,t)};function w(e){try{return new URL(String(e),i).pathname.endsWith("/")}catch(e){return!1}}function h(e,t=function(){return(0,p.t)()??"en"}(),o=!0,s=!1){let r;try{r=new URL(String(e),i)}catch(t){return e}if(r.origin===i)return e;r.protocol="https:",r.pathname.endsWith(".php")||(r.pathname=(r.pathname+"/").replace(/\/+$/,"/"));const n=r.pathname.substr(0,1+r.pathname.indexOf("/",1));if("en.wordpress.com"===r.host&&(r.host="wordpress.com"),"/"+t+"/"===n)return e;const c=[r.host,r.host+n,r.host+r.pathname];for(let n=c.length-1;n>=0;n--)if(c[n]in m){const p=m[c[n]](r,t,o).href;if(!s)return p;try{const t=new URL(p);return w(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return p}}return e}function b(){const e=(0,p.Ym)();return(0,n.useCallback)(((t,o,s,r)=>h(t,o||e,s,r)),[e])}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,localizeUrl:b()};return(0,s.jsx)(e,{...o})}),"withLocalizeUrl")},6941:(e,t,o)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let s=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(r=s))})),t.splice(r,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=o(3212)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3212:(e,t,o)=>{e.exports=function(e){function t(e){let o,r,n,p=null;function c(...e){if(!c.enabled)return;const s=c,r=Number(new Date),n=r-(o||r);s.diff=n,s.prev=o,s.curr=r,o=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let p=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";p++;const n=t.formatters[r];if("function"==typeof n){const t=e[p];o=n.call(s,t),e.splice(p,1),p--}return o})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=s,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==p?p:(r!==t.namespaces&&(r=t.namespaces,n=t.enabled(e)),n),set:e=>{p=e}}),"function"==typeof t.init&&t.init(c),c}function s(e,o){const s=t(this.namespace+(void 0===o?":":o)+e);return s.log=this.log,s}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let o;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),r=s.length;for(o=0;o{t[o]=e[o]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t{var t=1e3,o=60*t,s=60*o,r=24*s,n=7*r,p=365.25*r;function c(e,t,o,s){var r=t>=1.5*o;return Math.round(e/o)+" "+s+(r?"s":"")}e.exports=function(e,i){i=i||{};var d=typeof e;if("string"===d&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var i=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*p;case"weeks":case"week":case"w":return i*n;case"days":case"day":case"d":return i*r;case"hours":case"hour":case"hrs":case"hr":case"h":return i*s;case"minutes":case"minute":case"mins":case"min":case"m":return i*o;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===d&&isFinite(e))return i.long?function(e){var n=Math.abs(e);if(n>=r)return c(e,n,r,"day");if(n>=s)return c(e,n,s,"hour");if(n>=o)return c(e,n,o,"minute");if(n>=t)return c(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=r)return Math.round(e/r)+"d";if(n>=s)return Math.round(e/s)+"h";if(n>=o)return Math.round(e/o)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},372:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o(6941);const r=o.n(s)()("dops:analytics");let n,p;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,o){c.setUser(e,t),c.setSuperProps(o),c.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){p={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const o=function(e,t){let o="";if("object"==typeof e){for(const t in e)o+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else o="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return o}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+o+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const o=function(e,t){let o="";if("object"==typeof e){for(const t in e)o+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else o="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return o}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+o+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,o,s,r,n,p){c.ga.recordPurchase(e,t,o,s,r,n,p)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(r("- Super Props: %o",n),t=Object.assign(t,n)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(p&&(e={userId:"u-"+p.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,o,s){c.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==o&&(n+=" [Option Label: "+o+"]"),void 0!==s&&(n+=" [Option Value: "+s+"]"),r(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,o,s)},recordPurchase:function(e,t,o,s,r,n,p){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:p}),window.ga("ecommerce:addItem",{id:e,name:t,sku:o,price:r,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){p&&window._tkq.push(["identifyUser",p.ID,p.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},i=c},5985:(e,t,o)=>{"use strict";o.d(t,{st:()=>s.A});o(2034),o(5595),o(3265);var s=o(3489);o(6923),o(5877),o(335),o(8290)},5877:(e,t,o)=>{"use strict";o(1609)},335:(e,t,o)=>{"use strict";o(6087)},3489:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var s=o(372),r=o(9384),n=o(6087);const{tracks:p}=s.A,{recordEvent:c}=p,i=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:o="page_view",pageViewEventProperties:i={}}={})=>{const[d,l]=(0,n.useState)(!1),{isUserConnected:a,isRegistered:u,userConnectionData:k={}}=(0,r.useConnection)(),{wpcomUser:{login:m,ID:w}={},blogId:h}=k.currentUser||{},b=(0,n.useCallback)((async(e,t={})=>{a&&w&&m&&c(e,t)}),[a,w,m]);return(0,n.useEffect)((()=>{a&&w&&m&&h&&s.A.initialize(w,m,{blog_id:h})}),[h,w,m,a]),(0,n.useEffect)((()=>{const s=e?`${t}_${e}_${o}`:null;u&&s&&(d||(b(s,i),l(!0)))}),[d,t,e,o,u,i,b]),{recordEvent:b,tracks:p}}},6923:(e,t,o)=>{"use strict";o(7143),o(6087),o(8290)},7105:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>u,E9:()=>a});var s=o(7143),r=o(2634),n=o(4478),p=o(8290);const c="SET_JETPACK_MODULES",i="SET_MODULE_UPDATING";function d(e){return a({isLoading:e})}function l(e,t){return{type:i,name:e,isUpdating:t}}function a(e){return{type:c,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,n.sB)(e);const t=yield(0,n.wz)();return yield a({data:t}),!0}catch(e){const t=(0,s.select)(p.F).getJetpackModules();return yield a(t),!1}finally{yield l(e.name,!1)}},setJetpackModules:a,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield d(!0);const e=yield(0,n.wz)();return yield a({data:e}),!0}catch(e){const t=(0,s.select)(p.F).getJetpackModules();return yield a(t),!1}finally{yield d(!1)}}}},4478:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>d,sB:()=>i,wz:()=>c});var s=o(1455),r=o.n(s);const n="FETCH_JETPACK_MODULES",p="UPDATE_JETPACK_MODULE_STATUS",c=()=>({type:n}),i=e=>({type:p,settings:e}),d={[n]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[p]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,o)=>{"use strict";o.d(t,{F:()=>d});var s=o(7143),r=o(7105),n=o(4478),p=o(8862),c=o(2701),i=o(1640);const d="jetpack-modules",l=(0,s.createReduxStore)(d,{reducer:p.A,actions:r.Ay,controls:n.Ay,resolvers:c.A,selectors:i.A});(0,s.register)(l);const a=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==a&&(0,s.dispatch)(d).setJetpackModules({data:{...a}})},8862:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});const s={isLoading:!1,isUpdating:{},data:{}},r=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var s=o(7105),r=o(4478);const n={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var s=o(2634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,o)=>{"use strict";var s=o(7723);o(3832),o(8468);const __=s.__;__("Upgrade your plan to use video covers","jetpack-mu-wpcom"),__("Upgrade your plan to upload audio","jetpack-mu-wpcom")},2034:(e,t,o)=>{"use strict";o(2279)},2634:(e,t,o)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===s()}o.d(t,{Sy:()=>r})},5595:(e,t,o)=>{"use strict";o(6072),o(9491)},8424:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>n,UT:()=>s,V4:()=>r});const s={"core/group":{group:{link:"https://wordpress.com/support/wordpress-editor/blocks/group-block/",postId:161882},"group-row":{link:"https://wordpress.com/support/wordpress-editor/blocks/row-block/",postId:190036},"group-stack":{link:"https://wordpress.com/support/wordpress-editor/blocks/row-block/",postId:190036}},"core/embed":{soundcloud:{link:"https://wordpress.com/support/soundcloud-audio-player/",postId:4213},twitter:{link:"https://wordpress.com/support/wordpress-editor/blocks/twitter-block/",postId:150413},vimeo:{link:"https://wordpress.com/support/videos/vimeo/",postId:1235},youtube:{link:"https://wordpress.com/support/wordpress-editor/blocks/youtube-block/",postId:150414}}},r={"core/nextpage":{link:"https://wordpress.com/support/wordpress-editor/blocks/page-break-block/",postId:149374}},n={"core/template-part":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/template-part-block/",postId:192398},"core/site-title":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-title-block/",postId:184569},"core/site-tagline":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-tagline-block/",postId:184553},"core/site-logo":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/site-logo-block/",postId:184537},"core/page-list":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/page-list-block/",postId:180696},"core/loginout":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/login-out-block/",postId:184610},"core/video":{link:"https://wordpress.com/support/wordpress-editor/blocks/video-block/",postId:149045},"core/verse":{link:"https://wordpress.com/support/wordpress-editor/blocks/verse-block/",postId:149992},"core/spacer":{link:"https://wordpress.com/support/wordpress-editor/blocks/spacer-block/",postId:148996},"core/shortcode":{link:"https://wordpress.com/support/wordpress-editor/blocks/shortcode-block/",postId:149209},"core/separator":{link:"https://wordpress.com/support/wordpress-editor/blocks/separator-block/",postId:149012},"core/search":{link:"https://wordpress.com/support/wordpress-editor/blocks/search-block/",postId:187104},"core/rss":{link:"https://wordpress.com/support/wordpress-editor/blocks/rss-block/",postId:174794},"core/navigation":{link:"https://wordpress.com/support/site-editing/theme-blocks/navigation-block/",postId:162159},"core/tag-cloud":{link:"https://wordpress.com/support/wordpress-editor/blocks/tag-cloud-block/",postId:188957},"core/quote":{link:"https://wordpress.com/support/wordpress-editor/blocks/quote-block/",postId:148575},"core/pullquote":{link:"https://wordpress.com/support/wordpress-editor/blocks/pullquote-block/",postId:149344},"core/preformatted":{link:"https://wordpress.com/support/wordpress-editor/blocks/preformatted-block/",postId:149339},"core/more":{link:"https://wordpress.com/support/wordpress-editor/blocks/more-block/",postId:148614},"core/list":{link:"https://wordpress.com/support/wordpress-editor/blocks/list-block/",postId:148563},"core/latest-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/latest-posts-block/",postId:149818},"core/latest-comments":{link:"https://wordpress.com/support/wordpress-editor/blocks/latest-comments-block/",postId:149811},"core/heading":{link:"https://wordpress.com/support/wordpress-editor/blocks/heading-block/",postId:148403},"core/file":{link:"https://wordpress.com/support/wordpress-editor/blocks/file-block/",postId:148586},"core/embed":{link:"https://wordpress.com/support/wordpress-editor/blocks/embed-block/",postId:150644},"core/html":{link:"https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/",postId:149059},"core/code":{link:"https://wordpress.com/support/wordpress-editor/blocks/code-block/",postId:149042},"core/freeform":{link:"https://wordpress.com/support/wordpress-editor/blocks/classic-block/",postId:149026},"core/categories":{link:"https://wordpress.com/support/wordpress-editor/blocks/categories-block/",postId:149793},"core/calendar":{link:"https://wordpress.com/support/wordpress-editor/blocks/calendar-block/",postId:171935},"core/audio":{link:"https://wordpress.com/support/wordpress-editor/blocks/audio-block/",postId:148670},"core/archives":{link:"https://wordpress.com/support/wordpress-editor/blocks/archives-block/",postId:149225},"core/query":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/query-loop-block/",postId:184188},"core/media-text":{link:"https://wordpress.com/support/wordpress-editor/blocks/media-text-block/",postId:151100},"core/table":{link:"https://wordpress.com/support/wordpress-editor/blocks/table-block/",postId:149666},"core/social-links":{link:"https://wordpress.com/support/wordpress-editor/blocks/social-links-block/",postId:159466},"core/columns":{link:"https://wordpress.com/support/wordpress-editor/blocks/columns-block/",postId:149073},"core/image":{link:"https://wordpress.com/support/wordpress-editor/blocks/image-block/",postId:148378},"core/cover":{link:"https://wordpress.com/support/wordpress-editor/blocks/cover-block/",postId:148675},"core/buttons":{link:"https://wordpress.com/support/wordpress-editor/blocks/buttons-block/",postId:162116},"core/gallery":{link:"https://wordpress.com/support/wordpress-editor/blocks/gallery-block/",postId:148667},"core/post-content":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/post-content-block/",postId:216265},"core/table-of-contents":{link:"https://wordpress.com/support/wordpress-editor/table-of-contents-block/",postId:201571},"core/comments":{link:"https://wordpress.com/support/full-site-editing/theme-blocks/comments-block/",postId:218903},"core/post-time-to-read":{link:"https://wordpress.com/support/site-editing/theme-blocks/time-to-read-block",postId:243241},"syntaxhighlighter/code":{link:"https://wordpress.com/support/wordpress-editor/blocks/syntax-highlighter-code-block/",postId:4743},"crowdsignal-forms/vote":{link:"https://wordpress.com/support/wordpress-editor/blocks/vote-block/",postId:174824},"crowdsignal-forms/poll":{link:"https://wordpress.com/support/wordpress-editor/blocks/poll-block/",postId:170183},"crowdsignal-forms/nps":{link:"https://wordpress.com/support/wordpress-editor/blocks/measure-nps-block/",postId:182393},"crowdsignal-forms/feedback":{link:"https://wordpress.com/support/wordpress-editor/blocks/feedback-button-block/",postId:183578},"a8c/posts-carousel":{link:"https://wordpress.com/support/wordpress-editor/blocks/posts-carousel-block/",postId:166417},"premium-content/container":{link:"https://wordpress.com/support/wordpress-editor/blocks/premium-content-block/",postId:243475},"a8c/blog-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/blog-posts-block/",postId:158419},"jetpack/send-a-message":{link:"https://wordpress.com/support/wordpress-editor/blocks/whatsapp-button-block/",postId:169728},"jetpack/blogroll":{link:"https://wordpress.com/support/wordpress-editor/blocks/blogroll-block/",postId:291406},"jetpack/timeline":{link:"https://wordpress.com/support/wordpress-editor/blocks/timeline-block/",postId:158453},"jetpack/story":{link:"https://wordpress.com/support/wordpress-editor/blocks/story-block/",postId:176320},"jetpack/revue":{link:"https://wordpress.com/support/wordpress-editor/blocks/revue-block/",postId:67810},"jetpack/rating-star":{link:"https://wordpress.com/support/wordpress-editor/blocks/ratings-block/",postId:158224},"jetpack/related-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/related-posts-block/",postId:1545},"jetpack/repeat-visitor":{link:"https://wordpress.com/support/wordpress-editor/blocks/repeat-visitor-block/",postId:154471},"jetpack/podcast-player":{link:"https://wordpress.com/support/wordpress-editor/blocks/podcast-player-block/",postId:163160},"jetpack/opentable":{link:"https://wordpress.com/support/wordpress-editor/blocks/opentable-block/",postId:162208},"jetpack/map":{link:"https://wordpress.com/support/wordpress-editor/blocks/map-block/",postId:149684},"jetpack/image-compare":{link:"https://wordpress.com/support/wordpress-editor/blocks/image-compare-block/",postId:168169},"jetpack/gif":{link:"https://wordpress.com/support/wordpress-editor/blocks/gif-block/",postId:174810},"jetpack/event-countdown":{link:"https://wordpress.com/support/wordpress-editor/blocks/event-countdown-block/",postId:159246},"jetpack/donations":{link:"https://wordpress.com/support/wordpress-editor/blocks/donations/",postId:171110},"jetpack/calendly":{link:"https://wordpress.com/support/wordpress-editor/blocks/calendly-block/",postId:162199},"jetpack/business-hours":{link:"https://wordpress.com/support/wordpress-editor/blocks/business-hours-block/",postId:173136},"jetpack/wordads":{link:"https://wordpress.com/support/wordpress-editor/blocks/ad-block/",postId:190916},"jetpack/payments-intro":{link:"https://wordpress.com/support/wordpress-editor/blocks/payments/",postId:169123},"jetpack/contact-info":{link:"https://wordpress.com/support/wordpress-editor/blocks/contact-info-block/",postId:186162},"jetpack/tiled-gallery":{link:"https://wordpress.com/support/wordpress-editor/blocks/tiled-gallery-block/",postId:150746},"jetpack/slideshow":{link:"https://wordpress.com/support/wordpress-editor/blocks/slideshow-block/",postId:157055},"jetpack/subscriptions":{link:"https://wordpress.com/support/wordpress-editor/blocks/subscription-form-block/",postId:170164},"jetpack/contact-form":{link:"https://wordpress.com/support/wordpress-editor/blocks/form-block/",postId:168307},"jetpack/layout-grid":{link:"https://wordpress.com/support/wordpress-editor/blocks/layout-grid-block/",postId:160172},"jetpack/mailchimp":{link:"https://wordpress.com/support/wordpress-editor/blocks/mailchimp-block/",postId:152657},"jetpack/paywall":{link:"https://wordpress.com/support/paid-newsletters/#use-the-paywall-block",postId:168381},"jetpack/sharing-buttons":{link:"https://wordpress.com/support/wordpress-editor/blocks/sharing-buttons-block/",postId:330003},"jetpack/like":{link:"https://wordpress.com/support/likes/",postId:7294},"jetpack/subscriber-login":{link:"https://wordpress.com/support/wordpress-editor/blocks/subscriber-login-block/",postId:380451},"jetpack/blog-stats":{link:"https://wordpress.com/support/wordpress-editor/blocks/blog-stats-block/",postId:382010},"jetpack/top-posts":{link:"https://wordpress.com/support/wordpress-editor/blocks/top-posts-pages-block/",postId:381536},"jetpack/goodreads":{link:"https://wordpress.com/support/wordpress-editor/blocks/goodreads-block/",postId:382051}}},9576:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var s=o(4437),r=o(5985),n=o(6427),p=o(7143),c=o(7723),i=o(1609),d=o.n(i);const __=c.__;function l({children:e,title:t,url:o,postId:c}){const[l,a]=(0,i.useState)(),{tracks:u}=(0,r.st)(),k=(0,p.useDispatch)("automattic/help-center"),m=k?.setShowHelpCenter,w=k?.setShowSupportDoc;return l&&!l?.closest(".block-editor-block-inspector")?e:d().createElement(d().Fragment,null,e,d().createElement("br",null),m?d().createElement(n.Button,{onClick:()=>{m(!0),w((0,s.rm)(o),c),u.recordEvent("jetpack_mu_wpcom_block_description_support_link_click",{block:t,support_link:o})},style:{marginTop:10,height:"unset"},ref:e=>l!==e&&a(e),className:"fse-inline-support-link is-compact",variant:"link"},__("Block guide","jetpack-mu-wpcom")):d().createElement(n.ExternalLink,{onClick:()=>{u.recordEvent("jetpack_mu_wpcom_block_description_support_link_click",{block:t,support_link:o})},ref:e=>l!==e&&a(e),style:{display:"block",marginTop:10,maxWidth:"fit-content"},className:"fse-inline-support-link",href:o},__("Learn more","jetpack-mu-wpcom")))}},9384:e=>{"use strict";e.exports=window.JetpackConnection},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},8468:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},2619:e=>{"use strict";e.exports=window.wp.hooks},7723:e=>{"use strict";e.exports=window.wp.i18n},2279:e=>{"use strict";e.exports=window.wp.plugins},3832:e=>{"use strict";e.exports=window.wp.url},6072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=o(4437),t=o(6087),s=o(2619),r=o(1609),n=o.n(r),p=o(8424),c=o(9576);const i=(o,s,r,p)=>{const i=(0,e.rm)(r);return(0,t.createInterpolateElement)("",{InlineSupportLink:n().createElement(c.A,{title:String(o),url:i,postId:p},s)})},d={};(0,s.addFilter)("blocks.registerBlockType","jetpack-mu-wpcom/add-block-support-link",((e,t)=>{const o=e?.parent?.toString(),s=o&&"core/post-content"!==o?o:t;if(d[t])return e;d[t]=!0;const r=p.V4[t]?.link||p.Ay[s]?.link,n=p.V4[t]?.postId||p.Ay[s]?.postId;return r&&n&&(e.description=i(String(e.title),e.description,r,n)),p.UT[t]&&e.variations&&Array.isArray(e.variations)&&(e.variations=e.variations.map((e=>{let o=p.UT[t][e.name]?.link,s=p.UT[t][e.name]?.postId;if(o||"core/embed"!==t){if(!o)return e}else o="https://wordpress.com/support/wordpress-editor/blocks/embed-block/",s=150644;return e.description=i(e.title,e.description,o,s),e}))),e}))})()})(); \ No newline at end of file diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.asset.php b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.asset.php index 28b77000..dacfb1bd 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.asset.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.asset.php @@ -1 +1 @@ - array('moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-primitives', 'wp-private-apis', 'wp-url'), 'version' => '4760bd5a4751464368a8'); + array('moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-nux', 'wp-plugins', 'wp-primitives', 'wp-private-apis', 'wp-url'), 'version' => '76a412cfce6b29ec1d52'); diff --git a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.js b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.js index fa1aa94d..21f18698 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.js +++ b/vendor/automattic/jetpack-mu-wpcom/src/build/wpcom-block-editor-nux/wpcom-block-editor-nux.js @@ -1,3 +1,3 @@ -(()=>{var e={78254:(e,t,o)=>{"use strict";o.d(t,{YO:()=>c,Ym:()=>u,t:()=>l});var n=o(10790),r=o(29491),a=o(27723),s=o(51609);const i=(0,s.createContext)(null),c=({children:e,localeSlug:t})=>(0,n.jsx)(i.Provider,{value:t,children:e});function l(){return function(e=""){if(!e)return"";const t=e.toLowerCase();return(["pt_br","pt-br","zh_tw","zh-tw","zh_cn","zh-cn","zh_sg","zh-sg"].includes(t)?t.replace("_","-"):t.replace(/([-_].*)$/i,""))||"en"}(function(){const e=a.getLocaleData()||{};return e[""]?.lang||e[""]?.language||""}())}function u(){const e=(0,s.useContext)(i),t=!!e,[o,n]=(0,s.useState)(l());return(0,s.useEffect)((()=>{if(!t)return n(l()),a.subscribe((()=>{n(l())}))}),[t]),e||o||"undefined"!=typeof window&&window._currentUserLocale||"en"}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,locale:u()};return(0,n.jsx)(e,{...o})}),"withLocale")},57711:(e,t,o)=>{"use strict";o.d(t,{BS:()=>d,Cx:()=>r,K8:()=>s,S9:()=>a,Sc:()=>n,Sj:()=>l,Ws:()=>c,_J:()=>u,lW:()=>p,mt:()=>i,rh:()=>m});const n=["en","ja","es","pt","fr","pt-br"],r=["en","pt-br","de","es","fr","it"],a=["en","fr","de","es"],s=["en","fr","de","es"],i=["en","es"],c=["ar","de","el","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"],l={"pt-br":"br",br:"bre",zh:"zh-cn","zh-hk":"zh-tw","zh-sg":"zh-cn",kr:"ko"},u=["ar","de","en","es","fr","he","id","it","ja","ko","nl","pt-br","ru","sv","tr","zh-cn","zh-tw"],d=["ar","de","el","en","es","fa","fi","fr","id","it","ja","nl","pt","pt-br","ru","sv","th","tl","tr"],p=["es","pt-br","de","fr","he","ja","it","nl","ru","tr","id","zh-cn","zh-tw","ko","ar","sv"],m=["en","ar","de","es","fr","he","id","it","ja","ko","nl","pt-br","ro","ru","sv","tr","zh-cn","zh-tw"]},14437:(e,t,o)=>{"use strict";o.d(t,{rm:()=>g});var n=o(10790),r=o(29491),a=o(51609),s=o(78254),i=o(57711);const c="http://__domain__.invalid";const l=(e,t=[])=>(o,n)=>(t.includes(n)&&"en"!==n&&o.pathname.substr(0,n.length+2)!=="/"+n+"/"&&(o.host=`${i.Sj[n]||n}.${e}`),o),u=(e,t=[],o=null)=>(n,r)=>(n.host="wordpress.com","object"==typeof o&&o instanceof RegExp&&!o.test(n.pathname)&&(t=[]),n.pathname=e+n.pathname,t.includes(r)&&"en"!==r&&(n.pathname=r+n.pathname),n),d=(e=[],t=null,o)=>(n,r)=>"object"==typeof t&&t instanceof RegExp&&!t.test(n.pathname)?n:e.includes(r)&&"en"!==r?("prefix"===o?n.pathname=r+n.pathname:"suffix"===o&&(n.pathname.endsWith("/")?n.pathname+=r+"/":n.pathname+="/"+r),n):n,p=(e=[],t=null)=>(o,n)=>d(e,t,"prefix")(o,n),m=(e=[],t=null)=>(o,n)=>d(e,t,"suffix")(o,n),f={"wordpress.com/support/":p(i._J),"wordpress.com/forums/":p(i.BS),"wordpress.com/blog/":p(i.Sc,/^\/blog\/?$/),"wordpress.com/go/":(e,t)=>["/go/","/go"].includes(e.pathname)||"es"===t?p(i.Cx)(e,t):e,"wordpress.com/pricing/":p(i.Ws),"wordpress.com/tos/":p(i.lW),"wordpress.com/wp-admin/":l("wordpress.com",i.lW),"wordpress.com/wp-login.php":l("wordpress.com",i.lW),"jetpack.com":p(i.rh),"cloud.jetpack.com":p(i.rh),"en.support.wordpress.com":u("/support",i._J),"en.blog.wordpress.com":u("/blog",i.Sc,/^\/$/),"apps.wordpress.com":p(i.lW),"en.forums.wordpress.com":u("/forums",i.BS),"automattic.com/privacy/":p(i.S9),"automattic.com/cookies/":p(i.K8),"wordpress.com/help/contact/":(e,t,o)=>o?e:(e.pathname=e.pathname.replace(/\/help\//,"/support/"),p(i._J)(e,t)),"wordpress.com":(e,t)=>/^\/(checkout|me)(\/|$)/.test(e.pathname)||/\/([a-z0-9-]+\.)+[a-z]{2,}\/?$/.test(e.pathname)?e:p(i.lW)(e,t),"wordpress.com/theme/":(e,t,o)=>o?e:p(i.lW)(e,t),"wordpress.com/themes/":(e,t,o)=>o?e:p(i.lW)(e,t),"wordpress.com/plugins/":(e,t,o)=>o?e:p(i.lW)(e,t),"wordpress.com/log-in/":(e,t,o)=>o?e:m(i.lW)(e,t),"wordpress.com/start/":(e,t,o)=>o?e:m(i.lW)(e,t),"wordpress.com/learn/":(e,t)=>e.pathname.includes("/learn/webinars/")&&"es"===t?(e.pathname=e.pathname.replace("/learn/webinars/","/learn/es/webinars/"),e):m(i.mt)(e,t),"wordpress.com/plans/":(e,t,o)=>o||"/plans/"!==e.pathname?e:p(i.Ws)(e,t),"wordpress.com/setup/":(e,t,o)=>o?e:m(i.lW)(e,t)};function h(e){try{return new URL(String(e),c).pathname.endsWith("/")}catch(e){return!1}}function g(e,t=function(){return(0,s.t)()??"en"}(),o=!0,n=!1){let r;try{r=new URL(String(e),c)}catch(t){return e}if(r.origin===c)return e;r.protocol="https:",r.pathname.endsWith(".php")||(r.pathname=(r.pathname+"/").replace(/\/+$/,"/"));const a=r.pathname.substr(0,1+r.pathname.indexOf("/",1));if("en.wordpress.com"===r.host&&(r.host="wordpress.com"),"/"+t+"/"===a)return e;const i=[r.host,r.host+a,r.host+r.pathname];for(let a=i.length-1;a>=0;a--)if(i[a]in f){const s=f[i[a]](r,t,o).href;if(!n)return s;try{const t=new URL(s);return h(e)||(t.pathname=t.pathname.replace(/\/+$/,"")),t.href}catch{return s}}return e}function w(){const e=(0,s.Ym)();return(0,a.useCallback)(((t,o,n,r)=>g(t,o||e,n,r)),[e])}(0,r.createHigherOrderComponent)((e=>t=>{const o={...t,localizeUrl:w()};return(0,n.jsx)(e,{...o})}),"withLocalizeUrl")},70868:(e,t,o)=>{"use strict";o.d(t,{UD:()=>m});var n=o(89978),r=o(84623),a=o(7729),s=o(78020),i=o(7298),c=o(44583),l=o(93592),u=o(16281),d={placement:"bottom",modifiers:[],strategy:"absolute"};function p(){for(var e=arguments.length,t=new Array(e),o=0;o{"use strict";o.d(t,{A:()=>r});var n=o(16281);function r(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&(0,n.Ng)(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},86622:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(16281),r=o(6742),a=o(67895),s=o(3503);function i(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var i=e.getBoundingClientRect(),c=1,l=1;t&&(0,n.sb)(e)&&(c=e.offsetWidth>0&&(0,r.LI)(i.width)/e.offsetWidth||1,l=e.offsetHeight>0&&(0,r.LI)(i.height)/e.offsetHeight||1);var u=((0,n.vq)(e)?(0,a.A)(e):window).visualViewport,d=!(0,s.A)()&&o,p=(i.left+(d&&u?u.offsetLeft:0))/c,m=(i.top+(d&&u?u.offsetTop:0))/l,f=i.width/c,h=i.height/l;return{width:f,height:h,top:m,right:p+f,bottom:m+h,left:p,x:p,y:m}}},54871:(e,t,o)=>{"use strict";o.d(t,{A:()=>v});var n=o(20682),r=o(64787),a=o(13524),s=o(7729),i=o(78020),c=o(24724),l=o(98859),u=o(16281),d=o(86622),p=o(22567),m=o(81458),f=o(22696),h=o(61478),g=o(6742);function w(e,t,o){return t===n.R9?(0,h.A)((0,r.A)(e,o)):(0,u.vq)(t)?function(e,t){var o=(0,d.A)(e,!1,"fixed"===t);return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}(t,o):(0,h.A)((0,a.A)((0,c.A)(e)))}function v(e,t,o,n){var r="clippingParents"===t?function(e){var t=(0,s.A)((0,p.A)(e)),o=["absolute","fixed"].indexOf((0,l.A)(e).position)>=0&&(0,u.sb)(e)?(0,i.A)(e):e;return(0,u.vq)(o)?t.filter((function(e){return(0,u.vq)(e)&&(0,m.A)(e,o)&&"body"!==(0,f.A)(e)})):[]}(e):[].concat(t),a=[].concat(r,[o]),c=a[0],d=a.reduce((function(t,o){var r=w(e,o,n);return t.top=(0,g.T9)(r.top,t.top),t.right=(0,g.jk)(r.right,t.right),t.bottom=(0,g.jk)(r.bottom,t.bottom),t.left=(0,g.T9)(r.left,t.left),t}),w(e,c,n));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}},89978:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var n=o(86622),r=o(48954),a=o(22696),s=o(16281),i=o(48949),c=o(24724),l=o(72322),u=o(6742);function d(e,t,o){void 0===o&&(o=!1);var d=(0,s.sb)(t),p=(0,s.sb)(t)&&function(e){var t=e.getBoundingClientRect(),o=(0,u.LI)(t.width)/e.offsetWidth||1,n=(0,u.LI)(t.height)/e.offsetHeight||1;return 1!==o||1!==n}(t),m=(0,c.A)(t),f=(0,n.A)(e,p,o),h={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(d||!d&&!o)&&(("body"!==(0,a.A)(t)||(0,l.A)(m))&&(h=(0,r.A)(t)),(0,s.sb)(t)?((g=(0,n.A)(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):m&&(g.x=(0,i.A)(m))),{x:f.left+h.scrollLeft-g.x,y:f.top+h.scrollTop-g.y,width:f.width,height:f.height}}},98859:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(67895);function r(e){return(0,n.A)(e).getComputedStyle(e)}},24724:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(16281);function r(e){return(((0,n.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},13524:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(24724),r=o(98859),a=o(48949),s=o(53050),i=o(6742);function c(e){var t,o=(0,n.A)(e),c=(0,s.A)(e),l=null==(t=e.ownerDocument)?void 0:t.body,u=(0,i.T9)(o.scrollWidth,o.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=(0,i.T9)(o.scrollHeight,o.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),p=-c.scrollLeft+(0,a.A)(e),m=-c.scrollTop;return"rtl"===(0,r.A)(l||o).direction&&(p+=(0,i.T9)(o.clientWidth,l?l.clientWidth:0)-u),{width:u,height:d,x:p,y:m}}},73077:(e,t,o)=>{"use strict";function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}o.d(t,{A:()=>n})},84623:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(86622);function r(e){var t=(0,n.A)(e),o=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}},22696:(e,t,o)=>{"use strict";function n(e){return e?(e.nodeName||"").toLowerCase():null}o.d(t,{A:()=>n})},48954:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(53050),r=o(67895),a=o(16281),s=o(73077);function i(e){return e!==(0,r.A)(e)&&(0,a.sb)(e)?(0,s.A)(e):(0,n.A)(e)}},78020:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var n=o(67895),r=o(22696),a=o(98859),s=o(16281),i=o(81467),c=o(22567),l=o(23842);function u(e){return(0,s.sb)(e)&&"fixed"!==(0,a.A)(e).position?e.offsetParent:null}function d(e){for(var t=(0,n.A)(e),o=u(e);o&&(0,i.A)(o)&&"static"===(0,a.A)(o).position;)o=u(o);return o&&("html"===(0,r.A)(o)||"body"===(0,r.A)(o)&&"static"===(0,a.A)(o).position)?t:o||function(e){var t=/firefox/i.test((0,l.A)());if(/Trident/i.test((0,l.A)())&&(0,s.sb)(e)&&"fixed"===(0,a.A)(e).position)return null;var o=(0,c.A)(e);for((0,s.Ng)(o)&&(o=o.host);(0,s.sb)(o)&&["html","body"].indexOf((0,r.A)(o))<0;){var n=(0,a.A)(o);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return o;o=o.parentNode}return null}(e)||t}},22567:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(22696),r=o(24724),a=o(16281);function s(e){return"html"===(0,n.A)(e)?e:e.assignedSlot||e.parentNode||((0,a.Ng)(e)?e.host:null)||(0,r.A)(e)}},34990:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(22567),r=o(72322),a=o(22696),s=o(16281);function i(e){return["html","body","#document"].indexOf((0,a.A)(e))>=0?e.ownerDocument.body:(0,s.sb)(e)&&(0,r.A)(e)?e:i((0,n.A)(e))}},64787:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(67895),r=o(24724),a=o(48949),s=o(3503);function i(e,t){var o=(0,n.A)(e),i=(0,r.A)(e),c=o.visualViewport,l=i.clientWidth,u=i.clientHeight,d=0,p=0;if(c){l=c.width,u=c.height;var m=(0,s.A)();(m||!m&&"fixed"===t)&&(d=c.offsetLeft,p=c.offsetTop)}return{width:l,height:u,x:d+(0,a.A)(e),y:p}}},67895:(e,t,o)=>{"use strict";function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}o.d(t,{A:()=>n})},53050:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(67895);function r(e){var t=(0,n.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},48949:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(86622),r=o(24724),a=o(53050);function s(e){return(0,n.A)((0,r.A)(e)).left+(0,a.A)(e).scrollLeft}},16281:(e,t,o)=>{"use strict";o.d(t,{Ng:()=>s,sb:()=>a,vq:()=>r});var n=o(67895);function r(e){return e instanceof(0,n.A)(e).Element||e instanceof Element}function a(e){return e instanceof(0,n.A)(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,n.A)(e).ShadowRoot||e instanceof ShadowRoot)}},3503:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(23842);function r(){return!/^((?!chrome|android).)*safari/i.test((0,n.A)())}},72322:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(98859);function r(e){var t=(0,n.A)(e),o=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+a+r)}},81467:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(22696);function r(e){return["table","td","th"].indexOf((0,n.A)(e))>=0}},7729:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(34990),r=o(22567),a=o(67895),s=o(72322);function i(e,t){var o;void 0===t&&(t=[]);var c=(0,n.A)(e),l=c===(null==(o=e.ownerDocument)?void 0:o.body),u=(0,a.A)(c),d=l?[u].concat(u.visualViewport||[],(0,s.A)(c)?c:[]):c,p=t.concat(d);return l?p:p.concat(i((0,r.A)(d)))}},20682:(e,t,o)=>{"use strict";o.d(t,{DD:()=>g,GM:()=>w,Mn:()=>n,OM:()=>c,Ol:()=>h,R9:()=>p,WY:()=>d,_N:()=>u,ir:()=>f,kb:()=>s,ni:()=>l,pG:()=>a,qZ:()=>i,sQ:()=>r,xf:()=>m});var n="top",r="bottom",a="right",s="left",i="auto",c=[n,r,a,s],l="start",u="end",d="clippingParents",p="viewport",m="popper",f="reference",h=c.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+u])}),[]),g=[].concat(c,[i]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+u])}),[]),w=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},83811:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(22696),r=o(16281);const a={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},a=t.attributes[e]||{},s=t.elements[e];(0,r.sb)(s)&&(0,n.A)(s)&&(Object.assign(s.style,o),Object.keys(a).forEach((function(e){var t=a[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var a=t.elements[e],s=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});(0,r.sb)(a)&&(0,n.A)(a)&&(Object.assign(a.style,i),Object.keys(s).forEach((function(e){a.removeAttribute(e)})))}))}},requires:["computeStyles"]}},50436:(e,t,o)=>{"use strict";o.d(t,{A:()=>p});var n=o(9908),r=o(84623),a=o(81458),s=o(78020),i=o(29907),c=o(46543),l=o(63778),u=o(11283),d=o(20682);const p={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,a=e.name,p=e.options,m=o.elements.arrow,f=o.modifiersData.popperOffsets,h=(0,n.A)(o.placement),g=(0,i.A)(h),w=[d.kb,d.pG].indexOf(h)>=0?"height":"width";if(m&&f){var v=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,l.A)("number"!=typeof e?e:(0,u.A)(e,d.OM))}(p.padding,o),b=(0,r.A)(m),y="y"===g?d.Mn:d.kb,E="y"===g?d.sQ:d.pG,_=o.rects.reference[w]+o.rects.reference[g]-f[g]-o.rects.popper[w],k=f[g]-o.rects.reference[g],A=(0,s.A)(m),R=A?"y"===g?A.clientHeight||0:A.clientWidth||0:0,S=_/2-k/2,x=v[y],C=R-b[w]-v[E],M=R/2-b[w]/2+S,z=(0,c.u)(x,M,C),O=g;o.modifiersData[a]=((t={})[O]=z,t.centerOffset=z-M,t)}},effect:function(e){var t=e.state,o=e.options.element,n=void 0===o?"[data-popper-arrow]":o;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&(0,a.A)(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},69138:(e,t,o)=>{"use strict";o.d(t,{A:()=>m});var n=o(20682),r=o(78020),a=o(67895),s=o(24724),i=o(98859),c=o(9908),l=o(98889),u=o(6742),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t,o=e.popper,c=e.popperRect,l=e.placement,p=e.variation,m=e.offsets,f=e.position,h=e.gpuAcceleration,g=e.adaptive,w=e.roundOffsets,v=e.isFixed,b=m.x,y=void 0===b?0:b,E=m.y,_=void 0===E?0:E,k="function"==typeof w?w({x:y,y:_}):{x:y,y:_};y=k.x,_=k.y;var A=m.hasOwnProperty("x"),R=m.hasOwnProperty("y"),S=n.kb,x=n.Mn,C=window;if(g){var M=(0,r.A)(o),z="clientHeight",O="clientWidth";if(M===(0,a.A)(o)&&(M=(0,s.A)(o),"static"!==(0,i.A)(M).position&&"absolute"===f&&(z="scrollHeight",O="scrollWidth")),l===n.Mn||(l===n.kb||l===n.pG)&&p===n._N)x=n.sQ,_-=(v&&M===C&&C.visualViewport?C.visualViewport.height:M[z])-c.height,_*=h?1:-1;if(l===n.kb||(l===n.Mn||l===n.sQ)&&p===n._N)S=n.pG,y-=(v&&M===C&&C.visualViewport?C.visualViewport.width:M[O])-c.width,y*=h?1:-1}var j,P=Object.assign({position:f},g&&d),L=!0===w?function(e,t){var o=e.x,n=e.y,r=t.devicePixelRatio||1;return{x:(0,u.LI)(o*r)/r||0,y:(0,u.LI)(n*r)/r||0}}({x:y,y:_},(0,a.A)(o)):{x:y,y:_};return y=L.x,_=L.y,h?Object.assign({},P,((j={})[x]=R?"0":"",j[S]=A?"0":"",j.transform=(C.devicePixelRatio||1)<=1?"translate("+y+"px, "+_+"px)":"translate3d("+y+"px, "+_+"px, 0)",j)):Object.assign({},P,((t={})[x]=R?_+"px":"",t[S]=A?y+"px":"",t.transform="",t))}const m={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,n=o.gpuAcceleration,r=void 0===n||n,a=o.adaptive,s=void 0===a||a,i=o.roundOffsets,u=void 0===i||i,d={placement:(0,c.A)(t.placement),variation:(0,l.A)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},38616:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(67895),r={passive:!0};const a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,a=e.options,s=a.scroll,i=void 0===s||s,c=a.resize,l=void 0===c||c,u=(0,n.A)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach((function(e){e.addEventListener("scroll",o.update,r)})),l&&u.addEventListener("resize",o.update,r),function(){i&&d.forEach((function(e){e.removeEventListener("scroll",o.update,r)})),l&&u.removeEventListener("resize",o.update,r)}},data:{}}},69322:(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var n=o(83068),r=o(9908),a=o(31791),s=o(25845),i=o(25829),c=o(20682),l=o(98889);const u={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=o.mainAxis,p=void 0===d||d,m=o.altAxis,f=void 0===m||m,h=o.fallbackPlacements,g=o.padding,w=o.boundary,v=o.rootBoundary,b=o.altBoundary,y=o.flipVariations,E=void 0===y||y,_=o.allowedAutoPlacements,k=t.options.placement,A=(0,r.A)(k),R=h||(A===k||!E?[(0,n.A)(k)]:function(e){if((0,r.A)(e)===c.qZ)return[];var t=(0,n.A)(e);return[(0,a.A)(e),t,(0,a.A)(t)]}(k)),S=[k].concat(R).reduce((function(e,o){return e.concat((0,r.A)(o)===c.qZ?(0,i.A)(t,{placement:o,boundary:w,rootBoundary:v,padding:g,flipVariations:E,allowedAutoPlacements:_}):o)}),[]),x=t.rects.reference,C=t.rects.popper,M=new Map,z=!0,O=S[0],j=0;j=0,B=T?"width":"height",F=(0,s.A)(t,{placement:P,boundary:w,rootBoundary:v,altBoundary:b,padding:g}),I=T?N?c.pG:c.kb:N?c.sQ:c.Mn;x[B]>C[B]&&(I=(0,n.A)(I));var W=(0,n.A)(I),D=[];if(p&&D.push(F[L]<=0),f&&D.push(F[I]<=0,F[W]<=0),D.every((function(e){return e}))){O=P,z=!1;break}M.set(P,D)}if(z)for(var H=function(e){var t=S.find((function(t){var o=M.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},V=E?3:1;V>0;V--){if("break"===H(V))break}t.placement!==O&&(t.modifiersData[u]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},47733:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(20682),r=o(25845);function a(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function s(e){return[n.Mn,n.pG,n.sQ,n.kb].some((function(t){return e[t]>=0}))}const i={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,n=t.rects.reference,i=t.rects.popper,c=t.modifiersData.preventOverflow,l=(0,r.A)(t,{elementContext:"reference"}),u=(0,r.A)(t,{altBoundary:!0}),d=a(l,n),p=a(u,i,c),m=s(d),f=s(p);t.modifiersData[o]={referenceClippingOffsets:d,popperEscapeOffsets:p,isReferenceHidden:m,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":f})}}},41102:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(9908),r=o(20682);const a={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,a=e.name,s=o.offset,i=void 0===s?[0,0]:s,c=r.DD.reduce((function(e,o){return e[o]=function(e,t,o){var a=(0,n.A)(e),s=[r.kb,r.Mn].indexOf(a)>=0?-1:1,i="function"==typeof o?o(Object.assign({},t,{placement:e})):o,c=i[0],l=i[1];return c=c||0,l=(l||0)*s,[r.kb,r.pG].indexOf(a)>=0?{x:l,y:c}:{x:c,y:l}}(o,t.rects,i),e}),{}),l=c[t.placement],u=l.x,d=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[a]=c}}},71583:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(96819);const r={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=(0,n.A)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},76909:(e,t,o)=>{"use strict";o.d(t,{A:()=>f});var n=o(20682),r=o(9908),a=o(29907),s=o(47614),i=o(46543),c=o(84623),l=o(78020),u=o(25845),d=o(98889),p=o(36048),m=o(6742);const f={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,f=e.name,h=o.mainAxis,g=void 0===h||h,w=o.altAxis,v=void 0!==w&&w,b=o.boundary,y=o.rootBoundary,E=o.altBoundary,_=o.padding,k=o.tether,A=void 0===k||k,R=o.tetherOffset,S=void 0===R?0:R,x=(0,u.A)(t,{boundary:b,rootBoundary:y,padding:_,altBoundary:E}),C=(0,r.A)(t.placement),M=(0,d.A)(t.placement),z=!M,O=(0,a.A)(C),j=(0,s.A)(O),P=t.modifiersData.popperOffsets,L=t.rects.reference,N=t.rects.popper,T="function"==typeof S?S(Object.assign({},t.rects,{placement:t.placement})):S,B="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(P){if(g){var W,D="y"===O?n.Mn:n.kb,H="y"===O?n.sQ:n.pG,V="y"===O?"height":"width",G=P[O],U=G+x[D],$=G-x[H],q=A?-N[V]/2:0,Y=M===n.ni?L[V]:N[V],J=M===n.ni?-N[V]:-L[V],Z=t.elements.arrow,Q=A&&Z?(0,c.A)(Z):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,p.A)(),X=K[D],ee=K[H],te=(0,i.u)(0,L[V],Q[V]),oe=z?L[V]/2-q-te-X-B.mainAxis:Y-te-X-B.mainAxis,ne=z?-L[V]/2+q+te+ee+B.mainAxis:J+te+ee+B.mainAxis,re=t.elements.arrow&&(0,l.A)(t.elements.arrow),ae=re?"y"===O?re.clientTop||0:re.clientLeft||0:0,se=null!=(W=null==F?void 0:F[O])?W:0,ie=G+oe-se-ae,ce=G+ne-se,le=(0,i.u)(A?(0,m.jk)(U,ie):U,G,A?(0,m.T9)($,ce):$);P[O]=le,I[O]=le-G}if(v){var ue,de="x"===O?n.Mn:n.kb,pe="x"===O?n.sQ:n.pG,me=P[j],fe="y"===j?"height":"width",he=me+x[de],ge=me-x[pe],we=-1!==[n.Mn,n.kb].indexOf(C),ve=null!=(ue=null==F?void 0:F[j])?ue:0,be=we?he:me-L[fe]-N[fe]-ve+B.altAxis,ye=we?me+L[fe]+N[fe]-ve-B.altAxis:ge,Ee=A&&we?(0,i.P)(be,me,ye):(0,i.u)(A?be:he,me,A?ye:ge);P[j]=Ee,I[j]=Ee-me}t.modifiersData[f]=I}},requiresIfExists:["offset"]}},4068:(e,t,o)=>{"use strict";o.d(t,{n4:()=>f});var n=o(70868),r=o(38616),a=o(71583),s=o(69138),i=o(83811),c=o(41102),l=o(69322),u=o(76909),d=o(50436),p=o(47733),m=[r.A,a.A,s.A,i.A,c.A,l.A,u.A,d.A,p.A],f=(0,n.UD)({defaultModifiers:m})},25829:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(98889),r=o(20682),a=o(25845),s=o(9908);function i(e,t){void 0===t&&(t={});var o=t,i=o.placement,c=o.boundary,l=o.rootBoundary,u=o.padding,d=o.flipVariations,p=o.allowedAutoPlacements,m=void 0===p?r.DD:p,f=(0,n.A)(i),h=f?d?r.Ol:r.Ol.filter((function(e){return(0,n.A)(e)===f})):r.OM,g=h.filter((function(e){return m.indexOf(e)>=0}));0===g.length&&(g=h);var w=g.reduce((function(t,o){return t[o]=(0,a.A)(e,{placement:o,boundary:c,rootBoundary:l,padding:u})[(0,s.A)(o)],t}),{});return Object.keys(w).sort((function(e,t){return w[e]-w[t]}))}},96819:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(9908),r=o(98889),a=o(29907),s=o(20682);function i(e){var t,o=e.reference,i=e.element,c=e.placement,l=c?(0,n.A)(c):null,u=c?(0,r.A)(c):null,d=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2;switch(l){case s.Mn:t={x:d,y:o.y-i.height};break;case s.sQ:t={x:d,y:o.y+o.height};break;case s.pG:t={x:o.x+o.width,y:p};break;case s.kb:t={x:o.x-i.width,y:p};break;default:t={x:o.x,y:o.y}}var m=l?(0,a.A)(l):null;if(null!=m){var f="y"===m?"height":"width";switch(u){case s.ni:t[m]=t[m]-(o[f]/2-i[f]/2);break;case s._N:t[m]=t[m]+(o[f]/2-i[f]/2)}}return t}},44583:(e,t,o)=>{"use strict";function n(e){var t;return function(){return t||(t=new Promise((function(o){Promise.resolve().then((function(){t=void 0,o(e())}))}))),t}}o.d(t,{A:()=>n})},25845:(e,t,o)=>{"use strict";o.d(t,{A:()=>p});var n=o(54871),r=o(24724),a=o(86622),s=o(96819),i=o(61478),c=o(20682),l=o(16281),u=o(63778),d=o(11283);function p(e,t){void 0===t&&(t={});var o=t,p=o.placement,m=void 0===p?e.placement:p,f=o.strategy,h=void 0===f?e.strategy:f,g=o.boundary,w=void 0===g?c.WY:g,v=o.rootBoundary,b=void 0===v?c.R9:v,y=o.elementContext,E=void 0===y?c.xf:y,_=o.altBoundary,k=void 0!==_&&_,A=o.padding,R=void 0===A?0:A,S=(0,u.A)("number"!=typeof R?R:(0,d.A)(R,c.OM)),x=E===c.xf?c.ir:c.xf,C=e.rects.popper,M=e.elements[k?x:E],z=(0,n.A)((0,l.vq)(M)?M:M.contextElement||(0,r.A)(e.elements.popper),w,b,h),O=(0,a.A)(e.elements.reference),j=(0,s.A)({reference:O,element:C,strategy:"absolute",placement:m}),P=(0,i.A)(Object.assign({},C,j)),L=E===c.xf?P:O,N={top:z.top-L.top+S.top,bottom:L.bottom-z.bottom+S.bottom,left:z.left-L.left+S.left,right:L.right-z.right+S.right},T=e.modifiersData.offset;if(E===c.xf&&T){var B=T[m];Object.keys(N).forEach((function(e){var t=[c.pG,c.sQ].indexOf(e)>=0?1:-1,o=[c.Mn,c.sQ].indexOf(e)>=0?"y":"x";N[e]+=B[o]*t}))}return N}},11283:(e,t,o)=>{"use strict";function n(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}o.d(t,{A:()=>n})},47614:(e,t,o)=>{"use strict";function n(e){return"x"===e?"y":"x"}o.d(t,{A:()=>n})},9908:(e,t,o)=>{"use strict";function n(e){return e.split("-")[0]}o.d(t,{A:()=>n})},36048:(e,t,o)=>{"use strict";function n(){return{top:0,right:0,bottom:0,left:0}}o.d(t,{A:()=>n})},29907:(e,t,o)=>{"use strict";function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}o.d(t,{A:()=>n})},83068:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n={left:"right",right:"left",bottom:"top",top:"bottom"};function r(e){return e.replace(/left|right|bottom|top/g,(function(e){return n[e]}))}},31791:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n={start:"end",end:"start"};function r(e){return e.replace(/start|end/g,(function(e){return n[e]}))}},98889:(e,t,o)=>{"use strict";function n(e){return e.split("-")[1]}o.d(t,{A:()=>n})},6742:(e,t,o)=>{"use strict";o.d(t,{LI:()=>a,T9:()=>n,jk:()=>r});var n=Math.max,r=Math.min,a=Math.round},93592:(e,t,o)=>{"use strict";function n(e){var t=e.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}o.d(t,{A:()=>n})},63778:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(36048);function r(e){return Object.assign({},(0,n.A)(),e)}},7298:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(20682);function r(e){var t=new Map,o=new Set,n=[];function r(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||r(e)})),n}function a(e){var t=r(e);return n.GM.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}},61478:(e,t,o)=>{"use strict";function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}o.d(t,{A:()=>n})},23842:(e,t,o)=>{"use strict";function n(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}o.d(t,{A:()=>n})},46543:(e,t,o)=>{"use strict";o.d(t,{P:()=>a,u:()=>r});var n=o(6742);function r(e,t,o){return(0,n.T9)(e,(0,n.jk)(t,o))}function a(e,t,o){var n=r(e,t,o);return n>o?o:n}},51113:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(86087);const r=(0,n.forwardRef)((function({icon:e,size:t=24,...o},r){return(0,n.cloneElement)(e,{width:t,height:t,...o,ref:r})}))},10991:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(5573),r=o(10790);const a=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})})},84066:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(5573),r=o(10790);const a=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},87603:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(5573),r=o(10790);const a=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})})},37110:e=>{e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},51621:e=>{"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},46941:(e,t,o)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let n=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))})),t.splice(r,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=o(53212)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},53212:(e,t,o)=>{e.exports=function(e){function t(e){let o,r,a,s=null;function i(...e){if(!i.enabled)return;const n=i,r=Number(new Date),a=r-(o||r);n.diff=a,n.prev=o,n.curr=r,o=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,r)=>{if("%%"===o)return"%";s++;const a=t.formatters[r];if("function"==typeof a){const t=e[s];o=a.call(n,t),e.splice(s,1),s--}return o})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=n,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(r!==t.namespaces&&(r=t.namespaces,a=t.enabled(e)),a),set:e=>{s=e}}),"function"==typeof t.init&&t.init(i),i}function n(e,o){const n=t(this.namespace+(void 0===o?":":o)+e);return n.log=this.log,n}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let o;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(o=0;o{t[o]=e[o]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t{var t=1e3,o=60*t,n=60*o,r=24*n,a=7*r,s=365.25*r;function i(e,t,o,n){var r=t>=1.5*o;return Math.round(e/o)+" "+n+(r?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var c=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*o;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var a=Math.abs(e);if(a>=r)return i(e,a,r,"day");if(a>=n)return i(e,a,n,"hour");if(a>=o)return i(e,a,o,"minute");if(a>=t)return i(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=r)return Math.round(e/r)+"d";if(a>=n)return Math.round(e/n)+"h";if(a>=o)return Math.round(e/o)+"m";if(a>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},78031:e=>{var t="undefined"!=typeof Element,o="function"==typeof Map,n="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var i,c,l,u;if(Array.isArray(e)){if((i=e.length)!=s.length)return!1;for(c=i;0!=c--;)if(!a(e[c],s[c]))return!1;return!0}if(o&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!s.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!a(c.value[1],s.get(c.value[0])))return!1;return!0}if(n&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!s.has(c.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((i=e.length)!=s.length)return!1;for(c=i;0!=c--;)if(e[c]!==s[c])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof s.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof s.toString)return e.toString()===s.toString();if((i=(l=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(c=i;0!=c--;)if(!Object.prototype.hasOwnProperty.call(s,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=i;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!a(e[l[c]],s[l[c]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},92128:(e,t,o)=>{"use strict";o.d(t,{E:()=>u});var n=o(51609),r=o(75795),a=o(4068),s=o(78031),i=o.n(s),c=o(88520),l=[],u=function(e,t,o){void 0===o&&(o={});var s=n.useRef(null),u={onFirstUpdate:o.onFirstUpdate,placement:o.placement||"bottom",strategy:o.strategy||"absolute",modifiers:o.modifiers||l},d=n.useState({styles:{popper:{position:u.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),p=d[0],m=d[1],f=n.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,o=Object.keys(t.elements);r.flushSync((function(){m({styles:(0,c.PW)(o.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,c.PW)(o.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),h=n.useMemo((function(){var e={onFirstUpdate:u.onFirstUpdate,placement:u.placement,strategy:u.strategy,modifiers:[].concat(u.modifiers,[f,{name:"applyStyles",enabled:!1}])};return i()(s.current,e)?s.current||e:(s.current=e,e)}),[u.onFirstUpdate,u.placement,u.strategy,u.modifiers,f]),g=n.useRef();return(0,c.Es)((function(){g.current&&g.current.setOptions(h)}),[h]),(0,c.Es)((function(){if(null!=e&&null!=t){var n=(o.createPopper||a.n4)(e,t,h);return g.current=n,function(){n.destroy(),g.current=null}}}),[e,t,o.createPopper]),{state:g.current?g.current.state:null,styles:p.styles,attributes:p.attributes,update:g.current?g.current.update:null,forceUpdate:g.current?g.current.forceUpdate:null}}},88520:(e,t,o)=>{"use strict";o.d(t,{Es:()=>a,PW:()=>r});var n=o(51609),r=function(e){return e.reduce((function(e,t){var o=t[0],n=t[1];return e[o]=n,e}),{})},a="undefined"!=typeof window&&window.document&&window.document.createElement?n.useLayoutEffect:n.useEffect},6416:(e,t,o)=>{"object"==typeof window&&window.JETPACK_MU_WPCOM_SETTINGS&&(o.p=window.JETPACK_MU_WPCOM_SETTINGS.assetsUrl)},15292:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(51609),r=o(80421),a=o(51570),s=o(5474);const i=({onMinimize:e,onDismiss:t,onNextStepProgression:o,onPreviousStepProgression:i,tourContainerRef:c,isMinimized:l})=>{function u(){return(0,s.A)({onEscape:e,onArrowRight:o,onArrowLeft:i}),(0,a.A)(c),null}function d(){return(0,s.A)({onEscape:t("esc-key-minimized")}),null}return(0,r.A)(c)?l?n.createElement(d,null):n.createElement(u,null):null}},64905:(e,t,o)=>{"use strict";o.d(t,{A:()=>v});var n=o(96072),r=o.n(n),a=o(29491),s=o(86087),i=o(13022),c=o(92128),l=o(82676),u=o(16839),d=o(58158),p=o(15292),m=o(16418),f=o(12818),h=o(88982),g=o(93758);const w=(e,t)=>{"function"==typeof t&&t(e)},v=({config:e})=>{const[t,o]=(0,s.useState)(0),[n,v]=(0,s.useState)(null),[b,y]=(0,s.useState)(e.isMinimized??!1),[E,_]=(0,s.useState)(null),[k,A]=(0,s.useState)(!1),R=(0,s.useRef)(null),S=(0,a.useViewportMatch)("mobile","<"),x=e.steps.length-1,C=e.steps[t].referenceElements,M=C?.[S?"mobile":"desktop"]||C?.desktop,z=M?document.querySelector(M):null;(0,s.useEffect)((()=>{e.isMinimized&&y(!0)}),[e.isMinimized]);const O=(0,s.useCallback)((()=>!1!==e.options?.effects?.arrowIndicator&&!(!z||b||!k)),[e.options?.effects?.arrowIndicator,b,z,k]),j=(0,s.useCallback)((()=>!!e.options?.effects?.spotlight&&!b),[e.options?.effects?.spotlight,b]),P=(0,s.useCallback)((()=>!(j()||!e.options?.effects?.overlay)&&!b),[e.options?.effects?.overlay,b,j]),L=(0,s.useCallback)((o=>()=>{e.closeHandler(e.steps,t,o)}),[e,t]),N=(0,s.useCallback)((()=>{let n=t;x>t&&(n=t+1,o(n)),w(n,e.options?.callbacks?.onNextStep)}),[e.options?.callbacks?.onNextStep,t,x]),T=(0,s.useCallback)((()=>{let n=t;t>0&&(n=t-1,o(n)),w(n,e.options?.callbacks?.onPreviousStep)}),[e.options?.callbacks?.onPreviousStep,t]),B=(0,s.useCallback)((t=>{o(t),w(t,e.options?.callbacks?.onGoToStep)}),[e.options?.callbacks?.onGoToStep]),F=(0,s.useCallback)((()=>{y(!0),w(t,e.options?.callbacks?.onMinimize)}),[e.options?.callbacks?.onMinimize,t]),I=(0,s.useCallback)((()=>{y(!1),w(t,e.options?.callbacks?.onMaximize)}),[e.options?.callbacks?.onMaximize,t]),{styles:W,attributes:D,update:H}=(0,c.E)(z,E,{strategy:"fixed",placement:e?.placement??"bottom",modifiers:[{name:"preventOverflow",options:{rootBoundary:"document",padding:16}},{name:"arrow",options:{padding:12}},{name:"offset",options:{offset:[0,O()?12:10]}},{name:"flip",options:{fallbackPlacements:["top","left","right"]}},(0,s.useMemo)((()=>(0,d.Y)(e.options?.effects?.liveResize)),[e.options?.effects?.liveResize]),...e.options?.popperModifiers||[]]}),V=!b&&z&&k?{style:W?.popper,...D?.popper}:null,G=!b&&z&&k?{style:W?.arrow,...D?.arrow}:null;(0,s.useEffect)((()=>{setTimeout((()=>n?.focus()))}),[n]),(0,s.useEffect)((()=>{z?(A(!1),H&&H().then((()=>A(!0))).catch((()=>A(!0)))):A(!0)}),[H,z]),(0,s.useEffect)((()=>{z&&e.options?.effects?.autoScroll&&z.scrollIntoView(e.options.effects.autoScroll)}),[e.options?.effects?.autoScroll,z]);const U=(0,i.A)("tour-kit-frame",S?"is-mobile":"is-desktop",{"is-visible":k},(0,u.e)(e.options?.classNames));return(0,l.A)(t,e.options?.callbacks?.onStepViewOnce),(0,s.useEffect)((()=>{e.options?.callbacks?.onStepView&&w(t,e.options?.callbacks?.onStepView)}),[e.options?.callbacks?.onStepView,t]),React.createElement(React.Fragment,null,React.createElement(p.A,{onMinimize:F,onDismiss:L,onNextStepProgression:N,onPreviousStepProgression:T,tourContainerRef:R,isMinimized:b}),React.createElement("div",{className:U,ref:R},P()&&React.createElement(f.A,{visible:!0}),j()&&React.createElement(h.A,r()({referenceElement:z,liveResize:e.options?.effects?.liveResize||{}},e.options?.effects?.spotlight||{})),React.createElement("div",r()({className:"tour-kit-frame__container",ref:_},V),O()&&React.createElement("div",r()({className:"tour-kit-frame__arrow","data-popper-arrow":!0},G)),b?React.createElement(m.A,{config:e,steps:e.steps,currentStepIndex:t,onMaximize:I,onDismiss:L}):React.createElement(g.A,{config:e,steps:e.steps,currentStepIndex:t,onMinimize:F,onDismiss:L,onNextStep:N,onPreviousStep:T,onGoToStep:B,setInitialFocusedElement:v}))))}},16418:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});const n=({config:e,steps:t,currentStepIndex:o,onMaximize:n,onDismiss:r})=>React.createElement("div",{className:"tour-kit-minimized"},React.createElement(e.renderers.tourMinimized,{steps:t,currentStepIndex:o,onMaximize:n,onDismiss:r}))},12818:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(13022);const r=({visible:e})=>React.createElement("div",{className:(0,n.A)("tour-kit-overlay",{"is-visible":e})})},53812:(e,t,o)=>{"use strict";o.d(t,{q:()=>r});var n=o(88982);const r=({enabled:e=!1,rootElementSelector:t="#wpwrap"})=>e?React.createElement("style",null,`\n .${n.E}, .${n.E} * {\n pointer-events: auto;\n }\n .tour-kit-frame__container button {\n pointer-events: auto;\n }\n .tour-kit-spotlight, .tour-kit-overlay {\n pointer-events: none;\n }\n ${t} :not(.${n.E}, .${n.E} *) {\n pointer-events: none;\n }\n `):null},88982:(e,t,o)=>{"use strict";o.d(t,{A:()=>p,E:()=>d});var n=o(96072),r=o.n(n),a=o(86087),s=o(13022),i=o(92128),c=o(58158),l=o(12818),u=o(53812);const d="wp-tour-kit-spotlit",p=({referenceElement:e,styles:t,interactivity:o,liveResize:n})=>{const[p,m]=(0,a.useState)(null),f=e?.getBoundingClientRect(),h=[{name:"flip",enabled:!1},{name:"preventOverflow",options:{mainAxis:!1}},(0,a.useMemo)((()=>({name:"offset",options:{offset:({placement:e,reference:t,popper:o})=>"bottom"===e?[0,-(t.height+(o.height-t.height)/2)]:[0,0]}})),[]),(0,a.useMemo)((()=>(0,c.Y)(n)),[n])],{styles:g,attributes:w}=(0,i.E)(e,p,{strategy:"fixed",placement:"bottom",modifiers:h}),v=f?{width:`${f.width}px`,height:`${f.height}px`}:null,b=e?{style:{...v&&v,...g?.popper,...t&&t},...w?.popper}:null;return(0,a.useEffect)((()=>(e?.classList.add(d),()=>{e?.classList.remove(d)})),[e]),React.createElement(React.Fragment,null,React.createElement(u.q,o),React.createElement(l.A,{visible:!b}),React.createElement("div",r()({className:(0,s.A)("tour-kit-spotlight",{"is-visible":!!b}),ref:m},b)))}},93758:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(29491),r=o(13022),a=o(16839);const s=({config:e,steps:t,currentStepIndex:o,onMinimize:s,onDismiss:i,onNextStep:c,onPreviousStep:l,setInitialFocusedElement:u,onGoToStep:d})=>{const p=(0,n.useViewportMatch)("mobile","<"),m=(0,r.A)("tour-kit-step",`is-step-${o}`,(0,a.e)(e.steps[o].options?.classNames?.[p?"mobile":"desktop"]));return React.createElement("div",{className:m},React.createElement(e.renderers.tourStep,{steps:t,currentStepIndex:o,onDismiss:i,onNextStep:c,onPreviousStep:l,onMinimize:s,setInitialFocusedElement:u,onGoToStep:d}))}},8629:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var n=o(86087),r=o(51609),a=o.n(r),s=o(55910),i=o(62154),c=o(64905);const l=({config:e,__temp__className:t})=>{const o=(0,n.useRef)(document.createElement("div")).current;return(0,n.useEffect)((()=>{const n=["tour-kit",...t?[t]:[]];o.classList.add(...n);const r=e.options?.portalParentElement||document.body;return r.appendChild(o),()=>{r.removeChild(o)}}),[t,o,e.options?.portalParentElement]),a().createElement(i.A,null,a().createElement(s.tu,{config:e},a().createElement("div",null,(0,n.createPortal)(a().createElement(c.A,{config:e}),o))))}},75888:(e,t,o)=>{"use strict";o.d(t,{J:()=>r,X:()=>n});const n="start-writing",r="design-first"},44935:(e,t,o)=>{"use strict";o.d(t,{Z:()=>c,f:()=>l});var n=o(1455),r=o.n(n),a=o(86087),s=o(51609);const i=s.createContext({hasSeenSellerCelebrationModal:!1,updateHasSeenSellerCelebrationModal:()=>{}}),c=()=>(0,s.useContext)(i),l=function({children:e}){const[t,o]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{r()({path:"/wpcom/v2/block-editor/has-seen-seller-celebration-modal"}).then((e=>o(e.has_seen_seller_celebration_modal))).catch((()=>o(!1)))}),[]),s.createElement(i.Provider,{value:{hasSeenSellerCelebrationModal:t,updateHasSeenSellerCelebrationModal:function(e){r()({method:"PUT",path:"/wpcom/v2/block-editor/has-seen-seller-celebration-modal",data:{has_seen_seller_celebration_modal:e}}).finally((()=>{o(!0)}))}}},e)}},95359:(e,t,o)=>{"use strict";o.d(t,{j:()=>l,v:()=>c});var n=o(1455),r=o.n(n),a=o(86087),s=o(51609);const i=s.createContext({hasSeenVideoCelebrationModal:!1,updateHasSeenVideoCelebrationModal:()=>{}}),c=()=>(0,s.useContext)(i),l=function({children:e}){const[t,o]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{r()({path:"/wpcom/v2/block-editor/has-seen-video-celebration-modal"}).then((e=>o(e.has_seen_video_celebration_modal))).catch((()=>o(!1)))}),[]),s.createElement(i.Provider,{value:{hasSeenVideoCelebrationModal:t,updateHasSeenVideoCelebrationModal:function(e){r()({method:"PUT",path:"/wpcom/v2/block-editor/has-seen-video-celebration-modal",data:{has_seen_video_celebration_modal:e}}).finally((()=>{o(e)}))}}},e)}},55910:(e,t,o)=>{"use strict";o.d(t,{Z4:()=>n.Z,f6:()=>n.f,hy:()=>s.h,jO:()=>r.j,l7:()=>a.l,rN:()=>a.r,tu:()=>s.t,v2:()=>r.v});var n=o(44935),r=o(95359),a=o(42382),s=o(25199)},42382:(e,t,o)=>{"use strict";o.d(t,{l:()=>c,r:()=>i});var n=o(47143),r=o(86087),a=o(51609);const s=a.createContext(!1),i=()=>(0,a.useContext)(s),c=({children:e})=>{const t=(0,n.useSelect)((e=>e("automattic/wpcom-welcome-guide").getShouldShowFirstPostPublishedModal()),[]),{fetchShouldShowFirstPostPublishedModal:o}=(0,n.useDispatch)("automattic/wpcom-welcome-guide");return(0,r.useEffect)((()=>{o()}),[o]),a.createElement(s.Provider,{value:t},e)}},25199:(e,t,o)=>{"use strict";o.d(t,{h:()=>s,t:()=>a});var n=o(86087);const r=(0,n.createContext)({}),a=({config:e,children:t})=>React.createElement(r.Provider,{value:{config:e}},t),s=()=>(0,n.useContext)(r)},62154:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(51609),r=o.n(n);class a extends r().Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error(e,t)}render(){return this.state.hasError?r().createElement("h1",null,"Something went wrong."):this.props.children}}const s=a},42586:(e,t,o)=>{"use strict";o.d(t,{Bg:()=>a.A,cz:()=>s.A,kN:()=>r.A,sr:()=>n.A});o(80421),o(51570),o(36883),o(5474);var n=o(97412),r=o(31248),a=o(85410),s=o(97827);o(82676)},80421:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(86087);const r=e=>{const[t,o]=(0,n.useState)(!1),r=(0,n.useCallback)((()=>{document.hasFocus()&&e.current?.contains(document.activeElement)?o(!0):o(!1)}),[e]),a=(0,n.useCallback)((t=>{e.current?.contains(t.target)?o(!0):o(!1)}),[e]),s=(0,n.useCallback)((t=>{"Tab"===t.key&&(e.current?.contains(t.target)?o(!0):o(!1))}),[e]);return(0,n.useEffect)((()=>(document.addEventListener("focusin",r),document.addEventListener("mousedown",a),document.addEventListener("keyup",s),()=>{document.removeEventListener("focusin",r),document.removeEventListener("mousedown",a),document.removeEventListener("keyup",s)})),[e,r,s,a]),t}},51570:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(28107),r=o(86087);const a=e=>{const[t,o]=(0,r.useState)(),[a,s]=(0,r.useState)(),i=(0,r.useCallback)((e=>{let o=!1;"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(a?.focus(),o=!0):document.activeElement===a&&(t?.focus(),o=!0)),o&&(e.preventDefault(),e.stopPropagation())}),[t,a]);(0,r.useEffect)((()=>{const t=e.current?n.focus.focusable.find(e.current):[];return t&&t.length&&(o(t[0]),s(t[t.length-1])),document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)}}),[e,i])}},36883:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(47143),r=o(86087);const a=()=>{const[e,t]=(0,r.useState)(!1),o=(0,n.useSelect)((t=>{if(e)return"";const o=t("core/block-editor").getSelectedBlock();return o?.name??""})),a=(0,n.useSelect)((t=>{if(e)return"";const o=t("core/block-editor").getSelectedBlock();if(o?.clientId){const e=t("core/block-editor").getBlockParents(o?.clientId);if(e&&e.length){const o=t("core/block-editor").getBlock(e[e.length-1]);return o?.name??""}}return""}));return(0,r.useEffect)((()=>{e||!o.includes("payments")&&!a.includes("payments")||t(!0)}),[o,a,e,t]),e}},5474:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(86087);const r=({onEscape:e,onArrowRight:t,onArrowLeft:o})=>{const r=(0,n.useCallback)((n=>{let r=!1;switch(n.key){case"Escape":e&&(e(),r=!0);break;case"ArrowRight":t&&(t(),r=!0);break;case"ArrowLeft":o&&(o(),r=!0)}r&&(n.preventDefault(),n.stopPropagation())}),[e,t,o]);(0,n.useEffect)((()=>(document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)})),[r])}},97412:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(47143),r=o(86087),a=o(44935),s=o(36883),i=o(85410);const c=()=>{const[e,t]=(0,r.useState)(!1),{siteIntent:o}=(0,i.A)(),c=(0,s.A)(),{hasSeenSellerCelebrationModal:l}=(0,a.Z)(),u=(0,n.useSelect)((e=>{if(!!e("core/edit-site")){const t=e("core/edit-site").getPage(),o=parseInt(t?.context?.postId),n=e("core").getEntityRecord("postType","page",o);let r=!1;if(!l){const t=e("core/block-editor").getGlobalBlockCount("jetpack/recurring-payments")>0,o=e("core/block-editor").getGlobalBlockCount("jetpack/simple-payments")>0;r=(n?.content?.raw?.includes("\x3c!-- wp:jetpack/recurring-payments --\x3e")||n?.content?.raw?.includes("\x3c!-- wp:jetpack/simple-payments --\x3e")||t||o)??!1}return r}let t=0;return l||(t+=e("core/block-editor").getGlobalBlockCount("jetpack/recurring-payments"),t+=e("core/block-editor").getGlobalBlockCount("jetpack/simple-payments")),t>0}));return(0,r.useEffect)((()=>{"sell"===o&&u&&c&&!l&&t(!0)}),[o,u,c,l]),e}},31248:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(86087),r=o(96487),a=o(95359),s=o(85410);const i=e=>{const{siteIntent:t}=(0,s.A)(),[o,i]=(0,n.useState)(!1),{hasSeenVideoCelebrationModal:c}=(0,a.v)();return(0,n.useEffect)((()=>{"videopress"!==t||c?c&&i(!1):(async()=>{const e=await(0,r.Ay)({path:`/sites/${window._currentSiteId}?http_envelope=1`,apiVersion:"1.1"});e?.options?.launchpad_checklist_tasks_statuses?.video_uploaded&&i(!0)})()}),[e,t,c]),o}},85410:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});const n=()=>({siteIntent:window.Jetpack_LaunchpadSaveModal?.siteIntentOption,siteIntentFetched:!0})},97827:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(86087),r=o(51609),a=o(96487);const s=e=>{const[t,o]=(0,n.useState)({}),s=(0,r.useCallback)((async()=>{const t=await(0,a.Ay)({path:`/sites/${e}?http_envelope=1`,apiVersion:"1.1"});t?.plan&&o(t.plan)}),[e]);return(0,n.useEffect)((()=>{s()}),[s]),t}},82676:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(86087);const r=(e,t)=>{const[o,r]=(0,n.useState)([]);(0,n.useEffect)((()=>{o.includes(e)||(r((t=>[...t,e])),t?.(e))}),[e,t,o])}},56353:(e,t,o)=>{"use strict";o.d(t,{Bg:()=>s.Bg,JV:()=>n.J,Oo:()=>r.O,Xf:()=>n.X,Z4:()=>a.Z4,cz:()=>s.cz,f6:()=>a.f6,hy:()=>a.hy,jO:()=>a.jO,kN:()=>s.kN,l7:()=>a.l7,ns:()=>r.A,rN:()=>a.rN,sr:()=>s.sr,v2:()=>a.v2});o(8629);var n=o(75888),r=o(15027),a=o(55910),s=o(42586)},16839:(e,t,o)=>{"use strict";o.d(t,{Y:()=>a,e:()=>r});var n=o(46941);function r(e){return e?.length?e.toString().split(","):null}const a=o.n(n)()("tour-kit")},58158:(e,t,o)=>{"use strict";o.d(t,{Y:()=>r});var n=o(16839);const r=({rootElementSelector:e,mutation:t=!1,resize:o=!1}={mutation:!1,resize:!1})=>({name:"liveResizeModifier",enabled:!0,phase:"main",fn:()=>{},effect:r=>{try{const{state:a,instance:s}=r,i=Symbol(),{reference:c}=a.elements;if(c[i]={resizeObserver:new ResizeObserver((()=>{s.update()})),mutationObserver:new MutationObserver((()=>{s.update()}))},o&&(c instanceof Element?c[i].resizeObserver.observe(c):(0,n.Y)("Error: ResizeObserver does not work with virtual elements, Tour Kit will not resize automatically if the size of the referenced element changes.")),t){const t=document.querySelector(e||"#wpwrap");t instanceof Element?c[i].mutationObserver.observe(t,{attributes:!0,characterData:!0,childList:!0,subtree:!0}):(0,n.Y)(`Error: ${e} selector did not find a valid DOM element, Tour Kit will not update automatically if the DOM layout changes.`)}return()=>{c[i].resizeObserver.disconnect(),c[i].mutationObserver.disconnect(),delete c[i]}}catch(e){(0,n.Y)("Error: Tour Kit live resize modifier failed unexpectedly:",e)}}})},71125:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var n=o(56427),r=o(86087),a=o(27723),s=o(51113),i=o(10991),c=o(64146);const __=a.__,l=({steps:e,onMaximize:t,onDismiss:o,currentStepIndex:l})=>{const u=l+1,d=e.length-1+1;return React.createElement(n.Flex,{gap:0,className:"wpcom-tour-kit-minimized"},React.createElement(n.Button,{onClick:t,"aria-label":__("Resume Tour","jetpack-mu-wpcom")},React.createElement(n.Flex,{gap:13},React.createElement("p",null,(0,r.createInterpolateElement)((0,a.sprintf)(/* translators: 1: current page number, 2: total number of pages */ -__("Resume tour (%1$d/%2$d)","jetpack-mu-wpcom"),u,d),{span:React.createElement("span",{className:"wpcom-tour-kit-minimized__tour-index"})})),React.createElement(s.A,{icon:c.A,size:24}))),React.createElement(n.Button,{onClick:o("close-btn-minimized"),"aria-label":__("Close Tour","jetpack-mu-wpcom")},React.createElement(s.A,{icon:i.A,size:24})))}},94601:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(27723),r=o(13022);const __=n.__,a=({activePageIndex:e,numberOfPages:t,onChange:o,classNames:a,children:s})=>{const i=(0,r.A)("wpcom-tour-kit-pagination-control",a);return React.createElement("ul",{className:i,"aria-label":__("Pagination control","jetpack-mu-wpcom")},Array.from({length:t}).map(((a,s)=>React.createElement("li",{key:`${t}-${s}`,"aria-current":s===e?"page":void 0},React.createElement("button",{className:(0,r.A)("pagination-control__page",{"is-current":s===e}),disabled:s===e,"aria-label":(0,n.sprintf)(/* translators: 1: current page number 2: total number of pages */ -__("Page %1$d of %2$d","jetpack-mu-wpcom"),s+1,t),onClick:()=>o(s)})))),s&&React.createElement("li",{className:"pagination-control__last-item"},s))}},25330:(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var n=o(56427),r=o(86087),a=o(27723),s=o(13022),i=o(56353),c=o(2812),l=o(67163);const __=a.__,u=()=>{const[e,t]=(0,r.useState)(),o=(0,i.hy)().config,a=o.options?.tourRating?.useTourRating?.()??e;let u=!1;if(!o.options?.tourRating?.enabled)return null;u||void 0===e||(u=!0);const d=e=>{if(u)return;const n=e?"thumbs-up":"thumbs-down";n!==a&&(u=!0,t(n),o.options?.tourRating?.onTourRate?.(n))};return React.createElement(React.Fragment,null,React.createElement("p",{className:"wpcom-tour-kit-rating__end-text"},__("Did you find this guide helpful?","jetpack-mu-wpcom")),React.createElement("div",null,React.createElement(n.Button,{"aria-label":__("Rate thumbs up","jetpack-mu-wpcom"),className:(0,s.A)("wpcom-tour-kit-rating__end-icon",{active:"thumbs-up"===a}),disabled:u,icon:l.A,onClick:()=>d(!0),iconSize:24}),React.createElement(n.Button,{"aria-label":__("Rate thumbs down","jetpack-mu-wpcom"),className:(0,s.A)("wpcom-tour-kit-rating__end-icon",{active:"thumbs-down"===a}),disabled:u,icon:c.A,onClick:()=>d(!1),iconSize:24})))}},86457:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(56427),r=o(27723),a=o(94601);const __=r.__,s=({currentStepIndex:e,onDismiss:t,onGoToStep:o,onNextStep:r,onPreviousStep:s,setInitialFocusedElement:i,steps:c})=>{const l=0===e,u=c.length-1;return React.createElement(React.Fragment,null,React.createElement(a.A,{activePageIndex:e,numberOfPages:u+1,onChange:o},l?React.createElement("div",null,React.createElement(n.Button,{variant:"tertiary",onClick:t("no-thanks-btn")},__("Skip","jetpack-mu-wpcom")),React.createElement(n.Button,{className:"wpcom-tour-kit-step-card-navigation__next-btn",variant:"primary",onClick:r,ref:i},__("Take the tour","jetpack-mu-wpcom"))):React.createElement("div",null,React.createElement(n.Button,{variant:"tertiary",onClick:s},__("Back","jetpack-mu-wpcom")),React.createElement(n.Button,{className:"wpcom-tour-kit-step-card-navigation__next-btn",variant:"primary",onClick:r,ref:i},__("Next","jetpack-mu-wpcom")))))}},40128:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(56427),r=o(27723),a=o(10991),s=o(64796);const __=r.__,i=({onMinimize:e,onDismiss:t})=>React.createElement("div",{className:"wpcom-tour-kit-step-card-overlay-controls"},React.createElement(n.Flex,null,React.createElement(n.Button,{label:__("Minimize Tour","jetpack-mu-wpcom"),variant:"primary",className:"wpcom-tour-kit-step-card-overlay-controls__minimize-icon",icon:s.A,iconSize:24,onClick:e}),React.createElement(n.Button,{label:__("Close Tour","jetpack-mu-wpcom"),variant:"primary",icon:a.A,iconSize:24,onClick:t("close-btn")})))},14404:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var n=o(56427),r=o(29491),a=o(27723),s=o(51113),i=o(13022),c=o(25330),l=o(86457),u=o(40128);const __=a.__,d=({steps:e,currentStepIndex:t,onMinimize:o,onDismiss:a,onGoToStep:d,onNextStep:p,onPreviousStep:m,setInitialFocusedElement:f})=>{const h=e.length-1,{descriptions:g,heading:w,imgSrc:v,imgLink:b}=e[t].meta,y=t===h,E=g[(0,r.useViewportMatch)("mobile","<")?"mobile":"desktop"]??g.desktop;return React.createElement(n.Card,{className:"wpcom-tour-kit-step-card",isElevated:!0},React.createElement(u.A,{onDismiss:a,onMinimize:o}),v&&React.createElement(n.CardMedia,{className:"wpcom-tour-kit-step-card__media"},React.createElement("picture",null,v.mobile&&React.createElement("source",{srcSet:v.mobile.src,type:v.mobile.type,media:"(max-width: 480px)"}),React.createElement("img",{alt:__("Tour Media","jetpack-mu-wpcom"),src:v.desktop?.src})),b&&React.createElement("a",{className:(0,i.A)("wpcom-tour-kit-step-card__media-link",{"wpcom-tour-kit-step-card__media-link--playable":b.playable}),href:b.href,target:"_blank",rel:"noreferrer noopener",onClick:b.onClick},React.createElement(s.A,{icon:React.createElement("svg",{width:"27",height:"32",viewBox:"0 0 27 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M27 16L-1.4682e-06 31.5885L-1.05412e-07 0.411542L27 16Z",fill:"white"})),size:27}))),React.createElement(n.CardBody,null,React.createElement("h2",{className:"wpcom-tour-kit-step-card__heading"},w),React.createElement("p",{className:"wpcom-tour-kit-step-card__description"},E,y?React.createElement(n.Button,{className:"wpcom-tour-kit-step-card__description",variant:"tertiary",onClick:()=>d(0),ref:f},__("Restart tour","jetpack-mu-wpcom")):null)),React.createElement(n.CardFooter,null,y?React.createElement(c.A,null):React.createElement(l.A,{currentStepIndex:t,onDismiss:a,onGoToStep:d,onNextStep:p,onPreviousStep:m,setInitialFocusedElement:f,steps:e})))}},63047:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(14404);const r=({steps:e,currentStepIndex:t,onDismiss:o,onNextStep:r,onPreviousStep:a,onMinimize:s,setInitialFocusedElement:i,onGoToStep:c})=>React.createElement(n.A,{steps:e,currentStepIndex:t,onDismiss:o,onMinimize:s,onGoToStep:c,onNextStep:r,onPreviousStep:a,setInitialFocusedElement:i})},85530:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(8629),r=o(45922),a=o(71125),s=o(63047);const i=({config:e})=>((0,r.A)(e.steps),React.createElement(n.A,{__temp__className:"wpcom-tour-kit",config:{...e,renderers:{tourStep:s.A,tourMinimized:a.A}}}))},45922:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(86087);function r(e){(0,n.useEffect)((()=>{e.forEach((e=>{e.meta.imgSrc?.mobile&&((new window.Image).src=e.meta.imgSrc.mobile.src),e.meta.imgSrc?.desktop&&((new window.Image).src=e.meta.imgSrc.desktop.src)}))}),[e])}},64146:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(5573);const r=React.createElement(n.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.086 5.412l3.476-.015c-.627.625-1.225 1.22-1.82 1.81l-.03.031c-.977.971-1.944 1.934-3.015 3.004l1.06 1.061c1.07-1.07 2.036-2.03 3.013-3.002l.03-.03 1.817-1.808-.03 3.448 1.5.013.046-5.28.007-.759-.76.003-5.301.024.007 1.5zM9.914 18.587l-3.476.016c.627-.625 1.225-1.22 1.82-1.81l.03-.031c.977-.971 1.944-1.934 3.015-3.004l-1.06-1.061c-1.07 1.069-2.036 2.03-3.012 3.001l-.001.001-.03.03-1.817 1.808.03-3.448-1.5-.013-.046 5.279-.007.76.76-.003 5.301-.024-.007-1.5z"}))},64796:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(5573);const r=React.createElement(n.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.514 9.988l-3.476.016c.627-.626 1.225-1.22 1.82-1.811l.03-.03v-.001c.977-.971 1.944-1.933 3.015-3.004l-1.06-1.06c-1.07 1.069-2.037 2.03-3.013 3.001l-.03.03-1.818 1.809.03-3.449-1.5-.013-.045 5.28-.007.76.76-.004 5.301-.024-.007-1.5zM5.486 14.012l3.477-.016-1.82 1.811-.03.03c-.977.972-1.945 1.934-3.015 3.005l1.06 1.06c1.07-1.068 2.035-2.03 3.012-3V16.9l.03-.03 1.818-1.809-.03 3.449 1.5.013.046-5.28.006-.76-.76.004-5.3.024.006 1.5z",fill:"#fff"}))},2812:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(5573);const r=React.createElement(n.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13.131 19.12a.667.667 0 001.227-.417l-.436-4.989h3.88c.954 0 1.64-.916 1.37-1.831L17.42 5.919a.286.286 0 00-.274-.205H9.429v7.588l3.702 5.818zm-5.417-5.977V5.714h-2v7.429h2zm5.98 8a2.381 2.381 0 01-2.01-1.103l-3.297-5.183H4V4h13.145a2 2 0 011.919 1.436l1.753 5.963a3.143 3.143 0 01-3.015 4.03h-2.01l.274 3.125a2.381 2.381 0 01-2.372 2.589z",fill:"#000"}))},67163:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(5573);const r=React.createElement(n.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/SVG"},React.createElement(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M13.131 4.023a.667.667 0 011.227.416l-.436 4.99h3.88c.954 0 1.64.916 1.37 1.831l-1.753 5.963a.286.286 0 01-.274.206H9.429V9.84l3.702-5.818zM7.714 10v7.428h-2V10h2zm5.98-8c-.814 0-1.572.416-2.01 1.103L8.388 8.286H4v10.857h13.145a2 2 0 001.919-1.436l1.753-5.963a3.143 3.143 0 00-3.015-4.03h-2.01l.274-3.125A2.381 2.381 0 0013.694 2z",fill:"#000"}))},15027:(e,t,o)=>{"use strict";o.d(t,{A:()=>n.A,O:()=>r.A});var n=o(85530),r=o(45922)},92299:(e,t,o)=>{"use strict";o.d(t,{k:()=>n});const n=(e,t={},o=null,n=null)=>{const r=JP_CONNECTION_INITIAL_STATE?.userConnectionData?.currentUser??{},a=o??r.id,s=n??r.username,i=t.blogId??r.blogId;window._tkq=window._tkq||[],s&&a&&window._tkq.push(["identifyUser",a,s]),window._tkq.push(["recordEvent",e,{...t,blog_id:i}])}},80120:(e,t,o)=>{"use strict";var n=o(78254),r=o(56427),a=o(47143),s=o(86087),i=o(52619),c=o(92279),l=o(13053),u=o(93832),d=o(56353),p=o(12349),m=o(5648),f=o(83558),h=o(82502),g=o(2598),w=o(7026),v=o(85414),b=o(10478),y=o(37002),E=o(16957);let _;try{_=(0,l.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/edit-site").unlock}catch(e){console.error("Error: Unable to get the unlock api. Reason: %s",e)}function k(){const[e]=(0,s.useState)((0,u.getQueryArg)(window.location.href,"showDraftPostModal")),{show:t,isLoaded:o,variant:c,isManuallyOpened:l,isNewPageLayoutModalOpen:d,siteEditorCanvasMode:p}=(0,a.useSelect)((e=>{const t=e("automattic/wpcom-welcome-guide"),o=e("automattic/starter-page-layouts");let n;return _&&e("core/edit-site")&&(n=e("core/edit-site")&&_(e("core/edit-site")).getCanvasMode()),{show:t.isWelcomeGuideShown(),isLoaded:t.isWelcomeGuideStatusLoaded(),variant:t.getWelcomeGuideVariant(),isManuallyOpened:t.isWelcomeGuideManuallyOpened(),isNewPageLayoutModalOpen:o?.isOpen(),siteEditorCanvasMode:n}}),[]),f=(0,a.useDispatch)("automattic/starter-page-layouts")?.setOpenState,{fetchWelcomeGuideStatus:h}=(0,a.useDispatch)("automattic/wpcom-welcome-guide");(0,s.useEffect)((()=>{o||h()}),[h,o]);return!(0,i.applyFilters)("a8c.WpcomBlockEditorWelcomeTour.show",t)||d||p&&"edit"!==p?null:c===v.gH&&!l&&f?(f("OPEN_FOR_BLANK_CANVAS"),null):c===v.um?React.createElement(n.YO,null,e?React.createElement(m.A,null):React.createElement(E.A,null)):"modal"===c&&r.Guide&&r.GuidePage?React.createElement(y.A,null):null}(0,c.registerPlugin)("wpcom-block-editor-nux",{render:()=>React.createElement(d.f6,null,React.createElement(d.jO,null,React.createElement(d.l7,null,React.createElement(k,null),React.createElement(f.A,null),React.createElement(w.A,null),React.createElement(g.A,null),React.createElement(h.A,null),React.createElement(b.A,null),React.createElement(p.C,null))))})},43863:(e,t,o)=>{"use strict";o.d(t,{A:()=>a,f:()=>r});var n=o(56427);const r=()=>React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},React.createElement(n.Path,{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})),a=()=>React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},React.createElement(n.Path,{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}))},12349:(e,t,o)=>{"use strict";o.d(t,{C:()=>g});var n=o(1455),r=o.n(n),a=o(74997),s=o(56427),i=o(47143),c=o(27723),l=o(93832),u=o(76154),d=o.n(u),p=o(51609),m=o(92299),f=o(43863);const __=c.__,h=()=>{const[e,t]=(0,p.useState)(!0),[o,n]=(0,p.useState)([]),[c,u]=(0,p.useState)(0);if((0,p.useEffect)((()=>{const e=(0,l.addQueryArgs)("/wpcom/v3/blogging-prompts",{per_page:10,after:d()().format("--MM-DD"),order:"desc",force_year:(new Date).getFullYear()});r()({path:e}).then((e=>((0,m.k)("calypso_editor_writing_prompts_modal_viewed"),n(e)))).catch((()=>console.error("Unable to fetch writing prompts")))}),[]),!e||!o.length)return null;return React.createElement(s.Modal,{onRequestClose:()=>{(0,m.k)("calypso_editor_writing_prompts_modal_closed"),t(!1)},className:"blogging-prompts-modal",title:__("Some ideas for writing topics","jetpack-mu-wpcom")},React.createElement("div",{className:"blogging-prompts-modal__prompt"},React.createElement("div",{className:"blogging-prompts-modal__prompt-navigation"},React.createElement(s.Button,{onClick:()=>u(c-1<0?o.length-1:c-1),"aria-label":__("Show previous prompt","jetpack-mu-wpcom"),variant:"secondary",className:"blogging-prompts-modal__prompt-navigation-button"},React.createElement(f.A,null)),React.createElement("h2",{className:"blogging-prompts-modal__prompt-text"},o[c]?.text),React.createElement(s.Button,{onClick:()=>u((c+1)%o.length),"aria-label":__("Show next prompt","jetpack-mu-wpcom"),variant:"secondary",className:"blogging-prompts-modal__prompt-navigation-button"},React.createElement(f.f,null))),React.createElement(s.Button,{onClick:()=>{const e=o[c]?.id;(0,i.dispatch)("core/editor").resetEditorBlocks([(0,a.createBlock)("jetpack/blogging-prompt",{promptId:e})]),(0,m.k)("calypso_editor_writing_prompts_modal_prompt_selected",{prompt_id:e}),t(!1)},variant:"secondary"},__("Post Answer","jetpack-mu-wpcom"))))},g=()=>{const e=(0,l.getQueryArg)(window.location.href,"new_prompt"),t=(0,i.select)("core/editor").getCurrentPostType();return e&&"post"===t?React.createElement(h,null):null}},22341:(e,t,o)=>{"use strict";var n=o(47143);o(45518);const r=(0,n.subscribe)((()=>{(0,n.dispatch)("core/nux").disableTips(),(0,n.select)("core/edit-post")?.isFeatureActive("welcomeGuide")&&((0,n.dispatch)("core/edit-post").toggleFeature("welcomeGuide"),r()),(0,n.select)("core/edit-site")?.isFeatureActive("welcomeGuide")&&((0,n.dispatch)("core/edit-site").toggleFeature("welcomeGuide"),r())}));(0,n.subscribe)((()=>{(0,n.select)("core/nux").areTipsEnabled()&&((0,n.dispatch)("core/nux").disableTips(),(0,n.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0)),(0,n.select)("core/edit-post")?.isFeatureActive("welcomeGuide")&&((0,n.dispatch)("core/edit-post").toggleFeature("welcomeGuide"),(0,n.select)("automattic/wpcom-welcome-guide").isWelcomeGuideStatusLoaded()&&(0,n.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0,{openedManually:!0})),(0,n.select)("core/edit-site")?.isFeatureActive("welcomeGuide")&&((0,n.dispatch)("core/edit-site").toggleFeature("welcomeGuide"),(0,n.select)("automattic/wpcom-welcome-guide").isWelcomeGuideStatusLoaded()&&(0,n.dispatch)("automattic/wpcom-welcome-guide").setShowWelcomeGuide(!0,{openedManually:!0}))}))},5648:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var n=o(56427),r=o(86087),a=o(52619),s=o(27723),i=o(59731),c=o(92299),l=o(24503);const __=s.__,u="a8c.wpcom-block-editor.closeEditor",d=()=>{const e=`/home/${window.location.hostname}`,[t,o]=(0,r.useState)(!0),s=()=>o(!1);return React.createElement(l.A,{isOpen:t,className:"wpcom-block-editor-draft-post-modal",title:__("Write your first post","jetpack-mu-wpcom"),description:__("It’s time to flex those writing muscles and start drafting your first post!","jetpack-mu-wpcom"),imageSrc:i,actionButtons:React.createElement(React.Fragment,null,React.createElement(n.Button,{isPrimary:!0,onClick:s},__("Start writing","jetpack-mu-wpcom")),React.createElement(n.Button,{isSecondary:!0,onClick:()=>{(0,a.hasAction)(u)?(0,a.doAction)(u,e):window.location.href=`https://wordpress.com${e}`}},__("I'm not ready","jetpack-mu-wpcom"))),onRequestClose:s,onOpen:()=>(0,c.k)("calypso_editor_wpcom_draft_post_modal_show")})}},83558:(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var n=o(56427),r=o(47143),a=o(86087),s=o(27723),i=o(93832),c=o(51609),l=o.n(c),u=o(32384),d=o(56353),p=o(92299),m=o(24503);const __=s.__,f=()=>{const{link:e}=(0,r.useSelect)((e=>e("core/editor").getCurrentPost()),[]),t=(0,r.useSelect)((e=>e("core/editor").getCurrentPostType()),[]),o=(0,r.useSelect)((e=>e("core/editor").isCurrentPostPublished()),[]),s=(0,a.useRef)(o),c=(0,d.rN)(),[f,h]=(0,a.useState)(!1),{siteUrlOption:g,launchpadScreenOption:w,siteIntentOption:v}=window?.launchpadOptions||{};let b="";(0,i.isURL)(g)&&(b=new URL(g).hostname),(0,a.useEffect)((()=>{c&&!s.current&&o&&"post"===t&&(s.current=o,window.setTimeout((()=>{h(!0)})))}),[t,c,o]);return l().createElement(m.A,{isOpen:f,className:"wpcom-block-editor-post-published-modal",title:__("Your first post is published!","jetpack-mu-wpcom"),description:__("Congratulations! You did it. View your post to see how it will look on your site.","jetpack-mu-wpcom"),imageSrc:u,actionButtons:l().createElement(l().Fragment,null,l().createElement(n.Button,{variant:"primary",onClick:t=>{t.preventDefault(),window.top.location.href=e}},__("View Post","jetpack-mu-wpcom")),"full"===w&&"write"===v&&l().createElement(n.Button,{variant:"secondary",onClick:e=>{e.preventDefault(),window.top.location.href=`https://wordpress.com/setup/write/launchpad?siteSlug=${b}`}},__("Next Steps","jetpack-mu-wpcom"))),onRequestClose:()=>h(!1),onOpen:()=>(0,p.k)("calypso_editor_wpcom_first_post_published_modal_show")})},h=()=>{const{siteIntent:e}=(0,d.Bg)();return"write"===e?l().createElement(f,null):null}},24503:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(56427),r=o(86087),a=o(13022),s=o(51609),i=o.n(s);const c=({isOpen:e,className:t,title:o,description:s,imageSrc:c,actionButtons:l,onRequestClose:u,onOpen:d})=>{const p=(0,r.useRef)(null);return(0,r.useEffect)((()=>{!p.current&&e&&d?.(),p.current=e}),[p,e,d]),e?i().createElement(n.Modal,{className:(0,a.A)("wpcom-block-editor-nux-modal",t),title:"",onRequestClose:u},i().createElement("div",{className:"wpcom-block-editor-nux-modal__image-container"},i().createElement("img",{src:c,alt:o})),i().createElement("h1",{className:"wpcom-block-editor-nux-modal__title"},o),i().createElement("p",{className:"wpcom-block-editor-nux-modal__description"},s),i().createElement("div",{className:"wpcom-block-editor-nux-modal__buttons"},l)):null}},82502:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(47143),r=o(27723),a=o(692),s=o(51609);const __=r.__;const i=function(){const e=(0,s.useRef)(!1),{createNotice:t}=(0,n.useDispatch)(a.store);return(0,s.useEffect)((()=>{const o=/[&?]notice=([\w_-]+)/.exec(document.location.search);"purchase-success"===(o&&o[1])&&!1===e.current&&(e.current=!0,t("info",__("Congrats! Premium blocks are now available to use.","jetpack-mu-wpcom"),{isDismissible:!0,type:"snackbar"}))}),[t]),null}},2598:(e,t,o)=>{"use strict";o.d(t,{A:()=>p});var n=o(56427),r=o(47143),a=o(86087),s=o(27723),i=o(2469),c=o(56353),l=o(92299),u=o(24503);const __=s.__,d=()=>{const{addEntities:e}=(0,r.useDispatch)("core");(0,a.useEffect)((()=>{e([{baseURL:"/wp/v2/statuses",key:"slug",kind:"root",name:"status",plural:"statuses"}])}),[]);const[t,o]=(0,a.useState)(!1),[s,d]=(0,a.useState)(!1),p=(0,r.useSelect)((e=>!!e("core/edit-site"))),m=(0,a.useRef)(!1),{updateHasSeenSellerCelebrationModal:f}=(0,c.Z4)(),h=(0,r.useSelect)((e=>{if(p){const t=e("core/edit-site").getPage(),o=parseInt(t?.context?.postId),n=e("core").getEntityRecord("postType","page",o);return n?.link}return e("core/editor").getCurrentPost().link})),g=(0,c.sr)(),w=(0,r.useSelect)((e=>{if(p){const t=e("core/edit-site").getPage(),o=parseInt(t?.context?.postId),n=e("core").isSavingEntityRecord("root","site")&&!e("core").isAutosavingEntityRecord("root","site"),r=e("core").isSavingEntityRecord("postType","page",o)&&!e("core").isAutosavingEntityRecord("postType","page",o);return n||r}const t=e("core/editor").getCurrentPost();return e("core").isSavingEntityRecord("postType",t?.type,t?.id)&&!e("core").isAutosavingEntityRecord("postType",t?.type,t?.id)}));(0,a.useEffect)((()=>{!w&&m.current&&!s&&g&&(o(!0),d(!0),f(!0)),m.current=w}),[w,s,g,f]);const v=()=>o(!1);return React.createElement(u.A,{isOpen:t,className:"wpcom-site-editor-seller-celebration-modal",title:__("You've added your first product!","jetpack-mu-wpcom"),description:__("Preview your product on your site before launching and sharing with others.","jetpack-mu-wpcom"),imageSrc:i,actionButtons:React.createElement(React.Fragment,null,React.createElement(n.Button,{onClick:v},__("Continue editing","jetpack-mu-wpcom")),React.createElement(n.Button,{isPrimary:!0,href:h,target:"_blank",rel:"noopener noreferrer"},__("View your product","jetpack-mu-wpcom"))),onRequestClose:v,onOpen:()=>(0,l.k)("calypso_editor_wpcom_seller_celebration_modal_show")})},p=()=>{const{siteIntent:e}=(0,c.Bg)();return"sell"===e?React.createElement(d,null):null}},22487:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var n=o(96072),r=o.n(n),a=o(56427),s=o(13022),i=o(51609);const c=()=>{},l=(0,i.forwardRef)((({className:e,text:t,onCopy:o=c,...n},i)=>React.createElement(a.Button,r()({},n,{onClick:function(){t&&(navigator.clipboard.writeText(t),o())},ref:i,className:(0,s.A)("clipboard-button",e)}))))},8922:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});var n=o(96072),r=o.n(n),a=o(13022),s=o(51609);const i=(0,s.forwardRef)((({className:e,...t},o)=>React.createElement("input",r()({ref:o},t,{type:"checkbox",className:(0,a.A)(e,"form-checkbox")}))))},44275:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(96072),r=o.n(n),a=o(27723),s=o(13022),i=o(51609);const __=a.__,c=({children:e,required:t,optional:o,className:n,...a})=>{const c=i.Children.count(e)>0;return React.createElement("label",r()({},a,{className:(0,s.A)(n,"form-label")}),e,c&&t&&React.createElement("small",{className:"form-label__required"},__("Required","jetpack-mu-wpcom")),c&&o&&React.createElement("small",{className:"form-label__optional"},__("Optional","jetpack-mu-wpcom")))}},7026:(e,t,o)=>{"use strict";o.d(t,{A:()=>R});var n=o(56427),r=o(47143),a=o(86087),s=o(27723),i=o(51113),c=o(84066),l=o(87603),u=o(692),d=o(13022),p=o(51609),m=o.n(p),f=o(62801),h=o(56353),g=o(92299),w=o(22487),v=o(8922),b=o(44275),y=o(44163),E=o(72004),_=o(25817),k=o(596);const __=s.__,A=()=>{const e=window?.sharingModalOptions?.isDismissed||!1,{launchpadScreenOption:t}=window?.launchpadOptions||{},{isDismissed:o,updateIsDismissed:s}=(0,k.A)(e),p="-1"===window?.wpcomGutenberg?.blogPublic,{link:A,title:R,status:S,password:x}=(0,r.useSelect)((e=>e("core/editor").getCurrentPost()),[]),C=(0,r.useSelect)((e=>e("core/editor").getCurrentPostType()),[]),M=(0,r.useSelect)((e=>e("core/editor").isCurrentPostPublished()),[]),z=(0,a.useRef)(M),O=(0,h.rN)(),j=(0,h.sr)(),P=(0,h.kN)(M),[L,N]=(0,a.useState)(!1),{createNotice:T}=(0,r.useDispatch)(u.store),[B,F]=m().useState(!0);if((0,a.useEffect)((()=>{O||j||P||"full"===t||z.current||!M||"publish"!==S||x||"post"!==C||(z.current=M,(0,g.k)("calypso_editor_sharing_dialog_show"),window.setTimeout((()=>{N(!0)})))}),[C,x,S,O,j,P,M,t]),!L||e||p)return null;return m().createElement(n.Modal,{className:"wpcom-block-editor-post-published-sharing-modal",title:"",onRequestClose:()=>N(!1)},m().createElement(E.A,null),m().createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__inner"},m().createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__left"},m().createElement("h1",null," ",__("Post published!","jetpack-mu-wpcom")," "),m().createElement("div",{className:"wpcom-block-editor-post-published-buttons"},m().createElement("a",{href:A,className:"link-button wpcom-block-editor-post-published-sharing-modal__view-post-link",rel:"external"}," ",m().createElement(i.A,{icon:c.A})," ",__("View Post","jetpack-mu-wpcom")),m().createElement(w.A,{text:A,className:"components-button link-button",onCopy:()=>{(0,g.k)("calypso_editor_sharing_link_copy"),T("success",__("Link copied to clipboard.","jetpack-mu-wpcom"),{type:"snackbar"})}},m().createElement(i.A,{icon:l.A})," ",__("Copy Link","jetpack-mu-wpcom"))),m().createElement("hr",null),m().createElement("h2",null,__("Get more traffic to your post by sharing:","jetpack-mu-wpcom")),m().createElement(n.Button,{className:(0,d.A)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-facebook"),onClick:()=>{const e=new URL("https://www.facebook.com/sharer.php"),t=new URLSearchParams({u:A,app_id:"249643311490"});e.search=t.toString();const o=e.href;(0,g.k)("calypso_editor_sharing_facebook"),window.open(o,"facebook","width=626,height=436,resizeable,scrollbars")}},m().createElement(y.A,{icon:"facebook",size:18})),m().createElement(n.Button,{className:(0,d.A)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-twitter"),onClick:()=>{const e=new URL("https://twitter.com/intent/tweet"),t=new URLSearchParams({text:R,url:A});e.search=t.toString();const o=e.href;(0,g.k)("calypso_editor_sharing_twitter"),window.open(o,"twitter","width=550,height=420,resizeable,scrollbars")}},m().createElement(y.A,{icon:"twitter-alt",size:18})),m().createElement(n.Button,{className:(0,d.A)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-linkedin"),onClick:()=>{const e=new URL("https://www.linkedin.com/shareArticle"),t=new URLSearchParams({title:R,url:A});e.search=t.toString();const o=e.href;(0,g.k)("calypso_editor_sharing_linkedin"),window.open(o,"linkedin","width=626,height=436,resizeable,scrollbars")}},m().createElement(y.A,{icon:"linkedin",size:18})),m().createElement(n.Button,{className:(0,d.A)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-tumblr"),onClick:()=>{const e=new URL("https://www.tumblr.com/widgets/share/tool"),t=new URLSearchParams({canonicalUrl:A,title:R});e.search=t.toString();const o=e.href;(0,g.k)("calypso_editor_sharing_tumblr"),window.open(o,"tumblr","width=626,height=436,resizeable,scrollbars")}},m().createElement(y.A,{icon:"tumblr-alt",size:18})),m().createElement(n.Button,{className:(0,d.A)("wpcom-block-editor-post-published-sharing-modal__sharing-button","share-pinterest"),onClick:()=>{const e=new URL("https://pinterest.com/pin/create/button/"),t=new URLSearchParams({url:A,description:R});e.search=t.toString();const o=e.href;(0,g.k)("calypso_editor_sharing_pinterest"),window.open(o,"pinterest","width=626,height=436,resizeable,scrollbars")}},m().createElement(y.A,{icon:"pinterest-alt",size:18})),m().createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__checkbox-section"},m().createElement(b.A,{htmlFor:"toggle",className:"is-checkbox"},m().createElement(v.A,{id:"toggle",onChange:()=>{s(!o)}}),m().createElement("span",null,__("Don't show again","jetpack-mu-wpcom"))))),m().createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__right"},B?m().createElement(_.A,{setShouldShowSuggestedTags:F}):m().createElement("img",{className:"wpcom-block-editor-post-published-sharing-modal__image",src:f,alt:__("Share Post","jetpack-mu-wpcom")}))))},R=()=>{const{siteIntent:e}=(0,h.Bg)();return e===h.Xf||e===h.JV?null:m().createElement(A,null)}},44163:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(96072),r=o.n(n),a=o(13022),s=o(51609);function i(e){const{size:t=24,icon:o,className:n,...i}=e,c=`social-logo-${o}`,l=(0,a.A)("social-logo",c,o,n);return s.createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:l,height:t,width:t},i),s.createElement("use",{xlinkHref:`#${o}`}))}const c=s.memo(i)},72004:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});const n=()=>React.createElement("svg",{viewBox:"0 0 0 0",xmlns:"http://www.w3.org/2000/svg",style:{display:"none"}},React.createElement("symbol",{viewBox:"0 0 24 24",id:"amazon"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.589.589 0 00.672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061v.369zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015zm7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55zm.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684-.301-.386-1.99-.183-2.749-.092-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"behance"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156.482.102.894.273 1.241.507.344.235.612.546.804.938.188.387.281.871.281 1.443 0 .619-.141 1.137-.421 1.551-.284.413-.7.751-1.255 1.014.756.218 1.317.601 1.689 1.146.374.549.557 1.205.557 1.975 0 .623-.12 1.161-.359 1.612a3.144 3.144 0 01-.973 1.114c-.408.288-.876.5-1.399.637A6.144 6.144 0 017.963 18H2V5.698h5.799m-.35 4.97c.481 0 .878-.114 1.192-.345.311-.228.463-.603.463-1.119 0-.286-.051-.523-.152-.707a1.123 1.123 0 00-.416-.427 1.733 1.733 0 00-.596-.216 3.616 3.616 0 00-.697-.06H4.709v2.874h2.74zm.151 5.237c.267 0 .521-.024.759-.077.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491.11-.206.163-.474.163-.798 0-.633-.18-1.084-.533-1.357-.356-.27-.83-.404-1.413-.404H4.709v3.388H7.6zm8.562-.041c.367.358.897.538 1.583.538.493 0 .92-.125 1.277-.374.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693-.701 0-1.332-.113-1.899-.337a4.041 4.041 0 01-1.439-.958 4.364 4.364 0 01-.904-1.484 5.433 5.433 0 01-.32-1.899c0-.666.11-1.288.329-1.863a4.36 4.36 0 01.933-1.492c.406-.42.885-.751 1.444-.994a4.63 4.63 0 011.857-.363c.754 0 1.414.145 1.98.44a3.941 3.941 0 011.389 1.181 4.82 4.82 0 01.783 1.69c.16.632.217 1.292.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496-.39 0-.714.066-.973.2a1.972 1.972 0 00-.621.491 1.772 1.772 0 00-.328.628 2.695 2.695 0 00-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41zm-3.916-3.446h4.985V6.524h-4.985v1.214z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"blogger-alt"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 01-1.16-1.079l-.001-.013A5.813 5.813 0 0011.803 3H8.871a5.813 5.813 0 00-5.813 5.813v6.375a5.813 5.813 0 005.813 5.813h6.257a5.814 5.814 0 005.813-5.813l.002-4.121a1.164 1.164 0 00-1.164-1.163zM8.726 7.713h3.291a1.117 1.117 0 110 2.234H8.726a1.117 1.117 0 110-2.234zm6.601 8.657H8.72a1.057 1.057 0 110-2.114h6.607a1.057 1.057 0 110 2.114z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"blogger"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 01-.654.654H9.977a.654.654 0 010-1.308h4.091c.361 0 .654.293.654.654zm-4.741-3.321h2.038a.692.692 0 000-1.384H9.981a.692.692 0 000 1.384zM21 5v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2zm-3.456 6.39a.72.72 0 00-.72-.72h-.607l-.013.001a.72.72 0 01-.718-.668l-.001-.008a3.599 3.599 0 00-3.599-3.599H10.07a3.599 3.599 0 00-3.599 3.599v3.947a3.6 3.6 0 003.599 3.599h3.874a3.599 3.599 0 003.599-3.599l.001-2.552z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"codepen"},React.createElement("g",null,React.createElement("path",{d:"M22.016 8.84l-.007-.037c-.005-.025-.008-.048-.015-.072-.003-.015-.01-.028-.013-.042l-.023-.062-.02-.042a.391.391 0 00-.03-.057.357.357 0 00-.025-.038l-.035-.052-.03-.037c-.015-.017-.028-.032-.043-.045-.01-.012-.022-.023-.035-.035a.442.442 0 00-.048-.04l-.037-.03-.015-.012-9.161-6.096a.864.864 0 00-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 00-.078.082c-.012.013-.022.023-.03.037-.011.017-.025.035-.035.052a.498.498 0 01-.025.038c-.011.022-.021.039-.03.059a.39.39 0 01-.02.041 1.184 1.184 0 00-.034.106c-.007.023-.011.046-.016.071-.001.014-.005.025-.006.037a.73.73 0 00-.009.114v6.093c0 .037.003.075.008.112l.007.038c.005.023.008.047.015.072a.209.209 0 00.013.04c.007.022.013.042.022.063l.02.04a.4.4 0 00.055.096l.035.052.03.037a.603.603 0 00.042.045l.035.035c.015.013.032.028.048.04l.038.03.013.01 9.163 6.095a.858.858 0 00.959.004l9.163-6.095.015-.01c.013-.01.027-.02.037-.03a.534.534 0 00.048-.04c.013-.012.025-.023.035-.035.017-.015.03-.032.043-.045l.03-.037a.678.678 0 00.035-.052l.025-.038a.4.4 0 00.03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04.007-.025.01-.048.015-.072l.007-.037c.003-.042.007-.079.007-.117V8.954a.625.625 0 00-.008-.114zm-9.154-4.376l6.751 4.49-3.016 2.013-3.735-2.492V4.464zm-1.724 0v4.009l-3.735 2.494-3.014-2.013 6.749-4.49zm-7.439 6.098L5.853 12l-2.155 1.438v-2.876zm7.439 8.974l-6.749-4.491 3.015-2.011 3.735 2.492v4.01zM12 14.035L8.953 12 12 9.966 15.047 12 12 14.035zm.862 5.501v-4.009l3.735-2.492 3.016 2.011-6.751 4.49zm7.441-6.098L18.147 12l2.156-1.438v2.876z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"dribbble"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10zm8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 003.661-5.725zm-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0012 20.555a8.488 8.488 0 003.336-.679zm-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637.111-.036.224-.07.337-.102a29.017 29.017 0 00-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 002.19 5.973zm-2.015-7.46c.382.005 3.901.02 7.897-1.041a54.477 54.477 0 00-3.167-4.94 8.572 8.572 0 00-4.73 5.981zm6.359-6.555a45.7 45.7 0 013.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.508 8.508 0 00-7.664-1.915zm8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27.028 27.028 0 01.751 1.678c2.842-.357 5.666.215 5.948.275a8.503 8.503 0 00-1.929-5.32z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"dropbox"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134L6.069 9.797 2 6.54l5.883-3.843L12 6.134zm-10 6.92l5.883 3.843L12 13.459 6.069 9.797 2 13.054zm10 .405l4.116 3.439L22 13.054l-4.069-3.257L12 13.459zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663L22 6.54zm-9.989 7.66l-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153-4.128-3.426z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"eventbrite"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931L5.959 3A2.96 2.96 0 003 5.959v12.083A2.96 2.96 0 005.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959zM16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048-.152.708-.304 1.416-.451 2.128.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.17 2.17 0 01-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3542.51 3542.51 0 011.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 01.79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783z","fill-rule":"evenodd","clip-rule":"evenodd"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"facebook"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"feed"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333zM2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2zm2.5 15a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"flickr"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"foursquare"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2zm-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715-.072.353-.407 2.102-.448 2.295-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683l-.446 2.333z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"ghost"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198v3.599zm10.792-3.599h-7.193v3.599h7.193v-3.599zm.003-7.198H3v3.599h17.998V10.2zm-7.195-7.197H3.005v3.599h10.798V3.003zm7.197 0h-3.599v3.599H21V3.003z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"github"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.548 9.548 0 0112 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A9.997 9.997 0 0022 12c0-5.523-4.477-10-10-10z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"google-alt"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672 0 2.022 1.62 3.672 3.606 3.672 2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"google-plus-alt"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8V11zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"google-plus"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1.919 14.05a4.051 4.051 0 010-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.229 2.229 0 00-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956zM19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19v1.5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"google"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.8 3.85 1.48l2.84-2.76C16.99 2.99 14.73 2 12.03 2c-5.52 0-10 4.48-10 10s4.48 10 10 10c5.77 0 9.6-4.06 9.6-9.77 0-.83-.11-1.42-.25-2.05h-9.36z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"instagram"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673.315.315.51.615.673 1.035.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035-.315.315-.615.51-1.035.673-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.786 2.786 0 01-1.035-.673 2.786 2.786 0 01-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.401 4.401 0 00-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.411 4.411 0 001.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.411 4.411 0 0019.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3zm0 4.378a4.622 4.622 0 100 9.244 4.622 4.622 0 000-9.244zM12 15a3 3 0 110-6 3 3 0 010 6zm4.804-8.884a1.08 1.08 0 10.001 2.161 1.08 1.08 0 00-.001-2.161z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"link"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10v2zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 004-4v-2a4 4 0 00-4-4zM2 11v2a4 4 0 004 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 00-4 4z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"linkedin"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 003 4.3v15.4A1.3 1.3 0 004.3 21h15.4a1.3 1.3 0 001.3-1.3V4.3A1.3 1.3 0 0019.7 3zM8.339 18.338H5.667v-8.59h2.672v8.59zM7.004 8.574a1.548 1.548 0 11-.002-3.096 1.548 1.548 0 01.002 3.096zm11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"mail"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4.236l-8 4.882-8-4.882V6h16v2.236z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"mastodon"},React.createElement("g",null,React.createElement("path",{d:"M20.617 13.92c-.265 1.361-2.37 2.851-4.788 3.14-1.261.15-2.502.288-3.826.228-2.165-.1-3.873-.517-3.873-.517 0 .211.013.411.039.599.282 2.136 2.119 2.264 3.859 2.324 1.756.06 3.32-.433 3.32-.433l.072 1.588s-1.228.659-3.417.781c-1.207.066-2.705-.031-4.45-.493-3.785-1.001-4.436-5.036-4.536-9.13-.03-1.215-.011-2.361-.011-3.32 0-4.186 2.742-5.413 2.742-5.413 1.383-.635 3.756-.902 6.224-.923h.06c2.467.021 4.842.288 6.225.923 0 0 2.742 1.227 2.742 5.413 0 0 .035 3.089-.382 5.233zm-2.854-4.909v5.069h-2.008V9.16c0-1.037-.436-1.563-1.309-1.563-.965 0-1.448.624-1.448 1.859v2.693h-1.996V9.456c0-1.235-.484-1.859-1.449-1.859-.873 0-1.309.526-1.309 1.563v4.92H6.236V9.011c0-1.035.263-1.859.793-2.468.547-.609 1.262-.921 2.15-.921 1.028 0 1.806.395 2.32 1.185l.501.839.5-.839c.514-.79 1.292-1.185 2.32-1.185.888 0 1.604.312 2.15.921.53.609.793 1.433.793 2.468z","fill-rule":"evenodd"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"medium-alt"},React.createElement("g",null,React.createElement("path",{d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6zm9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648-1.636 0-2.962-2.53-2.962-5.649s1.325-5.649 2.96-5.649zm4.577.589c.576 0 1.042 2.265 1.042 5.06 0 2.794-.466 5.06-1.042 5.06-.575 0-1.04-2.265-1.04-5.06 0-2.794.465-5.06 1.04-5.06z","fill-rule":"nonzero"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"medium"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3H3zm15 4.26l-1 .93a.28.28 0 00-.11.27v6.8a.27.27 0 00.11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 00.17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 00.17-.54V9a.5.5 0 00-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18v.2z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"patreon"},React.createElement("g",null,React.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.975 5a5.05 5.05 0 00-5.041 5.046c0 2.774 2.261 5.03 5.04 5.03A5.034 5.034 0 0019 10.047C19 7.264 16.746 5 13.975 5zM5 18.44h2.461V5H5v13.44z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"pinterest-alt"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.365.365 0 00-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"pinterest"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.297.297 0 01.069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"pocket"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0020.222 3H3.839a1.823 1.823 0 00-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.897 9.897 0 003.91 1.727 10.06 10.06 0 004.049-.014.261.261 0 00.064-.023 9.906 9.906 0 003.753-1.691l.025-.018c.04-.029.08-.058.119-.089 2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.792 1.792 0 00-.098-.62zm-4.235 6.287l-4.704 4.512a1.372 1.372 0 01-1.898 0l-4.705-4.512a1.371 1.371 0 111.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 011.898 1.979z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"polldaddy"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10zm.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.775 7.775 0 00-6.094-2.94 7.764 7.764 0 00-5.896 2.703c-.006.003-.01.01-.016.014l-.152.159-.031.032a6.122 6.122 0 00-1.633 4.165 6.15 6.15 0 006.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.386 7.386 0 016.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68zm3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.673 3.673 0 00.2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.362 2.362 0 00.753 1.879c.501.476 1.23.667 1.871.529a2.067 2.067 0 001.469-1.134 1.912 1.912 0 00-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.698 1.698 0 00-1.437.679 1.525 1.525 0 00-.18 1.489c.004.011.01.021.016.03.193.634.774 1.1 1.467 1.117a1.618 1.618 0 01-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 01.499-1.539 2.016 2.016 0 011.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.515 2.515 0 01-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.825 2.825 0 01-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.216 5.216 0 01-1.947-.376 5.01 5.01 0 002.613-.079 4.955 4.955 0 002.514-1.751c.618-.828.95-1.861.901-2.869zM12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a6.548 6.548 0 00-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"print"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9v-2zm13 1h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2v-3H2V9a2 2 0 012-2h1V5a2 2 0 012-2h10a2 2 0 012 2v2h1a2 2 0 012 2v8zM7 7h10V5H7v2zm10 7H7v6h10v-6zm3-3.5a1.5 1.5 0 10-3.001.001A1.5 1.5 0 0020 10.5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"reddit"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.279 2.279 0 00-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.878 1.878 0 001.876 1.862 1.88 1.88 0 001.877-1.878 1.88 1.88 0 00-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 00-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 00-1.492-.581A2.279 2.279 0 002 11.816c0 .814.433 1.523 1.078 1.925a4.056 4.056 0 00-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97c0-.214-.02-.424-.053-.632A2.259 2.259 0 0022 11.816zm-3.224-7.422a1.1 1.1 0 11-.001 2.199 1.1 1.1 0 01.001-2.199zM2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.482 1.482 0 01-.525-1.129zm9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193zm8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185zm-11.64 1.703c-.76 0-1.397-.616-1.397-1.376 0-.76.637-1.397 1.397-1.397s1.376.637 1.376 1.397-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.616 1.376-1.376 1.376-.76 0-1.399-.616-1.399-1.376 0-.76.639-1.397 1.399-1.397s1.376.637 1.376 1.397zm-1.172 3.38a.389.389 0 010 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 11.55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 01.549 0z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"share"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A2.981 2.981 0 0015 19a3 3 0 103-3z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"skype"},React.createElement("g",null,React.createElement("path",{d:"M10.113 2.699l.1-.02c.033.017.066.033.098.051l-.198-.031zM2.72 10.223l-.017.103c.018.032.033.064.051.095l-.034-.198zm18.555 3.548c.007-.035.011-.071.018-.106-.018-.031-.033-.064-.052-.095l.034.201zm-7.712 7.428c.032.019.065.035.096.053l.105-.017-.201-.036zM22 16.386a5.55 5.55 0 01-1.637 3.953 5.548 5.548 0 01-3.953 1.637 5.575 5.575 0 01-2.75-.725l.105-.017-.202-.035c.032.019.065.035.096.053a9.524 9.524 0 01-1.654.147 9.375 9.375 0 01-3.676-.743 9.38 9.38 0 01-3.002-2.023 9.397 9.397 0 01-2.023-3.002 9.375 9.375 0 01-.743-3.676c0-.546.049-1.093.142-1.628.018.032.033.064.051.095l-.034-.199-.017.103A5.586 5.586 0 012 7.615c0-1.493.582-2.898 1.637-3.953A5.555 5.555 0 017.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031c-.032-.018-.066-.034-.098-.051l.004-.001a9.543 9.543 0 011.788-.169 9.41 9.41 0 016.678 2.766 9.4 9.4 0 012.024 3.002 9.375 9.375 0 01.743 3.676c0 .575-.054 1.15-.157 1.712-.018-.031-.033-.064-.052-.095l.034.201c.007-.035.011-.071.018-.106.461.829.707 1.767.707 2.721zm-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237 0-.794.679-1.348 1.903-1.348 2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"spotify"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.622.622 0 01-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 11-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 01.206.857M17.81 13.7a.78.78 0 01-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 116.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 01.256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 11-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 11-.955 1.608"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"squarespace"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 00-5.458 0l-6.141 6.141a.964.964 0 101.365 1.364l6.14-6.14a1.929 1.929 0 112.729 2.729l-6.022 6.022a1.929 1.929 0 002.729 0l4.658-4.658a3.86 3.86 0 000-5.458zm-2.047 2.047a.965.965 0 00-1.365 0l-6.14 6.14a1.929 1.929 0 01-2.729 0 .964.964 0 10-1.364 1.364 3.86 3.86 0 005.458 0l6.14-6.14a.966.966 0 000-1.364zm-2.047-6.141a3.858 3.858 0 00-5.458 0l-6.14 6.14a.964.964 0 101.364 1.364l6.141-6.14a1.929 1.929 0 012.729 0 .965.965 0 101.364-1.364zm-2.047 2.047a.964.964 0 00-1.364 0l-6.14 6.141a1.929 1.929 0 11-2.729-2.729l6.022-6.022a1.929 1.929 0 00-2.729 0L3.13 9.271a3.86 3.86 0 005.458 5.458l6.14-6.141a.963.963 0 00.001-1.364z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"stumbleupon"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.471 4.471 0 00-4.471 4.471v6.353a1.059 1.059 0 11-2.118 0v-2.824H2v2.941a4.471 4.471 0 008.942 0v-6.47a1.059 1.059 0 112.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0012 4.294zm1.059 8.059v2.882a4.471 4.471 0 008.941 0v-2.824h-3.412v2.824a1.059 1.059 0 11-2.118 0v-2.882l-2 .647-1.411-.647z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"telegram"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486-.15-.475-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238l-1.786 9.004z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"tiktok-alt"},React.createElement("g",null,React.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 3a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2H5zm9.584 3h-2.052l.019 8.128a1.73 1.73 0 11-1.215-1.65v-2.084h-.533a3.804 3.804 0 103.803 3.803l-.022-4.207c1.268.968 2.85.869 2.85.869V8.82C14.47 8.636 14.584 6 14.584 6z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"tiktok"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.011a6.338 6.338 0 11-6.34-6.338h.89v3.472a2.882 2.882 0 102.024 2.752L12.22 2z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"tumblr-alt"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126l-.924-2.743z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"tumblr"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"twitch"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636v-4.91zm-4.499 0h-1.637v4.91H12v-4.91zM4.228 3.178L3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178H4.228zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501v9.002z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"twitter-alt"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.212 8.212 0 01-2.357.646 4.115 4.115 0 001.804-2.27 8.221 8.221 0 01-2.606.996 4.103 4.103 0 00-6.991 3.742 11.647 11.647 0 01-8.457-4.287 4.087 4.087 0 00-.556 2.063 4.1 4.1 0 001.825 3.415 4.09 4.09 0 01-1.859-.513v.052a4.104 4.104 0 003.292 4.023 4.099 4.099 0 01-1.853.07 4.11 4.11 0 003.833 2.85 8.236 8.236 0 01-5.096 1.756 8.33 8.33 0 01-.979-.057 11.617 11.617 0 006.29 1.843c7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.531a8.298 8.298 0 002.047-2.123z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"twitter"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-2.534 6.71c.004.099.007.198.007.298 0 3.045-2.318 6.556-6.556 6.556a6.52 6.52 0 01-3.532-1.035 4.626 4.626 0 003.412-.954 2.307 2.307 0 01-2.152-1.6 2.295 2.295 0 001.04-.04 2.306 2.306 0 01-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 01-.713-3.076 6.54 6.54 0 004.749 2.407 2.305 2.305 0 013.926-2.101 4.602 4.602 0 001.463-.559 2.31 2.31 0 01-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"vimeo"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164c-.093 2.026-1.507 4.799-4.245 8.32C15.322 19.161 12.928 21 10.97 21c-1.214 0-2.24-1.119-3.079-3.359l-1.68-6.159c-.623-2.239-1.29-3.36-2.005-3.36-.156 0-.701.328-1.634.98l-.978-1.261c1.027-.902 2.04-1.805 3.037-2.708C6.001 3.95 7.03 3.327 7.715 3.264c1.619-.156 2.616.951 2.99 3.321.404 2.557.685 4.147.841 4.769.467 2.121.981 3.181 1.542 3.181.435 0 1.09-.688 1.963-2.065.871-1.376 1.338-2.422 1.401-3.142.125-1.187-.343-1.782-1.401-1.782-.498 0-1.012.115-1.541.341 1.023-3.35 2.977-4.977 5.862-4.884 2.139.063 3.148 1.45 3.024 4.161z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"whatsapp"},React.createElement("g",null,React.createElement("path",{d:"M2.048 22l1.406-5.136a9.894 9.894 0 01-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.848 9.848 0 017.011 2.906 9.85 9.85 0 012.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.913 9.913 0 01-4.736-1.206L2.048 22zm5.497-3.172l.301.179a8.214 8.214 0 004.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.189 8.189 0 00-2.41-5.828 8.182 8.182 0 00-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.222 8.222 0 001.259 4.384l.196.312-.832 3.04 3.118-.819zm9.49-4.554c-.062-.103-.227-.165-.475-.289-.248-.124-1.465-.723-1.692-.806-.227-.083-.392-.124-.557.124-.165.248-.64.806-.784.971-.144.165-.289.186-.536.062-.248-.124-1.046-.385-1.991-1.229-.736-.657-1.233-1.468-1.378-1.715-.144-.248-.015-.382.109-.505.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413.083-.165.041-.31-.021-.434s-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.91.91 0 00-.66.31c-.226.248-.866.847-.866 2.066 0 1.219.887 2.396 1.011 2.562.124.165 1.746 2.666 4.23 3.739.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"woocommerce"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3zm-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6s0 .4-.1.5z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"wordpress"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786L9.46 20.625a8.984 8.984 0 005.526-.144.852.852 0 01-.065-.124l-2.763-7.571zM3.009 12a8.993 8.993 0 005.067 8.092L3.788 8.341A8.952 8.952 0 003.009 12zm15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596.04 0 .078.005.116.007A8.963 8.963 0 0012 3.009a8.982 8.982 0 00-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996c.456-1.169.684-2.137.684-2.907zm1.82-3.86c.039.286.06.593.06.924 0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.984 8.984 0 004.47-7.771 8.922 8.922 0 00-1.1-4.313zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"xanga"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9V9zM3 9h6V3H3v6zm12 0h6V3h-6v6zm0 12h6v-6h-6v6zM3 21h6v-6H3v6z"}))),React.createElement("symbol",{viewBox:"0 0 24 24",id:"youtube"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237zM9.935 14.594l-.001-5.62 5.404 2.82-5.403 2.8z"}))))},25817:(e,t,o)=>{"use strict";o.d(t,{A:()=>m});var n=o(78254),r=o(56427),a=o(47143),s=o(86087),i=o(27723),c=o(692),l=o(51609),u=o(92299),d=o(90342);const __=i.__,_n=i._n;function p(e){const t=(0,n.Ym)(),{id:o,meta:i}=(0,a.useSelect)((e=>e("core/editor").getCurrentPost()),[]),{createNotice:p}=(0,a.useDispatch)(c.store),m=i?.reader_suggested_tags?JSON.parse(i.reader_suggested_tags):[],[f,h]=l.useState(m),{saveTags:g}=(0,d.A)(o,f,(t=>{const o={number_of_original_suggested_tags:m.length,number_of_selected_tags:f.length,number_of_suggested_tags_selected:m.filter((e=>f.includes(e))).length,number_of_added_tags:t};(0,u.k)("calypso_reader_post_publish_add_tags",o),t>0?p("success",_n("Tag Added.","Tags Added.",t,"jetpack-mu-wpcom"),{type:"snackbar"}):p("warning",__("No Tags Added.","jetpack-mu-wpcom"),{type:"snackbar"}),e.setShouldShowSuggestedTags(!1)}));(0,s.useEffect)((()=>{0===m?.length?(t&&t.startsWith("en")&&(0,u.k)("calypso_reader_post_publish_no_suggested_tags"),e.setShouldShowSuggestedTags(!1)):(0,u.k)("calypso_reader_post_publish_show_suggested_tags",{number_of_original_suggested_tags:m.length})}),[]);const w=l.createElement(r.FormTokenField,{value:f,onChange:e=>{h(e),(0,u.k)("calypso_reader_post_publish_update_suggested_tags")},label:__("Tags","jetpack-mu-wpcom")});return l.createElement("div",{className:"wpcom-block-editor-post-published-sharing-modal__suggest-tags"},l.createElement("h1",null,__("Recommended tags:","jetpack-mu-wpcom")),l.createElement("p",null,__("Based on the topics and themes in your post, here are some suggested tags to consider:","jetpack-mu-wpcom")),w,l.createElement("p",null,__("Adding tags can help drive more traffic to your post.","jetpack-mu-wpcom")),l.createElement(r.Button,{className:"wpcom-block-editor-post-published-sharing-modal__save-tags",onClick:g,variant:"primary"},__("Add these tags","jetpack-mu-wpcom")))}const m=l.memo(p)},90342:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(1455),r=o.n(n);const a=(e,t,o)=>({saveTags:async function(){let n=0;try{n=(await r()({method:"POST",path:`/wpcom/v2/read/posts/${e}/tags/add`,data:{tags:t}})).added_tags??0}catch(e){console.error("Error: Unable to add tags. Reason: %s",JSON.stringify(e))}o(n)}})},596:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(1455),r=o.n(n),a=o(86087);const s=e=>{const[t,o]=(0,a.useState)(e);return{isDismissed:t,updateIsDismissed:function(e){r()({method:"PUT",path:"/wpcom/v2/block-editor/sharing-modal-dismissed",data:{wpcom_sharing_modal_dismissed:e}}).finally((()=>{o(e)}))}}}},85414:(e,t,o)=>{"use strict";o.d(t,{gH:()=>c,kz:()=>p,um:()=>i});var n=o(1455),r=o.n(n),a=o(47143),s=o(66161);const i="tour",c="blank-canvas-tour",l=(0,a.combineReducers)({welcomeGuideManuallyOpened:(e=!1,t)=>{switch(t.type){case"WPCOM_WELCOME_GUIDE_SHOW_SET":return void 0!==t.openedManually?t.openedManually:e;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return!1;default:return e}},showWelcomeGuide:(e=void 0,t)=>{switch(t.type){case"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS":return t.response.show_welcome_guide;case"WPCOM_WELCOME_GUIDE_SHOW_SET":return t.show;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return;default:return e}},tourRating:(e=void 0,t)=>{switch(t.type){case"WPCOM_WELCOME_GUIDE_TOUR_RATING_SET":return t.tourRating;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return;default:return e}},welcomeGuideVariant:(e=i,t)=>{switch(t.type){case"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS":return t.response.variant;case"WPCOM_HAS_USED_PATTERNS_MODAL":return e===c?i:e;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return i;default:return e}},shouldShowFirstPostPublishedModal:(e=!1,t)=>{switch(t.type){case"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL":return t.value;case"WPCOM_WELCOME_GUIDE_RESET_STORE":return!1;default:return e}}}),u={*fetchWelcomeGuideStatus(){return{type:"WPCOM_WELCOME_GUIDE_FETCH_STATUS_SUCCESS",response:yield(0,s.apiFetch)({path:"/wpcom/v2/block-editor/nux"})}},*fetchShouldShowFirstPostPublishedModal(){return{type:"WPCOM_SET_SHOULD_SHOW_FIRST_POST_PUBLISHED_MODAL",value:(yield(0,s.apiFetch)({path:"/wpcom/v2/block-editor/should-show-first-post-published-modal"})).should_show_first_post_published_modal}},setShowWelcomeGuide:(e,{openedManually:t,onlyLocal:o}={})=>(o||r()({path:"/wpcom/v2/block-editor/nux",method:"POST",data:{show_welcome_guide:e}}),{type:"WPCOM_WELCOME_GUIDE_SHOW_SET",show:e,openedManually:t}),setTourRating:e=>({type:"WPCOM_WELCOME_GUIDE_TOUR_RATING_SET",tourRating:e}),setUsedPageOrPatternsModal:()=>({type:"WPCOM_HAS_USED_PATTERNS_MODAL"}),resetStore:()=>({type:"WPCOM_WELCOME_GUIDE_RESET_STORE"})},d={isWelcomeGuideManuallyOpened:e=>e.welcomeGuideManuallyOpened,isWelcomeGuideShown:e=>!!e.showWelcomeGuide,isWelcomeGuideStatusLoaded:e=>void 0!==e.showWelcomeGuide,getTourRating:e=>e.tourRating,getWelcomeGuideVariant:e=>"modal"===e.welcomeGuideVariant?i:e.welcomeGuideVariant,getShouldShowFirstPostPublishedModal:e=>e.shouldShowFirstPostPublishedModal};function p(){return(0,a.registerStore)("automattic/wpcom-welcome-guide",{reducer:l,actions:u,selectors:d,controls:s.controls,persist:!0})}},10478:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var n=o(56427),r=o(47143),a=o(86087),s=o(27723),i=o(63118),c=o(56353),l=o(24503);const __=s.__,u=()=>{const[e,t]=(0,a.useState)(!1),[o,s]=(0,a.useState)(!1),u=(0,r.useSelect)((e=>!!e("core/edit-site"))),d=(0,a.useRef)(!1),{updateHasSeenVideoCelebrationModal:p}=(0,c.v2)(),{isEditorSaving:m}=(0,r.useSelect)((e=>{if(u){const t=e("core").isSavingEntityRecord("root","site")&&!e("core").isAutosavingEntityRecord("root","site"),o=e("core/edit-site").getPage(),n=parseInt(o?.context?.postId),r=e("core").isSavingEntityRecord("postType","page",n)&&!e("core").isAutosavingEntityRecord("postType","page",n),a=e("core").getEntityRecord("postType","page",n);return{isEditorSaving:t||r,linkUrl:a?.link}}const t=e("core/editor").getCurrentPost();return{isEditorSaving:e("core").isSavingEntityRecord("postType",t?.type,t?.id)&&!e("core").isAutosavingEntityRecord("postType",t?.type,t?.id)}})),f=(0,c.kN)(m);(0,a.useEffect)((()=>{!m&&d.current&&!o&&f&&(t(!0),s(!0),p(!0)),d.current=m}),[m,o,f,p]);const h=()=>t(!1);return React.createElement(l.A,{isOpen:e,className:"wpcom-site-editor-video-celebration-modal",title:__("You’ve added your first video!","jetpack-mu-wpcom"),description:__("Feel free to keep editing your homepage, or continue and launch your site.","jetpack-mu-wpcom"),imageSrc:i,actionButtons:React.createElement(React.Fragment,null,React.createElement(n.Button,{onClick:h},__("Keep editing","jetpack-mu-wpcom")),React.createElement(n.Button,{isPrimary:!0,href:`https://wordpress.com/setup/videopress/launchpad?siteSlug=${window.location.hostname}`,target:"_blank",rel:"noopener noreferrer"},__("Continue and launch","jetpack-mu-wpcom"))),onRequestClose:h})},d=()=>{const{siteIntent:e}=(0,c.Bg)();return"videopress"===e?React.createElement(u,null):null}},37002:(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var n=o(96072),r=o.n(n),a=o(56427),s=o(47143),i=o(86087),c=o(27723),l=o(52601),u=o(34588),d=o(65921),p=o(69552),m=o(92299);const __=c.__;function f({pageNumber:e,isLastPage:t,alignBottom:o=!1,heading:n,description:r,imgSrc:s}){return(0,i.useEffect)((()=>{(0,m.k)("calypso_editor_wpcom_nux_slide_view",{slide_number:e,is_last_slide:t,is_gutenboarding:window.calypsoifyGutenberg?.isGutenboarding})}),[]),React.createElement(a.GuidePage,{className:"wpcom-block-editor-nux__page"},React.createElement("div",{className:"wpcom-block-editor-nux__text"},React.createElement("h1",{className:"wpcom-block-editor-nux__heading"},n),React.createElement("div",{className:"wpcom-block-editor-nux__description"},r)),React.createElement("div",{className:"wpcom-block-editor-nux__visual"},React.createElement("img",{key:s,src:s,alt:"","aria-hidden":"true",className:"wpcom-block-editor-nux__image"+(o?" align-bottom":"")})))}const h=function(){const{show:e,isNewPageLayoutModalOpen:t,isManuallyOpened:o}=(0,s.useSelect)((e=>({show:e("automattic/wpcom-welcome-guide").isWelcomeGuideShown(),isNewPageLayoutModalOpen:e("automattic/starter-page-layouts")&&e("automattic/starter-page-layouts").isOpen(),isManuallyOpened:e("automattic/wpcom-welcome-guide").isWelcomeGuideManuallyOpened()}))),{setShowWelcomeGuide:n}=(0,s.useDispatch)("automattic/wpcom-welcome-guide");if((0,i.useEffect)((()=>{e&&!t&&(0,m.k)("calypso_editor_wpcom_nux_open",{is_gutenboarding:window.calypsoifyGutenberg?.isGutenboarding,is_manually_opened:o})}),[o,t,e]),!e||t)return null;const c=[{heading:__("Welcome to your website","jetpack-mu-wpcom"),description:__("Edit your homepage, add the pages you need, and change your site’s look and feel.","jetpack-mu-wpcom"),imgSrc:u,alignBottom:!0},{heading:__("Add or edit your content","jetpack-mu-wpcom"),description:__("Edit the placeholder content we’ve started you off with, or click the plus sign to add more content.","jetpack-mu-wpcom"),imgSrc:l},{heading:__("Preview your site as you go","jetpack-mu-wpcom"),description:__("As you edit your site content, click “Preview” to see your site the way your visitors will.","jetpack-mu-wpcom"),imgSrc:d,alignBottom:!0},{heading:__("Hidden until you’re ready","jetpack-mu-wpcom"),description:__("Your site will remain hidden until launched. Click “Launch” in the toolbar to share it with the world.","jetpack-mu-wpcom"),imgSrc:p,alignBottom:!0}];return React.createElement(a.Guide,{className:"wpcom-block-editor-nux",contentLabel:__("Welcome to your website","jetpack-mu-wpcom"),finishButtonText:__("Get started","jetpack-mu-wpcom"),onFinish:()=>{(0,m.k)("calypso_editor_wpcom_nux_dismiss",{is_gutenboarding:window.calypsoifyGutenberg?.isGutenboarding}),n(!1,{openedManually:!1})}},c.map(((e,t)=>React.createElement(f,r()({key:e.heading,pageNumber:t+1,isLastPage:t===c.length-1},e)))))}},4810:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(47143);const r=()=>(0,n.select)("core/edit-site")?"site":(0,n.select)("core/editor")?(0,n.select)("core/editor").getCurrentPostType():void 0},16957:(e,t,o)=>{"use strict";o.d(t,{A:()=>d});var n=o(78254),r=o(47143),a=o(86087),s=o(56353),i=o(92299),c=o(4810),l=o(48959);function u({siteIntent:e}){const t=(0,s.cz)(window._currentSiteId),o=(0,n.Ym)(),{setShowWelcomeGuide:u}=(0,r.useDispatch)("automattic/wpcom-welcome-guide"),d=window.calypsoifyGutenberg?.isGutenboarding,p=()=>new URLSearchParams(document.location.search).has("welcome-tour-next"),m=(0,r.useSelect)((e=>!!e("core/edit-site")),[]),f=(0,r.useSelect)((e=>e("core").getCurrentTheme())),h=f?.name?.raw?.toLowerCase()??null,g=(0,l.A)(o,p(),m,h,e);if("sell"!==e||!t||"ecommerce-bundle"===t.product_slug){const e=g.findIndex((e=>"payment-block"===e.slug));g.splice(e,1)}const{isInserterOpened:w,isSidebarOpened:v,isSettingsOpened:b}=(0,r.useSelect)((e=>({isInserterOpened:e("core/edit-post").isInserterOpened(),isSidebarOpened:e("automattic/block-editor-nav-sidebar")?.isSidebarOpened()??!1,isSettingsOpened:"edit-post/document"===e("core/interface").getActiveComplementaryArea("core/edit-post")})),[]),y=v||window.matchMedia("(max-width: 782px)").matches&&(w||b),E=(0,c.A)(),_={steps:g,closeHandler:(t,o,n)=>{(0,i.k)("calypso_editor_wpcom_tour_dismiss",{is_gutenboarding:d,slide_number:o+1,action:n,intent:e,editor_type:E}),u(!1,{openedManually:!1})},isMinimized:y,options:{tourRating:{enabled:!0,useTourRating:()=>(0,r.useSelect)((e=>e("automattic/wpcom-welcome-guide").getTourRating()),[]),onTourRate:t=>{(0,r.dispatch)("automattic/wpcom-welcome-guide").setTourRating(t),(0,i.k)("calypso_editor_wpcom_tour_rate",{thumbs_up:"thumbs-up"===t,is_gutenboarding:!1,intent:e,editor_type:E})}},callbacks:{onMinimize:t=>{(0,i.k)("calypso_editor_wpcom_tour_minimize",{is_gutenboarding:d,slide_number:t+1,intent:e,editor_type:E})},onMaximize:t=>{(0,i.k)("calypso_editor_wpcom_tour_maximize",{is_gutenboarding:d,slide_number:t+1,intent:e,editor_type:E})},onStepViewOnce:t=>{const o=g.length-1,{heading:n}=g[t].meta;(0,i.k)("calypso_editor_wpcom_tour_slide_view",{slide_number:t+1,is_last_slide:t===o,slide_heading:n,is_gutenboarding:d,intent:e,editor_type:E})}},effects:{spotlight:p()?{styles:{minWidth:"50px",minHeight:"50px",borderRadius:"2px"}}:void 0,arrowIndicator:!1},popperModifiers:[(0,a.useMemo)((()=>({name:"offset",options:{offset:({placement:e,reference:t})=>{if("bottom"===e){const e=document.querySelector(".edit-post-header");if(!e)return;const o=e.getBoundingClientRect();return[0,o.height+o.y-(t.height+t.y)+16]}return[0,0]}}})),[])],classNames:"wpcom-editor-welcome-tour",portalParentElement:document.getElementById("wpwrap")}};return null===h?null:React.createElement(s.ns,{config:_})}const d=function(){const{show:e,isNewPageLayoutModalOpen:t,isManuallyOpened:o}=(0,r.useSelect)((e=>({show:e("automattic/wpcom-welcome-guide").isWelcomeGuideShown(),isNewPageLayoutModalOpen:e("automattic/starter-page-layouts")&&e("automattic/starter-page-layouts").isOpen(),isManuallyOpened:e("automattic/wpcom-welcome-guide").isWelcomeGuideManuallyOpened()})),[]),{siteIntent:d,siteIntentFetched:p}=(0,s.Bg)(),m=(0,n.Ym)(),f=(0,c.A)(),{siteIntent:h}=(0,s.Bg)(),g=h===s.Xf||h===s.JV,w=(0,l.A)(m,!1,!1,null,d);return(0,s.Oo)([w[0]]),(0,a.useEffect)((()=>{g||(e||t)&&p&&(0,i.k)("calypso_editor_wpcom_tour_open",{is_gutenboarding:window.calypsoifyGutenberg?.isGutenboarding,is_manually_opened:o,intent:d,editor_type:f})}),[t,o,e,d,p,f,g]),!e||t||g?null:React.createElement(u,{siteIntent:d})}},48959:(e,t,o)=>{"use strict";o.d(t,{A:()=>p});var n=o(14437),r=o(56427),a=o(29491),s=o(86087),i=o(27723),c=o(93832),l=o(92299),u=o(4810);const __=i.__,_x=i._x;function d(e){const t="https://s0.wp.com/i/editor-welcome-tour";return{addBlock:{desktop:{src:`${t}/slide-add-block.gif`,type:"image/gif"},mobile:{src:`${t}/slide-add-block_mobile.gif`,type:"image/gif"}},allBlocks:{desktop:{src:`${t}/slide-all-blocks.gif`,type:"image/gif"}},finish:{desktop:{src:`${t}/slide-finish.png`,type:"image/gif"}},makeBold:{desktop:{src:`${t}/slide-make-bold.gif`,type:"image/gif"}},moreOptions:{desktop:{src:`${t}/slide-more-options.gif`,type:"image/gif"},mobile:{src:`${t}/slide-more-options_mobile.gif`,type:"image/gif"}},moveBlock:{desktop:{src:`${t}/slide-move-block.gif`,type:"image/gif"},mobile:{src:`${t}/slide-move-block_mobile.gif`,type:"image/gif"}},findYourWay:{desktop:{src:`${t}/slide-find-your-way.gif`,type:"image/gif"}},undo:{desktop:{src:`${t}/slide-undo.gif`,type:"image/gif"}},welcome:{desktop:{src:`${t}/slide-welcome.png`,type:"image/png"},mobile:{src:`${t}/slide-welcome_mobile.jpg`,type:"image/jpeg"}},editYourSite:{desktop:{src:"https://s.w.org/images/block-editor/edit-your-site.gif?1",type:"image/gif"},mobile:{src:"https://s.w.org/images/block-editor/edit-your-site.gif?1",type:"image/gif"}},videomakerWelcome:{desktop:{src:`${t}/slide-videomaker-welcome.png`,type:"image/png"}},videomakerEdit:{desktop:{src:`${t}/slide-videomaker-edit.png`,type:"image/png"}}}[e]}const p=function(e,t=!1,o=!1,i=null,p=void 0){const m="videomaker"===(i??""),f=!!(0,c.getQueryArg)(window.location.href,"assembler"),h=(0,a.useViewportMatch)("mobile","<"),g=`https://wordpress.com/home/${window.location.hostname}?courseSlug=site-editor-quick-start`,w=(0,u.A)(),v=()=>{(0,l.k)("calypso_editor_wpcom_tour_site_editor_course_link_click",{is_pattern_assembler:f,intent:p,editor_type:w})};return[{slug:"welcome",meta:{heading:f?__("Nice job! Your new page is set up.","jetpack-mu-wpcom"):_x("Welcome to WordPress!","jetpack-mu-wpcom","jetpack-mu-wpcom"),descriptions:{desktop:f?(0,s.createInterpolateElement)(__("This is the Site Editor, where you can change everything about your site, including adding content to your homepage. Watch these short videos and take this tour to get started.","jetpack-mu-wpcom"),{link_to_site_editor_course:React.createElement(r.ExternalLink,{href:g,onClick:v,children:null})}):o?__("Take this short, interactive tour to learn the fundamentals of the WordPress Site Editor.","jetpack-mu-wpcom"):_x("Take this short, interactive tour to learn the fundamentals of the WordPress editor.","jetpack-mu-wpcom","jetpack-mu-wpcom"),mobile:null},imgSrc:d(m?"videomakerWelcome":"welcome"),imgLink:f?{href:g,playable:!0,onClick:v}:void 0},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","calypso_editor_wpcom_draft_post_modal_show"]}}},{slug:"everything-is-a-block",meta:{heading:__("Everything is a block","jetpack-mu-wpcom"),descriptions:{desktop:__("In the WordPress Editor, paragraphs, images, and videos are all blocks.","jetpack-mu-wpcom"),mobile:null},imgSrc:d("allBlocks")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}},{slug:"add-block",...t&&{referenceElements:{mobile:".edit-post-header .edit-post-header__toolbar .components-button.edit-post-header-toolbar__inserter-toggle",desktop:".edit-post-header .edit-post-header__toolbar .components-button.edit-post-header-toolbar__inserter-toggle"}},meta:{heading:__("Adding a new block","jetpack-mu-wpcom"),descriptions:{desktop:__("Click + to open the inserter. Then click the block you want to add.","jetpack-mu-wpcom"),mobile:__("Tap + to open the inserter. Then tap the block you want to add.","jetpack-mu-wpcom")},imgSrc:d("addBlock")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","wpcom-editor-welcome-tour__step"]}}},{slug:"edit-block",meta:{heading:__("Click a block to change it","jetpack-mu-wpcom"),descriptions:{desktop:m?__("Use the toolbar to change the appearance of a selected block. Try replacing a video!","jetpack-mu-wpcom"):_x("Use the toolbar to change the appearance of a selected block. Try making it bold.","jetpack-mu-wpcom","jetpack-mu-wpcom"),mobile:null},imgSrc:d(m?"videomakerEdit":"makeBold")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}},{slug:"settings",...t&&{referenceElements:{mobile:".edit-post-header .edit-post-header__settings .interface-pinned-items > button:nth-child(1)",desktop:".edit-post-header .edit-post-header__settings .interface-pinned-items > button:nth-child(1)"}},meta:{heading:__("More Options","jetpack-mu-wpcom"),descriptions:{desktop:__("Click the settings icon to see even more options.","jetpack-mu-wpcom"),mobile:__("Tap the settings icon to see even more options.","jetpack-mu-wpcom")},imgSrc:d("moreOptions")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","wpcom-editor-welcome-tour__step"]}}},...h?[]:[{slug:"find-your-way",meta:{heading:__("Find your way","jetpack-mu-wpcom"),descriptions:{desktop:__("Use List View to see all the blocks you've added. Click and drag any block to move it around.","jetpack-mu-wpcom"),mobile:null},imgSrc:d("findYourWay")},options:{classNames:{desktop:["is-with-extra-padding","wpcom-editor-welcome-tour__step"],mobile:"wpcom-editor-welcome-tour__step"}}}],...h?[]:[{slug:"undo",...t&&{referenceElements:{desktop:".edit-post-header .edit-post-header__toolbar .components-button.editor-history__undo"}},meta:{heading:__("Undo any mistake","jetpack-mu-wpcom"),descriptions:{desktop:__("Click the Undo button if you've made a mistake.","jetpack-mu-wpcom"),mobile:null},imgSrc:d("undo")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}}],{slug:"drag-drop",meta:{heading:__("Drag & drop","jetpack-mu-wpcom"),descriptions:{desktop:__("To move blocks around, click and drag the handle.","jetpack-mu-wpcom"),mobile:__("To move blocks around, tap the up and down arrows.","jetpack-mu-wpcom")},imgSrc:d("moveBlock")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","wpcom-editor-welcome-tour__step"]}}},{slug:"payment-block",meta:{heading:__("The Payments block","jetpack-mu-wpcom"),descriptions:{desktop:React.createElement(React.Fragment,null,__("The Payments block allows you to accept payments for one-time, monthly recurring, or annual payments on your website","jetpack-mu-wpcom"),React.createElement("br",null),React.createElement(r.ExternalLink,{href:(0,n.rm)("https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/#how-to-use-the-payments-block-video",e),rel:"noopener noreferrer"},__("Learn more","jetpack-mu-wpcom"))),mobile:null},imgSrc:d("welcome")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}},...o?[{slug:"edit-your-site",meta:{heading:__("Edit your site","jetpack-mu-wpcom"),descriptions:{desktop:(0,s.createInterpolateElement)(__("Design everything on your site - from the header right down to the footer - in the Site Editor. Learn more","jetpack-mu-wpcom"),{link_to_fse_docs:React.createElement(r.ExternalLink,{href:(0,n.rm)("https://wordpress.com/support/full-site-editing/",e),children:null})}),mobile:__("Design everything on your site - from the header right down to the footer - in the Site Editor.","jetpack-mu-wpcom")},imgSrc:d("editYourSite")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:["is-with-extra-padding","wpcom-editor-welcome-tour__step"]}}}]:[],{slug:"congratulations",meta:{heading:__("Congratulations!","jetpack-mu-wpcom"),descriptions:{desktop:(0,s.createInterpolateElement)(__("You've learned the basics. Remember, your site is private until you decide to launch. View the block editing docs to learn more.","jetpack-mu-wpcom"),{link_to_launch_site_docs:React.createElement(r.ExternalLink,{href:(0,n.rm)("https://wordpress.com/support/settings/privacy-settings/#launch-your-site",e),children:null}),link_to_editor_docs:React.createElement(r.ExternalLink,{href:(0,n.rm)("https://wordpress.com/support/wordpress-editor/",e),children:null})}),mobile:null},imgSrc:d("finish")},options:{classNames:{desktop:"wpcom-editor-welcome-tour__step",mobile:"wpcom-editor-welcome-tour__step"}}}]}},73315:(e,t,o)=>{"use strict";var n=o(51621);e.exports=function(){var e=n.apply(n,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},43873:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});const n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},92811:(e,t,o)=>{"use strict";var n;o.d(t,{A:()=>a});var r=new Uint8Array(16);function a(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)}},54755:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});for(var n=o(6026),r=[],a=0;a<256;++a)r.push((a+256).toString(16).substr(1));const s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase();if(!(0,n.A)(o))throw TypeError("Stringified UUID is invalid");return o}},60070:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(92811),r=o(54755);const a=function(e,t,o){var a=(e=e||{}).random||(e.rng||n.A)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){o=o||0;for(var s=0;s<16;++s)t[o+s]=a[s];return t}return(0,r.A)(a)}},6026:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(43873);const r=function(e){return"string"==typeof e&&n.A.test(e)}},71309:(e,t,o)=>{var n=o(73315),r=o(37110);function a(e,t){if(t)if("number"==typeof t)s(e,t);else{t.status_code&&s(e,t.status_code),t.error&&(e.name=c(t.error)),t.error_description&&(e.message=t.error_description);var o=t.errors;if(o)a(e,o.length?o[0]:o);for(var n in t)e[n]=t[n];e.status&&(t.method||t.path)&&i(e)}}function s(e,t){e.name=c(r[t]),e.status=e.statusCode=t,i(e)}function i(e){var t=e.status,o=e.method,n=e.path,r=t+" status code",a=o||n;a&&(r+=' for "'),o&&(r+=o),a&&(r+=" "),n&&(r+=n),a&&(r+='"'),e.message=r}function c(e){return n(String(e).replace(/error$/i,""),"error")}e.exports=function e(){for(var t=new Error,o=0;o{"use strict";o.d(t,{Ay:()=>R});var n=o(46941),r=o.n(n),a=o(60070),s=o(71309),i=o.n(s);const c=r()("wpcom-proxy-request"),l="https://public-api.wordpress.com";let u=null;const d=(()=>{let e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(e){}return e})(),p=(()=>{try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}})();let m,f=null,h=!1;const g={},w=(e,t)=>{const o=Object.assign({},e);c("request(%o)",o),f||_();const n=(0,a.A)();o.callback=n,o.supports_args=!0,o.supports_error_obj=!0,o.supports_progress=!0,o.method=String(o.method||"GET").toUpperCase(),c("params object: %o",o);const r=new window.XMLHttpRequest;if(r.params=o,g[n]=r,"function"==typeof t){let e=!1;const o=o=>{if(e)return;e=!0;const n=o.response??r.response;c("body: ",n),c("headers: ",o.headers),t(null,n,o.headers)},n=o=>{if(e)return;e=!0;const n=o.error??o.err??o;c("error: ",n),c("headers: ",o.headers),t(n,null,o.headers)};r.addEventListener("load",o),r.addEventListener("abort",n),r.addEventListener("error",n)}return"function"==typeof o.onStreamRecord&&(u=o.onStreamRecord,delete o.onStreamRecord),h?b(o):(c("buffering API request since proxying