Version Description
Download this release
Release Info
Developer | brainstormworg |
Plugin | Astra Starter Sites |
Version | 2.6.10 |
Comparing to | |
See all releases |
Code changes from version 2.6.9 to 2.6.10
astra-sites.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Starter Templates
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
|
6 |
-
* Version: 2.6.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
@@ -19,7 +19,7 @@ if ( ! defined( 'ASTRA_SITES_NAME' ) ) {
|
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
-
define( 'ASTRA_SITES_VER', '2.6.
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
3 |
* Plugin Name: Starter Templates
|
4 |
* Plugin URI: https://wpastra.com/
|
5 |
* Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
|
6 |
+
* Version: 2.6.10
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: https://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
+
define( 'ASTRA_SITES_VER', '2.6.10' );
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
inc/lib/ast-block-templates/classes/class-ast-block-templates.php
CHANGED
@@ -387,7 +387,7 @@ if ( ! class_exists( 'Ast_Block_Templates' ) ) :
|
|
387 |
'wpforms_status' => $this->get_plugin_status( 'wpforms-lite/wpforms.php' ),
|
388 |
'gutenberg_status' => $this->get_plugin_status( 'gutenberg/gutenberg.php' ),
|
389 |
'_ajax_nonce' => wp_create_nonce( 'ast-block-templates-ajax-nonce' ),
|
390 |
-
'button_text' => esc_html__( 'Starter Templates', '
|
391 |
'display_button_logo' => true,
|
392 |
'popup_logo_uri' => AST_BLOCK_TEMPLATES_URI . 'dist/logo.svg',
|
393 |
'button_logo' => AST_BLOCK_TEMPLATES_URI . 'dist/starter-template-logo.svg',
|
387 |
'wpforms_status' => $this->get_plugin_status( 'wpforms-lite/wpforms.php' ),
|
388 |
'gutenberg_status' => $this->get_plugin_status( 'gutenberg/gutenberg.php' ),
|
389 |
'_ajax_nonce' => wp_create_nonce( 'ast-block-templates-ajax-nonce' ),
|
390 |
+
'button_text' => esc_html__( 'Starter Templates', 'astra-sites' ),
|
391 |
'display_button_logo' => true,
|
392 |
'popup_logo_uri' => AST_BLOCK_TEMPLATES_URI . 'dist/logo.svg',
|
393 |
'button_logo' => AST_BLOCK_TEMPLATES_URI . 'dist/starter-template-logo.svg',
|
inc/lib/ast-block-templates/dist/main.js
CHANGED
@@ -6,4 +6,4 @@
|
|
6 |
* Released under MIT license <https://lodash.com/license>
|
7 |
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
8 |
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
9 |
-
*/(function(){var i="Expected a function",a="__lodash_placeholder__",c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",u="[object Array]",s="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",m="[object GeneratorFunction]",h="[object Map]",v="[object Number]",g="[object Object]",b="[object RegExp]",y="[object Set]",_="[object String]",w="[object Symbol]",k="[object WeakMap]",x="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",P="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",B="[object Int32Array]",T="[object Uint8Array]",A="[object Uint16Array]",j="[object Uint32Array]",C=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,D=RegExp(F.source),z=RegExp(L.source),W=/<%-([\s\S]+?)%>/g,M=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(G.source),H=/^\s+/,K=/\s/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,ce=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,se=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",me="[\\ud800-\\udfff]",he="["+de+"]",ve="["+pe+"]",ge="\\d+",be="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",_e="[^\\ud800-\\udfff"+de+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",ke="[^\\ud800-\\udfff]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="(?:"+ye+"|"+_e+")",Re="(?:"+Ee+"|"+_e+")",Ie="(?:"+ve+"|"+we+")"+"?",Be="[\\ufe0e\\ufe0f]?"+Ie+("(?:\\u200d(?:"+[ke,xe,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Ie+")*"),Te="(?:"+[be,xe,Se].join("|")+")"+Be,Ae="(?:"+[ke+ve+"?",ve,xe,Se,me].join("|")+")",je=RegExp("['’]","g"),Ce=RegExp(ve,"g"),Oe=RegExp(we+"(?="+we+")|"+Ae+Be,"g"),Ne=RegExp([Ee+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,Ee,"$"].join("|")+")",Re+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,Ee+Pe,"$"].join("|")+")",Ee+"?"+Pe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge,Te].join("|"),"g"),Fe=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,De=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ze=-1,We={};We[E]=We[P]=We[R]=We[I]=We[B]=We[T]=We["[object Uint8ClampedArray]"]=We[A]=We[j]=!0,We[l]=We[u]=We[x]=We[s]=We[S]=We[f]=We[p]=We[d]=We[h]=We[v]=We[g]=We[b]=We[y]=We[_]=We[k]=!1;var Me={};Me[l]=Me[u]=Me[x]=Me[S]=Me[s]=Me[f]=Me[E]=Me[P]=Me[R]=Me[I]=Me[B]=Me[h]=Me[v]=Me[g]=Me[b]=Me[y]=Me[_]=Me[w]=Me[T]=Me["[object Uint8ClampedArray]"]=Me[A]=Me[j]=!0,Me[p]=Me[d]=Me[k]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,$e=parseInt,qe="object"==typeof e&&e&&e.Object===Object&&e,Ge="object"==typeof self&&self&&self.Object===Object&&self,Ye=qe||Ge||Function("return this")(),He=t&&!t.nodeType&&t,Ke=He&&"object"==typeof r&&r&&!r.nodeType&&r,Ze=Ke&&Ke.exports===He,Xe=Ze&&qe.process,Je=function(){try{var e=Ke&&Ke.require&&Ke.require("util").types;return e||Xe&&Xe.binding&&Xe.binding("util")}catch(e){}}(),Qe=Je&&Je.isArrayBuffer,et=Je&&Je.isDate,tt=Je&&Je.isMap,nt=Je&&Je.isRegExp,rt=Je&&Je.isSet,ot=Je&&Je.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function st(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ft(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function dt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function mt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function ht(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function gt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var bt=Et("length");function yt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function _t(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):_t(e,xt,n)}function kt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function xt(e){return e!=e}function St(e,t){var n=null==e?0:e.length;return n?It(e,t)/n:NaN}function Et(e){return function(t){return null==t?void 0:t[e]}}function Pt(e){return function(t){return null==e?void 0:e[t]}}function Rt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function It(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function Bt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Tt(e){return e?e.slice(0,Ht(e)+1).replace(H,""):e}function At(e){return function(t){return e(t)}}function jt(e,t){return dt(t,(function(t){return e[t]}))}function Ct(e,t){return e.has(t)}function Ot(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function Ft(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=Pt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Dt=Pt({"&":"&","<":"<",">":">",'"':""","'":"'"});function zt(e){return"\\"+Ue[e]}function Wt(e){return Fe.test(e)}function Mt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ut(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var c=e[n];c!==t&&c!==a||(e[n]=a,i[o++]=n)}return i}function $t(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function qt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Gt(e){return Wt(e)?function(e){var t=Oe.lastIndex=0;for(;Oe.test(e);)++t;return t}(e):bt(e)}function Yt(e){return Wt(e)?function(e){return e.match(Oe)||[]}(e):function(e){return e.split("")}(e)}function Ht(e){for(var t=e.length;t--&&K.test(e.charAt(t)););return t}var Kt=Pt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Zt=function e(t){var n,r=(t=null==t?Ye:Zt.defaults(Ye.Object(),t,Zt.pick(Ye,De))).Array,o=t.Date,K=t.Error,pe=t.Function,de=t.Math,me=t.Object,he=t.RegExp,ve=t.String,ge=t.TypeError,be=r.prototype,ye=pe.prototype,_e=me.prototype,we=t["__core-js_shared__"],ke=ye.toString,xe=_e.hasOwnProperty,Se=0,Ee=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Pe=_e.toString,Re=ke.call(me),Ie=Ye._,Be=he("^"+ke.call(xe).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Te=Ze?t.Buffer:void 0,Ae=t.Symbol,Oe=t.Uint8Array,Fe=Te?Te.allocUnsafe:void 0,Ue=Ut(me.getPrototypeOf,me),qe=me.create,Ge=_e.propertyIsEnumerable,He=be.splice,Ke=Ae?Ae.isConcatSpreadable:void 0,Xe=Ae?Ae.iterator:void 0,Je=Ae?Ae.toStringTag:void 0,bt=function(){try{var e=ti(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Pt=t.clearTimeout!==Ye.clearTimeout&&t.clearTimeout,Xt=o&&o.now!==Ye.Date.now&&o.now,Jt=t.setTimeout!==Ye.setTimeout&&t.setTimeout,Qt=de.ceil,en=de.floor,tn=me.getOwnPropertySymbols,nn=Te?Te.isBuffer:void 0,rn=t.isFinite,on=be.join,an=Ut(me.keys,me),cn=de.max,ln=de.min,un=o.now,sn=t.parseInt,fn=de.random,pn=be.reverse,dn=ti(t,"DataView"),mn=ti(t,"Map"),hn=ti(t,"Promise"),vn=ti(t,"Set"),gn=ti(t,"WeakMap"),bn=ti(me,"create"),yn=gn&&new gn,_n={},wn=Ii(dn),kn=Ii(mn),xn=Ii(hn),Sn=Ii(vn),En=Ii(gn),Pn=Ae?Ae.prototype:void 0,Rn=Pn?Pn.valueOf:void 0,In=Pn?Pn.toString:void 0;function Bn(e){if(qa(e)&&!Oa(e)&&!(e instanceof Cn)){if(e instanceof jn)return e;if(xe.call(e,"__wrapped__"))return Bi(e)}return new jn(e)}var Tn=function(){function e(){}return function(t){if(!$a(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Cn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function On(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Fn;++t<n;)this.add(e[t])}function Dn(e){var t=this.__data__=new Nn(e);this.size=t.size}function zn(e,t){var n=Oa(e),r=!n&&Ca(e),o=!n&&!r&&Da(e),i=!n&&!r&&!o&&Qa(e),a=n||r||o||i,c=a?Bt(e.length,ve):[],l=c.length;for(var u in e)!t&&!xe.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||li(u,l))||c.push(u);return c}function Wn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Mn(e,t){return Ei(yo(e),Zn(t,0,e.length))}function Un(e){return Ei(yo(e))}function Vn(e,t,n){(void 0!==n&&!Ta(e[t],n)||void 0===n&&!(t in e))&&Hn(e,t,n)}function $n(e,t,n){var r=e[t];xe.call(e,t)&&Ta(r,n)&&(void 0!==n||t in e)||Hn(e,t,n)}function qn(e,t){for(var n=e.length;n--;)if(Ta(e[n][0],t))return n;return-1}function Gn(e,t,n,r){return tr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Yn(e,t){return e&&_o(t,wc(t),e)}function Hn(e,t,n){"__proto__"==t&&bt?bt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Kn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:vc(e,t[n]);return i}function Zn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Xn(e,t,n,r,o,i){var a,c=1&t,u=2&t,p=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!$a(e))return e;var k=Oa(e);if(k){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&xe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return yo(e,a)}else{var C=oi(e),O=C==d||C==m;if(Da(e))return po(e,c);if(C==g||C==l||O&&!o){if(a=u||O?{}:ai(e),!c)return u?function(e,t){return _o(e,ri(e),t)}(e,function(e,t){return e&&_o(t,kc(t),e)}(a,e)):function(e,t){return _o(e,ni(e),t)}(e,Yn(a,e))}else{if(!Me[C])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case x:return mo(e);case s:case f:return new r(+e);case S:return function(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case E:case P:case R:case I:case B:case T:case"[object Uint8ClampedArray]":case A:case j:return ho(e,n);case h:return new r;case v:case _:return new r(e);case b:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case w:return o=e,Rn?me(Rn.call(o)):{}}var o}(e,C,c)}}i||(i=new Dn);var N=i.get(e);if(N)return N;i.set(e,a),Za(e)?e.forEach((function(r){a.add(Xn(r,t,n,r,e,i))})):Ga(e)&&e.forEach((function(r,o){a.set(o,Xn(r,t,n,o,e,i))}));var F=k?void 0:(p?u?Ho:Yo:u?kc:wc)(e);return ct(F||e,(function(r,o){F&&(r=e[o=r]),$n(a,o,Xn(r,t,n,o,e,i))})),a}function Jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ge(i);return wi((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,i=ft,a=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=dt(t,At(n))),r?(i=pt,a=!1):t.length>=200&&(i=Ct,a=!1,t=new Ln(t));e:for(;++o<c;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f==f){for(var p=u;p--;)if(t[p]===f)continue e;l.push(s)}else i(t,f,r)||l.push(s)}return l}Bn.templateSettings={escape:W,evaluate:M,interpolate:U,variable:"",imports:{_:Bn}},Bn.prototype=An.prototype,Bn.prototype.constructor=Bn,jn.prototype=Tn(An.prototype),jn.prototype.constructor=jn,Cn.prototype=Tn(An.prototype),Cn.prototype.constructor=Cn,On.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},On.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},On.prototype.get=function(e){var t=this.__data__;if(bn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return xe.call(t,e)?t[e]:void 0},On.prototype.has=function(e){var t=this.__data__;return bn?void 0!==t[e]:xe.call(t,e)},On.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=bn&&void 0===t?"__lodash_hash_undefined__":t,this},Nn.prototype.clear=function(){this.__data__=[],this.size=0},Nn.prototype.delete=function(e){var t=this.__data__,n=qn(t,e);return!(n<0)&&(n==t.length-1?t.pop():He.call(t,n,1),--this.size,!0)},Nn.prototype.get=function(e){var t=this.__data__,n=qn(t,e);return n<0?void 0:t[n][1]},Nn.prototype.has=function(e){return qn(this.__data__,e)>-1},Nn.prototype.set=function(e,t){var n=this.__data__,r=qn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new On,map:new(mn||Nn),string:new On}},Fn.prototype.delete=function(e){var t=Qo(this,e).delete(e);return this.size-=t?1:0,t},Fn.prototype.get=function(e){return Qo(this,e).get(e)},Fn.prototype.has=function(e){return Qo(this,e).has(e)},Fn.prototype.set=function(e,t){var n=Qo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.clear=function(){this.__data__=new Nn,this.size=0},Dn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Dn.prototype.get=function(e){return this.__data__.get(e)},Dn.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Nn){var r=n.__data__;if(!mn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fn(r)}return n.set(e,t),this.size=n.size,this};var tr=xo(ur),nr=xo(sr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function or(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===c?a==a&&!Ja(a):n(a,c)))var c=a,l=i}return l}function ir(e,t){var n=[];return tr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ar(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ci),o||(o=[]);++i<a;){var c=e[i];t>0&&n(c)?t>1?ar(c,t-1,n,r,o):mt(o,c):r||(o[o.length]=c)}return o}var cr=So(),lr=So(!0);function ur(e,t){return e&&cr(e,t,wc)}function sr(e,t){return e&&lr(e,t,wc)}function fr(e,t){return st(t,(function(t){return Ma(e[t])}))}function pr(e,t){for(var n=0,r=(t=lo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return Oa(e)?r:mt(r,n(e))}function mr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Je&&Je in me(e)?function(e){var t=xe.call(e,Je),n=e[Je];try{e[Je]=void 0;var r=!0}catch(e){}var o=Pe.call(e);r&&(t?e[Je]=n:delete e[Je]);return o}(e):function(e){return Pe.call(e)}(e)}function hr(e,t){return e>t}function vr(e,t){return null!=e&&xe.call(e,t)}function gr(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var o=n?pt:ft,i=e[0].length,a=e.length,c=a,l=r(a),u=1/0,s=[];c--;){var f=e[c];c&&t&&(f=dt(f,At(t))),u=ln(f.length,u),l[c]=!n&&(t||i>=120&&f.length>=120)?new Ln(c&&f):void 0}f=e[0];var p=-1,d=l[0];e:for(;++p<i&&s.length<u;){var m=f[p],h=t?t(m):m;if(m=n||0!==m?m:0,!(d?Ct(d,h):o(s,h,n))){for(c=a;--c;){var v=l[c];if(!(v?Ct(v,h):o(e[c],h,n)))continue e}d&&d.push(h),s.push(m)}}return s}function yr(e,t,n){var r=null==(e=gi(e,t=lo(t,e)))?e:e[Ri(Wi(t))];return null==r?void 0:it(r,e,n)}function _r(e){return qa(e)&&mr(e)==l}function wr(e,t,n,r,o){return e===t||(null==e||null==t||!qa(e)&&!qa(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Oa(e),c=Oa(t),d=a?u:oi(e),m=c?u:oi(t),k=(d=d==l?g:d)==g,E=(m=m==l?g:m)==g,P=d==m;if(P&&Da(e)){if(!Da(t))return!1;a=!0,k=!1}if(P&&!k)return i||(i=new Dn),a||Qa(e)?qo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!i(new Oe(e),new Oe(t)));case s:case f:case v:return Ta(+e,+t);case p:return e.name==t.name&&e.message==t.message;case b:case _:return e==t+"";case h:var c=Mt;case y:var l=1&r;if(c||(c=$t),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var d=qo(c(e),c(t),r,o,i,a);return a.delete(e),d;case w:if(Rn)return Rn.call(e)==Rn.call(t)}return!1}(e,t,d,n,r,o,i);if(!(1&n)){var R=k&&xe.call(e,"__wrapped__"),I=E&&xe.call(t,"__wrapped__");if(R||I){var B=R?e.value():e,T=I?t.value():t;return i||(i=new Dn),o(B,T,n,r,i)}}if(!P)return!1;return i||(i=new Dn),function(e,t,n,r,o,i){var a=1&n,c=Yo(e),l=c.length,u=Yo(t).length;if(l!=u&&!a)return!1;var s=l;for(;s--;){var f=c[s];if(!(a?f in t:xe.call(t,f)))return!1}var p=i.get(e),d=i.get(t);if(p&&d)return p==t&&d==e;var m=!0;i.set(e,t),i.set(t,e);var h=a;for(;++s<l;){f=c[s];var v=e[f],g=t[f];if(r)var b=a?r(g,v,f,t,e,i):r(v,g,f,e,t,i);if(!(void 0===b?v===g||o(v,g,n,r,i):b)){m=!1;break}h||(h="constructor"==f)}if(m&&!h){var y=e.constructor,_=t.constructor;y==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _||(m=!1)}return i.delete(e),i.delete(t),m}(e,t,n,r,o,i)}(e,t,n,r,wr,o))}function kr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=me(e);o--;){var c=n[o];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){var l=(c=n[o])[0],u=e[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in e))return!1}else{var f=new Dn;if(r)var p=r(u,s,l,e,t,f);if(!(void 0===p?wr(s,u,3,r,f):p))return!1}}return!0}function xr(e){return!(!$a(e)||(t=e,Ee&&Ee in t))&&(Ma(e)?Be:ae).test(Ii(e));var t}function Sr(e){return"function"==typeof e?e:null==e?Yc:"object"==typeof e?Oa(e)?Tr(e[0],e[1]):Br(e):nl(e)}function Er(e){if(!di(e))return an(e);var t=[];for(var n in me(e))xe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Pr(e){if(!$a(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=di(e),n=[];for(var r in e)("constructor"!=r||!t&&xe.call(e,r))&&n.push(r);return n}function Rr(e,t){return e<t}function Ir(e,t){var n=-1,o=Fa(e)?r(e.length):[];return tr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Br(e){var t=ei(e);return 1==t.length&&t[0][2]?hi(t[0][0],t[0][1]):function(n){return n===e||kr(n,e,t)}}function Tr(e,t){return si(e)&&mi(t)?hi(Ri(e),t):function(n){var r=vc(n,e);return void 0===r&&r===t?gc(n,e):wr(t,r,3)}}function Ar(e,t,n,r,o){e!==t&&cr(t,(function(i,a){if(o||(o=new Dn),$a(i))!function(e,t,n,r,o,i,a){var c=yi(e,n),l=yi(t,n),u=a.get(l);if(u)return void Vn(e,n,u);var s=i?i(c,l,n+"",e,t,a):void 0,f=void 0===s;if(f){var p=Oa(l),d=!p&&Da(l),m=!p&&!d&&Qa(l);s=l,p||d||m?Oa(c)?s=c:La(c)?s=yo(c):d?(f=!1,s=po(l,!0)):m?(f=!1,s=ho(l,!0)):s=[]:Ha(l)||Ca(l)?(s=c,Ca(c)?s=cc(c):$a(c)&&!Ma(c)||(s=ai(l))):f=!1}f&&(a.set(l,s),o(s,l,r,i,a),a.delete(l));Vn(e,n,s)}(e,t,a,n,Ar,r,o);else{var c=r?r(yi(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),Vn(e,a,c)}}),kc)}function jr(e,t){var n=e.length;if(n)return li(t+=t<0?n:0,n)?e[t]:void 0}function Cr(e,t,n){t=t.length?dt(t,(function(e){return Oa(e)?function(t){return pr(t,1===e.length?e[0]:e)}:e})):[Yc];var r=-1;return t=dt(t,At(Jo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Ir(e,(function(e,n,o){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,c=n.length;for(;++r<a;){var l=vo(o[r],i[r]);if(l){if(r>=c)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)}))}function Or(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],c=pr(e,a);n(c,a)&&Ur(i,lo(a,e),c)}return i}function Nr(e,t,n,r){var o=r?kt:wt,i=-1,a=t.length,c=e;for(e===t&&(t=yo(t)),n&&(c=dt(e,At(n)));++i<a;)for(var l=0,u=t[i],s=n?n(u):u;(l=o(c,s,l,r))>-1;)c!==e&&He.call(c,l,1),He.call(e,l,1);return e}function Fr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;li(o)?He.call(e,o,1):eo(e,o)}}return e}function Lr(e,t){return e+en(fn()*(t-e+1))}function Dr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function zr(e,t){return ki(vi(e,t,Yc),e+"")}function Wr(e){return Wn(Tc(e))}function Mr(e,t){var n=Tc(e);return Ei(n,Zn(t,0,n.length))}function Ur(e,t,n,r){if(!$a(e))return e;for(var o=-1,i=(t=lo(t,e)).length,a=i-1,c=e;null!=c&&++o<i;){var l=Ri(t[o]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var s=c[l];void 0===(u=r?r(s,l,c):void 0)&&(u=$a(s)?s:li(t[o+1])?[]:{})}$n(c,l,u),c=c[l]}return e}var Vr=yn?function(e,t){return yn.set(e,t),e}:Yc,$r=bt?function(e,t){return bt(e,"toString",{configurable:!0,enumerable:!1,value:$c(t),writable:!0})}:Yc;function qr(e){return Ei(Tc(e))}function Gr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Yr(e,t){var n;return tr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Hr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Ja(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Kr(e,t,Yc,n)}function Kr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,c=null===t,l=Ja(t),u=void 0===t;o<i;){var s=en((o+i)/2),f=n(e[s]),p=void 0!==f,d=null===f,m=f==f,h=Ja(f);if(a)var v=r||m;else v=u?m&&(r||p):c?m&&p&&(r||!d):l?m&&p&&!d&&(r||!h):!d&&!h&&(r?f<=t:f<t);v?o=s+1:i=s}return ln(i,4294967294)}function Zr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],c=t?t(a):a;if(!n||!Ta(c,l)){var l=c;i[o++]=0===a?0:a}}return i}function Xr(e){return"number"==typeof e?e:Ja(e)?NaN:+e}function Jr(e){if("string"==typeof e)return e;if(Oa(e))return dt(e,Jr)+"";if(Ja(e))return In?In.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qr(e,t,n){var r=-1,o=ft,i=e.length,a=!0,c=[],l=c;if(n)a=!1,o=pt;else if(i>=200){var u=t?null:zo(e);if(u)return $t(u);a=!1,o=Ct,l=new Ln}else l=t?[]:c;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),c.push(s)}else o(l,f,n)||(l!==c&&l.push(f),c.push(s))}return c}function eo(e,t){return null==(e=gi(e,t=lo(t,e)))||delete e[Ri(Wi(t))]}function to(e,t,n,r){return Ur(e,t,n(pr(e,t)),r)}function no(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Gr(e,r?0:i,r?i+1:o):Gr(e,r?i+1:0,r?o:i)}function ro(e,t){var n=e;return n instanceof Cn&&(n=n.value()),ht(t,(function(e,t){return t.func.apply(t.thisArg,mt([e],t.args))}),n)}function oo(e,t,n){var o=e.length;if(o<2)return o?Qr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var c=e[i],l=-1;++l<o;)l!=i&&(a[i]=er(a[i]||c,e[l],t,n));return Qr(ar(a,1),t,n)}function io(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var c=r<i?t[r]:void 0;n(a,e[r],c)}return a}function ao(e){return La(e)?e:[]}function co(e){return"function"==typeof e?e:Yc}function lo(e,t){return Oa(e)?e:si(e,t)?[e]:Pi(lc(e))}var uo=zr;function so(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Gr(e,t,n)}var fo=Pt||function(e){return Ye.clearTimeout(e)};function po(e,t){if(t)return e.slice();var n=e.length,r=Fe?Fe(n):new e.constructor(n);return e.copy(r),r}function mo(e){var t=new e.constructor(e.byteLength);return new Oe(t).set(new Oe(e)),t}function ho(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function vo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Ja(e),a=void 0!==t,c=null===t,l=t==t,u=Ja(t);if(!c&&!u&&!i&&e>t||i&&a&&l&&!c&&!u||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e<t||u&&n&&o&&!r&&!i||c&&n&&o||!a&&o||!l)return-1}return 0}function go(e,t,n,o){for(var i=-1,a=e.length,c=n.length,l=-1,u=t.length,s=cn(a-c,0),f=r(u+s),p=!o;++l<u;)f[l]=t[l];for(;++i<c;)(p||i<a)&&(f[n[i]]=e[i]);for(;s--;)f[l++]=e[i++];return f}function bo(e,t,n,o){for(var i=-1,a=e.length,c=-1,l=n.length,u=-1,s=t.length,f=cn(a-l,0),p=r(f+s),d=!o;++i<f;)p[i]=e[i];for(var m=i;++u<s;)p[m+u]=t[u];for(;++c<l;)(d||i<a)&&(p[m+n[c]]=e[i++]);return p}function yo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function _o(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var c=t[i],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),o?Hn(n,c,l):$n(n,c,l)}return n}function wo(e,t){return function(n,r){var o=Oa(n)?at:Gn,i=t?t():{};return o(n,e,Jo(r,2),i)}}function ko(e){return zr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=me(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}function xo(e,t){return function(n,r){if(null==n)return n;if(!Fa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=me(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function So(e){return function(t,n,r){for(var o=-1,i=me(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}function Eo(e){return function(t){var n=Wt(t=lc(t))?Yt(t):void 0,r=n?n[0]:t.charAt(0),o=n?so(n,1).join(""):t.slice(1);return r[e]()+o}}function Po(e){return function(t){return ht(Mc(Cc(t).replace(je,"")),e,"")}}function Ro(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Tn(e.prototype),r=e.apply(n,t);return $a(r)?r:n}}function Io(e){return function(t,n,r){var o=me(t);if(!Fa(t)){var i=Jo(n,3);t=wc(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function Bo(e){return Go((function(t){var n=t.length,r=n,o=jn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(i);if(o&&!c&&"wrapper"==Zo(a))var c=new jn([],!0)}for(r=c?r:n;++r<n;){var l=Zo(a=t[r]),u="wrapper"==l?Ko(a):void 0;c=u&&fi(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[Zo(u[0])].apply(c,u[3]):1==a.length&&fi(a)?c[l]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Oa(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function To(e,t,n,o,i,a,c,l,u,s){var f=128&t,p=1&t,d=2&t,m=24&t,h=512&t,v=d?void 0:Ro(e);return function g(){for(var b=arguments.length,y=r(b),_=b;_--;)y[_]=arguments[_];if(m)var w=Xo(g),k=Ft(y,w);if(o&&(y=go(y,o,i,m)),a&&(y=bo(y,a,c,m)),b-=k,m&&b<s){var x=Vt(y,w);return Lo(e,t,To,g.placeholder,n,y,x,l,u,s-b)}var S=p?n:this,E=d?S[e]:e;return b=y.length,l?y=bi(y,l):h&&b>1&&y.reverse(),f&&u<b&&(y.length=u),this&&this!==Ye&&this instanceof g&&(E=v||Ro(E)),E.apply(S,y)}}function Ao(e,t){return function(n,r){return function(e,t,n,r){return ur(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Jr(n),r=Jr(r)):(n=Xr(n),r=Xr(r)),o=e(n,r)}return o}}function Co(e){return Go((function(t){return t=dt(t,At(Jo())),zr((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function Oo(e,t){var n=(t=void 0===t?" ":Jr(t)).length;if(n<2)return n?Dr(t,e):t;var r=Dr(t,Qt(e/Gt(t)));return Wt(t)?so(Yt(r),0,e).join(""):r.slice(0,e)}function No(e){return function(t,n,o){return o&&"number"!=typeof o&&ui(t,n,o)&&(n=o=void 0),t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n,o){for(var i=-1,a=cn(Qt((t-e)/(n||1)),0),c=r(a);a--;)c[o?a:++i]=e,e+=n;return c}(t,n,o=void 0===o?t<n?1:-1:rc(o),e)}}function Fo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ac(t),n=ac(n)),e(t,n)}}function Lo(e,t,n,r,o,i,a,c,l,u){var s=8&t;t|=s?32:64,4&(t&=~(s?64:32))||(t&=-4);var f=[e,t,o,s?i:void 0,s?a:void 0,s?void 0:i,s?void 0:a,c,l,u],p=n.apply(void 0,f);return fi(e)&&_i(p,f),p.placeholder=r,xi(p,e,t)}function Do(e){var t=de[e];return function(e,n){if(e=ac(e),(n=null==n?0:ln(oc(n),292))&&rn(e)){var r=(lc(e)+"e").split("e");return+((r=(lc(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var zo=vn&&1/$t(new vn([,-0]))[1]==1/0?function(e){return new vn(e)}:Jc;function Wo(e){return function(t){var n=oi(t);return n==h?Mt(t):n==y?qt(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Mo(e,t,n,o,c,l,u,s){var f=2&t;if(!f&&"function"!=typeof e)throw new ge(i);var p=o?o.length:0;if(p||(t&=-97,o=c=void 0),u=void 0===u?u:cn(oc(u),0),s=void 0===s?s:oc(s),p-=c?c.length:0,64&t){var d=o,m=c;o=c=void 0}var h=f?void 0:Ko(e),v=[e,t,n,o,c,d,m,l,u,s];if(h&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,c=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!c)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?go(u,l,t[4]):l,e[4]=u?Vt(e[3],a):t[4]}(l=t[5])&&(u=e[5],e[5]=u?bo(u,l,t[6]):l,e[6]=u?Vt(e[5],a):t[6]);(l=t[7])&&(e[7]=l);128&r&&(e[8]=null==e[8]?t[8]:ln(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(v,h),e=v[0],t=v[1],n=v[2],o=v[3],c=v[4],!(s=v[9]=void 0===v[9]?f?0:e.length:cn(v[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,n){var o=Ro(e);return function i(){for(var a=arguments.length,c=r(a),l=a,u=Xo(i);l--;)c[l]=arguments[l];var s=a<3&&c[0]!==u&&c[a-1]!==u?[]:Vt(c,u);if((a-=s.length)<n)return Lo(e,t,To,i.placeholder,void 0,c,s,void 0,void 0,n-a);var f=this&&this!==Ye&&this instanceof i?o:e;return it(f,this,c)}}(e,t,s):32!=t&&33!=t||c.length?To.apply(void 0,v):function(e,t,n,o){var i=1&t,a=Ro(e);return function t(){for(var c=-1,l=arguments.length,u=-1,s=o.length,f=r(s+l),p=this&&this!==Ye&&this instanceof t?a:e;++u<s;)f[u]=o[u];for(;l--;)f[u++]=arguments[++c];return it(p,i?n:this,f)}}(e,t,n,o);else var g=function(e,t,n){var r=1&t,o=Ro(e);return function t(){var i=this&&this!==Ye&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return xi((h?Vr:_i)(g,v),e,t)}function Uo(e,t,n,r){return void 0===e||Ta(e,_e[n])&&!xe.call(r,n)?t:e}function Vo(e,t,n,r,o,i){return $a(e)&&$a(t)&&(i.set(t,e),Ar(e,t,void 0,Vo,i),i.delete(t)),e}function $o(e){return Ha(e)?void 0:e}function qo(e,t,n,r,o,i){var a=1&n,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=i.get(e),s=i.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,d=2&n?new Ln:void 0;for(i.set(e,t),i.set(t,e);++f<c;){var m=e[f],h=t[f];if(r)var v=a?r(h,m,f,t,e,i):r(m,h,f,e,t,i);if(void 0!==v){if(v)continue;p=!1;break}if(d){if(!gt(t,(function(e,t){if(!Ct(d,t)&&(m===e||o(m,e,n,r,i)))return d.push(t)}))){p=!1;break}}else if(m!==h&&!o(m,h,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function Go(e){return ki(vi(e,void 0,Ni),e+"")}function Yo(e){return dr(e,wc,ni)}function Ho(e){return dr(e,kc,ri)}var Ko=yn?function(e){return yn.get(e)}:Jc;function Zo(e){for(var t=e.name+"",n=_n[t],r=xe.call(_n,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Xo(e){return(xe.call(Bn,"placeholder")?Bn:e).placeholder}function Jo(){var e=Bn.iteratee||Hc;return e=e===Hc?Sr:e,arguments.length?e(arguments[0],arguments[1]):e}function Qo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ei(e){for(var t=wc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,mi(o)]}return t}function ti(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return xr(n)?n:void 0}var ni=tn?function(e){return null==e?[]:(e=me(e),st(tn(e),(function(t){return Ge.call(e,t)})))}:il,ri=tn?function(e){for(var t=[];e;)mt(t,ni(e)),e=Ue(e);return t}:il,oi=mr;function ii(e,t,n){for(var r=-1,o=(t=lo(t,e)).length,i=!1;++r<o;){var a=Ri(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Va(o)&&li(a,o)&&(Oa(e)||Ca(e))}function ai(e){return"function"!=typeof e.constructor||di(e)?{}:Tn(Ue(e))}function ci(e){return Oa(e)||Ca(e)||!!(Ke&&e&&e[Ke])}function li(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&le.test(e))&&e>-1&&e%1==0&&e<t}function ui(e,t,n){if(!$a(n))return!1;var r=typeof t;return!!("number"==r?Fa(n)&&li(t,n.length):"string"==r&&t in n)&&Ta(n[t],e)}function si(e,t){if(Oa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ja(e))||($.test(e)||!V.test(e)||null!=t&&e in me(t))}function fi(e){var t=Zo(e),n=Bn[t];if("function"!=typeof n||!(t in Cn.prototype))return!1;if(e===n)return!0;var r=Ko(n);return!!r&&e===r[0]}(dn&&oi(new dn(new ArrayBuffer(1)))!=S||mn&&oi(new mn)!=h||hn&&"[object Promise]"!=oi(hn.resolve())||vn&&oi(new vn)!=y||gn&&oi(new gn)!=k)&&(oi=function(e){var t=mr(e),n=t==g?e.constructor:void 0,r=n?Ii(n):"";if(r)switch(r){case wn:return S;case kn:return h;case xn:return"[object Promise]";case Sn:return y;case En:return k}return t});var pi=we?Ma:al;function di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function mi(e){return e==e&&!$a(e)}function hi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in me(n)))}}function vi(e,t,n){return t=cn(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=cn(o.length-t,0),c=r(a);++i<a;)c[i]=o[t+i];i=-1;for(var l=r(t+1);++i<t;)l[i]=o[i];return l[t]=n(c),it(e,this,l)}}function gi(e,t){return t.length<2?e:pr(e,Gr(t,0,-1))}function bi(e,t){for(var n=e.length,r=ln(t.length,n),o=yo(e);r--;){var i=t[r];e[r]=li(i,n)?o[i]:void 0}return e}function yi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var _i=Si(Vr),wi=Jt||function(e,t){return Ye.setTimeout(e,t)},ki=Si($r);function xi(e,t,n){var r=t+"";return ki(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return ct(c,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(J):[]}(r),n)))}function Si(e){var t=0,n=0;return function(){var r=un(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ei(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Lr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Pi=function(e){var t=Sa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(q,(function(e,n,r,o){t.push(r?o.replace(te,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||Ja(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ii(e){if(null!=e){try{return ke.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Bi(e){if(e instanceof Cn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=yo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ti=zr((function(e,t){return La(e)?er(e,ar(t,1,La,!0)):[]})),Ai=zr((function(e,t){var n=Wi(t);return La(n)&&(n=void 0),La(e)?er(e,ar(t,1,La,!0),Jo(n,2)):[]})),ji=zr((function(e,t){var n=Wi(t);return La(n)&&(n=void 0),La(e)?er(e,ar(t,1,La,!0),void 0,n):[]}));function Ci(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),_t(e,Jo(t,3),o)}function Oi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=oc(n),o=n<0?cn(r+o,0):ln(o,r-1)),_t(e,Jo(t,3),o,!0)}function Ni(e){return(null==e?0:e.length)?ar(e,1):[]}function Fi(e){return e&&e.length?e[0]:void 0}var Li=zr((function(e){var t=dt(e,ao);return t.length&&t[0]===e[0]?br(t):[]})),Di=zr((function(e){var t=Wi(e),n=dt(e,ao);return t===Wi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Jo(t,2)):[]})),zi=zr((function(e){var t=Wi(e),n=dt(e,ao);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function Wi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Mi=zr(Ui);function Ui(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Vi=Go((function(e,t){var n=null==e?0:e.length,r=Kn(e,t);return Fr(e,dt(t,(function(e){return li(e,n)?+e:e})).sort(vo)),r}));function $i(e){return null==e?e:pn.call(e)}var qi=zr((function(e){return Qr(ar(e,1,La,!0))})),Gi=zr((function(e){var t=Wi(e);return La(t)&&(t=void 0),Qr(ar(e,1,La,!0),Jo(t,2))})),Yi=zr((function(e){var t=Wi(e);return t="function"==typeof t?t:void 0,Qr(ar(e,1,La,!0),void 0,t)}));function Hi(e){if(!e||!e.length)return[];var t=0;return e=st(e,(function(e){if(La(e))return t=cn(e.length,t),!0})),Bt(t,(function(t){return dt(e,Et(t))}))}function Ki(e,t){if(!e||!e.length)return[];var n=Hi(e);return null==t?n:dt(n,(function(e){return it(t,void 0,e)}))}var Zi=zr((function(e,t){return La(e)?er(e,t):[]})),Xi=zr((function(e){return oo(st(e,La))})),Ji=zr((function(e){var t=Wi(e);return La(t)&&(t=void 0),oo(st(e,La),Jo(t,2))})),Qi=zr((function(e){var t=Wi(e);return t="function"==typeof t?t:void 0,oo(st(e,La),void 0,t)})),ea=zr(Hi);var ta=zr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Ki(e,n)}));function na(e){var t=Bn(e);return t.__chain__=!0,t}function ra(e,t){return t(e)}var oa=Go((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Kn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Cn&&li(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ra,args:[o],thisArg:void 0}),new jn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var ia=wo((function(e,t,n){xe.call(e,n)?++e[n]:Hn(e,n,1)}));var aa=Io(Ci),ca=Io(Oi);function la(e,t){return(Oa(e)?ct:tr)(e,Jo(t,3))}function ua(e,t){return(Oa(e)?lt:nr)(e,Jo(t,3))}var sa=wo((function(e,t,n){xe.call(e,n)?e[n].push(t):Hn(e,n,[t])}));var fa=zr((function(e,t,n){var o=-1,i="function"==typeof t,a=Fa(e)?r(e.length):[];return tr(e,(function(e){a[++o]=i?it(t,e,n):yr(e,t,n)})),a})),pa=wo((function(e,t,n){Hn(e,n,t)}));function da(e,t){return(Oa(e)?dt:Ir)(e,Jo(t,3))}var ma=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ha=zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ui(e,t[0],t[1])?t=[]:n>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Cr(e,ar(t,1),[])})),va=Xt||function(){return Ye.Date.now()};function ga(e,t,n){return t=n?void 0:t,Mo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ba(e,t){var n;if("function"!=typeof t)throw new ge(i);return e=oc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ya=zr((function(e,t,n){var r=1;if(n.length){var o=Vt(n,Xo(ya));r|=32}return Mo(e,r,t,n,o)})),_a=zr((function(e,t,n){var r=3;if(n.length){var o=Vt(n,Xo(_a));r|=32}return Mo(t,r,e,n,o)}));function wa(e,t,n){var r,o,a,c,l,u,s=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new ge(i);function m(t){var n=r,i=o;return r=o=void 0,s=t,c=e.apply(i,n)}function h(e){return s=e,l=wi(g,t),f?m(e):c}function v(e){var n=e-u;return void 0===u||n>=t||n<0||p&&e-s>=a}function g(){var e=va();if(v(e))return b(e);l=wi(g,function(e){var n=t-(e-u);return p?ln(n,a-(e-s)):n}(e))}function b(e){return l=void 0,d&&r?m(e):(r=o=void 0,c)}function y(){var e=va(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===l)return h(u);if(p)return fo(l),l=wi(g,t),m(u)}return void 0===l&&(l=wi(g,t)),c}return t=ac(t)||0,$a(n)&&(f=!!n.leading,a=(p="maxWait"in n)?cn(ac(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==l&&fo(l),s=0,r=u=o=l=void 0},y.flush=function(){return void 0===l?c:b(va())},y}var ka=zr((function(e,t){return Qn(e,1,t)})),xa=zr((function(e,t,n){return Qn(e,ac(t)||0,n)}));function Sa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Sa.Cache||Fn),n}function Ea(e){if("function"!=typeof e)throw new ge(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Sa.Cache=Fn;var Pa=uo((function(e,t){var n=(t=1==t.length&&Oa(t[0])?dt(t[0],At(Jo())):dt(ar(t,1),At(Jo()))).length;return zr((function(r){for(var o=-1,i=ln(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return it(e,this,r)}))})),Ra=zr((function(e,t){return Mo(e,32,void 0,t,Vt(t,Xo(Ra)))})),Ia=zr((function(e,t){return Mo(e,64,void 0,t,Vt(t,Xo(Ia)))})),Ba=Go((function(e,t){return Mo(e,256,void 0,void 0,void 0,t)}));function Ta(e,t){return e===t||e!=e&&t!=t}var Aa=Fo(hr),ja=Fo((function(e,t){return e>=t})),Ca=_r(function(){return arguments}())?_r:function(e){return qa(e)&&xe.call(e,"callee")&&!Ge.call(e,"callee")},Oa=r.isArray,Na=Qe?At(Qe):function(e){return qa(e)&&mr(e)==x};function Fa(e){return null!=e&&Va(e.length)&&!Ma(e)}function La(e){return qa(e)&&Fa(e)}var Da=nn||al,za=et?At(et):function(e){return qa(e)&&mr(e)==f};function Wa(e){if(!qa(e))return!1;var t=mr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ha(e)}function Ma(e){if(!$a(e))return!1;var t=mr(e);return t==d||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ua(e){return"number"==typeof e&&e==oc(e)}function Va(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function $a(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qa(e){return null!=e&&"object"==typeof e}var Ga=tt?At(tt):function(e){return qa(e)&&oi(e)==h};function Ya(e){return"number"==typeof e||qa(e)&&mr(e)==v}function Ha(e){if(!qa(e)||mr(e)!=g)return!1;var t=Ue(e);if(null===t)return!0;var n=xe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ke.call(n)==Re}var Ka=nt?At(nt):function(e){return qa(e)&&mr(e)==b};var Za=rt?At(rt):function(e){return qa(e)&&oi(e)==y};function Xa(e){return"string"==typeof e||!Oa(e)&&qa(e)&&mr(e)==_}function Ja(e){return"symbol"==typeof e||qa(e)&&mr(e)==w}var Qa=ot?At(ot):function(e){return qa(e)&&Va(e.length)&&!!We[mr(e)]};var ec=Fo(Rr),tc=Fo((function(e,t){return e<=t}));function nc(e){if(!e)return[];if(Fa(e))return Xa(e)?Yt(e):yo(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=oi(e);return(t==h?Mt:t==y?$t:Tc)(e)}function rc(e){return e?(e=ac(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function oc(e){var t=rc(e),n=t%1;return t==t?n?t-n:t:0}function ic(e){return e?Zn(oc(e),0,4294967295):0}function ac(e){if("number"==typeof e)return e;if(Ja(e))return NaN;if($a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Tt(e);var n=ie.test(e);return n||ce.test(e)?$e(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function cc(e){return _o(e,kc(e))}function lc(e){return null==e?"":Jr(e)}var uc=ko((function(e,t){if(di(t)||Fa(t))_o(t,wc(t),e);else for(var n in t)xe.call(t,n)&&$n(e,n,t[n])})),sc=ko((function(e,t){_o(t,kc(t),e)})),fc=ko((function(e,t,n,r){_o(t,kc(t),e,r)})),pc=ko((function(e,t,n,r){_o(t,wc(t),e,r)})),dc=Go(Kn);var mc=zr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ui(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=kc(i),c=-1,l=a.length;++c<l;){var u=a[c],s=e[u];(void 0===s||Ta(s,_e[u])&&!xe.call(e,u))&&(e[u]=i[u])}return e})),hc=zr((function(e){return e.push(void 0,Vo),it(Sc,void 0,e)}));function vc(e,t,n){var r=null==e?void 0:pr(e,t);return void 0===r?n:r}function gc(e,t){return null!=e&&ii(e,t,gr)}var bc=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),e[t]=n}),$c(Yc)),yc=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),xe.call(e,t)?e[t].push(n):e[t]=[n]}),Jo),_c=zr(yr);function wc(e){return Fa(e)?zn(e):Er(e)}function kc(e){return Fa(e)?zn(e,!0):Pr(e)}var xc=ko((function(e,t,n){Ar(e,t,n)})),Sc=ko((function(e,t,n,r){Ar(e,t,n,r)})),Ec=Go((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=lo(t,e),r||(r=t.length>1),t})),_o(e,Ho(e),n),r&&(n=Xn(n,7,$o));for(var o=t.length;o--;)eo(n,t[o]);return n}));var Pc=Go((function(e,t){return null==e?{}:function(e,t){return Or(e,t,(function(t,n){return gc(e,n)}))}(e,t)}));function Rc(e,t){if(null==e)return{};var n=dt(Ho(e),(function(e){return[e]}));return t=Jo(t),Or(e,n,(function(e,n){return t(e,n[0])}))}var Ic=Wo(wc),Bc=Wo(kc);function Tc(e){return null==e?[]:jt(e,wc(e))}var Ac=Po((function(e,t,n){return t=t.toLowerCase(),e+(n?jc(t):t)}));function jc(e){return Wc(lc(e).toLowerCase())}function Cc(e){return(e=lc(e))&&e.replace(ue,Lt).replace(Ce,"")}var Oc=Po((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Nc=Po((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Fc=Eo("toLowerCase");var Lc=Po((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Dc=Po((function(e,t,n){return e+(n?" ":"")+Wc(t)}));var zc=Po((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Wc=Eo("toUpperCase");function Mc(e,t,n){return e=lc(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.match(Q)||[]}(e):e.match(t)||[]}var Uc=zr((function(e,t){try{return it(e,void 0,t)}catch(e){return Wa(e)?e:new K(e)}})),Vc=Go((function(e,t){return ct(t,(function(t){t=Ri(t),Hn(e,t,ya(e[t],e))})),e}));function $c(e){return function(){return e}}var qc=Bo(),Gc=Bo(!0);function Yc(e){return e}function Hc(e){return Sr("function"==typeof e?e:Xn(e,1))}var Kc=zr((function(e,t){return function(n){return yr(n,e,t)}})),Zc=zr((function(e,t){return function(n){return yr(e,n,t)}}));function Xc(e,t,n){var r=wc(t),o=fr(t,r);null!=n||$a(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=fr(t,wc(t)));var i=!($a(n)&&"chain"in n&&!n.chain),a=Ma(e);return ct(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=yo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,mt([this.value()],arguments))})})),e}function Jc(){}var Qc=Co(dt),el=Co(ut),tl=Co(gt);function nl(e){return si(e)?Et(Ri(e)):function(e){return function(t){return pr(t,e)}}(e)}var rl=No(),ol=No(!0);function il(){return[]}function al(){return!1}var cl=jo((function(e,t){return e+t}),0),ll=Do("ceil"),ul=jo((function(e,t){return e/t}),1),sl=Do("floor");var fl,pl=jo((function(e,t){return e*t}),1),dl=Do("round"),ml=jo((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new ge(i);return e=oc(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=ga,Bn.assign=uc,Bn.assignIn=sc,Bn.assignInWith=fc,Bn.assignWith=pc,Bn.at=dc,Bn.before=ba,Bn.bind=ya,Bn.bindAll=Vc,Bn.bindKey=_a,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Oa(e)?e:[e]},Bn.chain=na,Bn.chunk=function(e,t,n){t=(n?ui(e,t,n):void 0===t)?1:cn(oc(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,c=r(Qt(o/t));i<o;)c[a++]=Gr(e,i,i+=t);return c},Bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return mt(Oa(n)?yo(n):[n],ar(t,1))},Bn.cond=function(e){var t=null==e?0:e.length,n=Jo();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new ge(i);return[n(e[0]),e[1]]})):[],zr((function(n){for(var r=-1;++r<t;){var o=e[r];if(it(o[0],this,n))return it(o[1],this,n)}}))},Bn.conforms=function(e){return function(e){var t=wc(e);return function(n){return Jn(n,e,t)}}(Xn(e,1))},Bn.constant=$c,Bn.countBy=ia,Bn.create=function(e,t){var n=Tn(e);return null==t?n:Yn(n,t)},Bn.curry=function e(t,n,r){var o=Mo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Bn.curryRight=function e(t,n,r){var o=Mo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Bn.debounce=wa,Bn.defaults=mc,Bn.defaultsDeep=hc,Bn.defer=ka,Bn.delay=xa,Bn.difference=Ti,Bn.differenceBy=Ai,Bn.differenceWith=ji,Bn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=n||void 0===t?1:oc(t))<0?0:t,r):[]},Bn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,0,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t):[]},Bn.dropRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0,!0):[]},Bn.dropWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0):[]},Bn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&ui(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=oc(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:oc(r))<0&&(r+=o),r=n>r?0:ic(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Bn.filter=function(e,t){return(Oa(e)?st:ir)(e,Jo(t,3))},Bn.flatMap=function(e,t){return ar(da(e,t),1)},Bn.flatMapDeep=function(e,t){return ar(da(e,t),1/0)},Bn.flatMapDepth=function(e,t,n){return n=void 0===n?1:oc(n),ar(da(e,t),n)},Bn.flatten=Ni,Bn.flattenDeep=function(e){return(null==e?0:e.length)?ar(e,1/0):[]},Bn.flattenDepth=function(e,t){return(null==e?0:e.length)?ar(e,t=void 0===t?1:oc(t)):[]},Bn.flip=function(e){return Mo(e,512)},Bn.flow=qc,Bn.flowRight=Gc,Bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Bn.functions=function(e){return null==e?[]:fr(e,wc(e))},Bn.functionsIn=function(e){return null==e?[]:fr(e,kc(e))},Bn.groupBy=sa,Bn.initial=function(e){return(null==e?0:e.length)?Gr(e,0,-1):[]},Bn.intersection=Li,Bn.intersectionBy=Di,Bn.intersectionWith=zi,Bn.invert=bc,Bn.invertBy=yc,Bn.invokeMap=fa,Bn.iteratee=Hc,Bn.keyBy=pa,Bn.keys=wc,Bn.keysIn=kc,Bn.map=da,Bn.mapKeys=function(e,t){var n={};return t=Jo(t,3),ur(e,(function(e,r,o){Hn(n,t(e,r,o),e)})),n},Bn.mapValues=function(e,t){var n={};return t=Jo(t,3),ur(e,(function(e,r,o){Hn(n,r,t(e,r,o))})),n},Bn.matches=function(e){return Br(Xn(e,1))},Bn.matchesProperty=function(e,t){return Tr(e,Xn(t,1))},Bn.memoize=Sa,Bn.merge=xc,Bn.mergeWith=Sc,Bn.method=Kc,Bn.methodOf=Zc,Bn.mixin=Xc,Bn.negate=Ea,Bn.nthArg=function(e){return e=oc(e),zr((function(t){return jr(t,e)}))},Bn.omit=Ec,Bn.omitBy=function(e,t){return Rc(e,Ea(Jo(t)))},Bn.once=function(e){return ba(2,e)},Bn.orderBy=function(e,t,n,r){return null==e?[]:(Oa(t)||(t=null==t?[]:[t]),Oa(n=r?void 0:n)||(n=null==n?[]:[n]),Cr(e,t,n))},Bn.over=Qc,Bn.overArgs=Pa,Bn.overEvery=el,Bn.overSome=tl,Bn.partial=Ra,Bn.partialRight=Ia,Bn.partition=ma,Bn.pick=Pc,Bn.pickBy=Rc,Bn.property=nl,Bn.propertyOf=function(e){return function(t){return null==e?void 0:pr(e,t)}},Bn.pull=Mi,Bn.pullAll=Ui,Bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Jo(n,2)):e},Bn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},Bn.pullAt=Vi,Bn.range=rl,Bn.rangeRight=ol,Bn.rearg=Ba,Bn.reject=function(e,t){return(Oa(e)?st:ir)(e,Ea(Jo(t,3)))},Bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Jo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Fr(e,o),n},Bn.rest=function(e,t){if("function"!=typeof e)throw new ge(i);return zr(e,t=void 0===t?t:oc(t))},Bn.reverse=$i,Bn.sampleSize=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:oc(t),(Oa(e)?Mn:Mr)(e,t)},Bn.set=function(e,t,n){return null==e?e:Ur(e,t,n)},Bn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Ur(e,t,n,r)},Bn.shuffle=function(e){return(Oa(e)?Un:qr)(e)},Bn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ui(e,t,n)?(t=0,n=r):(t=null==t?0:oc(t),n=void 0===n?r:oc(n)),Gr(e,t,n)):[]},Bn.sortBy=ha,Bn.sortedUniq=function(e){return e&&e.length?Zr(e):[]},Bn.sortedUniqBy=function(e,t){return e&&e.length?Zr(e,Jo(t,2)):[]},Bn.split=function(e,t,n){return n&&"number"!=typeof n&&ui(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=lc(e))&&("string"==typeof t||null!=t&&!Ka(t))&&!(t=Jr(t))&&Wt(e)?so(Yt(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new ge(i);return t=null==t?0:cn(oc(t),0),zr((function(n){var r=n[t],o=so(n,0,t);return r&&mt(o,r),it(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?Gr(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?Gr(e,0,(t=n||void 0===t?1:oc(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?no(e,Jo(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ge(i);return $a(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wa(e,t,{leading:r,maxWait:t,trailing:o})},Bn.thru=ra,Bn.toArray=nc,Bn.toPairs=Ic,Bn.toPairsIn=Bc,Bn.toPath=function(e){return Oa(e)?dt(e,Ri):Ja(e)?[e]:yo(Pi(lc(e)))},Bn.toPlainObject=cc,Bn.transform=function(e,t,n){var r=Oa(e),o=r||Da(e)||Qa(e);if(t=Jo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:$a(e)&&Ma(i)?Tn(Ue(e)):{}}return(o?ct:ur)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return ga(e,1)},Bn.union=qi,Bn.unionBy=Gi,Bn.unionWith=Yi,Bn.uniq=function(e){return e&&e.length?Qr(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?Qr(e,Jo(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},Bn.unset=function(e,t){return null==e||eo(e,t)},Bn.unzip=Hi,Bn.unzipWith=Ki,Bn.update=function(e,t,n){return null==e?e:to(e,t,co(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,co(n),r)},Bn.values=Tc,Bn.valuesIn=function(e){return null==e?[]:jt(e,kc(e))},Bn.without=Zi,Bn.words=Mc,Bn.wrap=function(e,t){return Ra(co(t),e)},Bn.xor=Xi,Bn.xorBy=Ji,Bn.xorWith=Qi,Bn.zip=ea,Bn.zipObject=function(e,t){return io(e||[],t||[],$n)},Bn.zipObjectDeep=function(e,t){return io(e||[],t||[],Ur)},Bn.zipWith=ta,Bn.entries=Ic,Bn.entriesIn=Bc,Bn.extend=sc,Bn.extendWith=fc,Xc(Bn,Bn),Bn.add=cl,Bn.attempt=Uc,Bn.camelCase=Ac,Bn.capitalize=jc,Bn.ceil=ll,Bn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=ac(n))==n?n:0),void 0!==t&&(t=(t=ac(t))==t?t:0),Zn(ac(e),t,n)},Bn.clone=function(e){return Xn(e,4)},Bn.cloneDeep=function(e){return Xn(e,5)},Bn.cloneDeepWith=function(e,t){return Xn(e,5,t="function"==typeof t?t:void 0)},Bn.cloneWith=function(e,t){return Xn(e,4,t="function"==typeof t?t:void 0)},Bn.conformsTo=function(e,t){return null==t||Jn(e,t,wc(t))},Bn.deburr=Cc,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=ul,Bn.endsWith=function(e,t,n){e=lc(e),t=Jr(t);var r=e.length,o=n=void 0===n?r:Zn(oc(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Bn.eq=Ta,Bn.escape=function(e){return(e=lc(e))&&z.test(e)?e.replace(L,Dt):e},Bn.escapeRegExp=function(e){return(e=lc(e))&&Y.test(e)?e.replace(G,"\\$&"):e},Bn.every=function(e,t,n){var r=Oa(e)?ut:rr;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Bn.find=aa,Bn.findIndex=Ci,Bn.findKey=function(e,t){return yt(e,Jo(t,3),ur)},Bn.findLast=ca,Bn.findLastIndex=Oi,Bn.findLastKey=function(e,t){return yt(e,Jo(t,3),sr)},Bn.floor=sl,Bn.forEach=la,Bn.forEachRight=ua,Bn.forIn=function(e,t){return null==e?e:cr(e,Jo(t,3),kc)},Bn.forInRight=function(e,t){return null==e?e:lr(e,Jo(t,3),kc)},Bn.forOwn=function(e,t){return e&&ur(e,Jo(t,3))},Bn.forOwnRight=function(e,t){return e&&sr(e,Jo(t,3))},Bn.get=vc,Bn.gt=Aa,Bn.gte=ja,Bn.has=function(e,t){return null!=e&&ii(e,t,vr)},Bn.hasIn=gc,Bn.head=Fi,Bn.identity=Yc,Bn.includes=function(e,t,n,r){e=Fa(e)?e:Tc(e),n=n&&!r?oc(n):0;var o=e.length;return n<0&&(n=cn(o+n,0)),Xa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&wt(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),wt(e,t,o)},Bn.inRange=function(e,t,n){return t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n){return e>=ln(t,n)&&e<cn(t,n)}(e=ac(e),t,n)},Bn.invoke=_c,Bn.isArguments=Ca,Bn.isArray=Oa,Bn.isArrayBuffer=Na,Bn.isArrayLike=Fa,Bn.isArrayLikeObject=La,Bn.isBoolean=function(e){return!0===e||!1===e||qa(e)&&mr(e)==s},Bn.isBuffer=Da,Bn.isDate=za,Bn.isElement=function(e){return qa(e)&&1===e.nodeType&&!Ha(e)},Bn.isEmpty=function(e){if(null==e)return!0;if(Fa(e)&&(Oa(e)||"string"==typeof e||"function"==typeof e.splice||Da(e)||Qa(e)||Ca(e)))return!e.length;var t=oi(e);if(t==h||t==y)return!e.size;if(di(e))return!Er(e).length;for(var n in e)if(xe.call(e,n))return!1;return!0},Bn.isEqual=function(e,t){return wr(e,t)},Bn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},Bn.isError=Wa,Bn.isFinite=function(e){return"number"==typeof e&&rn(e)},Bn.isFunction=Ma,Bn.isInteger=Ua,Bn.isLength=Va,Bn.isMap=Ga,Bn.isMatch=function(e,t){return e===t||kr(e,t,ei(t))},Bn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,kr(e,t,ei(t),n)},Bn.isNaN=function(e){return Ya(e)&&e!=+e},Bn.isNative=function(e){if(pi(e))throw new K("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return xr(e)},Bn.isNil=function(e){return null==e},Bn.isNull=function(e){return null===e},Bn.isNumber=Ya,Bn.isObject=$a,Bn.isObjectLike=qa,Bn.isPlainObject=Ha,Bn.isRegExp=Ka,Bn.isSafeInteger=function(e){return Ua(e)&&e>=-9007199254740991&&e<=9007199254740991},Bn.isSet=Za,Bn.isString=Xa,Bn.isSymbol=Ja,Bn.isTypedArray=Qa,Bn.isUndefined=function(e){return void 0===e},Bn.isWeakMap=function(e){return qa(e)&&oi(e)==k},Bn.isWeakSet=function(e){return qa(e)&&"[object WeakSet]"==mr(e)},Bn.join=function(e,t){return null==e?"":on.call(e,t)},Bn.kebabCase=Oc,Bn.last=Wi,Bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=oc(n))<0?cn(r+o,0):ln(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):_t(e,xt,o,!0)},Bn.lowerCase=Nc,Bn.lowerFirst=Fc,Bn.lt=ec,Bn.lte=tc,Bn.max=function(e){return e&&e.length?or(e,Yc,hr):void 0},Bn.maxBy=function(e,t){return e&&e.length?or(e,Jo(t,2),hr):void 0},Bn.mean=function(e){return St(e,Yc)},Bn.meanBy=function(e,t){return St(e,Jo(t,2))},Bn.min=function(e){return e&&e.length?or(e,Yc,Rr):void 0},Bn.minBy=function(e,t){return e&&e.length?or(e,Jo(t,2),Rr):void 0},Bn.stubArray=il,Bn.stubFalse=al,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=pl,Bn.nth=function(e,t){return e&&e.length?jr(e,oc(t)):void 0},Bn.noConflict=function(){return Ye._===this&&(Ye._=Ie),this},Bn.noop=Jc,Bn.now=va,Bn.pad=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Oo(en(o),n)+e+Oo(Qt(o),n)},Bn.padEnd=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;return t&&r<t?e+Oo(t-r,n):e},Bn.padStart=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;return t&&r<t?Oo(t-r,n)+e:e},Bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),sn(lc(e).replace(H,""),t||0)},Bn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ui(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=rc(e),void 0===t?(t=e,e=0):t=rc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=fn();return ln(e+o*(t-e+Ve("1e-"+((o+"").length-1))),t)}return Lr(e,t)},Bn.reduce=function(e,t,n){var r=Oa(e)?ht:Rt,o=arguments.length<3;return r(e,Jo(t,4),n,o,tr)},Bn.reduceRight=function(e,t,n){var r=Oa(e)?vt:Rt,o=arguments.length<3;return r(e,Jo(t,4),n,o,nr)},Bn.repeat=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:oc(t),Dr(lc(e),t)},Bn.replace=function(){var e=arguments,t=lc(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,o=(t=lo(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ri(t[r])];void 0===i&&(r=o,i=n),e=Ma(i)?i.call(e):i}return e},Bn.round=dl,Bn.runInContext=e,Bn.sample=function(e){return(Oa(e)?Wn:Wr)(e)},Bn.size=function(e){if(null==e)return 0;if(Fa(e))return Xa(e)?Gt(e):e.length;var t=oi(e);return t==h||t==y?e.size:Er(e).length},Bn.snakeCase=Lc,Bn.some=function(e,t,n){var r=Oa(e)?gt:Yr;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Bn.sortedIndex=function(e,t){return Hr(e,t)},Bn.sortedIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2))},Bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Hr(e,t);if(r<n&&Ta(e[r],t))return r}return-1},Bn.sortedLastIndex=function(e,t){return Hr(e,t,!0)},Bn.sortedLastIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2),!0)},Bn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Hr(e,t,!0)-1;if(Ta(e[n],t))return n}return-1},Bn.startCase=Dc,Bn.startsWith=function(e,t,n){return e=lc(e),n=null==n?0:Zn(oc(n),0,e.length),t=Jr(t),e.slice(n,n+t.length)==t},Bn.subtract=ml,Bn.sum=function(e){return e&&e.length?It(e,Yc):0},Bn.sumBy=function(e,t){return e&&e.length?It(e,Jo(t,2)):0},Bn.template=function(e,t,n){var r=Bn.templateSettings;n&&ui(e,t,n)&&(t=void 0),e=lc(e),t=fc({},t,r,Uo);var o,i,a=fc({},t.imports,r.imports,Uo),c=wc(a),l=jt(a,c),u=0,s=t.interpolate||se,f="__p += '",p=he((t.escape||se).source+"|"+s.source+"|"+(s===U?ne:se).source+"|"+(t.evaluate||se).source+"|$","g"),d="//# sourceURL="+(xe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ze+"]")+"\n";e.replace(p,(function(t,n,r,a,c,l){return r||(r=a),f+=e.slice(u,l).replace(fe,zt),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),c&&(i=!0,f+="';\n"+c+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),f+="';\n";var m=xe.call(t,"variable")&&t.variable;if(m){if(ee.test(m))throw new K("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(C,""):f).replace(O,"$1").replace(N,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var h=Uc((function(){return pe(c,d+"return "+f).apply(void 0,l)}));if(h.source=f,Wa(h))throw h;return h},Bn.times=function(e,t){if((e=oc(e))<1||e>9007199254740991)return[];var n=4294967295,r=ln(e,4294967295);e-=4294967295;for(var o=Bt(r,t=Jo(t));++n<e;)t(n);return o},Bn.toFinite=rc,Bn.toInteger=oc,Bn.toLength=ic,Bn.toLower=function(e){return lc(e).toLowerCase()},Bn.toNumber=ac,Bn.toSafeInteger=function(e){return e?Zn(oc(e),-9007199254740991,9007199254740991):0===e?e:0},Bn.toString=lc,Bn.toUpper=function(e){return lc(e).toUpperCase()},Bn.trim=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return Tt(e);if(!e||!(t=Jr(t)))return e;var r=Yt(e),o=Yt(t);return so(r,Ot(r,o),Nt(r,o)+1).join("")},Bn.trimEnd=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return e.slice(0,Ht(e)+1);if(!e||!(t=Jr(t)))return e;var r=Yt(e);return so(r,0,Nt(r,Yt(t))+1).join("")},Bn.trimStart=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return e.replace(H,"");if(!e||!(t=Jr(t)))return e;var r=Yt(e);return so(r,Ot(r,Yt(t))).join("")},Bn.truncate=function(e,t){var n=30,r="...";if($a(t)){var o="separator"in t?t.separator:o;n="length"in t?oc(t.length):n,r="omission"in t?Jr(t.omission):r}var i=(e=lc(e)).length;if(Wt(e)){var a=Yt(e);i=a.length}if(n>=i)return e;var c=n-Gt(r);if(c<1)return r;var l=a?so(a,0,c).join(""):e.slice(0,c);if(void 0===o)return l+r;if(a&&(c+=l.length-c),Ka(o)){if(e.slice(c).search(o)){var u,s=l;for(o.global||(o=he(o.source,lc(re.exec(o))+"g")),o.lastIndex=0;u=o.exec(s);)var f=u.index;l=l.slice(0,void 0===f?c:f)}}else if(e.indexOf(Jr(o),c)!=c){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},Bn.unescape=function(e){return(e=lc(e))&&D.test(e)?e.replace(F,Kt):e},Bn.uniqueId=function(e){var t=++Se;return lc(e)+t},Bn.upperCase=zc,Bn.upperFirst=Wc,Bn.each=la,Bn.eachRight=ua,Bn.first=Fi,Xc(Bn,(fl={},ur(Bn,(function(e,t){xe.call(Bn.prototype,t)||(fl[t]=e)})),fl),{chain:!1}),Bn.VERSION="4.17.21",ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),ct(["drop","take"],(function(e,t){Cn.prototype[e]=function(n){n=void 0===n?1:cn(oc(n),0);var r=this.__filtered__&&!t?new Cn(this):this.clone();return r.__filtered__?r.__takeCount__=ln(n,r.__takeCount__):r.__views__.push({size:ln(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Cn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Cn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Cn.prototype[e]=function(){return this[n](1).value()[0]}})),ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Cn.prototype[e]=function(){return this.__filtered__?new Cn(this):this[n](1)}})),Cn.prototype.compact=function(){return this.filter(Yc)},Cn.prototype.find=function(e){return this.filter(e).head()},Cn.prototype.findLast=function(e){return this.reverse().find(e)},Cn.prototype.invokeMap=zr((function(e,t){return"function"==typeof e?new Cn(this):this.map((function(n){return yr(n,e,t)}))})),Cn.prototype.reject=function(e){return this.filter(Ea(Jo(e)))},Cn.prototype.slice=function(e,t){e=oc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Cn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=oc(t))<0?n.dropRight(-t):n.take(t-e)),n)},Cn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Cn.prototype.toArray=function(){return this.take(4294967295)},ur(Cn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Bn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Bn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,c=t instanceof Cn,l=a[0],u=c||Oa(t),s=function(e){var t=o.apply(Bn,mt([e],a));return r&&f?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,d=i&&!f,m=c&&!p;if(!i&&u){t=m?t:new Cn(this);var h=e.apply(t,a);return h.__actions__.push({func:ra,args:[s],thisArg:void 0}),new jn(h,f)}return d&&m?e.apply(this,a):(h=this.thru(s),d?r?h.value()[0]:h.value():h)})})),ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=be[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Oa(o)?o:[],e)}return this[n]((function(n){return t.apply(Oa(n)?n:[],e)}))}})),ur(Cn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";xe.call(_n,r)||(_n[r]=[]),_n[r].push({name:t,func:n})}})),_n[To(void 0,2).name]=[{name:"wrapper",func:void 0}],Cn.prototype.clone=function(){var e=new Cn(this.__wrapped__);return e.__actions__=yo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yo(this.__views__),e},Cn.prototype.reverse=function(){if(this.__filtered__){var e=new Cn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Cn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Oa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=ln(t,e+a);break;case"takeRight":e=cn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,c=i.end,l=c-a,u=r?c:a-1,s=this.__iteratees__,f=s.length,p=0,d=ln(l,this.__takeCount__);if(!n||!r&&o==l&&d==l)return ro(e,this.__actions__);var m=[];e:for(;l--&&p<d;){for(var h=-1,v=e[u+=t];++h<f;){var g=s[h],b=g.iteratee,y=g.type,_=b(v);if(2==y)v=_;else if(!_){if(1==y)continue e;break e}}m[p++]=v}return m},Bn.prototype.at=oa,Bn.prototype.chain=function(){return na(this)},Bn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},Bn.prototype.next=function(){void 0===this.__values__&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof An;){var r=Bi(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Cn){var t=e;return this.__actions__.length&&(t=new Cn(this)),(t=t.reverse()).__actions__.push({func:ra,args:[$i],thisArg:void 0}),new jn(t,this.__chain__)}return this.thru($i)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Xe&&(Bn.prototype[Xe]=function(){return this}),Bn}();Ye._=Zt,void 0===(o=function(){return Zt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(7),n(8)(e))},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return c(u(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function c(e,t){var n,r,a,c,l,u,s,f,p,d=1,m=e.length,h="";for(r=0;r<m;r++)if("string"==typeof e[r])h+=e[r];else if("object"==typeof e[r]){if((c=e[r]).keys)for(n=t[d],a=0;a<c.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',c.keys[a],c.keys[a-1]));n=n[c.keys[a]]}else n=c.param_no?t[c.param_no]:t[d++];if(o.not_type.test(c.type)&&o.not_primitive.test(c.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(c.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(c.type)&&(f=n>=0),c.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,c.width?parseInt(c.width):0);break;case"e":n=c.precision?parseFloat(n).toExponential(c.precision):parseFloat(n).toExponential();break;case"f":n=c.precision?parseFloat(n).toFixed(c.precision):parseFloat(n);break;case"g":n=c.precision?String(Number(n.toPrecision(c.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=c.precision?n.substring(0,c.precision):n;break;case"t":n=String(!!n),n=c.precision?n.substring(0,c.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=c.precision?n.substring(0,c.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=c.precision?n.substring(0,c.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(c.type)?h+=n:(!o.number.test(c.type)||f&&!c.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),u=c.pad_char?"0"===c.pad_char?"0":c.pad_char.charAt(1):" ",s=c.width-(p+n).length,l=c.width&&s>0?u.repeat(s):"",h+=c.align?p+n+l:"0"===u?p+l+n:l+p+n)}return h}var l=Object.create(null);function u(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],c=t[2],u=[];if(null===(u=o.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(c=c.substring(u[0].length));)if(null!==(u=o.key_access.exec(c)))a.push(u[1]);else{if(null===(u=o.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,a,c=n,l=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(a=0;a<l;a++)if(c.args[a]!==arguments[a]){c=c.next;continue e}return c!==n&&(c===r&&(r=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n,c.prev=null,n.prev=c,n=c),c.val}c=c.next}for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return c={args:i,val:e.apply(null,i)},n?(n.prev=c,c.next=n):r=c,o===t.maxSize?(r=r.prev).next=null:o++,n=c,c.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}},function(e,t,n){var r=n(1),o=n(6);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'*,:before,:after{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}#ast-block-templates-button-wrap{flex-basis:100%}#ast-block-templates-button{margin:2px;height:33px;font-size:13px;align-items:center;display:flex}#ast-block-templates-button .logo{width:16px;height:16px;margin-right:8px;padding:0}#ast-block-templates-button .uagb-template-button-logo{height:22px;width:22px;margin-left:-2px}.ast-block-templates-button{padding:10px}#ast-block-templates-modal{border-radius:3px;box-shadow:2px 8px 23px 3px rgba(0,0,0,.2);overflow:hidden;background-color:#f1f3f5;max-width:85%;height:calc(100vh - 4em);z-index:9999;margin:2em auto}#ast-block-templates-modal>.inner{position:relative}@media screen and (max-width: 782px){#ast-block-templates-modal{padding:0 20px}}.ast-block-templates-grid-blocks .inner .button-actions .button:first-child{margin-right:5px}.ast-block-templates-grid-blocks .button-actions.import-action-start{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .inner:hover .button-actions{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .button-actions{opacity:0;visibility:hidden}.ast-block-templates-grid-blocks .thumbnail{cursor:pointer;position:relative;text-align:center}.ast-block-templates-grid-blocks .heading-wrap .title{margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-grid .item .heading-wrap{padding:8px 15px;flex-direction:row;align-items:center}@media only screen and (min-width: 768px){.ast-block-templates-grid-blocks .ast-block-templates-grid .item{width:33.33%}}.ast-block-templates-grid-pages,.ast-block-templates-grid-blocks{display:none}.ast-block-templates-grid-pages.active,.ast-block-templates-grid-blocks.active{display:block}@media only screen and (min-width: 768px){.ast-block-templates-single-site-preview .ast-block-templates-grid .item,.ast-block-templates-grid-pages .ast-block-templates-grid .item{width:25%}}.ast-block-templates-grid .item:hover .inner{box-shadow:0 6px 14px 0 rgba(0,0,0,.12)}.ast-block-templates-grid .item{margin:0 3% 3.6% 0;border:none;position:relative;margin:0 4% 4% 0;position:relative;width:30.6%;box-sizing:border-box;align-content:flex-start}.ast-block-templates-grid .item .inner{margin:0;box-shadow:0 1px 20px 0 rgba(0,0,0,.07);background:#fff;position:relative;border-radius:2px;overflow:initial;border:1px solid #ddd;transition:all .4s}.ast-block-templates-grid .item .screenshot{background-position:center top;background-size:100%;background-repeat:no-repeat;border-top-left-radius:2px;border-top-right-radius:2px;overflow:hidden;background-color:#e5e5e5;position:relative;display:block}.ast-block-templates-grid .item .screenshot:after{content:"";display:block;padding-top:118%}.ast-block-templates-grid .item .heading-wrap{background-color:#fff;display:flex;justify-content:space-between;line-height:1;padding:12px 15px;font-weight:normal;background:#fff;border:none;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-top:1px solid #eee;flex-direction:column}.ast-block-templates-grid .item .heading-wrap .ast-template-import-block-button{font-weight:normal}.ast-block-templates-grid .item .inner:hover .preview{opacity:1;visibility:visible}.ast-block-templates-grid .item .preview{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0;visibility:hidden;float:none;transition:all .3s}.ast-block-templates-grid .item .preview .preview-inner{position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);font-size:20px;color:#d5dadf}.ast-block-templates-grid .item .import{cursor:pointer;position:relative}.ast-block-templates-grid .item .import .components-spinner{position:absolute;left:-25px;margin:0;top:-2px}.ast-block-templates-grid .item .import .dashicons{height:auto;width:auto;font-size:initial;padding-right:3px}.image-loading{animation-duration:2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:image-placeholder;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #fafafa 8%, #f4f4f4 38%, #fafafa 54%);position:relative}@keyframes image-placeholder{0%{background-position:-150px 0}100%{background-position:150px 0}}.ast-block-templates-grid{display:flex;flex-wrap:wrap}@media only screen and (min-width: 768px){.ast-block-templates-grid{margin:0}.ast-block-templates-grid .item{width:25%;padding:1.1%;margin:0;box-shadow:none}}#ast-block-templates-modal-wrap{opacity:0;visibility:hidden;position:fixed;height:100%;width:100%;bottom:0;left:0;background-color:rgba(0,0,0,.8);z-index:9999;user-select:none}#ast-block-templates-modal-wrap .ast-block-templates-grid>.components-spinner{margin:8em auto auto}#ast-block-templates-modal-wrap.open{opacity:1;visibility:visible}#ast-block-templates-modal-wrap .filter-wrap{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px 0;padding-left:12.55px}#ast-block-templates-modal-wrap .filter-wrap select{margin-right:10px;position:relative;background-size:12px 12px;height:28px;color:#6d7882;border-radius:3px;border-color:#d5dadf;font-size:12px;padding:0 20px 0 10px;appearance:none;-webkit-appearance:none;-moz-appearance:none}#ast-block-templates-modal-wrap .filters{display:flex;justify-content:space-between;align-items:center}#ast-block-templates-modal-wrap .loading{position:relative;background-color:#e2e2e2}#ast-block-templates-modal-wrap .loading:after{display:block;content:"";position:absolute;width:100%;height:100%;-webkit-transform:translateX(-100%);transform:translateX(-100%);background:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent));background:linear-gradient(90deg, #ffffff1c, rgba(255, 255, 255, 0.2), #ffffff2b);-webkit-animation:loading 1.5s infinite;animation:loading 1.5s infinite}@-webkit-keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}',""]),t.default=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(1),o=n(10);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.ast-block-templates-tooltip{width:105px;font-size:12px;position:absolute;bottom:-33px;background:#fff;box-shadow:0 3px 10px rgba(25,30,35,.12);padding:4px;border-radius:2px;display:none;z-index:999}.ast-block-templates-tooltip:before{border:5px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;top:-5px;left:45%;left:calc(50% - 5px);border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:0px}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(12);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-sync{position:relative;padding:0 18px;cursor:pointer;color:#6d7882;border-left:1px solid #e6e9ec;display:flex;justify-content:center;align-items:center}.ast-block-templates-sync:hover .ast-block-templates-icon{color:#6d7882}.ast-block-templates-sync .ast-block-templates-icon{font-size:16px;color:#a4afb7}.ast-block-templates-sync .ast-block-templates-tooltip{text-align:center;width:100px}.ast-block-templates-sync:hover .ast-block-templates-tooltip{display:block}.ast-block-templates-sync__title{position:absolute;bottom:-15px;left:-139px;background:#fff;width:200px;border-radius:0px;padding:3px 8px;text-align:left;border:1px solid #e6e9ec;opacity:0;visibility:hidden}.ast-block-templates-sync--processing .ast-block-templates-icon{animation:rotation 2s infinite linear}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(14);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-layout{border-right:1px solid #eee;padding:0 15px;text-align:center;cursor:pointer;display:flex;justify-content:center;align-items:center;opacity:0;visibility:hidden;position:relative}.back-to-layout.show{opacity:1;visibility:visible}.back-to-layout .ast-block-templates-icon{font-size:24px}.back-to-layout:hover .ast-block-templates-tooltip{display:block}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(16);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".logo-wrap{border-right:1px solid #e6e9ec;display:flex;align-items:center;justify-content:center;cursor:pointer}.logo-wrap.white-label{width:auto}.logo-wrap.white-label .logo{width:auto;height:auto;padding:0 10px;font-weight:bold}.logo{height:38px;padding:0 8px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(18);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header-menu{display:flex;flex:1;align-items:center;justify-content:center;padding-right:70px}.uag-block-templates-lightbox .header-menu{padding-right:180px}.header-menu-item{line-height:1em;width:108px;padding:18px 0;display:inline-block;text-align:center;font-weight:600;color:#444;font-size:13px;border-bottom:3px solid transparent;cursor:pointer}.header-menu-item:hover{color:#0073aa}.header-menu-item.active{border-color:#0073aa;background-image:linear-gradient(to bottom, #f1f3f5, #fff);color:#0073aa}.header-menu-item .dashicons{width:auto;height:auto;font-size:initial;margin-right:8px}.header-menu-item .ast-block-templates-icon{margin-right:10px;font-size:16px}.header{display:flex;background-color:#fff;box-shadow:25px 0 30px rgba(28,39,60,.09);border-bottom:1px solid #ddd;align-items:stretch;position:relative}.header h2{padding:10px 15px}.header .close{padding:0 15px;cursor:pointer;color:#a4afb7;border-left:1px solid #e6e9ec;line-height:normal;display:flex;justify-content:center;align-items:center}.header .close:hover{color:#6d7882}.header .close .dashicons{line-height:normal;height:auto;width:auto;vertical-align:middle;font-size:22px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(20);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header .search-form{position:absolute;right:122px;top:9px}.header .search-form input::-webkit-input-placeholder{color:#a4afb7}.header .search-form .button{border:none;padding:0px 5px;line-height:0;background:0 0;position:absolute;right:15px;bottom:0;color:#a4afb7;top:0}.header .search-form .button:hover{background:transparent}.header .search-form.have-input input:focus+.button,.header .search-form.have-input input:hover+.button{opacity:0;visibility:hidden}.header .search-form input{border-left:none;border-right:none;border-top:none;border-bottom:1px solid #f1f3f5;font-weight:300;width:250px;opacity:1;background:#fff;border-radius:3px;font-size:13px;padding:5px 20px 5px 15px;border:1px solid #e9e9e9;box-shadow:none}.header .search-form input:focus{outline:none;box-shadow:none;border-color:#f1f3f4}.header .search-form svg{fill:#a9a9a9;width:18px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(22);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-block-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-block-button .components-spinner,.ast-template-import-block-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-block-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-block-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(24);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".no-search-result{padding:7em 0;text-align:center;color:#6d7882;flex:1;right:0;top:0em !important}.no-search-result h3{margin-bottom:1.2em;font-size:1.3rem;font-weight:normal;color:#666;margin-top:0}.no-search-result p{font-size:13px;margin:0}.no-search-result-description a{text-decoration:none}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(26);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-templates{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#fafafa;border-color:#999;color:#23282d;margin-top:25px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(28);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-page-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-page-button .components-spinner,.ast-template-import-page-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-page-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-page-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(30);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-popup-wrap{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(49,49,49,.5);z-index:9}.ast-block-templates-popup-wrap.hide{display:none;opacity:0}.ast-block-templates-popup{background:#f2f2f2;margin:0 auto;width:660px;max-height:420px;transform:translate(-50%, -40%);box-sizing:border-box;position:fixed;background-color:#f1f3f5;z-index:100059;text-align:left;top:40%;left:50%;box-shadow:0 3px 6px rgba(0,0,0,.3);border-radius:2px}.ast-block-templates-popup-header{background:#fff;margin-top:0;box-shadow:0 0 8px rgba(0,0,0,.1);margin-bottom:.5em;display:flex;justify-content:space-between}.ast-block-templates-popup-footer{padding:1em 1em 1em 2em;z-index:30;box-sizing:border-box;border-top:1px solid #dcdcdc}.ast-block-templates-popup-footer .button{margin-right:10px}.ast-block-templates-popup-content{display:block;padding:1em 1em 1em 2em;background:#f1f3f5;min-height:200px;overflow:auto;position:relative}.ast-block-templates-popup-heading{font-size:1.3em;margin:0;font-weight:600;padding:1em 1em 1em 2em}.ast-block-templates-popup-close-icon{width:53px;cursor:pointer;border-left:1px solid #eee;color:#aaa;display:flex;align-items:center;justify-content:center;padding:1em 1em 1em 1em}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(32);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-single-site-preview .ast-block-templates-grid .item{width:47%;padding:0;margin:0 6% 6% 0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item:nth-child(even){margin-right:0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .heading-wrap{padding:8px 14px}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .title{font-weight:500;font-size:13px;background:#fff}.ast-block-templates-single-site-preview .ast-block-templates-grid .item.active .inner{border-color:#5b9dd9;border-radius:2px}.ast-block-templates-single-site-preview{display:flex;position:fixed;left:30px;right:30px;height:80vh;padding-top:14px;max-width:80%;margin:0 auto}.ast-block-templates-single-page-preview{width:65%;flex:1;margin-bottom:3em}.ast-block-templates-single-page-preview img{width:100%}.ast-block-templates-single-page-preview .screenshot{margin-right:4em;max-height:calc(100vh - 270px);overflow-y:auto;border-radius:2px;box-shadow:0 0 16px 0 rgba(0,0,0,.12);height:100vh}.ast-block-templates-grid-preview{width:35%}.ast-block-templates-grid-preview .ast-block-templates-grid{overflow-y:auto;max-height:calc(100vh - 250px);padding-right:30px;margin-right:-35px;margin-left:0}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner{border:1px solid #e2e2e2}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner:hover{box-shadow:0 3px 12px rgba(0,0,0,.14)}.ast-block-templates-grid-preview .ast-block-templates-grid .item .screenshot:after{padding-top:114%}.ast-block-templates-pages-title{color:#9e9e9e;text-decoration:none;font-weight:500;position:relative;font-size:13px;margin:0 0 32px 0}.ast-block-templates-site-title{font-size:22px;margin:0 0 32px 0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(34);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{max-height:calc(100vh - 210px);overflow-y:auto;box-shadow:0 0 16px 0 rgba(0,0,0,.12);margin:1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(36);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{text-align:center}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(38);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content .ast-block-templates-notice-message{margin:.5em 0;padding:2px}.ast-block-templates-content .ast-block-templates-notice{position:relative;margin:0 1.1% 20px 1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(40);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content{height:88vh;height:calc(100vh - 108px);overflow-y:auto;padding:30px;color:#444}.ast-block-templates-content img{max-width:100%;vertical-align:middle}.ast-block-templates-content .title{margin:0;font-size:14px;color:#444;margin-bottom:5px}.ast-block-templates-content .title b{font-weight:900}.ast-block-templates-content .sub-title{font-weight:300;font-size:13px}.ast-block-templates-full-preview::-webkit-scrollbar,.ast-block-templates-content::-webkit-scrollbar,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar{width:5px;background-color:#f1f1f1}.ast-block-templates-full-preview::-webkit-scrollbar-thumb,.ast-block-templates-content::-webkit-scrollbar-thumb,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-thumb,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}.ast-block-templates-full-preview::-webkit-scrollbar-track,.ast-block-templates-content::-webkit-scrollbar-track,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-track,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(42);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".footer{background:#fff;border-top:1px solid #ebebeb;display:flex;padding:0 30px;position:absolute;bottom:0;right:0;left:0;justify-content:space-between;box-shadow:0 -2px 8px rgba(0,0,0,.05)}.footer .dashicons{vertical-align:middle;font-size:initial}.footer .left,.footer .right{display:flex;justify-content:center;align-items:center}.footer .button{margin:10px 0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(44);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){var r=n(1),o=n(46);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.used-blocks-info{width:250px;position:absolute;bottom:60px;background:#fff;box-shadow:0 -3px 10px rgba(25,30,35,.12);padding:15px 18px;border-radius:2px;right:38px;display:none}.used-blocks-info.show{display:block}.used-blocks-info:after{border:8px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;bottom:-8px;left:40%;border-top-style:solid;border-left-color:transparent;border-right-color:transparent;border-bottom:none;margin-left:0px}.used-blocks-info h3{margin:15px 0 8px 0;font-size:14px;font-weight:500;border-bottom:1px solid #e4e7ea;padding-bottom:8px}.used-blocks-info h3:first-child{margin-top:0}.used-blocks-info ol{margin-left:15px}.used-blocks-info ol li:last-child{margin-bottom:0}.footer .used-blocks-icon{border-left:1px solid #e6e9ec;border-right:1px solid #e6e9ec;margin-right:20px;padding:25px;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:20px;color:#555d66}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(48);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){"use strict";n.r(t);n(5);var r=n(2),o=n.n(r),i=function(e,t,n,o){var i=AstBlockTemplatesVars.allBlocks,a=[];e&&(a=i.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var c=[];return n&&(c=i.filter((function(e){var t=Object.values(e.tag);if(t.length){for(var r in t)if(t[r].toLowerCase().includes(n.toLowerCase()))return!0;return!1}return!0}))),(e||n)&&(i=Object(r.unionBy)(a,c,"ID")),t&&(i=i.filter((function(e){return parseInt(t)===parseInt(e.category)}))),o&&(i=i.filter((function(e){return o===e.filter}))),i},a=function(e){var t=[];for(var n in AstBlockTemplatesVars.allSites){var o=AstBlockTemplatesVars.allSites[n],i=o.pages||{};if(Object.values(i).length)for(var a in i)i[a]["site-ID"]=o.ID,i[a]["site-title"]=o.title,t.push(i[a])}var c=[];e&&(c=t.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var l=[];e&&(l=t.filter((function(t){return t["site-title"].toLowerCase().includes(e.toLowerCase())})));var u=[];return e&&(u=t.filter((function(t){if("tag"in t){var n=Object.values(t.tag)||[];if(n.length)for(var r in n)if(n[r].toLowerCase().includes(e.toLowerCase()))return!0;return!1}return!0}))),e&&(t=Object(r.unionBy)(c,u,l,"ID")),t};function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={togglePopup:!0,allBlocks:AstBlockTemplatesVars.allBlocks,allSites:AstBlockTemplatesVars.allSites,allPages:[],currentScreen:"all-blocks-grid",previousScreen:"",filterBlocksByCategory:"",filterBlocksByColor:"",filterBlocksBySearchTerm:"",filterPagesByPageType:"",filterPagesBySearchTerm:"",pagePreview:{},sitePreview:{},fullWidthPagePreview:{},fullWidthBlockPreview:{},notice:{},importItemInfo:{},displayDynamicPopup:!1},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;if("SET_DISPLAY_DYNAMIC_POPUP"===t.type)return l(l({},e),{},{displayDynamicPopup:t.displayDynamicPopup});if("SET_STATE"===t.type)return l(l({},e),t.state);if("FULL_WIDTH_PAGE_PREVIEW"===t.type)return l(l({},e),{},{fullWidthPagePreview:t.fullWidthPagePreview});if("FULL_WIDTH_BLOCK_PREVIEW"===t.type)return l(l({},e),{},{fullWidthBlockPreview:t.fullWidthBlockPreview});if("SET_IMPORT_ITEM_INFO"===t.type)return l(l({},e),{},{importItemInfo:t.importItemInfo});if("SET_NOTICE"===t.type)return l(l({},e),{},{notice:t.notice});if("SET_SEARCH_PAGE_PREVIEW"===t.type){var n=[],r=t.item["site-ID"]||"";return r&&(n=e.allSites.filter((function(e){return r===e.ID})))&&(n=n[0]),l(l({},e),{},{sitePreview:n,pagePreview:t.item})}if("SET_CURRENT_SCREEN"===t.type){var o="all-sites-grid"===t.currentScreen||"all-blocks-grid"===t.currentScree?"":e.currentScreen;return l(l({},e),{},{currentScreen:t.currentScreen,previousScreen:o})}return"SET_PREVIOUS_SCREEN"===t.type?l(l({},e),{},{previousScreen:t.previousScreen}):"TOGGLE_POPUP"===t.type?l(l({},s),{},{togglePopup:!e.togglePopup}):"SET_SITE_PREVIEW"===t.type?l(l({},e),{},{sitePreview:t.sitePreview}):"SET_PAGE_PREVIEW"===t.type?l(l({},e),{},{pagePreview:t.pagePreview}):"SET_FULL_PREVIEW"===t.type?l(l({},e),{},{fullWidthPreview:t.fullWidthPreview}):"SET_FILTER_BLOCKS_BY_CATEGORY"===t.type?l(l({},e),{},{allBlocks:i(e.filterBlocksBySearchTerm,t.filterBlocksByCategory,e.filterBlocksBySearchTerm,t.filterBlocksByColor),filterBlocksByCategory:t.filterBlocksByCategory}):"SET_FILTER_BLOCKS_BY_COLOR"===t.type?l(l({},e),{},{allBlocks:i(e.filterBlocksBySearchTerm,e.filterBlocksByCategory,e.filterBlocksBySearchTerm,t.filterBlocksByColor),filterBlocksByColor:t.filterBlocksByColor}):"SET_FILTER_BLOCKS_BY_SEARCH_TERM"===t.type?l(l({},e),{},{allBlocks:i(t.filterBlocksBySearchTerm,e.filterBlocksByCategory,t.filterBlocksBySearchTerm),filterBlocksBySearchTerm:t.filterBlocksBySearchTerm}):"SET_FILTER_PAGES_BY_SEARCH_TERM"===t.type?t.filterPagesBySearchTerm.length?l(l({},e),{},{allPages:a(t.filterPagesBySearchTerm),filterPagesBySearchTerm:t.filterPagesBySearchTerm}):l(l({},e),{},{allPages:[],filterPagesBySearchTerm:t.filterPagesBySearchTerm}):"SET_ALL_PAGES"===t.type?l(l({},e),{},{allPages:t.allPages}):e};function p(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m={getTogglePopup:function(e){return e.togglePopup},getAllBlocks:function(e){return e.allBlocks},getAllSites:function(e){return e.allSites},getCount:function(e){return e.count},getCurrentScreen:function(e){return e.currentScreen},getPreviousScreen:function(e){return e.previousScreen},getSearchTerm:function(e){return e.searchTerm},getSitePreview:function(e){return e.sitePreview},getNotice:function(e){return e.notice},getImportItemInfo:function(e){return e.importItemInfo},getPagePreview:function(e){return e.pagePreview},getFullWidthPreview:function(e){return e.fullWidthPreview},getFilterBlocksByCategory:function(e){return e.filterBlocksByCategory},getFilterBlocksByColor:function(e){return e.filterBlocksByColor},getFilterBlocksBySearchTerm:function(e){return e.filterBlocksBySearchTerm},getFilterPagesByPageType:function(e){return e.filterPagesByPageType},getFilterPagesBySearchTerm:function(e){return e.filterPagesBySearchTerm},getFullWidthPagePreview:function(e){return e.fullWidthPagePreview},getFullWidthBlockPreview:function(e){return e.fullWidthBlockPreview},getAllPages:function(e){return e.allPages},getBlockSearchInput:function(e){return e.blockSearchInput},getDisplayDynamicPopup:function(e){return e.displayDynamicPopup}},h={setTogglePopup:function(){return{type:"TOGGLE_POPUP"}},setFullWidthPagePreview:function(e){return{type:"FULL_WIDTH_PAGE_PREVIEW",fullWidthPagePreview:e}},setFullWidthBlockPreview:function(e){return{type:"FULL_WIDTH_BLOCK_PREVIEW",fullWidthBlockPreview:e}},setCurrentScreen:function(e){return{type:"SET_CURRENT_SCREEN",currentScreen:e}},setPreviousScreen:function(e){return{type:"SET_PREVIOUS_SCREEN",previousScreen:e}},setSitePreview:function(e){return{type:"SET_SITE_PREVIEW",sitePreview:e}},setSearchPagePreview:function(e){return{type:"SET_SEARCH_PAGE_PREVIEW",item:e}},setNotice:function(e){return{type:"SET_NOTICE",notice:e}},setPagePreview:function(e){return{type:"SET_PAGE_PREVIEW",pagePreview:e}},setFullWidthPreview:function(e){return{type:"SET_FULL_PREVIEW",fullWidthPreview:e}},setSearchTerm:function(e){return{type:"SEARCH_TERM",searchTerm:e}},setFilterBlocksByCategory:function(e){return{type:"SET_FILTER_BLOCKS_BY_CATEGORY",filterBlocksByCategory:e}},setFilterBlocksByColor:function(e){return{type:"SET_FILTER_BLOCKS_BY_COLOR",filterBlocksByColor:e}},setImportItemInfo:function(e){return{type:"SET_IMPORT_ITEM_INFO",importItemInfo:e}},setFilterBlocksBySearchTerm:function(e){return{type:"SET_FILTER_BLOCKS_BY_SEARCH_TERM",filterBlocksBySearchTerm:e}},setFilterPagesByPageType:function(e){return{type:"SET_FILTER_PAGES_BY_PAGE_TYPE",filterPagesByPageType:e}},setFilterPagesBySearchTerm:function(e){return{type:"SET_FILTER_PAGES_BY_SEARCH_TERM",filterPagesBySearchTerm:e}},setAllPages:function(e){return{type:"SET_ALL_PAGES",allPages:e}},setState:function(e){return{type:"SET_STATE",state:e}},setDisplayDynamicPopup:function(e){return{type:"SET_DISPLAY_DYNAMIC_POPUP",displayDynamicPopup:e}}};(function(e){var t,n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return n.apply(void 0,arguments)}};t=[].map((function(e){return e(o)})),n=r.flowRight.apply(void 0,p(t))(e.dispatch),e.dispatch=n})((0,wp.data.registerStore)("ast-block-templates",{reducer:f,actions:h,selectors:m}));var v,g,b,y,_=n(4),w=n.n(_),k=n(3),x=n.n(k),S=w()(console.error);function E(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return x.a.sprintf.apply(x.a,[e].concat(n))}catch(t){return S("sprintf error: \n\n"+t.toString()),e}}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}v={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},g=["(","?"],b={")":["("],":":["?","?:"]},y=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var R={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function I(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(y);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(b[n]){if(b[n][0]===o){n=b[n][1]||n;break}}else if(g.indexOf(o)>=0||v[o]<v[n]){a.push(o);break}i.push(o)}b[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,c,l=[];for(n=0;n<e.length;n++){if(a=e[n],i=R[a]){for(r=i.length,o=Array(r);r--;)o[r]=l.pop();try{c=i.apply(null,o)}catch(e){return e}}else c=t.hasOwnProperty(a)?t[a]:+a;l.push(c)}return l[0]}(t,e)}}var B={contextDelimiter:"",onMissingKey:null};function T(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},B)this.options[n]=void 0!==t&&n in t?t[n]:B[n]}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}T.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=I(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},T.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,c;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(c=this.data[e][a])&&c[i]?c[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var C={"":{plural_forms:function(e){return 1===e?0:1}}},O=/^i18n\.(n?gettext|has_translation)(_|$)/;var N=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var F=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var L=function(e,t){return function(n,r,o){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,a=e[t];if(F(n)&&N(r))if("function"==typeof o)if("number"==typeof i){var c={callback:o,priority:i,namespace:r};if(a[n]){var l,u=a[n].handlers;for(l=u.length;l>0&&!(i>=u[l-1].priority);l--);l===u.length?u[l]=c:u.splice(l,0,c),a.__current.forEach((function(e){e.name===n&&e.currentIndex>=l&&e.currentIndex++}))}else a[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,i)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,o){var i=e[t];if(F(r)&&(n||N(o))){if(!i[r])return 0;var a=0;if(n)a=i[r].handlers.length,i[r]={runs:i[r].runs,handlers:[]};else for(var c=i[r].handlers,l=function(e){c[e].namespace===o&&(c.splice(e,1),a++,i.__current.forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},u=c.length-1;u>=0;u--)l(u);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),a}}};var z=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var W=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,c=new Array(a>1?a-1:0),l=1;l<a;l++)c[l-1]=arguments[l];if(!i||!i.length)return n?c[0]:void 0;var u={name:r,currentIndex:0};for(o.__current.push(u);u.currentIndex<i.length;){var s=i[u.currentIndex],f=s.callback.apply(null,c);n&&(c[0]=f),u.currentIndex++}return o.__current.pop(),n?c[0]:void 0}};var M=function(e,t){return function(){var n,r,o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var U=function(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var V=function(e,t){return function(n){var r=e[t];if(F(n))return r[n]&&r[n].runs?r[n].runs:0}},$=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=L(this,"actions"),this.addFilter=L(this,"filters"),this.removeAction=D(this,"actions"),this.removeFilter=D(this,"filters"),this.hasAction=z(this,"actions"),this.hasFilter=z(this,"filters"),this.removeAllActions=D(this,"actions",!0),this.removeAllFilters=D(this,"filters",!0),this.doAction=W(this,"actions"),this.applyFilters=W(this,"filters",!0),this.currentAction=M(this,"actions"),this.currentFilter=M(this,"filters"),this.doingAction=U(this,"actions"),this.doingFilter=U(this,"filters"),this.didAction=V(this,"actions"),this.didFilter=V(this,"filters")};var q=function(){return new $}(),G=(q.addAction,q.addFilter,q.removeAction,q.removeFilter,q.hasAction,q.hasFilter,q.removeAllActions,q.removeAllFilters,q.doAction,q.applyFilters,q.currentAction,q.currentFilter,q.doingAction,q.doingFilter,q.didAction,q.didFilter,q.actions,q.filters,function(e,t,n){var r=new T({}),o=new Set,i=function(){o.forEach((function(e){return e()}))},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=j(j(j({},C),r.data[t]),e),r.data[t][""]=j(j({},C[""]),r.data[t][""])},c=function(e,t){a(e,t),i()},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},s=function(e,t,r){var o=l(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+u(r),o,e,t,r)):o};if(e&&c(e,t),n){var f=function(e){O.test(e)&&i()};n.addAction("hookAdded","core/i18n",f),n.addAction("hookRemoved","core/i18n",f)}return{getLocaleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},setLocaleData:c,resetLocaleData:function(e,t){r.data={},r.pluralForms={},c(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=l(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+u(t),r,e,t)):r},_x:s,_n:function(e,t,r,o){var i=l(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+u(o),i,e,t,r,o)):i},_nx:function(e,t,r,o,i){var a=l(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+u(i),a,e,t,r,o,i)):a},isRTL:function(){return"rtl"===s("ltr","text direction")},hasTranslation:function(e,t,o){var i,a,c=t?t+""+e:e,l=!(null===(i=r.data)||void 0===i||null===(a=i[null!=o?o:"default"])||void 0===a||!a[c]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,o),l=n.applyFilters("i18n.has_translation_"+u(o),l,e,t,o)),l}}}(void 0,void 0,q)),Y=(G.getLocaleData.bind(G),G.setLocaleData.bind(G),G.resetLocaleData.bind(G),G.subscribe.bind(G),G.__.bind(G)),H=(G._x.bind(G),G._n.bind(G),G._nx.bind(G),G.isRTL.bind(G),G.hasTranslation.bind(G),wp.element),K=H.createPortal,Z=H.memo,X=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(Z((function(e){var t=e.onSetTogglePopup;return K(React.createElement("button",{onClick:t,id:"ast-block-templates-button",className:"button button-primary"},AstBlockTemplatesVars.display_button_logo&&""===AstBlockTemplatesVars.white_label_name?React.createElement("img",{src:AstBlockTemplatesVars.button_logo,className:"logo ".concat(AstBlockTemplatesVars.button_class)}):"",AstBlockTemplatesVars.button_text),document.getElementById("ast-block-templates-button-wrap"))}))),J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#9E9E9E";e&&console.log("%c ".concat(e," "),"color: ".concat(n,"; font-weight: lighter;"),t)},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return J(e,t,"#F20404")},ee=(n(9),function(e){var t=e.message;return React.createElement("div",{className:"ast-block-templates-tooltip"},t)});n(11);function te(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ne(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){te(i,r,o,a,c,"next",e)}function c(e){te(i,r,o,a,c,"throw",e)}a(void 0)}))}}function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ie=wp.compose.compose,ae=wp.data,ce=ae.withSelect,le=ae.withDispatch,ue=wp.element,se=ue.useState,fe=ue.memo,pe=wp.ajax.post,de=ie(le((function(e){return{setNotice:e("ast-block-templates").setNotice}})),ce((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(fe((function(e){var t=e.setNotice,n=re(se({isProcessing:"",buttonText:"Sync Library"}),2),r=n[0],o=n[1],i=r.isProcessing,a=r.buttonText,c=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-update-sync-library-status",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){t({type:"success",message:"Template library refreshed!"}),o({isProcessing:"complete",buttonText:"Sync Complete"})}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l=function(){var e=ne(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-sites",page_no:t,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?(o({isProcessing:"process",buttonText:"Imported ".concat(t," of ").concat(n," site..")}),t===n&&c()):o({isProcessing:"error",buttonText:"Error ".concat(e.data)})}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),u=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-get-sites-request-count",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){if(e.status){o({isProcessing:"process",buttonText:"Importing Sites.."});for(var t=e.data,n=1;n<=t;n++)l(n,t)}else o({isProcessing:"complete",buttonText:"Importing Sites Failed"})})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s=function(){var e=ne(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-blocks",page_no:t,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?(o({isProcessing:"process",buttonText:"Imported ".concat(t," of ").concat(n," block..")}),t===n&&u()):o({isProcessing:"error",buttonText:"Error ".concat(e.data)})}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),f=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-get-blocks-request-count",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){if(e.status)for(var t=e.data,n=1;n<=t;n++)s(n,t);else o({isProcessing:"complete",buttonText:"Importing Pages Failed"})})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-categories",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){f()})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pe({action:"ast-block-templates-check-sync-library-status",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?"updated"===e.data?(o({isProcessing:"complete",buttonText:"Library is up-to date!"}),t({type:"success",message:"Template library refreshed!"})):p():(t({type:"error",message:"Error! ".concat(e.message)}),o({isProcessing:"complete",buttonText:"Error! ".concat(e.message)}))})).fail((function(e){Q("fail",e)}));case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),Q("Complete: Failed",e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}();return React.createElement("span",{className:"ast-block-templates-sync ".concat("process"===i?"ast-block-templates-sync--processing":""),onClick:function(e){e.preventDefault(),t({type:"info",message:"Syncing template library in the background. The process can take anywhere between 2 to 3 minutes. We will notify you once done."}),o({isProcessing:"process",buttonText:"Syncing libray.."}),d()}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-refresh"}),React.createElement("span",{className:"ast-block-templates-sync__title"},a),React.createElement(ee,{message:"Sync Library"}))}))),me=(n(13),wp.compose.compose),he=wp.data,ve=he.withSelect,ge=he.withDispatch,be=wp.element.memo,ye=me(ve((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getPreviousScreen;return{currentScreen:n(),previousScreen:r()}})),ge((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(be((function(e){var t=e.currentScreen,n=e.previousScreen,r=e.setCurrentScreen,o="full-width-block-preview"===t||"full-width-page-preview"===t||"all-single-site-pages"===t?"show":"",i="full-width-block-preview"===t?"Back to Patterns":"Back to Pages";return React.createElement("div",{className:"back-to-layout ".concat(o),onClick:function(){r("full-width-page-preview"===t||"full-width-block-preview"===t?"all-single-site-pages"===n?"all-single-site-pages":"all-blocks-grid":"all-sites-grid")}},React.createElement(ee,{message:i}),React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-chevron-left"}))}))),_e=(n(15),wp.compose.compose),we=wp.data.withDispatch,ke=wp.element.memo,xe=_e(we((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(ke((function(e){var t=e.setCurrentScreen;return React.createElement("div",{className:"logo-wrap ".concat(""!==AstBlockTemplatesVars.white_label_name?"white-label":""),onClick:function(){return t("all-sites-grid")}},""!==AstBlockTemplatesVars.white_label_name?React.createElement("div",{className:"logo"},AstBlockTemplatesVars.white_label_name):React.createElement("img",{src:AstBlockTemplatesVars.popup_logo_uri,className:"logo"}))}))),Se=wp.compose.compose,Ee=wp.data,Pe=Ee.withSelect,Re=Ee.withDispatch,Ie=wp.element.memo,Be=Se(Pe((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{preview:n(),currentScreen:r()}})),Re((function(e){var t=e("ast-block-templates"),n=t.setAllPages,r=t.setSitePreview,o=t.setTogglePopup,i=t.setCurrentScreen,a=t.setFilterPagesBySearchTerm,c=t.setFilterBlocksBySearchTerm;return{updateCurrentScreen:function(e){n([]),r({}),a(""),c(""),i(e)},onSetSitePreview:r,onSetTogglePopup:o}})))(Ie((function(e){var t=e.currentScreen,n=e.updateCurrentScreen;return React.createElement("div",{className:"header-menu"},React.createElement("div",{className:"header-menu-item ".concat("all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?"active":""),onClick:function(){return n("all-sites-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-file"}),Y("Pages")),React.createElement("div",{className:"header-menu-item ".concat("all-blocks-grid"===t||"full-width-block-preview"===t?"active":""),onClick:function(){return n("all-blocks-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-layers"}),Y("Patterns")))}))),Te=wp.compose.compose,Ae=wp.data,je=Ae.withSelect,Ce=Ae.withDispatch,Oe=wp.element.memo,Ne=Te(je((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{sitePreview:n(),currentScreen:r()}})),Ce((function(e){var t=e("ast-block-templates"),n=t.setSitePreview,r=t.setTogglePopup;t.setCurrentScreen;return{setSitePreview:n,onSetTogglePopup:r}})))(Oe((function(e){var t=e.onSetTogglePopup;return React.createElement("div",{className:"close",onClick:function(e){t(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")}},React.createElement("i",{className:"dashicons dashicons-no-alt"}))})));n(17),n(19);function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Le(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var De=wp.element,ze=De.memo,We=De.useState,Me=De.useEffect,Ue=ze((function(e){var t=e.onSearch,n=e.value,r=e.searchInputRef,o=e.placeholder,i=Fe(We(""),2),a=i[0],c=i[1],l=o||Y("Search..","ast-block-templates");return Me((function(){c(n)})),React.createElement("div",{className:"search-form ".concat(a?"have-input":"")},React.createElement("input",{ref:r,type:"search",name:"search",value:n,placeholder:l,onChange:function(e){t(e)}}),React.createElement("button",{className:"button"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"})))})),Ve=wp.element.memo,$e=wp.compose.compose,qe=wp.data,Ge=qe.withSelect,Ye=qe.withDispatch,He=$e(Ge((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getFilterPagesBySearchTerm,o=t.getFilterBlocksBySearchTerm;return{currentScreen:n(),filterPagesBySearchTerm:r(),filterBlocksBySearchTerm:o()}})),Ye((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm,r=t.setFilterPagesBySearchTerm,o=t.setCurrentScreen,i=t.setPagePreview,a=t.setSitePreview,c=t.setFullWidthBlockPreview;return{setFilterBlocksBySearchTerm:function(e){o("all-blocks-grid"),c({}),n(e)},insertBlocks:e("core/block-editor").insertBlocks,setFilterPagesBySearchTerm:function(e){o("all-sites-grid"),r(e),i({}),a({})}}})))(Ve((function(e){var t=e.currentScreen,n=e.filterPagesBySearchTerm,r=e.filterBlocksBySearchTerm,o=e.setFilterBlocksBySearchTerm,i=e.setFilterPagesBySearchTerm;return React.createElement("div",{className:"header"},React.createElement(xe,null),React.createElement(ye,null),React.createElement(Be,null),"all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?React.createElement(Ue,{placeholder:"Search Templates..",value:n,onSearch:function(e){i(e.target.value)}}):React.createElement(Ue,{placeholder:"Search Patterns..",value:r,onSearch:function(e){o(e.target.value)}}),React.createElement(de,null),React.createElement(Ne,null))}))),Ke=wp.ajax.post,Ze=wp.blocks.parse;var Xe=function(e,t,n,r,o){Ke({action:"ast_block_templates_importer",api_uri:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){!function(e,t,n,r,o){Ke({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){r(Ze(e),t,n),o(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")})).fail((function(e){}))}(e,r,o,t,n)})).fail((function(e){Q("fail",e)}))},Je=function(e){return new Promise((function(t,n){var r=new window.FormData;r.append("action","ast_block_templates_activate_plugin"),r.append("init",e.init),r.append("security",AstBlockTemplatesVars._ajax_nonce),wp.apiFetch({url:AstBlockTemplatesVars.ajax_url,method:"POST",body:r}).then((function(e){e.success?t(e):n(e)}))}))},Qe=function(e){return new Promise((function(t,n){wp.updates.queue.push({action:"install-plugin",data:{slug:e.slug,init:e.init,name:e.name,success:function(n){t(n,e)},error:function(t){n(t,e)}}}),wp.updates.queueChecker()}))};function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var nt={stdClass:function(){},stringify:function(e){var t=new Map([[1/0,"d:INF;"],[-1/0,"d:-INF;"],[NaN,"d:NAN;"],[null,"N;"],[void 0,"N;"]]),n=function(e){return e?encodeURI(e).match(/(%.)?./g).length:0},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'"';return"".concat(n(e),":").concat(t[0]).concat(e).concat(t[t.length-1])},o=0;return function e(n){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.has(n))return t.get(n);if(o+=i,"string"==typeof n)return"s:".concat(r(n),";");if("number"==typeof n)return"".concat(Math.round(n)===n?"i":"d",":").concat((""+n).toUpperCase().replace(/(-?\d)E/,"$1.0E"),";");if("boolean"==typeof n)return"b:".concat(+n,";");var a=Array.isArray(n)||n.constructor===Object;if(t.set(n,"".concat("rR"[+a],":").concat(o,";")),"function"==typeof n.serialize)return"C:".concat(r(n.constructor.name),":").concat(r(n.serialize(),"{}"));var c=Object.entries(n).filter((function(e){var t=tt(e,2);t[0];return"function"!=typeof t[1]}));return(a?"a":"O:".concat(r(n.constructor.name)))+":".concat(c.length,":{").concat(c.map((function(t){var n=tt(t,2),r=n[0],o=n[1];return e(a&&/^\d{1,16}$/.test(r)?+r:r,!1)+e(o)})).join(""),"}")}(e)},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stdClass=nt.stdClass;var n=0,r=[null],o={INF:1/0,"-INF":-1/0,NAN:NaN},i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;throw new Error("Error at ".concat(r,": ").concat(t,"\n").concat(e,"\n").concat(" ".repeat(r),"^"))},a=function(t,r){return t===e.slice(n,n+=t.length)?r:i("Expected '".concat(t,"'"),n-t.length)};function c(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:";";a(":");var c=t.exec(e.slice(n));return c||i("Exected ".concat(r,", but got '").concat(e.slice(n).match(/^[:;{}]|[^:;{}]*/)[0],"'")),n+=c[0].length,a(o,c[0])}function l(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n;t>0;){var c=e.charCodeAt(n++);t-=c<128?1:c<2048||c>>11==27?2:3}return t?i("Invalid string length",o-2):a(r,e.slice(o,n))}var u=function(e){return e?t[e]?Object.create(t[e].prototype):new(et({},e,(function(){}))[e]):{}},s=function(){return c(/^[01]/,"a '0' or '1'",";")},f=function(){return+c(/^-?\d+/,"an integer",";")},p=function(e){return+c(/^\d+/,"an unsigned integer",e)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l(p(':"'),'"'+e)};function m(){var e=c(/^-?(\d+(\.\d+)?(E[+-]\d+)?|INF)|NAN/,"a decimal number",";");return e in o?o[e]:+e}function h(){var t=e[n++];return"s"===t?d(";"):"i"===t?p(";"):i("Expected 's' or 'i' as type for a key, but got ${str[offset-1]}",n-1)}function v(e){for(var t=0,n=p(":{");t<n;t++)e[h()]=y();return a("}",e)}function g(){var e=v({});return Object.keys(e).some((function(e,t){return e!=t}))?e:Object.values(e)}function b(e){return"function"!=typeof e.unserialize&&i("Instance of ".concat(e.constructor.name,' does not have an "unserialize" method')),e.unserialize(l(p(":{"))),a("}",e)}function y(){var t=e[n++].toLowerCase(),o=r.push(null)-1,c="n"===t?a(";",null):"s"===t?d(";"):"b"===t?s():"i"===t?f():"d"===t?m():"a"===t?g():"o"===t?v(u(d())):"c"===t?b(u(d())):"r"===t?r[f()]:i("Unexpected type ".concat(t),n-1);return"r"!==t&&(r[o]=c),c}var _=y();return n!==e.length&&i("Unexpected trailing character"),_}},rt=function(e,t){return fetch("https://websitedemos.net/wp-json/wp/v2/".concat(t,"/").concat(e)).then((function(e){return e.json()}))};n(21);function ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return it(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return it(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var at=wp.compose.compose,ct=wp.data,lt=ct.useSelect,ut=ct.withSelect,st=ct.withDispatch,ft=wp.ajax.post,pt=wp.blocks.parse,dt=wp.element,mt=dt.useState,ht=dt.memo,vt=(dt.useEffect,dt.useCallback,wp.components.Spinner),gt=at(ut((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getSitePreview;return{importItemInfo:n(),sitePreview:o(),currentScreen:r()}})),st((function(e){var t=e("ast-block-templates"),n=t.setImportItemInfo,r=(t.setFullWidthBlockPreview,t.setCurrentScreen,t.setTogglePopup);t.setFullWidthPreview;return{setImportItemInfo:n,onSetTogglePopup:r,insertBlocks:e("core/block-editor").insertBlocks}})))(ht((function(e){var t=e.setImportItemInfo,n=(e.liveRequest,e.requiredPlugins,e.importItemInfo),r=e.title,o=e.btnClass,i=e.currentScreen,a=e.insertBlocks,c=e.onSetTogglePopup,l=e.item,u=e.withIcon,s=ot(mt(n),2),f=s[0],p=(s[1],o||""),d=ot(mt(r||"Import"),2),m=d[0],h=d[1],v="full-width-block-preview"===i?"show":"",g=ot(mt(!1),2),b=g[0],y=g[1],_=lt((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),w=_.insertIndex,k=_.insertClientID,x=function(){Je({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){E()})).catch((function(e){y(!1),h("Activation failed!")}))},S=function(){var e=f.original_content;ft({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){b=!1,a(pt(e),w,k),c(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")})).fail((function(e){}))},E=function(){var e=f["post-meta"]["astra-site-wpforms-path"]||"";e?function(e){ft({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){S()})).fail((function(e){y(!1),h("WPForms import failed!")}))}(e):S()};return React.createElement("div",{className:"ast-template-import-block-button ".concat(v," ").concat(p),onClick:function(){y(!0),rt(l.ID,"astra-blocks").then((function(e){t(e),f=e,(e["post-meta"]["astra-blocks-required-plugins"]?nt.parse(e["post-meta"]["astra-blocks-required-plugins"]):[]).length?"not-installed"===AstBlockTemplatesVars.wpforms_status?Qe({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){x()})).catch((function(e){y(!1),h("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.wpforms_status?x():E():E()})).catch((function(e){}))}},b?React.createElement(React.Fragment,null,React.createElement(vt,null)," Importing.."):React.createElement(React.Fragment,null,u?React.createElement("i",{className:"dashicons dashicons-download"}):"",m))}))),bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=e.replace("&","&")).replace("&","&"),(e=o()(e)).__wrapped__};function yt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _t(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var wt=wp.compose.compose,kt=wp.data.withDispatch,xt=wp.element,St=xt.memo,Et=xt.useEffect,Pt=xt.useState,Rt=(wp.ajax.post,wt(kt((function(e){var t=e("ast-block-templates"),n=t.setImportItemInfo,r=t.setFullWidthBlockPreview,o=t.setCurrentScreen;return{setImportItemInfo:n,updateFullWidthBlockPreview:function(e){r(e),o("full-width-block-preview")}}})))(St((function(e){var t=e.setImportItemInfo,n=e.updateFullWidthBlockPreview,r=e.item,o=e.InitMasonry,i=r["thumbnail-image-url"]||"",a=r["featured-image-url"]||"",c=function(e){t(e),n(e)},l=yt(Pt("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),u=l[0],s=l[1],f=yt(Pt("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),p=f[0],d=f[1];return Et((function(){var e=!0,t=new Image;t.src=i;var n=new Image;return n.src=a,t.onload=function(){e&&(s(t.src),o())},n.onload=function(){e&&(d(n.src),o())},function(){e=!1}})),React.createElement("div",{className:"item single-block"},React.createElement("div",{className:"inner"},React.createElement("div",{className:"thumbnail",onClick:function(){t(r),n(r),c(r)}},React.createElement("img",{srcSet:"".concat(p,", ").concat(u),src:u}),React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(r.title)),React.createElement("div",{className:"button-actions"},React.createElement("button",{className:"button",onClick:function(){c(r)}},"Preview"),React.createElement(gt,{withIcon:!1,btnClass:"button button-primary",title:"Import",liveRequest:!0,item:r})))))})))),It=wp.compose.compose,Bt=wp.element.memo,Tt=wp.data,At=Tt.withSelect,jt=Tt.withDispatch,Ct=It(At((function(e){return{filterBlocksByCategory:(0,e("ast-block-templates").getFilterBlocksByCategory)()}})),jt((function(e){return{setFilterBlocksByCategory:e("ast-block-templates").setFilterBlocksByCategory}})))(Bt((function(e){var t=e.filterBlocksByCategory,n=e.setFilterBlocksByCategory;return AstBlockTemplatesVars.allCategories?React.createElement("div",{className:"blocks-category"},React.createElement("select",{onChange:function(e){n(e.target.value)},defaultValue:t},React.createElement("option",{value:""},Y("All")),AstBlockTemplatesVars.allCategories.map((function(e){return React.createElement("option",{key:e.id,value:e.id}," ",e.name," ")})))):""}))),Ot=wp.compose.compose,Nt=wp.element.memo,Ft=wp.data,Lt=Ft.withSelect,Dt=Ft.withDispatch,zt=Ot(Lt((function(e){return{filterBlocksByColor:(0,e("ast-block-templates").getFilterBlocksByColor)()}})),Dt((function(e){return{setFilterBlocksByColor:e("ast-block-templates").setFilterBlocksByColor}})))(Nt((function(e){e.filterBlocksByColor;var t=e.setFilterBlocksByColor;if(AstBlockTemplatesVars.allBlocks){var n=[];return AstBlockTemplatesVars.allBlocks.map((function(e){e.filter&&!n.includes(e.filter)&&n.push(e.filter)})),console.log(n),n.length<=1?"":React.createElement("div",{className:"blocks-color"},React.createElement("select",{onChange:function(e){t(e.target.value)}},React.createElement("option",{value:""},Y("Filter by Color")),React.createElement("option",{value:"light"},Y("Light")),React.createElement("option",{value:"dark"},Y("Dark"))))}}))),Wt=(0,wp.element.memo)((function(){return React.createElement("div",{className:"filter-wrap ast-block-templates-block-grid-filters"},React.createElement("div",{className:"filters"},React.createElement(Ct,null),React.createElement(zt,null)))})),Mt=(n(23),function(e){var t=e.children;return React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,"Sorry No Results Found."),React.createElement("div",{className:"no-search-result-description"},React.createElement("p",null,"Don't see a template you would like to import?",React.createElement("br",null),AstBlockTemplatesVars.display_suggestion_link&&React.createElement("a",{target:"_blank",href:AstBlockTemplatesVars.suggestion_link},"Make a Template Suggestion!"))),t)}),Ut=(n(25),function(e){var t=e.afterClick;return React.createElement("span",null,React.createElement("span",{className:"back-to-templates",onClick:function(e){t&&t(e)}},Y("Back to Templates","ast-block-templates")))}),Vt=wp.compose.compose,$t=wp.data,qt=$t.withSelect,Gt=$t.withDispatch,Yt=wp.element,Ht=Yt.memo,Kt=Yt.useEffect,Zt=(Yt.useState,Vt(Gt((function(e){return{setFilterBlocksBySearchTerm:e("ast-block-templates").setFilterBlocksBySearchTerm}})),qt((function(e){return{allBlocks:(0,e("ast-block-templates").getAllBlocks)()}})))(Ht((function(e){var t=e.setFilterBlocksBySearchTerm,n=e.allBlocks,r=(e.imagesLoad,e.setImagesLoaded,Object.values(n));Kt((function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&imagesLoaded(e,(function(){new Masonry(e)}))}));var o=function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&new Masonry(e)};return React.createElement("div",{className:"ast-block-templates-grid-blocks active"},React.createElement(Wt,null),React.createElement("div",{className:"ast-block-templates-grid",id:"ast-block-templates-grid-blocks"},r.length?r.map((function(e){return React.createElement(Rt,{key:e.ID,item:e,InitMasonry:o})})):React.createElement(Mt,null,React.createElement(Ut,{afterClick:function(e){t("")}}))))}))));n(27);function Xt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Jt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jt(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Qt=wp.compose.compose,en=wp.data,tn=en.useSelect,nn=en.withSelect,rn=en.withDispatch,on=wp.element,an=on.useState,cn=on.memo,ln=wp.components.Spinner,un=wp.ajax.post,sn=Qt(nn((function(e){var t=e("ast-block-templates"),n=t.getPagePreview,r=t.getImportItemInfo,o=t.getCurrentScreen,i=t.getSitePreview;return{pagePreview:n(),importItemInfo:r(),sitePreview:i(),currentScreen:o()}})),rn((function(e){var t=e("ast-block-templates"),n=(t.setFullWidthBlockPreview,t.setCurrentScreen,t.setTogglePopup);t.setFullWidthPreview;return{onSetTogglePopup:n,insertBlocks:e("core/block-editor").insertBlocks}})))(cn((function(e){var t=e.title,n=e.currentScreen,r=e.insertBlocks,o=e.onSetTogglePopup,i=e.item,a=(e.importItemInfo,e.withIcon),c=e.pagePreview,l=a||!0,u=t||"Import",s=[],f="full-width-page-preview"===n?"show":"",p=Xt(an(!1),2),d=p[0],m=p[1],h=c["required-plugins"]?c["required-plugins"].filter((function(e){return"wpforms-lite"===e.slug})):[],v=tn((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),g=v.insertIndex,b=v.insertClientID,y=function(){Je({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){_()})).catch((function(e){}))},_=function(){var e=s["astra-site-wpforms-path"]||"";console.log("WPForms path"),console.log(e),e?w(e):Xe(i["astra-page-api-url"],r,o,g,b)},w=function(e){un({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){Xe(i["astra-page-api-url"],r,o,g,b)})).fail((function(e){}))};return React.createElement("button",{className:"button button-primary ast-template-import-page-button ".concat(f),onClick:function(){m(!0),rt(i.ID,"site-pages").then((function(e){s=e,h.length?"not-installed"===AstBlockTemplatesVars.wpforms_status?Qe({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){y()})).catch((function(e){console.log(e)})):"inactive"===AstBlockTemplatesVars.wpforms_status?y():_():_()}))}},d?React.createElement(React.Fragment,null,React.createElement(ln,null)," Importing.."):React.createElement(React.Fragment,null,!0===l?React.createElement("i",{className:"dashicons dashicons-download","aria-hidden":"true"}):"",u))}))),fn=(n(29),wp.compose.compose),pn=wp.data,dn=pn.withSelect,mn=pn.withDispatch,hn=wp.element,vn=hn.Fragment,gn=hn.memo,bn=hn.useEffect,yn=fn(dn((function(e){var t=e("ast-block-templates"),n=t.getDisplayDynamicPopup;return{pagePreview:(0,t.getPagePreview)(),displayDynamicPopup:n()}})),mn((function(e){return{setDisplayDynamicPopup:e("ast-block-templates").setDisplayDynamicPopup}})))(gn((function(e){var t=e.pagePreview,n=e.displayDynamicPopup,r=e.setDisplayDynamicPopup,o=!1===n?"hide":"",i=function(){r(!1)},a=function(e){e.target===document.querySelector(".ast-block-templates-popup-wrap")&&i()};return bn((function(){return document.addEventListener("click",a),function(){document.removeEventListener("click",a)}})),React.createElement(vn,null,React.createElement("div",{className:"ast-block-templates-popup-wrap ".concat(o)},React.createElement("div",{className:"ast-block-templates-popup"},React.createElement("div",{className:"ast-block-templates-popup-header"},React.createElement("h3",{className:"ast-block-templates-popup-heading"},Y("Heads Up!","ast-block-templates")),React.createElement("span",{className:"ast-block-templates-popup-close-icon",onClick:i},React.createElement("span",{className:"dashicons close dashicons-no-alt"}))),React.createElement("div",{className:"ast-block-templates-popup-content"},React.createElement("p",null,Y("The page template you are about to import contains a dynamic widget/module. Please note this dynamic data will not be available with the imported page.","ast-block-templates")),React.createElement("p",null,Y("You will need to add it manually on the page.","ast-block-templates"))),React.createElement("div",{className:"ast-block-templates-popup-footer"},React.createElement(sn,{title:E(Y('Skip & Import "%s" Page',"ast-block-templates"),t.title),item:t,withIcon:!1}),React.createElement("div",{className:"button",onClick:i},Y("Cancel","ast-block-templates"))))))}))),_n=wp.compose.compose,wn=wp.data,kn=wn.withSelect,xn=wn.withDispatch,Sn=wp.element.memo,En=_n(kn((function(e){return{pagePreview:(0,e("ast-block-templates").getPagePreview)()}})),xn((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setImportItemInfo:t.setImportItemInfo,setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(Sn((function(e){e.updateFullWidthPagePreview;var t=e.item,n=e.pagePreview,r=e.setPagePreview,o=e.setImportItemInfo,i=t["thumbnail-image-url"]||"";return React.createElement("div",{className:"item single-site ".concat(n.ID===t.ID?"active":"")},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",onClick:function(e){o(t),r(t)},style:{backgroundImage:"url('".concat(i,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(t.title)))))}))),Pn=(n(31),wp.element),Rn=Pn.memo,In=Pn.Fragment;var Bn=(0,wp.compose.compose)((0,wp.data.withSelect)((function(e){var t=e("ast-block-templates"),n=t.getPagePreview;return{sitePreview:(0,t.getSitePreview)(),pagePreview:n()}})))(Rn((function(e){var t=e.sitePreview,n=e.pagePreview,r=Object.values(t.pages)||[],o=n["featured-image-url"];return React.createElement(In,null,React.createElement(yn,null),React.createElement("div",{className:"ast-block-templates-single-site-preview"},React.createElement("div",{className:"ast-block-templates-single-page-preview"},React.createElement("h2",{className:"ast-block-templates-site-title"},bt(t.title)),React.createElement("div",{className:"screenshot"},React.createElement("img",{src:o}))),React.createElement("div",{className:"ast-block-templates-grid-preview"},React.createElement("h2",{className:"ast-block-templates-pages-title"},Y("Page Templates","ast-block-templates")),React.createElement("div",{className:"ast-block-templates-grid"},r.length?r.map((function(e){return React.createElement(En,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Y("No Result Found","ast-block-templates")),React.createElement("p",null,Y("The search result not found. Try another search.","ast-block-templates")))))))})));function Tn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return An(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return An(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function An(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jn=wp.compose.compose,Cn=wp.data,On=Cn.withSelect,Nn=Cn.withDispatch,Fn=wp.element,Ln=Fn.memo,Dn=Fn.useState,zn=Fn.useEffect,Wn=jn(On((function(e){return{preview:e("ast-block-templates").getSitePreview}})),Nn((function(e){var t=e("ast-block-templates"),n=t.setSitePreview,r=t.setPagePreview,o=t.setCurrentScreen;return{setSitePreview:function(e){var t=Object.values(e.pages).length?Object.values(e.pages)[0]:[];r(t),n(e),o("all-single-site-pages")},setImportItemInfo:t.setImportItemInfo}})))(Ln((function(e){var t=e.setSitePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"",i=n.pages?n.pages.length:0,a=i<=1?"Template":"Templates",c=Tn(Dn("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),l=c[0],u=c[1];return zn((function(){var e=!0,t=new Image;return t.src=o,t.onload=function(){e&&u(t.src)},function(){e=!1}}),[l]),React.createElement("div",{className:"item single-site",onClick:function(e){t(n),r(n)}},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",style:{backgroundImage:"url('".concat(l,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(n.title)),i?React.createElement("div",{className:"sub-title"},"".concat(i," ").concat(a)):"")))}))),Mn=wp.compose.compose,Un=wp.data,Vn=Un.withSelect,$n=(Un.withDispatch,wp.element),qn=($n.useEffect,$n.useState,$n.memo),Gn=$n.Fragment,Yn=Mn(Vn((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getCurrentScreen,o=t.getAllSites;return{currentScreen:r(),allSites:o(),allPages:n()}})))(qn((function(e){e.allPages;var t=e.allSites,n=(e.currentScreen,Object.values(t));return React.createElement(Gn,null,n.length?n.map((function(e){return React.createElement(Wn,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Y("No Sites Result Found")," "),React.createElement("p",null,Y("The search result not found. Try another search."))))}))),Hn=wp.compose.compose,Kn=wp.data,Zn=Kn.withSelect,Xn=Kn.withDispatch,Jn=wp.element.memo,Qn=Hn(Zn((function(e){return{preview:e("ast-block-templates").getSitePreview}})),Xn((function(e){var t=e("ast-block-templates"),n=t.setSearchPagePreview,r=t.setCurrentScreen;return{setSearchPagePreview:function(e){n(e),r("all-single-site-pages")},setImportItemInfo:t.setImportItemInfo}})))(Jn((function(e){var t=e.setSearchPagePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"";return React.createElement("div",{className:"item single-site"},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",onClick:function(e){t(n),r(n)},style:{backgroundImage:"url('".concat(o,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(n["site-title"])),React.createElement("div",{className:"sub-title"},bt(n.title)))))}))),er=wp.compose.compose,tr=wp.data,nr=tr.withSelect,rr=tr.withDispatch,or=wp.element,ir=or.memo,ar=or.Fragment,cr=er(rr((function(e){var t=e("ast-block-templates");return{setPagePreview:t.setPagePreview,setFilterPagesBySearchTerm:t.setFilterPagesBySearchTerm}})),nr((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getFilterPagesBySearchTerm;return{allPages:n(),filterPagesBySearchTerm:r()}})))(ir((function(e){var t=e.setPagePreview,n=e.setFilterPagesBySearchTerm,r=e.allPages,o=Object.values(r);return React.createElement(ar,null,o.length?o.map((function(e){return React.createElement(Qn,{key:e.ID,item:e})})):React.createElement(Mt,null,React.createElement(Ut,{afterClick:function(e){t({}),n("")}})))}))),lr=wp.compose.compose,ur=wp.data,sr=ur.withSelect,fr=ur.withDispatch,pr=wp.element,dr=pr.memo;pr.useEffect;var mr=lr(fr((function(e){return{setFilterPagesBySearchTerm:e("ast-block-templates").setFilterPagesBySearchTerm}})),sr((function(e){return{filterPagesBySearchTerm:(0,e("ast-block-templates").getFilterPagesBySearchTerm)()}})))(dr((function(e){var t=e.filterPagesBySearchTerm;return React.createElement("div",{className:"ast-block-templates-grid-pages active"},React.createElement("div",{id:"ast-block-templates-sites",className:"ast-block-templates-grid ".concat(t.length?"ast-block-templates-pages-grid":"ast-block-templates-sites-grid")},t.length?React.createElement(cr,null):React.createElement(Yn,null)))}))),hr=(n(33),wp.compose.compose),vr=wp.element.memo,gr=wp.data,br=gr.withSelect,yr=(gr.withDispatch,hr(br((function(e){return{blockPreview:(0,e("ast-block-templates").getFullWidthBlockPreview)()}})))(vr((function(e){var t=e.blockPreview["featured-image-url"]||"".concat(AstBlockTemplatesVars.uri,"dist/placeholder.png");return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),_r=(n(35),wp.compose.compose),wr=wp.element.memo,kr=wp.data,xr=kr.withSelect,Sr=(kr.withDispatch,_r(xr((function(e){return{pagePreview:(0,e("ast-block-templates").getFullWidthPagePreview)()}})))(wr((function(e){var t=e.pagePreview["featured-image-url"]||"";return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),Er=function(){return React.createElement("div",null,"All signle pages")},Pr=(n(37),wp.compose.compose),Rr=wp.data,Ir=Rr.withSelect,Br=Rr.withDispatch,Tr=wp.element.memo,Ar=Pr(Br((function(e){return{setNotice:e("ast-block-templates").setNotice}})),Ir((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(Tr((function(e){var t=e.notice,n=e.setNotice;if(Object.keys(t).length){var r=t.type,o=t.message;return React.createElement("div",{className:"ast-block-templates-notice notice notice-".concat(r)},React.createElement("div",{className:"ast-block-templates-notice-message"},o),React.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return n({})}},React.createElement("span",{className:"screen-reader-text"},"Dismiss")))}}))),jr=(n(39),wp.element),Cr=jr.useEffect,Or=jr.memo,Nr=wp.compose.compose,Fr=wp.data.withSelect,Lr=function(e){var t=e.filterPagesBySearchTerm,n=e.currentScreen;return"all-single-pages"===n?React.createElement(Er,null):"all-blocks-grid"===n?React.createElement(Zt,null):t||"all-single-site-pages"!==n?"all-sites-grid"===n?React.createElement(mr,null):"full-width-block-preview"===n?React.createElement(yr,null):"full-width-page-preview"===n?React.createElement(Sr,null):void 0:React.createElement(Bn,null)},Dr=Nr(Fr((function(e){var t=e("ast-block-templates"),n=t.getFilterPagesBySearchTerm,r=t.getSitePreview,o=t.getCurrentScreen,i=t.getTogglePopup;return{filterPagesBySearchTerm:n(),sitePreview:r(),currentScreen:o(),togglePopup:i()}})))(Or((function(e){var t=e.sitePreview,n=e.currentScreen,r=e.togglePopup;return Cr((function(){!0===r&&(document.body.classList.add("ast-block-templates-modal-open"),document.getElementById("ast-block-templates-modal-wrap").classList.add("open"))}),[r,n,t]),React.createElement("div",{className:"ast-block-templates-content"},React.createElement(Ar,null),React.createElement(Lr,{currentScreen:n}))})));n(41),n(43),n(45);function zr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Wr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Mr=wp.compose.compose,Ur=wp.data,Vr=Ur.withSelect,$r=Ur.withDispatch,qr=wp.element,Gr=qr.memo,Yr=qr.useState,Hr=Mr(Vr((function(e){return{importItemInfo:(0,e("ast-block-templates").getImportItemInfo)()}})),$r((function(e){return{setImportItemInfo:e("ast-block-templates").setImportItemInfo}})))(Gr((function(e){var t=e.requiredPlugins;if(t.length){var n=zr(Yr(!1),2),r=n[0],o=n[1];return React.createElement("div",{className:"used-blocks"},React.createElement("div",{className:"used-blocks-info ".concat(r?"show":"")},React.createElement("h3",null,"Install Required Plugins"),React.createElement("ul",null,t.map((function(e,t){return React.createElement("li",{key:t},e.name)})))),React.createElement("span",{className:"used-blocks-icon dashicons dashicons-editor-help",onClick:function(){return o(!r)}}))}}))),Kr=wp.compose.compose,Zr=wp.data,Xr=Zr.withSelect,Jr=Zr.withDispatch,Qr=wp.element,eo=Qr.memo,to=Qr.Fragment,no=Kr(Xr((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getPagePreview;return{importItemInfo:n(),pagePreview:o(),currentScreen:r()}})),Jr((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setDisplayDynamicPopup:t.setDisplayDynamicPopup,setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(eo((function(e){e.importItemInfo;var t=e.pagePreview,n=e.setDisplayDynamicPopup,r=t["astra-page-url"]?t["astra-page-url"]:"",o=!(!t["dynamic-page"]||"yes"!==t["dynamic-page"]);return React.createElement(to,null,React.createElement("a",{className:"button",href:r,target:"_blank"},'Preview "',t.title,'" Page'," ",React.createElement("i",{className:"dashicons dashicons-external"})),o?React.createElement("button",{className:"button button-primary",onClick:function(e){n(!0)}},'Import "'.concat(t.title,'" Page')):React.createElement(sn,{title:'Import "'.concat(t.title,'" Page'),item:t}))}))),ro=(n(47),wp.compose.compose),oo=wp.data,io=oo.withSelect,ao=oo.withDispatch,co=wp.element,lo=co.memo,uo=co.Fragment,so=ro(io((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getFullWidthBlockPreview;return{importItemInfo:n(),fullWidthBlockPreview:r()}})),ao((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(lo((function(e){var t,n=e.importItemInfo,r=e.fullWidthBlockPreview,o=r.url?r.url:"";return t=n["required-plugins"]?n["required-plugins"]:[],React.createElement(uo,null,React.createElement("div",{className:"left"},React.createElement("a",{className:"button",href:o,target:"_blank"},"Preview Pattern",React.createElement("i",{className:"dashicons dashicons-external"}))),React.createElement("div",{className:"right"},React.createElement(Hr,{requiredPlugins:t}),React.createElement(gt,{btnClass:"button button-primary",title:"Import Pattern",item:r,requiredPlugins:t})))}))),fo=wp.compose.compose,po=wp.data.withSelect,mo=wp.element.memo,ho=fo(po((function(e){return{currentScreen:(0,e("ast-block-templates").getCurrentScreen)()}})))(mo((function(e){var t=e.currentScreen;if("all-single-site-pages"===t||"full-width-block-preview"===t)return React.createElement("div",{className:"footer"},"all-single-site-pages"===t?React.createElement(no,null):React.createElement(so,null))}))),vo=wp.element,go=vo.Fragment,bo=vo.useEffect,yo=vo.memo,_o=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(yo((function(e){var t=e.onSetTogglePopup,n=function(e){e.target===document.getElementById("ast-block-templates-modal-wrap")&&(document.body.classList.remove("ast-block-templates-modal-open"),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),t())};return bo((function(){return document.addEventListener("click",n),function(){document.removeEventListener("click",n)}})),React.createElement(go,null,React.createElement(X,null),React.createElement("div",{className:"inner"},React.createElement(He,null),React.createElement(Dr,null),React.createElement(ho,null)))})));function wo(){wp.data.subscribe((function(){setTimeout((function(){!function(){if(!document.querySelector("#editor .edit-post-header__toolbar"))return;if(document.querySelector("#ast-block-templates-button-wrap"))return;var e=document.createElement("div");e.id="ast-block-templates-button-wrap",document.querySelector("#editor .edit-post-header__toolbar").appendChild(e)}(),function(){if(document.getElementById("ast-block-templates-modal-wrap"))return;var e=document.createElement("div");e.id="ast-block-templates-modal-wrap",e.classList.add(AstBlockTemplatesVars.popup_class),e.innerHTML='<div id="ast-block-templates-modal"></div>',document.body.appendChild(e),wp.element.render(React.createElement(_o,null),document.getElementById("ast-block-templates-modal"))}()}),500)}))}document.addEventListener("load",wo),document.addEventListener("DOMContentLoaded",wo)}]);
|
6 |
* Released under MIT license <https://lodash.com/license>
|
7 |
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
8 |
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
9 |
+
*/(function(){var i="Expected a function",a="__lodash_placeholder__",c=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",u="[object Array]",s="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",m="[object GeneratorFunction]",h="[object Map]",v="[object Number]",g="[object Object]",b="[object RegExp]",y="[object Set]",_="[object String]",w="[object Symbol]",k="[object WeakMap]",x="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",P="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",B="[object Int32Array]",T="[object Uint8Array]",A="[object Uint16Array]",j="[object Uint32Array]",C=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,D=RegExp(F.source),z=RegExp(L.source),W=/<%-([\s\S]+?)%>/g,M=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(G.source),H=/^\s+/,K=/\s/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,ce=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,se=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",me="[\\ud800-\\udfff]",he="["+de+"]",ve="["+pe+"]",ge="\\d+",be="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",_e="[^\\ud800-\\udfff"+de+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",ke="[^\\ud800-\\udfff]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",Se="[\\ud800-\\udbff][\\udc00-\\udfff]",Ee="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="(?:"+ye+"|"+_e+")",Re="(?:"+Ee+"|"+_e+")",Ie="(?:"+ve+"|"+we+")"+"?",Be="[\\ufe0e\\ufe0f]?"+Ie+("(?:\\u200d(?:"+[ke,xe,Se].join("|")+")[\\ufe0e\\ufe0f]?"+Ie+")*"),Te="(?:"+[be,xe,Se].join("|")+")"+Be,Ae="(?:"+[ke+ve+"?",ve,xe,Se,me].join("|")+")",je=RegExp("['’]","g"),Ce=RegExp(ve,"g"),Oe=RegExp(we+"(?="+we+")|"+Ae+Be,"g"),Ne=RegExp([Ee+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,Ee,"$"].join("|")+")",Re+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,Ee+Pe,"$"].join("|")+")",Ee+"?"+Pe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge,Te].join("|"),"g"),Fe=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,De=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ze=-1,We={};We[E]=We[P]=We[R]=We[I]=We[B]=We[T]=We["[object Uint8ClampedArray]"]=We[A]=We[j]=!0,We[l]=We[u]=We[x]=We[s]=We[S]=We[f]=We[p]=We[d]=We[h]=We[v]=We[g]=We[b]=We[y]=We[_]=We[k]=!1;var Me={};Me[l]=Me[u]=Me[x]=Me[S]=Me[s]=Me[f]=Me[E]=Me[P]=Me[R]=Me[I]=Me[B]=Me[h]=Me[v]=Me[g]=Me[b]=Me[y]=Me[_]=Me[w]=Me[T]=Me["[object Uint8ClampedArray]"]=Me[A]=Me[j]=!0,Me[p]=Me[d]=Me[k]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,$e=parseInt,qe="object"==typeof e&&e&&e.Object===Object&&e,Ge="object"==typeof self&&self&&self.Object===Object&&self,Ye=qe||Ge||Function("return this")(),He=t&&!t.nodeType&&t,Ke=He&&"object"==typeof r&&r&&!r.nodeType&&r,Ze=Ke&&Ke.exports===He,Xe=Ze&&qe.process,Je=function(){try{var e=Ke&&Ke.require&&Ke.require("util").types;return e||Xe&&Xe.binding&&Xe.binding("util")}catch(e){}}(),Qe=Je&&Je.isArrayBuffer,et=Je&&Je.isDate,tt=Je&&Je.isMap,nt=Je&&Je.isRegExp,rt=Je&&Je.isSet,ot=Je&&Je.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function st(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ft(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function dt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function mt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function ht(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function gt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var bt=Et("length");function yt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function _t(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):_t(e,xt,n)}function kt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function xt(e){return e!=e}function St(e,t){var n=null==e?0:e.length;return n?It(e,t)/n:NaN}function Et(e){return function(t){return null==t?void 0:t[e]}}function Pt(e){return function(t){return null==e?void 0:e[t]}}function Rt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function It(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function Bt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Tt(e){return e?e.slice(0,Ht(e)+1).replace(H,""):e}function At(e){return function(t){return e(t)}}function jt(e,t){return dt(t,(function(t){return e[t]}))}function Ct(e,t){return e.has(t)}function Ot(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function Ft(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=Pt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Dt=Pt({"&":"&","<":"<",">":">",'"':""","'":"'"});function zt(e){return"\\"+Ue[e]}function Wt(e){return Fe.test(e)}function Mt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ut(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var c=e[n];c!==t&&c!==a||(e[n]=a,i[o++]=n)}return i}function $t(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function qt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Gt(e){return Wt(e)?function(e){var t=Oe.lastIndex=0;for(;Oe.test(e);)++t;return t}(e):bt(e)}function Yt(e){return Wt(e)?function(e){return e.match(Oe)||[]}(e):function(e){return e.split("")}(e)}function Ht(e){for(var t=e.length;t--&&K.test(e.charAt(t)););return t}var Kt=Pt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Zt=function e(t){var n,r=(t=null==t?Ye:Zt.defaults(Ye.Object(),t,Zt.pick(Ye,De))).Array,o=t.Date,K=t.Error,pe=t.Function,de=t.Math,me=t.Object,he=t.RegExp,ve=t.String,ge=t.TypeError,be=r.prototype,ye=pe.prototype,_e=me.prototype,we=t["__core-js_shared__"],ke=ye.toString,xe=_e.hasOwnProperty,Se=0,Ee=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Pe=_e.toString,Re=ke.call(me),Ie=Ye._,Be=he("^"+ke.call(xe).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Te=Ze?t.Buffer:void 0,Ae=t.Symbol,Oe=t.Uint8Array,Fe=Te?Te.allocUnsafe:void 0,Ue=Ut(me.getPrototypeOf,me),qe=me.create,Ge=_e.propertyIsEnumerable,He=be.splice,Ke=Ae?Ae.isConcatSpreadable:void 0,Xe=Ae?Ae.iterator:void 0,Je=Ae?Ae.toStringTag:void 0,bt=function(){try{var e=ti(me,"defineProperty");return e({},"",{}),e}catch(e){}}(),Pt=t.clearTimeout!==Ye.clearTimeout&&t.clearTimeout,Xt=o&&o.now!==Ye.Date.now&&o.now,Jt=t.setTimeout!==Ye.setTimeout&&t.setTimeout,Qt=de.ceil,en=de.floor,tn=me.getOwnPropertySymbols,nn=Te?Te.isBuffer:void 0,rn=t.isFinite,on=be.join,an=Ut(me.keys,me),cn=de.max,ln=de.min,un=o.now,sn=t.parseInt,fn=de.random,pn=be.reverse,dn=ti(t,"DataView"),mn=ti(t,"Map"),hn=ti(t,"Promise"),vn=ti(t,"Set"),gn=ti(t,"WeakMap"),bn=ti(me,"create"),yn=gn&&new gn,_n={},wn=Ii(dn),kn=Ii(mn),xn=Ii(hn),Sn=Ii(vn),En=Ii(gn),Pn=Ae?Ae.prototype:void 0,Rn=Pn?Pn.valueOf:void 0,In=Pn?Pn.toString:void 0;function Bn(e){if(qa(e)&&!Oa(e)&&!(e instanceof Cn)){if(e instanceof jn)return e;if(xe.call(e,"__wrapped__"))return Bi(e)}return new jn(e)}var Tn=function(){function e(){}return function(t){if(!$a(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Cn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function On(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Fn;++t<n;)this.add(e[t])}function Dn(e){var t=this.__data__=new Nn(e);this.size=t.size}function zn(e,t){var n=Oa(e),r=!n&&Ca(e),o=!n&&!r&&Da(e),i=!n&&!r&&!o&&Qa(e),a=n||r||o||i,c=a?Bt(e.length,ve):[],l=c.length;for(var u in e)!t&&!xe.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||li(u,l))||c.push(u);return c}function Wn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Mn(e,t){return Ei(yo(e),Zn(t,0,e.length))}function Un(e){return Ei(yo(e))}function Vn(e,t,n){(void 0!==n&&!Ta(e[t],n)||void 0===n&&!(t in e))&&Hn(e,t,n)}function $n(e,t,n){var r=e[t];xe.call(e,t)&&Ta(r,n)&&(void 0!==n||t in e)||Hn(e,t,n)}function qn(e,t){for(var n=e.length;n--;)if(Ta(e[n][0],t))return n;return-1}function Gn(e,t,n,r){return tr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Yn(e,t){return e&&_o(t,wc(t),e)}function Hn(e,t,n){"__proto__"==t&&bt?bt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Kn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:vc(e,t[n]);return i}function Zn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Xn(e,t,n,r,o,i){var a,c=1&t,u=2&t,p=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!$a(e))return e;var k=Oa(e);if(k){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&xe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return yo(e,a)}else{var C=oi(e),O=C==d||C==m;if(Da(e))return po(e,c);if(C==g||C==l||O&&!o){if(a=u||O?{}:ai(e),!c)return u?function(e,t){return _o(e,ri(e),t)}(e,function(e,t){return e&&_o(t,kc(t),e)}(a,e)):function(e,t){return _o(e,ni(e),t)}(e,Yn(a,e))}else{if(!Me[C])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case x:return mo(e);case s:case f:return new r(+e);case S:return function(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case E:case P:case R:case I:case B:case T:case"[object Uint8ClampedArray]":case A:case j:return ho(e,n);case h:return new r;case v:case _:return new r(e);case b:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case w:return o=e,Rn?me(Rn.call(o)):{}}var o}(e,C,c)}}i||(i=new Dn);var N=i.get(e);if(N)return N;i.set(e,a),Za(e)?e.forEach((function(r){a.add(Xn(r,t,n,r,e,i))})):Ga(e)&&e.forEach((function(r,o){a.set(o,Xn(r,t,n,o,e,i))}));var F=k?void 0:(p?u?Ho:Yo:u?kc:wc)(e);return ct(F||e,(function(r,o){F&&(r=e[o=r]),$n(a,o,Xn(r,t,n,o,e,i))})),a}function Jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ge(i);return wi((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,i=ft,a=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=dt(t,At(n))),r?(i=pt,a=!1):t.length>=200&&(i=Ct,a=!1,t=new Ln(t));e:for(;++o<c;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f==f){for(var p=u;p--;)if(t[p]===f)continue e;l.push(s)}else i(t,f,r)||l.push(s)}return l}Bn.templateSettings={escape:W,evaluate:M,interpolate:U,variable:"",imports:{_:Bn}},Bn.prototype=An.prototype,Bn.prototype.constructor=Bn,jn.prototype=Tn(An.prototype),jn.prototype.constructor=jn,Cn.prototype=Tn(An.prototype),Cn.prototype.constructor=Cn,On.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},On.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},On.prototype.get=function(e){var t=this.__data__;if(bn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return xe.call(t,e)?t[e]:void 0},On.prototype.has=function(e){var t=this.__data__;return bn?void 0!==t[e]:xe.call(t,e)},On.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=bn&&void 0===t?"__lodash_hash_undefined__":t,this},Nn.prototype.clear=function(){this.__data__=[],this.size=0},Nn.prototype.delete=function(e){var t=this.__data__,n=qn(t,e);return!(n<0)&&(n==t.length-1?t.pop():He.call(t,n,1),--this.size,!0)},Nn.prototype.get=function(e){var t=this.__data__,n=qn(t,e);return n<0?void 0:t[n][1]},Nn.prototype.has=function(e){return qn(this.__data__,e)>-1},Nn.prototype.set=function(e,t){var n=this.__data__,r=qn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new On,map:new(mn||Nn),string:new On}},Fn.prototype.delete=function(e){var t=Qo(this,e).delete(e);return this.size-=t?1:0,t},Fn.prototype.get=function(e){return Qo(this,e).get(e)},Fn.prototype.has=function(e){return Qo(this,e).has(e)},Fn.prototype.set=function(e,t){var n=Qo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.clear=function(){this.__data__=new Nn,this.size=0},Dn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Dn.prototype.get=function(e){return this.__data__.get(e)},Dn.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Nn){var r=n.__data__;if(!mn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fn(r)}return n.set(e,t),this.size=n.size,this};var tr=xo(ur),nr=xo(sr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function or(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===c?a==a&&!Ja(a):n(a,c)))var c=a,l=i}return l}function ir(e,t){var n=[];return tr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ar(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ci),o||(o=[]);++i<a;){var c=e[i];t>0&&n(c)?t>1?ar(c,t-1,n,r,o):mt(o,c):r||(o[o.length]=c)}return o}var cr=So(),lr=So(!0);function ur(e,t){return e&&cr(e,t,wc)}function sr(e,t){return e&&lr(e,t,wc)}function fr(e,t){return st(t,(function(t){return Ma(e[t])}))}function pr(e,t){for(var n=0,r=(t=lo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:void 0}function dr(e,t,n){var r=t(e);return Oa(e)?r:mt(r,n(e))}function mr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Je&&Je in me(e)?function(e){var t=xe.call(e,Je),n=e[Je];try{e[Je]=void 0;var r=!0}catch(e){}var o=Pe.call(e);r&&(t?e[Je]=n:delete e[Je]);return o}(e):function(e){return Pe.call(e)}(e)}function hr(e,t){return e>t}function vr(e,t){return null!=e&&xe.call(e,t)}function gr(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var o=n?pt:ft,i=e[0].length,a=e.length,c=a,l=r(a),u=1/0,s=[];c--;){var f=e[c];c&&t&&(f=dt(f,At(t))),u=ln(f.length,u),l[c]=!n&&(t||i>=120&&f.length>=120)?new Ln(c&&f):void 0}f=e[0];var p=-1,d=l[0];e:for(;++p<i&&s.length<u;){var m=f[p],h=t?t(m):m;if(m=n||0!==m?m:0,!(d?Ct(d,h):o(s,h,n))){for(c=a;--c;){var v=l[c];if(!(v?Ct(v,h):o(e[c],h,n)))continue e}d&&d.push(h),s.push(m)}}return s}function yr(e,t,n){var r=null==(e=gi(e,t=lo(t,e)))?e:e[Ri(Wi(t))];return null==r?void 0:it(r,e,n)}function _r(e){return qa(e)&&mr(e)==l}function wr(e,t,n,r,o){return e===t||(null==e||null==t||!qa(e)&&!qa(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Oa(e),c=Oa(t),d=a?u:oi(e),m=c?u:oi(t),k=(d=d==l?g:d)==g,E=(m=m==l?g:m)==g,P=d==m;if(P&&Da(e)){if(!Da(t))return!1;a=!0,k=!1}if(P&&!k)return i||(i=new Dn),a||Qa(e)?qo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!i(new Oe(e),new Oe(t)));case s:case f:case v:return Ta(+e,+t);case p:return e.name==t.name&&e.message==t.message;case b:case _:return e==t+"";case h:var c=Mt;case y:var l=1&r;if(c||(c=$t),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var d=qo(c(e),c(t),r,o,i,a);return a.delete(e),d;case w:if(Rn)return Rn.call(e)==Rn.call(t)}return!1}(e,t,d,n,r,o,i);if(!(1&n)){var R=k&&xe.call(e,"__wrapped__"),I=E&&xe.call(t,"__wrapped__");if(R||I){var B=R?e.value():e,T=I?t.value():t;return i||(i=new Dn),o(B,T,n,r,i)}}if(!P)return!1;return i||(i=new Dn),function(e,t,n,r,o,i){var a=1&n,c=Yo(e),l=c.length,u=Yo(t).length;if(l!=u&&!a)return!1;var s=l;for(;s--;){var f=c[s];if(!(a?f in t:xe.call(t,f)))return!1}var p=i.get(e),d=i.get(t);if(p&&d)return p==t&&d==e;var m=!0;i.set(e,t),i.set(t,e);var h=a;for(;++s<l;){f=c[s];var v=e[f],g=t[f];if(r)var b=a?r(g,v,f,t,e,i):r(v,g,f,e,t,i);if(!(void 0===b?v===g||o(v,g,n,r,i):b)){m=!1;break}h||(h="constructor"==f)}if(m&&!h){var y=e.constructor,_=t.constructor;y==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _||(m=!1)}return i.delete(e),i.delete(t),m}(e,t,n,r,o,i)}(e,t,n,r,wr,o))}function kr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=me(e);o--;){var c=n[o];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){var l=(c=n[o])[0],u=e[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in e))return!1}else{var f=new Dn;if(r)var p=r(u,s,l,e,t,f);if(!(void 0===p?wr(s,u,3,r,f):p))return!1}}return!0}function xr(e){return!(!$a(e)||(t=e,Ee&&Ee in t))&&(Ma(e)?Be:ae).test(Ii(e));var t}function Sr(e){return"function"==typeof e?e:null==e?Yc:"object"==typeof e?Oa(e)?Tr(e[0],e[1]):Br(e):nl(e)}function Er(e){if(!di(e))return an(e);var t=[];for(var n in me(e))xe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Pr(e){if(!$a(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=di(e),n=[];for(var r in e)("constructor"!=r||!t&&xe.call(e,r))&&n.push(r);return n}function Rr(e,t){return e<t}function Ir(e,t){var n=-1,o=Fa(e)?r(e.length):[];return tr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Br(e){var t=ei(e);return 1==t.length&&t[0][2]?hi(t[0][0],t[0][1]):function(n){return n===e||kr(n,e,t)}}function Tr(e,t){return si(e)&&mi(t)?hi(Ri(e),t):function(n){var r=vc(n,e);return void 0===r&&r===t?gc(n,e):wr(t,r,3)}}function Ar(e,t,n,r,o){e!==t&&cr(t,(function(i,a){if(o||(o=new Dn),$a(i))!function(e,t,n,r,o,i,a){var c=yi(e,n),l=yi(t,n),u=a.get(l);if(u)return void Vn(e,n,u);var s=i?i(c,l,n+"",e,t,a):void 0,f=void 0===s;if(f){var p=Oa(l),d=!p&&Da(l),m=!p&&!d&&Qa(l);s=l,p||d||m?Oa(c)?s=c:La(c)?s=yo(c):d?(f=!1,s=po(l,!0)):m?(f=!1,s=ho(l,!0)):s=[]:Ha(l)||Ca(l)?(s=c,Ca(c)?s=cc(c):$a(c)&&!Ma(c)||(s=ai(l))):f=!1}f&&(a.set(l,s),o(s,l,r,i,a),a.delete(l));Vn(e,n,s)}(e,t,a,n,Ar,r,o);else{var c=r?r(yi(e,a),i,a+"",e,t,o):void 0;void 0===c&&(c=i),Vn(e,a,c)}}),kc)}function jr(e,t){var n=e.length;if(n)return li(t+=t<0?n:0,n)?e[t]:void 0}function Cr(e,t,n){t=t.length?dt(t,(function(e){return Oa(e)?function(t){return pr(t,1===e.length?e[0]:e)}:e})):[Yc];var r=-1;return t=dt(t,At(Jo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Ir(e,(function(e,n,o){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,c=n.length;for(;++r<a;){var l=vo(o[r],i[r]);if(l){if(r>=c)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)}))}function Or(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],c=pr(e,a);n(c,a)&&Ur(i,lo(a,e),c)}return i}function Nr(e,t,n,r){var o=r?kt:wt,i=-1,a=t.length,c=e;for(e===t&&(t=yo(t)),n&&(c=dt(e,At(n)));++i<a;)for(var l=0,u=t[i],s=n?n(u):u;(l=o(c,s,l,r))>-1;)c!==e&&He.call(c,l,1),He.call(e,l,1);return e}function Fr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;li(o)?He.call(e,o,1):eo(e,o)}}return e}function Lr(e,t){return e+en(fn()*(t-e+1))}function Dr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function zr(e,t){return ki(vi(e,t,Yc),e+"")}function Wr(e){return Wn(Tc(e))}function Mr(e,t){var n=Tc(e);return Ei(n,Zn(t,0,n.length))}function Ur(e,t,n,r){if(!$a(e))return e;for(var o=-1,i=(t=lo(t,e)).length,a=i-1,c=e;null!=c&&++o<i;){var l=Ri(t[o]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var s=c[l];void 0===(u=r?r(s,l,c):void 0)&&(u=$a(s)?s:li(t[o+1])?[]:{})}$n(c,l,u),c=c[l]}return e}var Vr=yn?function(e,t){return yn.set(e,t),e}:Yc,$r=bt?function(e,t){return bt(e,"toString",{configurable:!0,enumerable:!1,value:$c(t),writable:!0})}:Yc;function qr(e){return Ei(Tc(e))}function Gr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Yr(e,t){var n;return tr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Hr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Ja(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Kr(e,t,Yc,n)}function Kr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,c=null===t,l=Ja(t),u=void 0===t;o<i;){var s=en((o+i)/2),f=n(e[s]),p=void 0!==f,d=null===f,m=f==f,h=Ja(f);if(a)var v=r||m;else v=u?m&&(r||p):c?m&&p&&(r||!d):l?m&&p&&!d&&(r||!h):!d&&!h&&(r?f<=t:f<t);v?o=s+1:i=s}return ln(i,4294967294)}function Zr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],c=t?t(a):a;if(!n||!Ta(c,l)){var l=c;i[o++]=0===a?0:a}}return i}function Xr(e){return"number"==typeof e?e:Ja(e)?NaN:+e}function Jr(e){if("string"==typeof e)return e;if(Oa(e))return dt(e,Jr)+"";if(Ja(e))return In?In.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qr(e,t,n){var r=-1,o=ft,i=e.length,a=!0,c=[],l=c;if(n)a=!1,o=pt;else if(i>=200){var u=t?null:zo(e);if(u)return $t(u);a=!1,o=Ct,l=new Ln}else l=t?[]:c;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),c.push(s)}else o(l,f,n)||(l!==c&&l.push(f),c.push(s))}return c}function eo(e,t){return null==(e=gi(e,t=lo(t,e)))||delete e[Ri(Wi(t))]}function to(e,t,n,r){return Ur(e,t,n(pr(e,t)),r)}function no(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Gr(e,r?0:i,r?i+1:o):Gr(e,r?i+1:0,r?o:i)}function ro(e,t){var n=e;return n instanceof Cn&&(n=n.value()),ht(t,(function(e,t){return t.func.apply(t.thisArg,mt([e],t.args))}),n)}function oo(e,t,n){var o=e.length;if(o<2)return o?Qr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var c=e[i],l=-1;++l<o;)l!=i&&(a[i]=er(a[i]||c,e[l],t,n));return Qr(ar(a,1),t,n)}function io(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var c=r<i?t[r]:void 0;n(a,e[r],c)}return a}function ao(e){return La(e)?e:[]}function co(e){return"function"==typeof e?e:Yc}function lo(e,t){return Oa(e)?e:si(e,t)?[e]:Pi(lc(e))}var uo=zr;function so(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Gr(e,t,n)}var fo=Pt||function(e){return Ye.clearTimeout(e)};function po(e,t){if(t)return e.slice();var n=e.length,r=Fe?Fe(n):new e.constructor(n);return e.copy(r),r}function mo(e){var t=new e.constructor(e.byteLength);return new Oe(t).set(new Oe(e)),t}function ho(e,t){var n=t?mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function vo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Ja(e),a=void 0!==t,c=null===t,l=t==t,u=Ja(t);if(!c&&!u&&!i&&e>t||i&&a&&l&&!c&&!u||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e<t||u&&n&&o&&!r&&!i||c&&n&&o||!a&&o||!l)return-1}return 0}function go(e,t,n,o){for(var i=-1,a=e.length,c=n.length,l=-1,u=t.length,s=cn(a-c,0),f=r(u+s),p=!o;++l<u;)f[l]=t[l];for(;++i<c;)(p||i<a)&&(f[n[i]]=e[i]);for(;s--;)f[l++]=e[i++];return f}function bo(e,t,n,o){for(var i=-1,a=e.length,c=-1,l=n.length,u=-1,s=t.length,f=cn(a-l,0),p=r(f+s),d=!o;++i<f;)p[i]=e[i];for(var m=i;++u<s;)p[m+u]=t[u];for(;++c<l;)(d||i<a)&&(p[m+n[c]]=e[i++]);return p}function yo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function _o(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var c=t[i],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),o?Hn(n,c,l):$n(n,c,l)}return n}function wo(e,t){return function(n,r){var o=Oa(n)?at:Gn,i=t?t():{};return o(n,e,Jo(r,2),i)}}function ko(e){return zr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ui(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=me(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}function xo(e,t){return function(n,r){if(null==n)return n;if(!Fa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=me(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function So(e){return function(t,n,r){for(var o=-1,i=me(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}function Eo(e){return function(t){var n=Wt(t=lc(t))?Yt(t):void 0,r=n?n[0]:t.charAt(0),o=n?so(n,1).join(""):t.slice(1);return r[e]()+o}}function Po(e){return function(t){return ht(Mc(Cc(t).replace(je,"")),e,"")}}function Ro(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Tn(e.prototype),r=e.apply(n,t);return $a(r)?r:n}}function Io(e){return function(t,n,r){var o=me(t);if(!Fa(t)){var i=Jo(n,3);t=wc(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function Bo(e){return Go((function(t){var n=t.length,r=n,o=jn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(i);if(o&&!c&&"wrapper"==Zo(a))var c=new jn([],!0)}for(r=c?r:n;++r<n;){var l=Zo(a=t[r]),u="wrapper"==l?Ko(a):void 0;c=u&&fi(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[Zo(u[0])].apply(c,u[3]):1==a.length&&fi(a)?c[l]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Oa(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function To(e,t,n,o,i,a,c,l,u,s){var f=128&t,p=1&t,d=2&t,m=24&t,h=512&t,v=d?void 0:Ro(e);return function g(){for(var b=arguments.length,y=r(b),_=b;_--;)y[_]=arguments[_];if(m)var w=Xo(g),k=Ft(y,w);if(o&&(y=go(y,o,i,m)),a&&(y=bo(y,a,c,m)),b-=k,m&&b<s){var x=Vt(y,w);return Lo(e,t,To,g.placeholder,n,y,x,l,u,s-b)}var S=p?n:this,E=d?S[e]:e;return b=y.length,l?y=bi(y,l):h&&b>1&&y.reverse(),f&&u<b&&(y.length=u),this&&this!==Ye&&this instanceof g&&(E=v||Ro(E)),E.apply(S,y)}}function Ao(e,t){return function(n,r){return function(e,t,n,r){return ur(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Jr(n),r=Jr(r)):(n=Xr(n),r=Xr(r)),o=e(n,r)}return o}}function Co(e){return Go((function(t){return t=dt(t,At(Jo())),zr((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function Oo(e,t){var n=(t=void 0===t?" ":Jr(t)).length;if(n<2)return n?Dr(t,e):t;var r=Dr(t,Qt(e/Gt(t)));return Wt(t)?so(Yt(r),0,e).join(""):r.slice(0,e)}function No(e){return function(t,n,o){return o&&"number"!=typeof o&&ui(t,n,o)&&(n=o=void 0),t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n,o){for(var i=-1,a=cn(Qt((t-e)/(n||1)),0),c=r(a);a--;)c[o?a:++i]=e,e+=n;return c}(t,n,o=void 0===o?t<n?1:-1:rc(o),e)}}function Fo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ac(t),n=ac(n)),e(t,n)}}function Lo(e,t,n,r,o,i,a,c,l,u){var s=8&t;t|=s?32:64,4&(t&=~(s?64:32))||(t&=-4);var f=[e,t,o,s?i:void 0,s?a:void 0,s?void 0:i,s?void 0:a,c,l,u],p=n.apply(void 0,f);return fi(e)&&_i(p,f),p.placeholder=r,xi(p,e,t)}function Do(e){var t=de[e];return function(e,n){if(e=ac(e),(n=null==n?0:ln(oc(n),292))&&rn(e)){var r=(lc(e)+"e").split("e");return+((r=(lc(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var zo=vn&&1/$t(new vn([,-0]))[1]==1/0?function(e){return new vn(e)}:Jc;function Wo(e){return function(t){var n=oi(t);return n==h?Mt(t):n==y?qt(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Mo(e,t,n,o,c,l,u,s){var f=2&t;if(!f&&"function"!=typeof e)throw new ge(i);var p=o?o.length:0;if(p||(t&=-97,o=c=void 0),u=void 0===u?u:cn(oc(u),0),s=void 0===s?s:oc(s),p-=c?c.length:0,64&t){var d=o,m=c;o=c=void 0}var h=f?void 0:Ko(e),v=[e,t,n,o,c,d,m,l,u,s];if(h&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,c=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!c)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?go(u,l,t[4]):l,e[4]=u?Vt(e[3],a):t[4]}(l=t[5])&&(u=e[5],e[5]=u?bo(u,l,t[6]):l,e[6]=u?Vt(e[5],a):t[6]);(l=t[7])&&(e[7]=l);128&r&&(e[8]=null==e[8]?t[8]:ln(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(v,h),e=v[0],t=v[1],n=v[2],o=v[3],c=v[4],!(s=v[9]=void 0===v[9]?f?0:e.length:cn(v[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,n){var o=Ro(e);return function i(){for(var a=arguments.length,c=r(a),l=a,u=Xo(i);l--;)c[l]=arguments[l];var s=a<3&&c[0]!==u&&c[a-1]!==u?[]:Vt(c,u);if((a-=s.length)<n)return Lo(e,t,To,i.placeholder,void 0,c,s,void 0,void 0,n-a);var f=this&&this!==Ye&&this instanceof i?o:e;return it(f,this,c)}}(e,t,s):32!=t&&33!=t||c.length?To.apply(void 0,v):function(e,t,n,o){var i=1&t,a=Ro(e);return function t(){for(var c=-1,l=arguments.length,u=-1,s=o.length,f=r(s+l),p=this&&this!==Ye&&this instanceof t?a:e;++u<s;)f[u]=o[u];for(;l--;)f[u++]=arguments[++c];return it(p,i?n:this,f)}}(e,t,n,o);else var g=function(e,t,n){var r=1&t,o=Ro(e);return function t(){var i=this&&this!==Ye&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return xi((h?Vr:_i)(g,v),e,t)}function Uo(e,t,n,r){return void 0===e||Ta(e,_e[n])&&!xe.call(r,n)?t:e}function Vo(e,t,n,r,o,i){return $a(e)&&$a(t)&&(i.set(t,e),Ar(e,t,void 0,Vo,i),i.delete(t)),e}function $o(e){return Ha(e)?void 0:e}function qo(e,t,n,r,o,i){var a=1&n,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=i.get(e),s=i.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,d=2&n?new Ln:void 0;for(i.set(e,t),i.set(t,e);++f<c;){var m=e[f],h=t[f];if(r)var v=a?r(h,m,f,t,e,i):r(m,h,f,e,t,i);if(void 0!==v){if(v)continue;p=!1;break}if(d){if(!gt(t,(function(e,t){if(!Ct(d,t)&&(m===e||o(m,e,n,r,i)))return d.push(t)}))){p=!1;break}}else if(m!==h&&!o(m,h,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function Go(e){return ki(vi(e,void 0,Ni),e+"")}function Yo(e){return dr(e,wc,ni)}function Ho(e){return dr(e,kc,ri)}var Ko=yn?function(e){return yn.get(e)}:Jc;function Zo(e){for(var t=e.name+"",n=_n[t],r=xe.call(_n,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Xo(e){return(xe.call(Bn,"placeholder")?Bn:e).placeholder}function Jo(){var e=Bn.iteratee||Hc;return e=e===Hc?Sr:e,arguments.length?e(arguments[0],arguments[1]):e}function Qo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ei(e){for(var t=wc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,mi(o)]}return t}function ti(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return xr(n)?n:void 0}var ni=tn?function(e){return null==e?[]:(e=me(e),st(tn(e),(function(t){return Ge.call(e,t)})))}:il,ri=tn?function(e){for(var t=[];e;)mt(t,ni(e)),e=Ue(e);return t}:il,oi=mr;function ii(e,t,n){for(var r=-1,o=(t=lo(t,e)).length,i=!1;++r<o;){var a=Ri(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Va(o)&&li(a,o)&&(Oa(e)||Ca(e))}function ai(e){return"function"!=typeof e.constructor||di(e)?{}:Tn(Ue(e))}function ci(e){return Oa(e)||Ca(e)||!!(Ke&&e&&e[Ke])}function li(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&le.test(e))&&e>-1&&e%1==0&&e<t}function ui(e,t,n){if(!$a(n))return!1;var r=typeof t;return!!("number"==r?Fa(n)&&li(t,n.length):"string"==r&&t in n)&&Ta(n[t],e)}function si(e,t){if(Oa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ja(e))||($.test(e)||!V.test(e)||null!=t&&e in me(t))}function fi(e){var t=Zo(e),n=Bn[t];if("function"!=typeof n||!(t in Cn.prototype))return!1;if(e===n)return!0;var r=Ko(n);return!!r&&e===r[0]}(dn&&oi(new dn(new ArrayBuffer(1)))!=S||mn&&oi(new mn)!=h||hn&&"[object Promise]"!=oi(hn.resolve())||vn&&oi(new vn)!=y||gn&&oi(new gn)!=k)&&(oi=function(e){var t=mr(e),n=t==g?e.constructor:void 0,r=n?Ii(n):"";if(r)switch(r){case wn:return S;case kn:return h;case xn:return"[object Promise]";case Sn:return y;case En:return k}return t});var pi=we?Ma:al;function di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function mi(e){return e==e&&!$a(e)}function hi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in me(n)))}}function vi(e,t,n){return t=cn(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=cn(o.length-t,0),c=r(a);++i<a;)c[i]=o[t+i];i=-1;for(var l=r(t+1);++i<t;)l[i]=o[i];return l[t]=n(c),it(e,this,l)}}function gi(e,t){return t.length<2?e:pr(e,Gr(t,0,-1))}function bi(e,t){for(var n=e.length,r=ln(t.length,n),o=yo(e);r--;){var i=t[r];e[r]=li(i,n)?o[i]:void 0}return e}function yi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var _i=Si(Vr),wi=Jt||function(e,t){return Ye.setTimeout(e,t)},ki=Si($r);function xi(e,t,n){var r=t+"";return ki(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return ct(c,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(J):[]}(r),n)))}function Si(e){var t=0,n=0;return function(){var r=un(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ei(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Lr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Pi=function(e){var t=Sa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(q,(function(e,n,r,o){t.push(r?o.replace(te,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||Ja(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ii(e){if(null!=e){try{return ke.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Bi(e){if(e instanceof Cn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=yo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ti=zr((function(e,t){return La(e)?er(e,ar(t,1,La,!0)):[]})),Ai=zr((function(e,t){var n=Wi(t);return La(n)&&(n=void 0),La(e)?er(e,ar(t,1,La,!0),Jo(n,2)):[]})),ji=zr((function(e,t){var n=Wi(t);return La(n)&&(n=void 0),La(e)?er(e,ar(t,1,La,!0),void 0,n):[]}));function Ci(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),_t(e,Jo(t,3),o)}function Oi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=oc(n),o=n<0?cn(r+o,0):ln(o,r-1)),_t(e,Jo(t,3),o,!0)}function Ni(e){return(null==e?0:e.length)?ar(e,1):[]}function Fi(e){return e&&e.length?e[0]:void 0}var Li=zr((function(e){var t=dt(e,ao);return t.length&&t[0]===e[0]?br(t):[]})),Di=zr((function(e){var t=Wi(e),n=dt(e,ao);return t===Wi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Jo(t,2)):[]})),zi=zr((function(e){var t=Wi(e),n=dt(e,ao);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function Wi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Mi=zr(Ui);function Ui(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Vi=Go((function(e,t){var n=null==e?0:e.length,r=Kn(e,t);return Fr(e,dt(t,(function(e){return li(e,n)?+e:e})).sort(vo)),r}));function $i(e){return null==e?e:pn.call(e)}var qi=zr((function(e){return Qr(ar(e,1,La,!0))})),Gi=zr((function(e){var t=Wi(e);return La(t)&&(t=void 0),Qr(ar(e,1,La,!0),Jo(t,2))})),Yi=zr((function(e){var t=Wi(e);return t="function"==typeof t?t:void 0,Qr(ar(e,1,La,!0),void 0,t)}));function Hi(e){if(!e||!e.length)return[];var t=0;return e=st(e,(function(e){if(La(e))return t=cn(e.length,t),!0})),Bt(t,(function(t){return dt(e,Et(t))}))}function Ki(e,t){if(!e||!e.length)return[];var n=Hi(e);return null==t?n:dt(n,(function(e){return it(t,void 0,e)}))}var Zi=zr((function(e,t){return La(e)?er(e,t):[]})),Xi=zr((function(e){return oo(st(e,La))})),Ji=zr((function(e){var t=Wi(e);return La(t)&&(t=void 0),oo(st(e,La),Jo(t,2))})),Qi=zr((function(e){var t=Wi(e);return t="function"==typeof t?t:void 0,oo(st(e,La),void 0,t)})),ea=zr(Hi);var ta=zr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Ki(e,n)}));function na(e){var t=Bn(e);return t.__chain__=!0,t}function ra(e,t){return t(e)}var oa=Go((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Kn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Cn&&li(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ra,args:[o],thisArg:void 0}),new jn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var ia=wo((function(e,t,n){xe.call(e,n)?++e[n]:Hn(e,n,1)}));var aa=Io(Ci),ca=Io(Oi);function la(e,t){return(Oa(e)?ct:tr)(e,Jo(t,3))}function ua(e,t){return(Oa(e)?lt:nr)(e,Jo(t,3))}var sa=wo((function(e,t,n){xe.call(e,n)?e[n].push(t):Hn(e,n,[t])}));var fa=zr((function(e,t,n){var o=-1,i="function"==typeof t,a=Fa(e)?r(e.length):[];return tr(e,(function(e){a[++o]=i?it(t,e,n):yr(e,t,n)})),a})),pa=wo((function(e,t,n){Hn(e,n,t)}));function da(e,t){return(Oa(e)?dt:Ir)(e,Jo(t,3))}var ma=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ha=zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ui(e,t[0],t[1])?t=[]:n>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Cr(e,ar(t,1),[])})),va=Xt||function(){return Ye.Date.now()};function ga(e,t,n){return t=n?void 0:t,Mo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ba(e,t){var n;if("function"!=typeof t)throw new ge(i);return e=oc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ya=zr((function(e,t,n){var r=1;if(n.length){var o=Vt(n,Xo(ya));r|=32}return Mo(e,r,t,n,o)})),_a=zr((function(e,t,n){var r=3;if(n.length){var o=Vt(n,Xo(_a));r|=32}return Mo(t,r,e,n,o)}));function wa(e,t,n){var r,o,a,c,l,u,s=0,f=!1,p=!1,d=!0;if("function"!=typeof e)throw new ge(i);function m(t){var n=r,i=o;return r=o=void 0,s=t,c=e.apply(i,n)}function h(e){return s=e,l=wi(g,t),f?m(e):c}function v(e){var n=e-u;return void 0===u||n>=t||n<0||p&&e-s>=a}function g(){var e=va();if(v(e))return b(e);l=wi(g,function(e){var n=t-(e-u);return p?ln(n,a-(e-s)):n}(e))}function b(e){return l=void 0,d&&r?m(e):(r=o=void 0,c)}function y(){var e=va(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===l)return h(u);if(p)return fo(l),l=wi(g,t),m(u)}return void 0===l&&(l=wi(g,t)),c}return t=ac(t)||0,$a(n)&&(f=!!n.leading,a=(p="maxWait"in n)?cn(ac(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==l&&fo(l),s=0,r=u=o=l=void 0},y.flush=function(){return void 0===l?c:b(va())},y}var ka=zr((function(e,t){return Qn(e,1,t)})),xa=zr((function(e,t,n){return Qn(e,ac(t)||0,n)}));function Sa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Sa.Cache||Fn),n}function Ea(e){if("function"!=typeof e)throw new ge(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Sa.Cache=Fn;var Pa=uo((function(e,t){var n=(t=1==t.length&&Oa(t[0])?dt(t[0],At(Jo())):dt(ar(t,1),At(Jo()))).length;return zr((function(r){for(var o=-1,i=ln(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return it(e,this,r)}))})),Ra=zr((function(e,t){return Mo(e,32,void 0,t,Vt(t,Xo(Ra)))})),Ia=zr((function(e,t){return Mo(e,64,void 0,t,Vt(t,Xo(Ia)))})),Ba=Go((function(e,t){return Mo(e,256,void 0,void 0,void 0,t)}));function Ta(e,t){return e===t||e!=e&&t!=t}var Aa=Fo(hr),ja=Fo((function(e,t){return e>=t})),Ca=_r(function(){return arguments}())?_r:function(e){return qa(e)&&xe.call(e,"callee")&&!Ge.call(e,"callee")},Oa=r.isArray,Na=Qe?At(Qe):function(e){return qa(e)&&mr(e)==x};function Fa(e){return null!=e&&Va(e.length)&&!Ma(e)}function La(e){return qa(e)&&Fa(e)}var Da=nn||al,za=et?At(et):function(e){return qa(e)&&mr(e)==f};function Wa(e){if(!qa(e))return!1;var t=mr(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ha(e)}function Ma(e){if(!$a(e))return!1;var t=mr(e);return t==d||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ua(e){return"number"==typeof e&&e==oc(e)}function Va(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function $a(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qa(e){return null!=e&&"object"==typeof e}var Ga=tt?At(tt):function(e){return qa(e)&&oi(e)==h};function Ya(e){return"number"==typeof e||qa(e)&&mr(e)==v}function Ha(e){if(!qa(e)||mr(e)!=g)return!1;var t=Ue(e);if(null===t)return!0;var n=xe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ke.call(n)==Re}var Ka=nt?At(nt):function(e){return qa(e)&&mr(e)==b};var Za=rt?At(rt):function(e){return qa(e)&&oi(e)==y};function Xa(e){return"string"==typeof e||!Oa(e)&&qa(e)&&mr(e)==_}function Ja(e){return"symbol"==typeof e||qa(e)&&mr(e)==w}var Qa=ot?At(ot):function(e){return qa(e)&&Va(e.length)&&!!We[mr(e)]};var ec=Fo(Rr),tc=Fo((function(e,t){return e<=t}));function nc(e){if(!e)return[];if(Fa(e))return Xa(e)?Yt(e):yo(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=oi(e);return(t==h?Mt:t==y?$t:Tc)(e)}function rc(e){return e?(e=ac(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function oc(e){var t=rc(e),n=t%1;return t==t?n?t-n:t:0}function ic(e){return e?Zn(oc(e),0,4294967295):0}function ac(e){if("number"==typeof e)return e;if(Ja(e))return NaN;if($a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Tt(e);var n=ie.test(e);return n||ce.test(e)?$e(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function cc(e){return _o(e,kc(e))}function lc(e){return null==e?"":Jr(e)}var uc=ko((function(e,t){if(di(t)||Fa(t))_o(t,wc(t),e);else for(var n in t)xe.call(t,n)&&$n(e,n,t[n])})),sc=ko((function(e,t){_o(t,kc(t),e)})),fc=ko((function(e,t,n,r){_o(t,kc(t),e,r)})),pc=ko((function(e,t,n,r){_o(t,wc(t),e,r)})),dc=Go(Kn);var mc=zr((function(e,t){e=me(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ui(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=kc(i),c=-1,l=a.length;++c<l;){var u=a[c],s=e[u];(void 0===s||Ta(s,_e[u])&&!xe.call(e,u))&&(e[u]=i[u])}return e})),hc=zr((function(e){return e.push(void 0,Vo),it(Sc,void 0,e)}));function vc(e,t,n){var r=null==e?void 0:pr(e,t);return void 0===r?n:r}function gc(e,t){return null!=e&&ii(e,t,gr)}var bc=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),e[t]=n}),$c(Yc)),yc=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Pe.call(t)),xe.call(e,t)?e[t].push(n):e[t]=[n]}),Jo),_c=zr(yr);function wc(e){return Fa(e)?zn(e):Er(e)}function kc(e){return Fa(e)?zn(e,!0):Pr(e)}var xc=ko((function(e,t,n){Ar(e,t,n)})),Sc=ko((function(e,t,n,r){Ar(e,t,n,r)})),Ec=Go((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=lo(t,e),r||(r=t.length>1),t})),_o(e,Ho(e),n),r&&(n=Xn(n,7,$o));for(var o=t.length;o--;)eo(n,t[o]);return n}));var Pc=Go((function(e,t){return null==e?{}:function(e,t){return Or(e,t,(function(t,n){return gc(e,n)}))}(e,t)}));function Rc(e,t){if(null==e)return{};var n=dt(Ho(e),(function(e){return[e]}));return t=Jo(t),Or(e,n,(function(e,n){return t(e,n[0])}))}var Ic=Wo(wc),Bc=Wo(kc);function Tc(e){return null==e?[]:jt(e,wc(e))}var Ac=Po((function(e,t,n){return t=t.toLowerCase(),e+(n?jc(t):t)}));function jc(e){return Wc(lc(e).toLowerCase())}function Cc(e){return(e=lc(e))&&e.replace(ue,Lt).replace(Ce,"")}var Oc=Po((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Nc=Po((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Fc=Eo("toLowerCase");var Lc=Po((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Dc=Po((function(e,t,n){return e+(n?" ":"")+Wc(t)}));var zc=Po((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Wc=Eo("toUpperCase");function Mc(e,t,n){return e=lc(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.match(Q)||[]}(e):e.match(t)||[]}var Uc=zr((function(e,t){try{return it(e,void 0,t)}catch(e){return Wa(e)?e:new K(e)}})),Vc=Go((function(e,t){return ct(t,(function(t){t=Ri(t),Hn(e,t,ya(e[t],e))})),e}));function $c(e){return function(){return e}}var qc=Bo(),Gc=Bo(!0);function Yc(e){return e}function Hc(e){return Sr("function"==typeof e?e:Xn(e,1))}var Kc=zr((function(e,t){return function(n){return yr(n,e,t)}})),Zc=zr((function(e,t){return function(n){return yr(e,n,t)}}));function Xc(e,t,n){var r=wc(t),o=fr(t,r);null!=n||$a(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=fr(t,wc(t)));var i=!($a(n)&&"chain"in n&&!n.chain),a=Ma(e);return ct(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=yo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,mt([this.value()],arguments))})})),e}function Jc(){}var Qc=Co(dt),el=Co(ut),tl=Co(gt);function nl(e){return si(e)?Et(Ri(e)):function(e){return function(t){return pr(t,e)}}(e)}var rl=No(),ol=No(!0);function il(){return[]}function al(){return!1}var cl=jo((function(e,t){return e+t}),0),ll=Do("ceil"),ul=jo((function(e,t){return e/t}),1),sl=Do("floor");var fl,pl=jo((function(e,t){return e*t}),1),dl=Do("round"),ml=jo((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new ge(i);return e=oc(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=ga,Bn.assign=uc,Bn.assignIn=sc,Bn.assignInWith=fc,Bn.assignWith=pc,Bn.at=dc,Bn.before=ba,Bn.bind=ya,Bn.bindAll=Vc,Bn.bindKey=_a,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Oa(e)?e:[e]},Bn.chain=na,Bn.chunk=function(e,t,n){t=(n?ui(e,t,n):void 0===t)?1:cn(oc(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,c=r(Qt(o/t));i<o;)c[a++]=Gr(e,i,i+=t);return c},Bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return mt(Oa(n)?yo(n):[n],ar(t,1))},Bn.cond=function(e){var t=null==e?0:e.length,n=Jo();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new ge(i);return[n(e[0]),e[1]]})):[],zr((function(n){for(var r=-1;++r<t;){var o=e[r];if(it(o[0],this,n))return it(o[1],this,n)}}))},Bn.conforms=function(e){return function(e){var t=wc(e);return function(n){return Jn(n,e,t)}}(Xn(e,1))},Bn.constant=$c,Bn.countBy=ia,Bn.create=function(e,t){var n=Tn(e);return null==t?n:Yn(n,t)},Bn.curry=function e(t,n,r){var o=Mo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Bn.curryRight=function e(t,n,r){var o=Mo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Bn.debounce=wa,Bn.defaults=mc,Bn.defaultsDeep=hc,Bn.defer=ka,Bn.delay=xa,Bn.difference=Ti,Bn.differenceBy=Ai,Bn.differenceWith=ji,Bn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=n||void 0===t?1:oc(t))<0?0:t,r):[]},Bn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,0,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t):[]},Bn.dropRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0,!0):[]},Bn.dropWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0):[]},Bn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&ui(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=oc(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:oc(r))<0&&(r+=o),r=n>r?0:ic(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Bn.filter=function(e,t){return(Oa(e)?st:ir)(e,Jo(t,3))},Bn.flatMap=function(e,t){return ar(da(e,t),1)},Bn.flatMapDeep=function(e,t){return ar(da(e,t),1/0)},Bn.flatMapDepth=function(e,t,n){return n=void 0===n?1:oc(n),ar(da(e,t),n)},Bn.flatten=Ni,Bn.flattenDeep=function(e){return(null==e?0:e.length)?ar(e,1/0):[]},Bn.flattenDepth=function(e,t){return(null==e?0:e.length)?ar(e,t=void 0===t?1:oc(t)):[]},Bn.flip=function(e){return Mo(e,512)},Bn.flow=qc,Bn.flowRight=Gc,Bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Bn.functions=function(e){return null==e?[]:fr(e,wc(e))},Bn.functionsIn=function(e){return null==e?[]:fr(e,kc(e))},Bn.groupBy=sa,Bn.initial=function(e){return(null==e?0:e.length)?Gr(e,0,-1):[]},Bn.intersection=Li,Bn.intersectionBy=Di,Bn.intersectionWith=zi,Bn.invert=bc,Bn.invertBy=yc,Bn.invokeMap=fa,Bn.iteratee=Hc,Bn.keyBy=pa,Bn.keys=wc,Bn.keysIn=kc,Bn.map=da,Bn.mapKeys=function(e,t){var n={};return t=Jo(t,3),ur(e,(function(e,r,o){Hn(n,t(e,r,o),e)})),n},Bn.mapValues=function(e,t){var n={};return t=Jo(t,3),ur(e,(function(e,r,o){Hn(n,r,t(e,r,o))})),n},Bn.matches=function(e){return Br(Xn(e,1))},Bn.matchesProperty=function(e,t){return Tr(e,Xn(t,1))},Bn.memoize=Sa,Bn.merge=xc,Bn.mergeWith=Sc,Bn.method=Kc,Bn.methodOf=Zc,Bn.mixin=Xc,Bn.negate=Ea,Bn.nthArg=function(e){return e=oc(e),zr((function(t){return jr(t,e)}))},Bn.omit=Ec,Bn.omitBy=function(e,t){return Rc(e,Ea(Jo(t)))},Bn.once=function(e){return ba(2,e)},Bn.orderBy=function(e,t,n,r){return null==e?[]:(Oa(t)||(t=null==t?[]:[t]),Oa(n=r?void 0:n)||(n=null==n?[]:[n]),Cr(e,t,n))},Bn.over=Qc,Bn.overArgs=Pa,Bn.overEvery=el,Bn.overSome=tl,Bn.partial=Ra,Bn.partialRight=Ia,Bn.partition=ma,Bn.pick=Pc,Bn.pickBy=Rc,Bn.property=nl,Bn.propertyOf=function(e){return function(t){return null==e?void 0:pr(e,t)}},Bn.pull=Mi,Bn.pullAll=Ui,Bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Jo(n,2)):e},Bn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},Bn.pullAt=Vi,Bn.range=rl,Bn.rangeRight=ol,Bn.rearg=Ba,Bn.reject=function(e,t){return(Oa(e)?st:ir)(e,Ea(Jo(t,3)))},Bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Jo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Fr(e,o),n},Bn.rest=function(e,t){if("function"!=typeof e)throw new ge(i);return zr(e,t=void 0===t?t:oc(t))},Bn.reverse=$i,Bn.sampleSize=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:oc(t),(Oa(e)?Mn:Mr)(e,t)},Bn.set=function(e,t,n){return null==e?e:Ur(e,t,n)},Bn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Ur(e,t,n,r)},Bn.shuffle=function(e){return(Oa(e)?Un:qr)(e)},Bn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ui(e,t,n)?(t=0,n=r):(t=null==t?0:oc(t),n=void 0===n?r:oc(n)),Gr(e,t,n)):[]},Bn.sortBy=ha,Bn.sortedUniq=function(e){return e&&e.length?Zr(e):[]},Bn.sortedUniqBy=function(e,t){return e&&e.length?Zr(e,Jo(t,2)):[]},Bn.split=function(e,t,n){return n&&"number"!=typeof n&&ui(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=lc(e))&&("string"==typeof t||null!=t&&!Ka(t))&&!(t=Jr(t))&&Wt(e)?so(Yt(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new ge(i);return t=null==t?0:cn(oc(t),0),zr((function(n){var r=n[t],o=so(n,0,t);return r&&mt(o,r),it(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?Gr(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?Gr(e,0,(t=n||void 0===t?1:oc(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=r-(t=n||void 0===t?1:oc(t)))<0?0:t,r):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?no(e,Jo(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ge(i);return $a(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wa(e,t,{leading:r,maxWait:t,trailing:o})},Bn.thru=ra,Bn.toArray=nc,Bn.toPairs=Ic,Bn.toPairsIn=Bc,Bn.toPath=function(e){return Oa(e)?dt(e,Ri):Ja(e)?[e]:yo(Pi(lc(e)))},Bn.toPlainObject=cc,Bn.transform=function(e,t,n){var r=Oa(e),o=r||Da(e)||Qa(e);if(t=Jo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:$a(e)&&Ma(i)?Tn(Ue(e)):{}}return(o?ct:ur)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return ga(e,1)},Bn.union=qi,Bn.unionBy=Gi,Bn.unionWith=Yi,Bn.uniq=function(e){return e&&e.length?Qr(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?Qr(e,Jo(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},Bn.unset=function(e,t){return null==e||eo(e,t)},Bn.unzip=Hi,Bn.unzipWith=Ki,Bn.update=function(e,t,n){return null==e?e:to(e,t,co(n))},Bn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,co(n),r)},Bn.values=Tc,Bn.valuesIn=function(e){return null==e?[]:jt(e,kc(e))},Bn.without=Zi,Bn.words=Mc,Bn.wrap=function(e,t){return Ra(co(t),e)},Bn.xor=Xi,Bn.xorBy=Ji,Bn.xorWith=Qi,Bn.zip=ea,Bn.zipObject=function(e,t){return io(e||[],t||[],$n)},Bn.zipObjectDeep=function(e,t){return io(e||[],t||[],Ur)},Bn.zipWith=ta,Bn.entries=Ic,Bn.entriesIn=Bc,Bn.extend=sc,Bn.extendWith=fc,Xc(Bn,Bn),Bn.add=cl,Bn.attempt=Uc,Bn.camelCase=Ac,Bn.capitalize=jc,Bn.ceil=ll,Bn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=ac(n))==n?n:0),void 0!==t&&(t=(t=ac(t))==t?t:0),Zn(ac(e),t,n)},Bn.clone=function(e){return Xn(e,4)},Bn.cloneDeep=function(e){return Xn(e,5)},Bn.cloneDeepWith=function(e,t){return Xn(e,5,t="function"==typeof t?t:void 0)},Bn.cloneWith=function(e,t){return Xn(e,4,t="function"==typeof t?t:void 0)},Bn.conformsTo=function(e,t){return null==t||Jn(e,t,wc(t))},Bn.deburr=Cc,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=ul,Bn.endsWith=function(e,t,n){e=lc(e),t=Jr(t);var r=e.length,o=n=void 0===n?r:Zn(oc(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Bn.eq=Ta,Bn.escape=function(e){return(e=lc(e))&&z.test(e)?e.replace(L,Dt):e},Bn.escapeRegExp=function(e){return(e=lc(e))&&Y.test(e)?e.replace(G,"\\$&"):e},Bn.every=function(e,t,n){var r=Oa(e)?ut:rr;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Bn.find=aa,Bn.findIndex=Ci,Bn.findKey=function(e,t){return yt(e,Jo(t,3),ur)},Bn.findLast=ca,Bn.findLastIndex=Oi,Bn.findLastKey=function(e,t){return yt(e,Jo(t,3),sr)},Bn.floor=sl,Bn.forEach=la,Bn.forEachRight=ua,Bn.forIn=function(e,t){return null==e?e:cr(e,Jo(t,3),kc)},Bn.forInRight=function(e,t){return null==e?e:lr(e,Jo(t,3),kc)},Bn.forOwn=function(e,t){return e&&ur(e,Jo(t,3))},Bn.forOwnRight=function(e,t){return e&&sr(e,Jo(t,3))},Bn.get=vc,Bn.gt=Aa,Bn.gte=ja,Bn.has=function(e,t){return null!=e&&ii(e,t,vr)},Bn.hasIn=gc,Bn.head=Fi,Bn.identity=Yc,Bn.includes=function(e,t,n,r){e=Fa(e)?e:Tc(e),n=n&&!r?oc(n):0;var o=e.length;return n<0&&(n=cn(o+n,0)),Xa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&wt(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oc(n);return o<0&&(o=cn(r+o,0)),wt(e,t,o)},Bn.inRange=function(e,t,n){return t=rc(t),void 0===n?(n=t,t=0):n=rc(n),function(e,t,n){return e>=ln(t,n)&&e<cn(t,n)}(e=ac(e),t,n)},Bn.invoke=_c,Bn.isArguments=Ca,Bn.isArray=Oa,Bn.isArrayBuffer=Na,Bn.isArrayLike=Fa,Bn.isArrayLikeObject=La,Bn.isBoolean=function(e){return!0===e||!1===e||qa(e)&&mr(e)==s},Bn.isBuffer=Da,Bn.isDate=za,Bn.isElement=function(e){return qa(e)&&1===e.nodeType&&!Ha(e)},Bn.isEmpty=function(e){if(null==e)return!0;if(Fa(e)&&(Oa(e)||"string"==typeof e||"function"==typeof e.splice||Da(e)||Qa(e)||Ca(e)))return!e.length;var t=oi(e);if(t==h||t==y)return!e.size;if(di(e))return!Er(e).length;for(var n in e)if(xe.call(e,n))return!1;return!0},Bn.isEqual=function(e,t){return wr(e,t)},Bn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},Bn.isError=Wa,Bn.isFinite=function(e){return"number"==typeof e&&rn(e)},Bn.isFunction=Ma,Bn.isInteger=Ua,Bn.isLength=Va,Bn.isMap=Ga,Bn.isMatch=function(e,t){return e===t||kr(e,t,ei(t))},Bn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,kr(e,t,ei(t),n)},Bn.isNaN=function(e){return Ya(e)&&e!=+e},Bn.isNative=function(e){if(pi(e))throw new K("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return xr(e)},Bn.isNil=function(e){return null==e},Bn.isNull=function(e){return null===e},Bn.isNumber=Ya,Bn.isObject=$a,Bn.isObjectLike=qa,Bn.isPlainObject=Ha,Bn.isRegExp=Ka,Bn.isSafeInteger=function(e){return Ua(e)&&e>=-9007199254740991&&e<=9007199254740991},Bn.isSet=Za,Bn.isString=Xa,Bn.isSymbol=Ja,Bn.isTypedArray=Qa,Bn.isUndefined=function(e){return void 0===e},Bn.isWeakMap=function(e){return qa(e)&&oi(e)==k},Bn.isWeakSet=function(e){return qa(e)&&"[object WeakSet]"==mr(e)},Bn.join=function(e,t){return null==e?"":on.call(e,t)},Bn.kebabCase=Oc,Bn.last=Wi,Bn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=oc(n))<0?cn(r+o,0):ln(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):_t(e,xt,o,!0)},Bn.lowerCase=Nc,Bn.lowerFirst=Fc,Bn.lt=ec,Bn.lte=tc,Bn.max=function(e){return e&&e.length?or(e,Yc,hr):void 0},Bn.maxBy=function(e,t){return e&&e.length?or(e,Jo(t,2),hr):void 0},Bn.mean=function(e){return St(e,Yc)},Bn.meanBy=function(e,t){return St(e,Jo(t,2))},Bn.min=function(e){return e&&e.length?or(e,Yc,Rr):void 0},Bn.minBy=function(e,t){return e&&e.length?or(e,Jo(t,2),Rr):void 0},Bn.stubArray=il,Bn.stubFalse=al,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=pl,Bn.nth=function(e,t){return e&&e.length?jr(e,oc(t)):void 0},Bn.noConflict=function(){return Ye._===this&&(Ye._=Ie),this},Bn.noop=Jc,Bn.now=va,Bn.pad=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Oo(en(o),n)+e+Oo(Qt(o),n)},Bn.padEnd=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;return t&&r<t?e+Oo(t-r,n):e},Bn.padStart=function(e,t,n){e=lc(e);var r=(t=oc(t))?Gt(e):0;return t&&r<t?Oo(t-r,n)+e:e},Bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),sn(lc(e).replace(H,""),t||0)},Bn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ui(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=rc(e),void 0===t?(t=e,e=0):t=rc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=fn();return ln(e+o*(t-e+Ve("1e-"+((o+"").length-1))),t)}return Lr(e,t)},Bn.reduce=function(e,t,n){var r=Oa(e)?ht:Rt,o=arguments.length<3;return r(e,Jo(t,4),n,o,tr)},Bn.reduceRight=function(e,t,n){var r=Oa(e)?vt:Rt,o=arguments.length<3;return r(e,Jo(t,4),n,o,nr)},Bn.repeat=function(e,t,n){return t=(n?ui(e,t,n):void 0===t)?1:oc(t),Dr(lc(e),t)},Bn.replace=function(){var e=arguments,t=lc(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var r=-1,o=(t=lo(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ri(t[r])];void 0===i&&(r=o,i=n),e=Ma(i)?i.call(e):i}return e},Bn.round=dl,Bn.runInContext=e,Bn.sample=function(e){return(Oa(e)?Wn:Wr)(e)},Bn.size=function(e){if(null==e)return 0;if(Fa(e))return Xa(e)?Gt(e):e.length;var t=oi(e);return t==h||t==y?e.size:Er(e).length},Bn.snakeCase=Lc,Bn.some=function(e,t,n){var r=Oa(e)?gt:Yr;return n&&ui(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Bn.sortedIndex=function(e,t){return Hr(e,t)},Bn.sortedIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2))},Bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Hr(e,t);if(r<n&&Ta(e[r],t))return r}return-1},Bn.sortedLastIndex=function(e,t){return Hr(e,t,!0)},Bn.sortedLastIndexBy=function(e,t,n){return Kr(e,t,Jo(n,2),!0)},Bn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Hr(e,t,!0)-1;if(Ta(e[n],t))return n}return-1},Bn.startCase=Dc,Bn.startsWith=function(e,t,n){return e=lc(e),n=null==n?0:Zn(oc(n),0,e.length),t=Jr(t),e.slice(n,n+t.length)==t},Bn.subtract=ml,Bn.sum=function(e){return e&&e.length?It(e,Yc):0},Bn.sumBy=function(e,t){return e&&e.length?It(e,Jo(t,2)):0},Bn.template=function(e,t,n){var r=Bn.templateSettings;n&&ui(e,t,n)&&(t=void 0),e=lc(e),t=fc({},t,r,Uo);var o,i,a=fc({},t.imports,r.imports,Uo),c=wc(a),l=jt(a,c),u=0,s=t.interpolate||se,f="__p += '",p=he((t.escape||se).source+"|"+s.source+"|"+(s===U?ne:se).source+"|"+(t.evaluate||se).source+"|$","g"),d="//# sourceURL="+(xe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ze+"]")+"\n";e.replace(p,(function(t,n,r,a,c,l){return r||(r=a),f+=e.slice(u,l).replace(fe,zt),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),c&&(i=!0,f+="';\n"+c+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),f+="';\n";var m=xe.call(t,"variable")&&t.variable;if(m){if(ee.test(m))throw new K("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(C,""):f).replace(O,"$1").replace(N,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var h=Uc((function(){return pe(c,d+"return "+f).apply(void 0,l)}));if(h.source=f,Wa(h))throw h;return h},Bn.times=function(e,t){if((e=oc(e))<1||e>9007199254740991)return[];var n=4294967295,r=ln(e,4294967295);e-=4294967295;for(var o=Bt(r,t=Jo(t));++n<e;)t(n);return o},Bn.toFinite=rc,Bn.toInteger=oc,Bn.toLength=ic,Bn.toLower=function(e){return lc(e).toLowerCase()},Bn.toNumber=ac,Bn.toSafeInteger=function(e){return e?Zn(oc(e),-9007199254740991,9007199254740991):0===e?e:0},Bn.toString=lc,Bn.toUpper=function(e){return lc(e).toUpperCase()},Bn.trim=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return Tt(e);if(!e||!(t=Jr(t)))return e;var r=Yt(e),o=Yt(t);return so(r,Ot(r,o),Nt(r,o)+1).join("")},Bn.trimEnd=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return e.slice(0,Ht(e)+1);if(!e||!(t=Jr(t)))return e;var r=Yt(e);return so(r,0,Nt(r,Yt(t))+1).join("")},Bn.trimStart=function(e,t,n){if((e=lc(e))&&(n||void 0===t))return e.replace(H,"");if(!e||!(t=Jr(t)))return e;var r=Yt(e);return so(r,Ot(r,Yt(t))).join("")},Bn.truncate=function(e,t){var n=30,r="...";if($a(t)){var o="separator"in t?t.separator:o;n="length"in t?oc(t.length):n,r="omission"in t?Jr(t.omission):r}var i=(e=lc(e)).length;if(Wt(e)){var a=Yt(e);i=a.length}if(n>=i)return e;var c=n-Gt(r);if(c<1)return r;var l=a?so(a,0,c).join(""):e.slice(0,c);if(void 0===o)return l+r;if(a&&(c+=l.length-c),Ka(o)){if(e.slice(c).search(o)){var u,s=l;for(o.global||(o=he(o.source,lc(re.exec(o))+"g")),o.lastIndex=0;u=o.exec(s);)var f=u.index;l=l.slice(0,void 0===f?c:f)}}else if(e.indexOf(Jr(o),c)!=c){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+r},Bn.unescape=function(e){return(e=lc(e))&&D.test(e)?e.replace(F,Kt):e},Bn.uniqueId=function(e){var t=++Se;return lc(e)+t},Bn.upperCase=zc,Bn.upperFirst=Wc,Bn.each=la,Bn.eachRight=ua,Bn.first=Fi,Xc(Bn,(fl={},ur(Bn,(function(e,t){xe.call(Bn.prototype,t)||(fl[t]=e)})),fl),{chain:!1}),Bn.VERSION="4.17.21",ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),ct(["drop","take"],(function(e,t){Cn.prototype[e]=function(n){n=void 0===n?1:cn(oc(n),0);var r=this.__filtered__&&!t?new Cn(this):this.clone();return r.__filtered__?r.__takeCount__=ln(n,r.__takeCount__):r.__views__.push({size:ln(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Cn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Cn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Cn.prototype[e]=function(){return this[n](1).value()[0]}})),ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Cn.prototype[e]=function(){return this.__filtered__?new Cn(this):this[n](1)}})),Cn.prototype.compact=function(){return this.filter(Yc)},Cn.prototype.find=function(e){return this.filter(e).head()},Cn.prototype.findLast=function(e){return this.reverse().find(e)},Cn.prototype.invokeMap=zr((function(e,t){return"function"==typeof e?new Cn(this):this.map((function(n){return yr(n,e,t)}))})),Cn.prototype.reject=function(e){return this.filter(Ea(Jo(e)))},Cn.prototype.slice=function(e,t){e=oc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Cn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=oc(t))<0?n.dropRight(-t):n.take(t-e)),n)},Cn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Cn.prototype.toArray=function(){return this.take(4294967295)},ur(Cn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Bn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Bn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,c=t instanceof Cn,l=a[0],u=c||Oa(t),s=function(e){var t=o.apply(Bn,mt([e],a));return r&&f?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,d=i&&!f,m=c&&!p;if(!i&&u){t=m?t:new Cn(this);var h=e.apply(t,a);return h.__actions__.push({func:ra,args:[s],thisArg:void 0}),new jn(h,f)}return d&&m?e.apply(this,a):(h=this.thru(s),d?r?h.value()[0]:h.value():h)})})),ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=be[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Oa(o)?o:[],e)}return this[n]((function(n){return t.apply(Oa(n)?n:[],e)}))}})),ur(Cn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";xe.call(_n,r)||(_n[r]=[]),_n[r].push({name:t,func:n})}})),_n[To(void 0,2).name]=[{name:"wrapper",func:void 0}],Cn.prototype.clone=function(){var e=new Cn(this.__wrapped__);return e.__actions__=yo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yo(this.__views__),e},Cn.prototype.reverse=function(){if(this.__filtered__){var e=new Cn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Cn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Oa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=ln(t,e+a);break;case"takeRight":e=cn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,c=i.end,l=c-a,u=r?c:a-1,s=this.__iteratees__,f=s.length,p=0,d=ln(l,this.__takeCount__);if(!n||!r&&o==l&&d==l)return ro(e,this.__actions__);var m=[];e:for(;l--&&p<d;){for(var h=-1,v=e[u+=t];++h<f;){var g=s[h],b=g.iteratee,y=g.type,_=b(v);if(2==y)v=_;else if(!_){if(1==y)continue e;break e}}m[p++]=v}return m},Bn.prototype.at=oa,Bn.prototype.chain=function(){return na(this)},Bn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},Bn.prototype.next=function(){void 0===this.__values__&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof An;){var r=Bi(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Cn){var t=e;return this.__actions__.length&&(t=new Cn(this)),(t=t.reverse()).__actions__.push({func:ra,args:[$i],thisArg:void 0}),new jn(t,this.__chain__)}return this.thru($i)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Xe&&(Bn.prototype[Xe]=function(){return this}),Bn}();Ye._=Zt,void 0===(o=function(){return Zt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(7),n(8)(e))},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return c(u(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function c(e,t){var n,r,a,c,l,u,s,f,p,d=1,m=e.length,h="";for(r=0;r<m;r++)if("string"==typeof e[r])h+=e[r];else if("object"==typeof e[r]){if((c=e[r]).keys)for(n=t[d],a=0;a<c.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',c.keys[a],c.keys[a-1]));n=n[c.keys[a]]}else n=c.param_no?t[c.param_no]:t[d++];if(o.not_type.test(c.type)&&o.not_primitive.test(c.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(c.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(c.type)&&(f=n>=0),c.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,c.width?parseInt(c.width):0);break;case"e":n=c.precision?parseFloat(n).toExponential(c.precision):parseFloat(n).toExponential();break;case"f":n=c.precision?parseFloat(n).toFixed(c.precision):parseFloat(n);break;case"g":n=c.precision?String(Number(n.toPrecision(c.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=c.precision?n.substring(0,c.precision):n;break;case"t":n=String(!!n),n=c.precision?n.substring(0,c.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=c.precision?n.substring(0,c.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=c.precision?n.substring(0,c.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(c.type)?h+=n:(!o.number.test(c.type)||f&&!c.sign?p="":(p=f?"+":"-",n=n.toString().replace(o.sign,"")),u=c.pad_char?"0"===c.pad_char?"0":c.pad_char.charAt(1):" ",s=c.width-(p+n).length,l=c.width&&s>0?u.repeat(s):"",h+=c.align?p+n+l:"0"===u?p+l+n:l+p+n)}return h}var l=Object.create(null);function u(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],c=t[2],u=[];if(null===(u=o.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(c=c.substring(u[0].length));)if(null!==(u=o.key_access.exec(c)))a.push(u[1]);else{if(null===(u=o.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,a,c=n,l=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(a=0;a<l;a++)if(c.args[a]!==arguments[a]){c=c.next;continue e}return c!==n&&(c===r&&(r=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n,c.prev=null,n.prev=c,n=c),c.val}c=c.next}for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return c={args:i,val:e.apply(null,i)},n?(n.prev=c,c.next=n):r=c,o===t.maxSize?(r=r.prev).next=null:o++,n=c,c.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}},function(e,t,n){var r=n(1),o=n(6);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'*,:before,:after{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}#ast-block-templates-button-wrap{flex-basis:100%}#ast-block-templates-button{margin:2px;height:33px;font-size:13px;align-items:center;display:flex}#ast-block-templates-button .logo{width:16px;height:16px;margin-right:8px;padding:0}#ast-block-templates-button .uagb-template-button-logo{height:22px;width:22px;margin-left:-2px}.ast-block-templates-button{padding:10px}#ast-block-templates-modal{border-radius:3px;box-shadow:2px 8px 23px 3px rgba(0,0,0,.2);overflow:hidden;background-color:#f1f3f5;max-width:85%;height:calc(100vh - 4em);z-index:9999;margin:2em auto}#ast-block-templates-modal>.inner{position:relative}@media screen and (max-width: 782px){#ast-block-templates-modal{padding:0 20px}}.ast-block-templates-grid-blocks .inner .button-actions .button:first-child{margin-right:5px}.ast-block-templates-grid-blocks .button-actions.import-action-start{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .inner:hover .button-actions{opacity:1;visibility:visible}.ast-block-templates-grid-blocks .button-actions{opacity:0;visibility:hidden}.ast-block-templates-grid-blocks .thumbnail{cursor:pointer;position:relative;text-align:center}.ast-block-templates-grid-blocks .heading-wrap .title{margin-bottom:0}.ast-block-templates-grid-blocks .ast-block-templates-grid .item .heading-wrap{padding:8px 15px;flex-direction:row;align-items:center}@media only screen and (min-width: 768px){.ast-block-templates-grid-blocks .ast-block-templates-grid .item{width:33.33%}}.ast-block-templates-grid-pages,.ast-block-templates-grid-blocks{display:none}.ast-block-templates-grid-pages.active,.ast-block-templates-grid-blocks.active{display:block}@media only screen and (min-width: 768px){.ast-block-templates-single-site-preview .ast-block-templates-grid .item,.ast-block-templates-grid-pages .ast-block-templates-grid .item{width:25%}}.ast-block-templates-grid .item:hover .inner{box-shadow:0 6px 14px 0 rgba(0,0,0,.12)}.ast-block-templates-grid .item{margin:0 3% 3.6% 0;border:none;position:relative;margin:0 4% 4% 0;position:relative;width:30.6%;box-sizing:border-box;align-content:flex-start}.ast-block-templates-grid .item .inner{margin:0;box-shadow:0 1px 20px 0 rgba(0,0,0,.07);background:#fff;position:relative;border-radius:2px;overflow:initial;border:1px solid #ddd;transition:all .4s}.ast-block-templates-grid .item .screenshot{background-position:center top;background-size:100%;background-repeat:no-repeat;border-top-left-radius:2px;border-top-right-radius:2px;overflow:hidden;background-color:#e5e5e5;position:relative;display:block}.ast-block-templates-grid .item .screenshot:after{content:"";display:block;padding-top:118%}.ast-block-templates-grid .item .heading-wrap{background-color:#fff;display:flex;justify-content:space-between;line-height:1;padding:12px 15px;font-weight:normal;background:#fff;border:none;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-top:1px solid #eee;flex-direction:column}.ast-block-templates-grid .item .heading-wrap .ast-template-import-block-button{font-weight:normal}.ast-block-templates-grid .item .inner:hover .preview{opacity:1;visibility:visible}.ast-block-templates-grid .item .preview{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0;visibility:hidden;float:none;transition:all .3s}.ast-block-templates-grid .item .preview .preview-inner{position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);font-size:20px;color:#d5dadf}.ast-block-templates-grid .item .import{cursor:pointer;position:relative}.ast-block-templates-grid .item .import .components-spinner{position:absolute;left:-25px;margin:0;top:-2px}.ast-block-templates-grid .item .import .dashicons{height:auto;width:auto;font-size:initial;padding-right:3px}.image-loading{animation-duration:2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:image-placeholder;animation-timing-function:linear;background:#f6f7f8;background:linear-gradient(to right, #fafafa 8%, #f4f4f4 38%, #fafafa 54%);position:relative}@keyframes image-placeholder{0%{background-position:-150px 0}100%{background-position:150px 0}}.ast-block-templates-grid{display:flex;flex-wrap:wrap}@media only screen and (min-width: 768px){.ast-block-templates-grid{margin:0}.ast-block-templates-grid .item{width:25%;padding:1.1%;margin:0;box-shadow:none}}#ast-block-templates-modal-wrap{opacity:0;visibility:hidden;position:fixed;height:100%;width:100%;bottom:0;left:0;background-color:rgba(0,0,0,.8);z-index:9999;user-select:none}#ast-block-templates-modal-wrap .ast-block-templates-grid>.components-spinner{margin:8em auto auto}#ast-block-templates-modal-wrap.open{opacity:1;visibility:visible}#ast-block-templates-modal-wrap .filter-wrap{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px 0;padding-left:12.55px}#ast-block-templates-modal-wrap .filter-wrap select{margin-right:10px;position:relative;background-size:12px 12px;height:28px;color:#6d7882;border-radius:3px;border-color:#d5dadf;font-size:12px;padding:0 20px 0 10px;appearance:none;-webkit-appearance:none;-moz-appearance:none}#ast-block-templates-modal-wrap .filters{display:flex;justify-content:space-between;align-items:center}#ast-block-templates-modal-wrap .loading{position:relative;background-color:#e2e2e2}#ast-block-templates-modal-wrap .loading:after{display:block;content:"";position:absolute;width:100%;height:100%;-webkit-transform:translateX(-100%);transform:translateX(-100%);background:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent));background:linear-gradient(90deg, #ffffff1c, rgba(255, 255, 255, 0.2), #ffffff2b);-webkit-animation:loading 1.5s infinite;animation:loading 1.5s infinite}@-webkit-keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes loading{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}',""]),t.default=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(1),o=n(10);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.ast-block-templates-tooltip{width:105px;font-size:12px;position:absolute;bottom:-33px;background:#fff;box-shadow:0 3px 10px rgba(25,30,35,.12);padding:4px;border-radius:2px;display:none;z-index:999}.ast-block-templates-tooltip:before{border:5px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;top:-5px;left:45%;left:calc(50% - 5px);border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;border-top:none;margin-left:0px}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(12);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-sync{position:relative;padding:0 18px;cursor:pointer;color:#6d7882;border-left:1px solid #e6e9ec;display:flex;justify-content:center;align-items:center}.ast-block-templates-sync:hover .ast-block-templates-icon{color:#6d7882}.ast-block-templates-sync .ast-block-templates-icon{font-size:16px;color:#a4afb7}.ast-block-templates-sync .ast-block-templates-tooltip{text-align:center;width:100px}.ast-block-templates-sync:hover .ast-block-templates-tooltip{display:block}.ast-block-templates-sync__title{position:absolute;bottom:-15px;left:-139px;background:#fff;width:200px;border-radius:0px;padding:3px 8px;text-align:left;border:1px solid #e6e9ec;opacity:0;visibility:hidden}.ast-block-templates-sync--processing .ast-block-templates-icon{animation:rotation 2s infinite linear}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(14);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-layout{border-right:1px solid #eee;padding:0 15px;text-align:center;cursor:pointer;display:flex;justify-content:center;align-items:center;opacity:0;visibility:hidden;position:relative}.back-to-layout.show{opacity:1;visibility:visible}.back-to-layout .ast-block-templates-icon{font-size:24px}.back-to-layout:hover .ast-block-templates-tooltip{display:block}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(16);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".logo-wrap{border-right:1px solid #e6e9ec;display:flex;align-items:center;justify-content:center;cursor:pointer}.logo-wrap.white-label{width:auto}.logo-wrap.white-label .logo{width:auto;height:auto;padding:0 10px;font-weight:bold}.logo{height:38px;padding:0 8px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(18);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header-menu{display:flex;flex:1;align-items:center;justify-content:center;padding-right:70px}.uag-block-templates-lightbox .header-menu{padding-right:180px}.header-menu-item{line-height:1em;width:108px;padding:18px 0;display:inline-block;text-align:center;font-weight:600;color:#444;font-size:13px;border-bottom:3px solid transparent;cursor:pointer}.header-menu-item:hover{color:#0073aa}.header-menu-item.active{border-color:#0073aa;background-image:linear-gradient(to bottom, #f1f3f5, #fff);color:#0073aa}.header-menu-item .dashicons{width:auto;height:auto;font-size:initial;margin-right:8px}.header-menu-item .ast-block-templates-icon{margin-right:10px;font-size:16px}.header{display:flex;background-color:#fff;box-shadow:25px 0 30px rgba(28,39,60,.09);border-bottom:1px solid #ddd;align-items:stretch;position:relative}.header h2{padding:10px 15px}.header .close{padding:0 15px;cursor:pointer;color:#a4afb7;border-left:1px solid #e6e9ec;line-height:normal;display:flex;justify-content:center;align-items:center}.header .close:hover{color:#6d7882}.header .close .dashicons{line-height:normal;height:auto;width:auto;vertical-align:middle;font-size:22px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(20);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".header .search-form{position:absolute;right:122px;top:9px}.header .search-form input::-webkit-input-placeholder{color:#a4afb7}.header .search-form .button{border:none;padding:0px 5px;line-height:0;background:0 0;position:absolute;right:15px;bottom:0;color:#a4afb7;top:0}.header .search-form .button:hover{background:transparent}.header .search-form.have-input input:focus+.button,.header .search-form.have-input input:hover+.button{opacity:0;visibility:hidden}.header .search-form input{border-left:none;border-right:none;border-top:none;border-bottom:1px solid #f1f3f5;font-weight:300;width:250px;opacity:1;background:#fff;border-radius:3px;font-size:13px;padding:5px 20px 5px 15px;border:1px solid #e9e9e9;box-shadow:none}.header .search-form input:focus{outline:none;box-shadow:none;border-color:#f1f3f4}.header .search-form svg{fill:#a9a9a9;width:18px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(22);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-block-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-block-button .components-spinner,.ast-template-import-block-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-block-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-block-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(24);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".no-search-result{padding:7em 0;text-align:center;color:#6d7882;flex:1;right:0;top:0em !important}.no-search-result h3{margin-bottom:1.2em;font-size:1.3rem;font-weight:normal;color:#666;margin-top:0}.no-search-result p{font-size:13px;margin:0}.no-search-result-description a{text-decoration:none}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(26);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".back-to-templates{display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;background:#fafafa;border-color:#999;color:#23282d;margin-top:25px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(28);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-template-import-page-button{color:#6d7882;font-size:13px;line-height:normal;vertical-align:middle;cursor:pointer}.ast-template-import-page-button .components-spinner,.ast-template-import-page-button .dashicons{margin:0 5px 0px 0;font-size:16px;line-height:normal;vertical-align:sub;width:16px;height:16px}.header .ast-template-import-page-button{padding:15px 20px;border-right:1px solid #e6e9ec;opacity:0;visibility:hidden}.header .ast-template-import-page-button.show{opacity:1;visibility:visible}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(30);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-popup-wrap{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(49,49,49,.5);z-index:9}.ast-block-templates-popup-wrap.hide{display:none;opacity:0}.ast-block-templates-popup{background:#f2f2f2;margin:0 auto;width:660px;max-height:420px;transform:translate(-50%, -40%);box-sizing:border-box;position:fixed;background-color:#f1f3f5;z-index:100059;text-align:left;top:40%;left:50%;box-shadow:0 3px 6px rgba(0,0,0,.3);border-radius:2px}.ast-block-templates-popup-header{background:#fff;margin-top:0;box-shadow:0 0 8px rgba(0,0,0,.1);margin-bottom:.5em;display:flex;justify-content:space-between}.ast-block-templates-popup-footer{padding:1em 1em 1em 2em;z-index:30;box-sizing:border-box;border-top:1px solid #dcdcdc}.ast-block-templates-popup-footer .button{margin-right:10px}.ast-block-templates-popup-content{display:block;padding:1em 1em 1em 2em;background:#f1f3f5;min-height:200px;overflow:auto;position:relative}.ast-block-templates-popup-heading{font-size:1.3em;margin:0;font-weight:600;padding:1em 1em 1em 2em}.ast-block-templates-popup-close-icon{width:53px;cursor:pointer;border-left:1px solid #eee;color:#aaa;display:flex;align-items:center;justify-content:center;padding:1em 1em 1em 1em}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(32);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-single-site-preview .ast-block-templates-grid .item{width:47%;padding:0;margin:0 6% 6% 0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item:nth-child(even){margin-right:0}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .heading-wrap{padding:8px 14px}.ast-block-templates-single-site-preview .ast-block-templates-grid .item .title{font-weight:500;font-size:13px;background:#fff}.ast-block-templates-single-site-preview .ast-block-templates-grid .item.active .inner{border-color:#5b9dd9;border-radius:2px}.ast-block-templates-single-site-preview{display:flex;position:fixed;left:30px;right:30px;height:80vh;padding-top:14px;max-width:80%;margin:0 auto}.ast-block-templates-single-page-preview{width:65%;flex:1;margin-bottom:3em}.ast-block-templates-single-page-preview img{width:100%}.ast-block-templates-single-page-preview .screenshot{margin-right:4em;max-height:calc(100vh - 270px);overflow-y:auto;border-radius:2px;box-shadow:0 0 16px 0 rgba(0,0,0,.12);height:100vh}.ast-block-templates-grid-preview{width:35%}.ast-block-templates-grid-preview .ast-block-templates-grid{overflow-y:auto;max-height:calc(100vh - 250px);padding-right:30px;margin-right:-35px;margin-left:0}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner{border:1px solid #e2e2e2}.ast-block-templates-grid-preview .ast-block-templates-grid .item .inner:hover{box-shadow:0 3px 12px rgba(0,0,0,.14)}.ast-block-templates-grid-preview .ast-block-templates-grid .item .screenshot:after{padding-top:114%}.ast-block-templates-pages-title{color:#9e9e9e;text-decoration:none;font-weight:500;position:relative;font-size:13px;margin:0 0 32px 0}.ast-block-templates-site-title{font-size:22px;margin:0 0 32px 0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(34);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{max-height:calc(100vh - 210px);overflow-y:auto;box-shadow:0 0 16px 0 rgba(0,0,0,.12);margin:1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(36);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-full-preview{text-align:center}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(38);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content .ast-block-templates-notice-message{margin:.5em 0;padding:2px}.ast-block-templates-content .ast-block-templates-notice{position:relative;margin:0 1.1% 20px 1.1%}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(40);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".ast-block-templates-content{height:88vh;height:calc(100vh - 108px);overflow-y:auto;padding:30px;color:#444}.ast-block-templates-content img{max-width:100%;vertical-align:middle}.ast-block-templates-content .title{margin:0;font-size:14px;color:#444;margin-bottom:5px}.ast-block-templates-content .title b{font-weight:900}.ast-block-templates-content .sub-title{font-weight:300;font-size:13px}.ast-block-templates-full-preview::-webkit-scrollbar,.ast-block-templates-content::-webkit-scrollbar,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar{width:5px;background-color:#f1f1f1}.ast-block-templates-full-preview::-webkit-scrollbar-thumb,.ast-block-templates-content::-webkit-scrollbar-thumb,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-thumb,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}.ast-block-templates-full-preview::-webkit-scrollbar-track,.ast-block-templates-content::-webkit-scrollbar-track,.ast-block-templates-grid-preview .ast-block-templates-grid::-webkit-scrollbar-track,.ast-block-templates-single-page-preview .screenshot::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(42);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,".footer{background:#fff;border-top:1px solid #ebebeb;display:flex;padding:0 30px;position:absolute;bottom:0;right:0;left:0;justify-content:space-between;box-shadow:0 -2px 8px rgba(0,0,0,.05)}.footer .dashicons{vertical-align:middle;font-size:initial}.footer .left,.footer .right{display:flex;justify-content:center;align-items:center}.footer .button{margin:10px 0}",""]),t.default=o},function(e,t,n){var r=n(1),o=n(44);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){var r=n(1),o=n(46);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,'.used-blocks-info{width:250px;position:absolute;bottom:60px;background:#fff;box-shadow:0 -3px 10px rgba(25,30,35,.12);padding:15px 18px;border-radius:2px;right:38px;display:none}.used-blocks-info.show{display:block}.used-blocks-info:after{border:8px solid #fff;content:"";position:absolute;height:0;width:0;line-height:0;bottom:-8px;left:40%;border-top-style:solid;border-left-color:transparent;border-right-color:transparent;border-bottom:none;margin-left:0px}.used-blocks-info h3{margin:15px 0 8px 0;font-size:14px;font-weight:500;border-bottom:1px solid #e4e7ea;padding-bottom:8px}.used-blocks-info h3:first-child{margin-top:0}.used-blocks-info ol{margin-left:15px}.used-blocks-info ol li:last-child{margin-bottom:0}.footer .used-blocks-icon{border-left:1px solid #e6e9ec;border-right:1px solid #e6e9ec;margin-right:20px;padding:25px;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:20px;color:#555d66}',""]),t.default=o},function(e,t,n){var r=n(1),o=n(48);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r)()(!1);o.push([e.i,"",""]),t.default=o},function(e,t,n){"use strict";n.r(t);n(5);var r=n(2),o=n.n(r),i=function(e,t,n,o){var i=AstBlockTemplatesVars.allBlocks,a=[];e&&(a=i.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var c=[];return n&&(c=i.filter((function(e){var t=Object.values(e.tag);if(t.length){for(var r in t)if(t[r].toLowerCase().includes(n.toLowerCase()))return!0;return!1}return!0}))),(e||n)&&(i=Object(r.unionBy)(a,c,"ID")),t&&(i=i.filter((function(e){return parseInt(t)===parseInt(e.category)}))),o&&(i=i.filter((function(e){return o===e.filter}))),i},a=function(e){var t=[];for(var n in AstBlockTemplatesVars.allSites){var o=AstBlockTemplatesVars.allSites[n],i=o.pages||{};if(Object.values(i).length)for(var a in i)i[a]["site-ID"]=o.ID,i[a]["site-title"]=o.title,t.push(i[a])}var c=[];e&&(c=t.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())})));var l=[];e&&(l=t.filter((function(t){return t["site-title"].toLowerCase().includes(e.toLowerCase())})));var u=[];return e&&(u=t.filter((function(t){if("tag"in t){var n=Object.values(t.tag)||[];if(n.length)for(var r in n)if(n[r].toLowerCase().includes(e.toLowerCase()))return!0;return!1}return!0}))),e&&(t=Object(r.unionBy)(c,u,l,"ID")),t};function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={togglePopup:!1,allBlocks:AstBlockTemplatesVars.allBlocks,allSites:AstBlockTemplatesVars.allSites,allPages:[],currentScreen:"all-sites-grid",previousScreen:"",filterBlocksByCategory:"",filterBlocksByColor:"",filterBlocksBySearchTerm:"",filterPagesByPageType:"",filterPagesBySearchTerm:"",pagePreview:{},sitePreview:{},fullWidthPagePreview:{},fullWidthBlockPreview:{},notice:{},importItemInfo:{},displayDynamicPopup:!1},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;if("SET_DISPLAY_DYNAMIC_POPUP"===t.type)return l(l({},e),{},{displayDynamicPopup:t.displayDynamicPopup});if("SET_STATE"===t.type)return l(l({},e),t.state);if("FULL_WIDTH_PAGE_PREVIEW"===t.type)return l(l({},e),{},{fullWidthPagePreview:t.fullWidthPagePreview});if("FULL_WIDTH_BLOCK_PREVIEW"===t.type)return l(l({},e),{},{fullWidthBlockPreview:t.fullWidthBlockPreview});if("SET_IMPORT_ITEM_INFO"===t.type)return l(l({},e),{},{importItemInfo:t.importItemInfo});if("SET_NOTICE"===t.type)return l(l({},e),{},{notice:t.notice});if("SET_SEARCH_PAGE_PREVIEW"===t.type){var n=[],r=t.item["site-ID"]||"";return r&&(n=e.allSites.filter((function(e){return r===e.ID})))&&(n=n[0]),l(l({},e),{},{sitePreview:n,pagePreview:t.item})}if("SET_CURRENT_SCREEN"===t.type){var o="all-sites-grid"===t.currentScreen||"all-blocks-grid"===t.currentScree?"":e.currentScreen;return l(l({},e),{},{currentScreen:t.currentScreen,previousScreen:o})}return"SET_PREVIOUS_SCREEN"===t.type?l(l({},e),{},{previousScreen:t.previousScreen}):"TOGGLE_POPUP"===t.type?l(l({},s),{},{togglePopup:!e.togglePopup}):"SET_SITE_PREVIEW"===t.type?l(l({},e),{},{sitePreview:t.sitePreview}):"SET_PAGE_PREVIEW"===t.type?l(l({},e),{},{pagePreview:t.pagePreview}):"SET_FULL_PREVIEW"===t.type?l(l({},e),{},{fullWidthPreview:t.fullWidthPreview}):"SET_FILTER_BLOCKS_BY_CATEGORY"===t.type?l(l({},e),{},{allBlocks:i(e.filterBlocksBySearchTerm,t.filterBlocksByCategory,e.filterBlocksBySearchTerm,t.filterBlocksByColor),filterBlocksByCategory:t.filterBlocksByCategory}):"SET_FILTER_BLOCKS_BY_COLOR"===t.type?l(l({},e),{},{allBlocks:i(e.filterBlocksBySearchTerm,e.filterBlocksByCategory,e.filterBlocksBySearchTerm,t.filterBlocksByColor),filterBlocksByColor:t.filterBlocksByColor}):"SET_FILTER_BLOCKS_BY_SEARCH_TERM"===t.type?l(l({},e),{},{allBlocks:i(t.filterBlocksBySearchTerm,e.filterBlocksByCategory,t.filterBlocksBySearchTerm),filterBlocksBySearchTerm:t.filterBlocksBySearchTerm}):"SET_FILTER_PAGES_BY_SEARCH_TERM"===t.type?t.filterPagesBySearchTerm.length?l(l({},e),{},{allPages:a(t.filterPagesBySearchTerm),filterPagesBySearchTerm:t.filterPagesBySearchTerm}):l(l({},e),{},{allPages:[],filterPagesBySearchTerm:t.filterPagesBySearchTerm}):"SET_ALL_PAGES"===t.type?l(l({},e),{},{allPages:t.allPages}):e};function p(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m={getTogglePopup:function(e){return e.togglePopup},getAllBlocks:function(e){return e.allBlocks},getAllSites:function(e){return e.allSites},getCount:function(e){return e.count},getCurrentScreen:function(e){return e.currentScreen},getPreviousScreen:function(e){return e.previousScreen},getSearchTerm:function(e){return e.searchTerm},getSitePreview:function(e){return e.sitePreview},getNotice:function(e){return e.notice},getImportItemInfo:function(e){return e.importItemInfo},getPagePreview:function(e){return e.pagePreview},getFullWidthPreview:function(e){return e.fullWidthPreview},getFilterBlocksByCategory:function(e){return e.filterBlocksByCategory},getFilterBlocksByColor:function(e){return e.filterBlocksByColor},getFilterBlocksBySearchTerm:function(e){return e.filterBlocksBySearchTerm},getFilterPagesByPageType:function(e){return e.filterPagesByPageType},getFilterPagesBySearchTerm:function(e){return e.filterPagesBySearchTerm},getFullWidthPagePreview:function(e){return e.fullWidthPagePreview},getFullWidthBlockPreview:function(e){return e.fullWidthBlockPreview},getAllPages:function(e){return e.allPages},getBlockSearchInput:function(e){return e.blockSearchInput},getDisplayDynamicPopup:function(e){return e.displayDynamicPopup}},h={setTogglePopup:function(){return{type:"TOGGLE_POPUP"}},setFullWidthPagePreview:function(e){return{type:"FULL_WIDTH_PAGE_PREVIEW",fullWidthPagePreview:e}},setFullWidthBlockPreview:function(e){return{type:"FULL_WIDTH_BLOCK_PREVIEW",fullWidthBlockPreview:e}},setCurrentScreen:function(e){return{type:"SET_CURRENT_SCREEN",currentScreen:e}},setPreviousScreen:function(e){return{type:"SET_PREVIOUS_SCREEN",previousScreen:e}},setSitePreview:function(e){return{type:"SET_SITE_PREVIEW",sitePreview:e}},setSearchPagePreview:function(e){return{type:"SET_SEARCH_PAGE_PREVIEW",item:e}},setNotice:function(e){return{type:"SET_NOTICE",notice:e}},setPagePreview:function(e){return{type:"SET_PAGE_PREVIEW",pagePreview:e}},setFullWidthPreview:function(e){return{type:"SET_FULL_PREVIEW",fullWidthPreview:e}},setSearchTerm:function(e){return{type:"SEARCH_TERM",searchTerm:e}},setFilterBlocksByCategory:function(e){return{type:"SET_FILTER_BLOCKS_BY_CATEGORY",filterBlocksByCategory:e}},setFilterBlocksByColor:function(e){return{type:"SET_FILTER_BLOCKS_BY_COLOR",filterBlocksByColor:e}},setImportItemInfo:function(e){return{type:"SET_IMPORT_ITEM_INFO",importItemInfo:e}},setFilterBlocksBySearchTerm:function(e){return{type:"SET_FILTER_BLOCKS_BY_SEARCH_TERM",filterBlocksBySearchTerm:e}},setFilterPagesByPageType:function(e){return{type:"SET_FILTER_PAGES_BY_PAGE_TYPE",filterPagesByPageType:e}},setFilterPagesBySearchTerm:function(e){return{type:"SET_FILTER_PAGES_BY_SEARCH_TERM",filterPagesBySearchTerm:e}},setAllPages:function(e){return{type:"SET_ALL_PAGES",allPages:e}},setState:function(e){return{type:"SET_STATE",state:e}},setDisplayDynamicPopup:function(e){return{type:"SET_DISPLAY_DYNAMIC_POPUP",displayDynamicPopup:e}}};(function(e){var t,n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return n.apply(void 0,arguments)}};t=[].map((function(e){return e(o)})),n=r.flowRight.apply(void 0,p(t))(e.dispatch),e.dispatch=n})((0,wp.data.registerStore)("ast-block-templates",{reducer:f,actions:h,selectors:m}));var v,g,b,y,_=n(4),w=n.n(_),k=n(3),x=n.n(k),S=w()(console.error);function E(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return x.a.sprintf.apply(x.a,[e].concat(n))}catch(t){return S("sprintf error: \n\n"+t.toString()),e}}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}v={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},g=["(","?"],b={")":["("],":":["?","?:"]},y=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var R={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function I(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(y);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(b[n]){if(b[n][0]===o){n=b[n][1]||n;break}}else if(g.indexOf(o)>=0||v[o]<v[n]){a.push(o);break}i.push(o)}b[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,c,l=[];for(n=0;n<e.length;n++){if(a=e[n],i=R[a]){for(r=i.length,o=Array(r);r--;)o[r]=l.pop();try{c=i.apply(null,o)}catch(e){return e}}else c=t.hasOwnProperty(a)?t[a]:+a;l.push(c)}return l[0]}(t,e)}}var B={contextDelimiter:"",onMissingKey:null};function T(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},B)this.options[n]=void 0!==t&&n in t?t[n]:B[n]}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}T.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=I(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},T.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,c;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(c=this.data[e][a])&&c[i]?c[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var C={"":{plural_forms:function(e){return 1===e?0:1}}},O=/^i18n\.(n?gettext|has_translation)(_|$)/;var N=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var F=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var L=function(e,t){return function(n,r,o){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,a=e[t];if(F(n)&&N(r))if("function"==typeof o)if("number"==typeof i){var c={callback:o,priority:i,namespace:r};if(a[n]){var l,u=a[n].handlers;for(l=u.length;l>0&&!(i>=u[l-1].priority);l--);l===u.length?u[l]=c:u.splice(l,0,c),a.__current.forEach((function(e){e.name===n&&e.currentIndex>=l&&e.currentIndex++}))}else a[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,i)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,o){var i=e[t];if(F(r)&&(n||N(o))){if(!i[r])return 0;var a=0;if(n)a=i[r].handlers.length,i[r]={runs:i[r].runs,handlers:[]};else for(var c=i[r].handlers,l=function(e){c[e].namespace===o&&(c.splice(e,1),a++,i.__current.forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},u=c.length-1;u>=0;u--)l(u);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),a}}};var z=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var W=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,c=new Array(a>1?a-1:0),l=1;l<a;l++)c[l-1]=arguments[l];if(!i||!i.length)return n?c[0]:void 0;var u={name:r,currentIndex:0};for(o.__current.push(u);u.currentIndex<i.length;){var s=i[u.currentIndex],f=s.callback.apply(null,c);n&&(c[0]=f),u.currentIndex++}return o.__current.pop(),n?c[0]:void 0}};var M=function(e,t){return function(){var n,r,o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var U=function(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var V=function(e,t){return function(n){var r=e[t];if(F(n))return r[n]&&r[n].runs?r[n].runs:0}},$=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=L(this,"actions"),this.addFilter=L(this,"filters"),this.removeAction=D(this,"actions"),this.removeFilter=D(this,"filters"),this.hasAction=z(this,"actions"),this.hasFilter=z(this,"filters"),this.removeAllActions=D(this,"actions",!0),this.removeAllFilters=D(this,"filters",!0),this.doAction=W(this,"actions"),this.applyFilters=W(this,"filters",!0),this.currentAction=M(this,"actions"),this.currentFilter=M(this,"filters"),this.doingAction=U(this,"actions"),this.doingFilter=U(this,"filters"),this.didAction=V(this,"actions"),this.didFilter=V(this,"filters")};var q=function(){return new $}(),G=(q.addAction,q.addFilter,q.removeAction,q.removeFilter,q.hasAction,q.hasFilter,q.removeAllActions,q.removeAllFilters,q.doAction,q.applyFilters,q.currentAction,q.currentFilter,q.doingAction,q.doingFilter,q.didAction,q.didFilter,q.actions,q.filters,function(e,t,n){var r=new T({}),o=new Set,i=function(){o.forEach((function(e){return e()}))},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=j(j(j({},C),r.data[t]),e),r.data[t][""]=j(j({},C[""]),r.data[t][""])},c=function(e,t){a(e,t),i()},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},s=function(e,t,r){var o=l(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+u(r),o,e,t,r)):o};if(e&&c(e,t),n){var f=function(e){O.test(e)&&i()};n.addAction("hookAdded","core/i18n",f),n.addAction("hookRemoved","core/i18n",f)}return{getLocaleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},setLocaleData:c,resetLocaleData:function(e,t){r.data={},r.pluralForms={},c(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=l(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+u(t),r,e,t)):r},_x:s,_n:function(e,t,r,o){var i=l(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+u(o),i,e,t,r,o)):i},_nx:function(e,t,r,o,i){var a=l(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+u(i),a,e,t,r,o,i)):a},isRTL:function(){return"rtl"===s("ltr","text direction")},hasTranslation:function(e,t,o){var i,a,c=t?t+""+e:e,l=!(null===(i=r.data)||void 0===i||null===(a=i[null!=o?o:"default"])||void 0===a||!a[c]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,o),l=n.applyFilters("i18n.has_translation_"+u(o),l,e,t,o)),l}}}(void 0,void 0,q)),Y=(G.getLocaleData.bind(G),G.setLocaleData.bind(G),G.resetLocaleData.bind(G),G.subscribe.bind(G),G.__.bind(G)),H=(G._x.bind(G),G._n.bind(G),G._nx.bind(G),G.isRTL.bind(G),G.hasTranslation.bind(G),wp.element),K=H.createPortal,Z=H.memo,X=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(Z((function(e){var t=e.onSetTogglePopup;return K(React.createElement("button",{onClick:t,id:"ast-block-templates-button",className:"button button-primary"},AstBlockTemplatesVars.display_button_logo&&""===AstBlockTemplatesVars.white_label_name?React.createElement("img",{src:AstBlockTemplatesVars.button_logo,className:"logo ".concat(AstBlockTemplatesVars.button_class)}):"",AstBlockTemplatesVars.button_text),document.getElementById("ast-block-templates-button-wrap"))}))),J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#9E9E9E";e&&console.log("%c ".concat(e," "),"color: ".concat(n,"; font-weight: lighter;"),t)},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return J(e,t,"#F20404")},ee=(n(9),function(e){var t=e.message;return React.createElement("div",{className:"ast-block-templates-tooltip"},t)});n(11);function te(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ne(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){te(i,r,o,a,c,"next",e)}function c(e){te(i,r,o,a,c,"throw",e)}a(void 0)}))}}function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ie=wp.compose.compose,ae=wp.data,ce=ae.withSelect,le=ae.withDispatch,ue=wp.element,se=ue.useState,fe=ue.memo,pe=wp.ajax.post,de=ie(le((function(e){return{setNotice:e("ast-block-templates").setNotice}})),ce((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(fe((function(e){var t=e.setNotice,n=re(se({isProcessing:"",buttonText:"Sync Library"}),2),r=n[0],o=n[1],i=r.isProcessing,a=r.buttonText,c=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-update-sync-library-status",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){t({type:"success",message:"Template library refreshed!"}),o({isProcessing:"complete",buttonText:"Sync Complete"})}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l=function(){var e=ne(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-sites",page_no:t,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?(o({isProcessing:"process",buttonText:"Imported ".concat(t," of ").concat(n," site..")}),t===n&&c()):o({isProcessing:"error",buttonText:"Error ".concat(e.data)})}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),u=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-get-sites-request-count",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){if(e.status){o({isProcessing:"process",buttonText:"Importing Sites.."});for(var t=e.data,n=1;n<=t;n++)l(n,t)}else o({isProcessing:"complete",buttonText:"Importing Sites Failed"})})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s=function(){var e=ne(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-blocks",page_no:t,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?(o({isProcessing:"process",buttonText:"Imported ".concat(t," of ").concat(n," block..")}),t===n&&u()):o({isProcessing:"error",buttonText:"Error ".concat(e.data)})}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),f=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-get-blocks-request-count",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){if(e.status)for(var t=e.data,n=1;n<=t;n++)s(n,t);else o({isProcessing:"complete",buttonText:"Importing Pages Failed"})})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe({action:"ast-block-templates-import-categories",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){f()})).fail((function(e){Q("fail",e)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=ne(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pe({action:"ast-block-templates-check-sync-library-status",_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){e.status?"updated"===e.data?(o({isProcessing:"complete",buttonText:"Library is up-to date!"}),t({type:"success",message:"Template library refreshed!"})):p():(t({type:"error",message:"Error! ".concat(e.message)}),o({isProcessing:"complete",buttonText:"Error! ".concat(e.message)}))})).fail((function(e){Q("fail",e)}));case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),Q("Complete: Failed",e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}();return React.createElement("span",{className:"ast-block-templates-sync ".concat("process"===i?"ast-block-templates-sync--processing":""),onClick:function(e){e.preventDefault(),t({type:"info",message:"Syncing template library in the background. The process can take anywhere between 2 to 3 minutes. We will notify you once done."}),o({isProcessing:"process",buttonText:"Syncing libray.."}),d()}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-refresh"}),React.createElement("span",{className:"ast-block-templates-sync__title"},a),React.createElement(ee,{message:"Sync Library"}))}))),me=(n(13),wp.compose.compose),he=wp.data,ve=he.withSelect,ge=he.withDispatch,be=wp.element.memo,ye=me(ve((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getPreviousScreen;return{currentScreen:n(),previousScreen:r()}})),ge((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(be((function(e){var t=e.currentScreen,n=e.previousScreen,r=e.setCurrentScreen,o="full-width-block-preview"===t||"full-width-page-preview"===t||"all-single-site-pages"===t?"show":"",i="full-width-block-preview"===t?"Back to Patterns":"Back to Pages";return React.createElement("div",{className:"back-to-layout ".concat(o),onClick:function(){r("full-width-page-preview"===t||"full-width-block-preview"===t?"all-single-site-pages"===n?"all-single-site-pages":"all-blocks-grid":"all-sites-grid")}},React.createElement(ee,{message:i}),React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-chevron-left"}))}))),_e=(n(15),wp.compose.compose),we=wp.data.withDispatch,ke=wp.element.memo,xe=_e(we((function(e){return{setCurrentScreen:e("ast-block-templates").setCurrentScreen}})))(ke((function(e){var t=e.setCurrentScreen;return React.createElement("div",{className:"logo-wrap ".concat(""!==AstBlockTemplatesVars.white_label_name?"white-label":""),onClick:function(){return t("all-sites-grid")}},""!==AstBlockTemplatesVars.white_label_name?React.createElement("div",{className:"logo"},AstBlockTemplatesVars.white_label_name):React.createElement("img",{src:AstBlockTemplatesVars.popup_logo_uri,className:"logo"}))}))),Se=wp.compose.compose,Ee=wp.data,Pe=Ee.withSelect,Re=Ee.withDispatch,Ie=wp.element.memo,Be=Se(Pe((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{preview:n(),currentScreen:r()}})),Re((function(e){var t=e("ast-block-templates"),n=t.setAllPages,r=t.setSitePreview,o=t.setTogglePopup,i=t.setCurrentScreen,a=t.setFilterPagesBySearchTerm,c=t.setFilterBlocksBySearchTerm;return{updateCurrentScreen:function(e){n([]),r({}),a(""),c(""),i(e)},onSetSitePreview:r,onSetTogglePopup:o}})))(Ie((function(e){var t=e.currentScreen,n=e.updateCurrentScreen;return React.createElement("div",{className:"header-menu"},React.createElement("div",{className:"header-menu-item ".concat("all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?"active":""),onClick:function(){return n("all-sites-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-file"}),Y("Pages")),React.createElement("div",{className:"header-menu-item ".concat("all-blocks-grid"===t||"full-width-block-preview"===t?"active":""),onClick:function(){return n("all-blocks-grid")}},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-layers"}),Y("Patterns")))}))),Te=wp.compose.compose,Ae=wp.data,je=Ae.withSelect,Ce=Ae.withDispatch,Oe=wp.element.memo,Ne=Te(je((function(e){var t=e("ast-block-templates"),n=t.getSitePreview,r=t.getCurrentScreen;return{sitePreview:n(),currentScreen:r()}})),Ce((function(e){var t=e("ast-block-templates"),n=t.setSitePreview,r=t.setTogglePopup;t.setCurrentScreen;return{setSitePreview:n,onSetTogglePopup:r}})))(Oe((function(e){var t=e.onSetTogglePopup;return React.createElement("div",{className:"close",onClick:function(e){t(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")}},React.createElement("i",{className:"dashicons dashicons-no-alt"}))})));n(17),n(19);function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Le(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var De=wp.element,ze=De.memo,We=De.useState,Me=De.useEffect,Ue=ze((function(e){var t=e.onSearch,n=e.value,r=e.searchInputRef,o=e.placeholder,i=Fe(We(""),2),a=i[0],c=i[1],l=o||Y("Search..","ast-block-templates");return Me((function(){c(n)})),React.createElement("div",{className:"search-form ".concat(a?"have-input":"")},React.createElement("input",{ref:r,type:"search",name:"search",value:n,placeholder:l,onChange:function(e){t(e)}}),React.createElement("button",{className:"button"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"})))})),Ve=wp.element.memo,$e=wp.compose.compose,qe=wp.data,Ge=qe.withSelect,Ye=qe.withDispatch,He=$e(Ge((function(e){var t=e("ast-block-templates"),n=t.getCurrentScreen,r=t.getFilterPagesBySearchTerm,o=t.getFilterBlocksBySearchTerm;return{currentScreen:n(),filterPagesBySearchTerm:r(),filterBlocksBySearchTerm:o()}})),Ye((function(e){var t=e("ast-block-templates"),n=t.setFilterBlocksBySearchTerm,r=t.setFilterPagesBySearchTerm,o=t.setCurrentScreen,i=t.setPagePreview,a=t.setSitePreview,c=t.setFullWidthBlockPreview;return{setFilterBlocksBySearchTerm:function(e){o("all-blocks-grid"),c({}),n(e)},insertBlocks:e("core/block-editor").insertBlocks,setFilterPagesBySearchTerm:function(e){o("all-sites-grid"),r(e),i({}),a({})}}})))(Ve((function(e){var t=e.currentScreen,n=e.filterPagesBySearchTerm,r=e.filterBlocksBySearchTerm,o=e.setFilterBlocksBySearchTerm,i=e.setFilterPagesBySearchTerm;return React.createElement("div",{className:"header"},React.createElement(xe,null),React.createElement(ye,null),React.createElement(Be,null),"all-sites-grid"===t||"all-single-site-pages"===t||"full-width-page-preview"===t||"all-single-pages"===t?React.createElement(Ue,{placeholder:"Search Templates..",value:n,onSearch:function(e){i(e.target.value)}}):React.createElement(Ue,{placeholder:"Search Patterns..",value:r,onSearch:function(e){o(e.target.value)}}),React.createElement(de,null),React.createElement(Ne,null))}))),Ke=wp.ajax.post,Ze=wp.blocks.parse;var Xe=function(e,t,n,r,o){Ke({action:"ast_block_templates_importer",api_uri:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){!function(e,t,n,r,o){Ke({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){r(Ze(e),t,n),o(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")})).fail((function(e){}))}(e,r,o,t,n)})).fail((function(e){Q("fail",e)}))},Je=function(e){return new Promise((function(t,n){var r=new window.FormData;r.append("action","ast_block_templates_activate_plugin"),r.append("init",e.init),r.append("security",AstBlockTemplatesVars._ajax_nonce),wp.apiFetch({url:AstBlockTemplatesVars.ajax_url,method:"POST",body:r}).then((function(e){e.success?t(e):n(e)}))}))},Qe=function(e){return new Promise((function(t,n){wp.updates.queue.push({action:"install-plugin",data:{slug:e.slug,init:e.init,name:e.name,success:function(n){t(n,e)},error:function(t){n(t,e)}}}),wp.updates.queueChecker()}))};function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var nt={stdClass:function(){},stringify:function(e){var t=new Map([[1/0,"d:INF;"],[-1/0,"d:-INF;"],[NaN,"d:NAN;"],[null,"N;"],[void 0,"N;"]]),n=function(e){return e?encodeURI(e).match(/(%.)?./g).length:0},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'"';return"".concat(n(e),":").concat(t[0]).concat(e).concat(t[t.length-1])},o=0;return function e(n){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.has(n))return t.get(n);if(o+=i,"string"==typeof n)return"s:".concat(r(n),";");if("number"==typeof n)return"".concat(Math.round(n)===n?"i":"d",":").concat((""+n).toUpperCase().replace(/(-?\d)E/,"$1.0E"),";");if("boolean"==typeof n)return"b:".concat(+n,";");var a=Array.isArray(n)||n.constructor===Object;if(t.set(n,"".concat("rR"[+a],":").concat(o,";")),"function"==typeof n.serialize)return"C:".concat(r(n.constructor.name),":").concat(r(n.serialize(),"{}"));var c=Object.entries(n).filter((function(e){var t=tt(e,2);t[0];return"function"!=typeof t[1]}));return(a?"a":"O:".concat(r(n.constructor.name)))+":".concat(c.length,":{").concat(c.map((function(t){var n=tt(t,2),r=n[0],o=n[1];return e(a&&/^\d{1,16}$/.test(r)?+r:r,!1)+e(o)})).join(""),"}")}(e)},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.stdClass=nt.stdClass;var n=0,r=[null],o={INF:1/0,"-INF":-1/0,NAN:NaN},i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;throw new Error("Error at ".concat(r,": ").concat(t,"\n").concat(e,"\n").concat(" ".repeat(r),"^"))},a=function(t,r){return t===e.slice(n,n+=t.length)?r:i("Expected '".concat(t,"'"),n-t.length)};function c(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:";";a(":");var c=t.exec(e.slice(n));return c||i("Exected ".concat(r,", but got '").concat(e.slice(n).match(/^[:;{}]|[^:;{}]*/)[0],"'")),n+=c[0].length,a(o,c[0])}function l(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=n;t>0;){var c=e.charCodeAt(n++);t-=c<128?1:c<2048||c>>11==27?2:3}return t?i("Invalid string length",o-2):a(r,e.slice(o,n))}var u=function(e){return e?t[e]?Object.create(t[e].prototype):new(et({},e,(function(){}))[e]):{}},s=function(){return c(/^[01]/,"a '0' or '1'",";")},f=function(){return+c(/^-?\d+/,"an integer",";")},p=function(e){return+c(/^\d+/,"an unsigned integer",e)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l(p(':"'),'"'+e)};function m(){var e=c(/^-?(\d+(\.\d+)?(E[+-]\d+)?|INF)|NAN/,"a decimal number",";");return e in o?o[e]:+e}function h(){var t=e[n++];return"s"===t?d(";"):"i"===t?p(";"):i("Expected 's' or 'i' as type for a key, but got ${str[offset-1]}",n-1)}function v(e){for(var t=0,n=p(":{");t<n;t++)e[h()]=y();return a("}",e)}function g(){var e=v({});return Object.keys(e).some((function(e,t){return e!=t}))?e:Object.values(e)}function b(e){return"function"!=typeof e.unserialize&&i("Instance of ".concat(e.constructor.name,' does not have an "unserialize" method')),e.unserialize(l(p(":{"))),a("}",e)}function y(){var t=e[n++].toLowerCase(),o=r.push(null)-1,c="n"===t?a(";",null):"s"===t?d(";"):"b"===t?s():"i"===t?f():"d"===t?m():"a"===t?g():"o"===t?v(u(d())):"c"===t?b(u(d())):"r"===t?r[f()]:i("Unexpected type ".concat(t),n-1);return"r"!==t&&(r[o]=c),c}var _=y();return n!==e.length&&i("Unexpected trailing character"),_}},rt=function(e,t){return fetch("https://websitedemos.net/wp-json/wp/v2/".concat(t,"/").concat(e)).then((function(e){return e.json()}))};n(21);function ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return it(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return it(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var at=wp.compose.compose,ct=wp.data,lt=ct.useSelect,ut=ct.withSelect,st=ct.withDispatch,ft=wp.ajax.post,pt=wp.blocks.parse,dt=wp.element,mt=dt.useState,ht=dt.memo,vt=(dt.useEffect,dt.useCallback,wp.components.Spinner),gt=at(ut((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getSitePreview;return{importItemInfo:n(),sitePreview:o(),currentScreen:r()}})),st((function(e){var t=e("ast-block-templates"),n=t.setImportItemInfo,r=(t.setFullWidthBlockPreview,t.setCurrentScreen,t.setTogglePopup);t.setFullWidthPreview;return{setImportItemInfo:n,onSetTogglePopup:r,insertBlocks:e("core/block-editor").insertBlocks}})))(ht((function(e){var t=e.setImportItemInfo,n=(e.liveRequest,e.requiredPlugins,e.importItemInfo),r=e.title,o=e.btnClass,i=e.currentScreen,a=e.insertBlocks,c=e.onSetTogglePopup,l=e.item,u=e.withIcon,s=ot(mt(n),2),f=s[0],p=(s[1],o||""),d=ot(mt(r||"Import"),2),m=d[0],h=d[1],v="full-width-block-preview"===i?"show":"",g=ot(mt(!1),2),b=g[0],y=g[1],_=lt((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),w=_.insertIndex,k=_.insertClientID,x=function(){Je({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){E()})).catch((function(e){y(!1),h("Activation failed!")}))},S=function(){var e=f.original_content;ft({action:"ast_block_templates_import_block",content:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){b=!1,a(pt(e),w,k),c(),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),document.body.classList.remove("ast-block-templates-modal-open")})).fail((function(e){}))},E=function(){var e=f["post-meta"]["astra-site-wpforms-path"]||"";e?function(e){ft({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){S()})).fail((function(e){y(!1),h("WPForms import failed!")}))}(e):S()};return React.createElement("div",{className:"ast-template-import-block-button ".concat(v," ").concat(p),onClick:function(){y(!0),rt(l.ID,"astra-blocks").then((function(e){t(e),f=e,(e["post-meta"]["astra-blocks-required-plugins"]?nt.parse(e["post-meta"]["astra-blocks-required-plugins"]):[]).length?"not-installed"===AstBlockTemplatesVars.wpforms_status?Qe({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){x()})).catch((function(e){y(!1),h("Installtion failed!")})):"inactive"===AstBlockTemplatesVars.wpforms_status?x():E():E()})).catch((function(e){}))}},b?React.createElement(React.Fragment,null,React.createElement(vt,null)," Importing.."):React.createElement(React.Fragment,null,u?React.createElement("i",{className:"dashicons dashicons-download"}):"",m))}))),bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=e.replace("&","&")).replace("&","&"),(e=o()(e)).__wrapped__};function yt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _t(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var wt=wp.compose.compose,kt=wp.data.withDispatch,xt=wp.element,St=xt.memo,Et=xt.useEffect,Pt=xt.useState,Rt=(wp.ajax.post,wt(kt((function(e){var t=e("ast-block-templates"),n=t.setImportItemInfo,r=t.setFullWidthBlockPreview,o=t.setCurrentScreen;return{setImportItemInfo:n,updateFullWidthBlockPreview:function(e){r(e),o("full-width-block-preview")}}})))(St((function(e){var t=e.setImportItemInfo,n=e.updateFullWidthBlockPreview,r=e.item,o=e.InitMasonry,i=r["thumbnail-image-url"]||"",a=r["featured-image-url"]||"",c=function(e){t(e),n(e)},l=yt(Pt("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),u=l[0],s=l[1],f=yt(Pt("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),p=f[0],d=f[1];return Et((function(){var e=!0,t=new Image;t.src=i;var n=new Image;return n.src=a,t.onload=function(){e&&(s(t.src),o())},n.onload=function(){e&&(d(n.src),o())},function(){e=!1}})),React.createElement("div",{className:"item single-block"},React.createElement("div",{className:"inner"},React.createElement("div",{className:"thumbnail",onClick:function(){t(r),n(r),c(r)}},React.createElement("img",{srcSet:"".concat(p,", ").concat(u),src:u}),React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(r.title)),React.createElement("div",{className:"button-actions"},React.createElement("button",{className:"button",onClick:function(){c(r)}},"Preview"),React.createElement(gt,{withIcon:!1,btnClass:"button button-primary",title:"Import",liveRequest:!0,item:r})))))})))),It=wp.compose.compose,Bt=wp.element.memo,Tt=wp.data,At=Tt.withSelect,jt=Tt.withDispatch,Ct=It(At((function(e){return{filterBlocksByCategory:(0,e("ast-block-templates").getFilterBlocksByCategory)()}})),jt((function(e){return{setFilterBlocksByCategory:e("ast-block-templates").setFilterBlocksByCategory}})))(Bt((function(e){var t=e.filterBlocksByCategory,n=e.setFilterBlocksByCategory;return AstBlockTemplatesVars.allCategories?React.createElement("div",{className:"blocks-category"},React.createElement("select",{onChange:function(e){n(e.target.value)},defaultValue:t},React.createElement("option",{value:""},Y("All")),AstBlockTemplatesVars.allCategories.map((function(e){return React.createElement("option",{key:e.id,value:e.id}," ",e.name," ")})))):""}))),Ot=wp.compose.compose,Nt=wp.element.memo,Ft=wp.data,Lt=Ft.withSelect,Dt=Ft.withDispatch,zt=Ot(Lt((function(e){return{filterBlocksByColor:(0,e("ast-block-templates").getFilterBlocksByColor)()}})),Dt((function(e){return{setFilterBlocksByColor:e("ast-block-templates").setFilterBlocksByColor}})))(Nt((function(e){e.filterBlocksByColor;var t=e.setFilterBlocksByColor;if(AstBlockTemplatesVars.allBlocks){var n=[];return AstBlockTemplatesVars.allBlocks.map((function(e){e.filter&&!n.includes(e.filter)&&n.push(e.filter)})),n.length<=1?"":React.createElement("div",{className:"blocks-color"},React.createElement("select",{onChange:function(e){t(e.target.value)}},React.createElement("option",{value:""},Y("Filter by Color")),React.createElement("option",{value:"light"},Y("Light")),React.createElement("option",{value:"dark"},Y("Dark"))))}}))),Wt=(0,wp.element.memo)((function(){return React.createElement("div",{className:"filter-wrap ast-block-templates-block-grid-filters"},React.createElement("div",{className:"filters"},React.createElement(Ct,null),React.createElement(zt,null)))})),Mt=(n(23),function(e){var t=e.children;return React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,"Sorry No Results Found."),React.createElement("div",{className:"no-search-result-description"},React.createElement("p",null,"Don't see a template you would like to import?",React.createElement("br",null),AstBlockTemplatesVars.display_suggestion_link&&React.createElement("a",{target:"_blank",href:AstBlockTemplatesVars.suggestion_link},"Make a Template Suggestion!"))),t)}),Ut=(n(25),function(e){var t=e.afterClick;return React.createElement("span",null,React.createElement("span",{className:"back-to-templates",onClick:function(e){t&&t(e)}},Y("Back to Templates","ast-block-templates")))}),Vt=wp.compose.compose,$t=wp.data,qt=$t.withSelect,Gt=$t.withDispatch,Yt=wp.element,Ht=Yt.memo,Kt=Yt.useEffect,Zt=(Yt.useState,Vt(Gt((function(e){return{setFilterBlocksBySearchTerm:e("ast-block-templates").setFilterBlocksBySearchTerm}})),qt((function(e){return{allBlocks:(0,e("ast-block-templates").getAllBlocks)()}})))(Ht((function(e){var t=e.setFilterBlocksBySearchTerm,n=e.allBlocks,r=(e.imagesLoad,e.setImagesLoaded,Object.values(n));Kt((function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&imagesLoaded(e,(function(){new Masonry(e)}))}));var o=function(){var e=document.getElementById("ast-block-templates-grid-blocks");e&&new Masonry(e)};return React.createElement("div",{className:"ast-block-templates-grid-blocks active"},React.createElement(Wt,null),React.createElement("div",{className:"ast-block-templates-grid",id:"ast-block-templates-grid-blocks"},r.length?r.map((function(e){return React.createElement(Rt,{key:e.ID,item:e,InitMasonry:o})})):React.createElement(Mt,null,React.createElement(Ut,{afterClick:function(e){t("")}}))))}))));n(27);function Xt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Jt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jt(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Qt=wp.compose.compose,en=wp.data,tn=en.useSelect,nn=en.withSelect,rn=en.withDispatch,on=wp.element,an=on.useState,cn=on.memo,ln=wp.components.Spinner,un=wp.ajax.post,sn=Qt(nn((function(e){var t=e("ast-block-templates"),n=t.getPagePreview,r=t.getImportItemInfo,o=t.getCurrentScreen,i=t.getSitePreview;return{pagePreview:n(),importItemInfo:r(),sitePreview:i(),currentScreen:o()}})),rn((function(e){var t=e("ast-block-templates"),n=(t.setFullWidthBlockPreview,t.setCurrentScreen,t.setTogglePopup);t.setFullWidthPreview;return{onSetTogglePopup:n,insertBlocks:e("core/block-editor").insertBlocks}})))(cn((function(e){var t=e.title,n=e.currentScreen,r=e.insertBlocks,o=e.onSetTogglePopup,i=e.item,a=(e.importItemInfo,e.withIcon),c=e.pagePreview,l=a||!0,u=t||"Import",s=[],f="full-width-page-preview"===n?"show":"",p=Xt(an(!1),2),d=p[0],m=p[1],h=c["required-plugins"]?c["required-plugins"].filter((function(e){return"wpforms-lite"===e.slug})):[],v=tn((function(e){var t=e("core/block-editor").getBlockInsertionPoint();return{insertIndex:t.index,insertClientID:t.rootClientId}}),[]),g=v.insertIndex,b=v.insertClientID,y=function(){Je({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){_()})).catch((function(e){}))},_=function(){var e=s["astra-site-wpforms-path"]||"";console.log("WPForms path"),console.log(e),e?w(e):Xe(i["astra-page-api-url"],r,o,g,b)},w=function(e){un({action:"ast_block_templates_import_wpforms",wpforms_url:e,_ajax_nonce:AstBlockTemplatesVars._ajax_nonce}).done((function(e){Xe(i["astra-page-api-url"],r,o,g,b)})).fail((function(e){}))};return React.createElement("button",{className:"button button-primary ast-template-import-page-button ".concat(f),onClick:function(){m(!0),rt(i.ID,"site-pages").then((function(e){s=e,h.length?"not-installed"===AstBlockTemplatesVars.wpforms_status?Qe({slug:"wpforms-lite",init:"wpforms-lite/wpforms.php",name:"WPForms Lite"}).then((function(e){y()})).catch((function(e){console.log(e)})):"inactive"===AstBlockTemplatesVars.wpforms_status?y():_():_()}))}},d?React.createElement(React.Fragment,null,React.createElement(ln,null)," Importing.."):React.createElement(React.Fragment,null,!0===l?React.createElement("i",{className:"dashicons dashicons-download","aria-hidden":"true"}):"",u))}))),fn=(n(29),wp.compose.compose),pn=wp.data,dn=pn.withSelect,mn=pn.withDispatch,hn=wp.element,vn=hn.Fragment,gn=hn.memo,bn=hn.useEffect,yn=fn(dn((function(e){var t=e("ast-block-templates"),n=t.getDisplayDynamicPopup;return{pagePreview:(0,t.getPagePreview)(),displayDynamicPopup:n()}})),mn((function(e){return{setDisplayDynamicPopup:e("ast-block-templates").setDisplayDynamicPopup}})))(gn((function(e){var t=e.pagePreview,n=e.displayDynamicPopup,r=e.setDisplayDynamicPopup,o=!1===n?"hide":"",i=function(){r(!1)},a=function(e){e.target===document.querySelector(".ast-block-templates-popup-wrap")&&i()};return bn((function(){return document.addEventListener("click",a),function(){document.removeEventListener("click",a)}})),React.createElement(vn,null,React.createElement("div",{className:"ast-block-templates-popup-wrap ".concat(o)},React.createElement("div",{className:"ast-block-templates-popup"},React.createElement("div",{className:"ast-block-templates-popup-header"},React.createElement("h3",{className:"ast-block-templates-popup-heading"},Y("Heads Up!","ast-block-templates")),React.createElement("span",{className:"ast-block-templates-popup-close-icon",onClick:i},React.createElement("span",{className:"dashicons close dashicons-no-alt"}))),React.createElement("div",{className:"ast-block-templates-popup-content"},React.createElement("p",null,Y("The page template you are about to import contains a dynamic widget/module. Please note this dynamic data will not be available with the imported page.","ast-block-templates")),React.createElement("p",null,Y("You will need to add it manually on the page.","ast-block-templates"))),React.createElement("div",{className:"ast-block-templates-popup-footer"},React.createElement(sn,{title:E(Y('Skip & Import "%s" Page',"ast-block-templates"),t.title),item:t,withIcon:!1}),React.createElement("div",{className:"button",onClick:i},Y("Cancel","ast-block-templates"))))))}))),_n=wp.compose.compose,wn=wp.data,kn=wn.withSelect,xn=wn.withDispatch,Sn=wp.element.memo,En=_n(kn((function(e){return{pagePreview:(0,e("ast-block-templates").getPagePreview)()}})),xn((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setImportItemInfo:t.setImportItemInfo,setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(Sn((function(e){e.updateFullWidthPagePreview;var t=e.item,n=e.pagePreview,r=e.setPagePreview,o=e.setImportItemInfo,i=t["thumbnail-image-url"]||"";return React.createElement("div",{className:"item single-site ".concat(n.ID===t.ID?"active":"")},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",onClick:function(e){o(t),r(t)},style:{backgroundImage:"url('".concat(i,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(t.title)))))}))),Pn=(n(31),wp.element),Rn=Pn.memo,In=Pn.Fragment;var Bn=(0,wp.compose.compose)((0,wp.data.withSelect)((function(e){var t=e("ast-block-templates"),n=t.getPagePreview;return{sitePreview:(0,t.getSitePreview)(),pagePreview:n()}})))(Rn((function(e){var t=e.sitePreview,n=e.pagePreview,r=Object.values(t.pages)||[],o=n["featured-image-url"];return React.createElement(In,null,React.createElement(yn,null),React.createElement("div",{className:"ast-block-templates-single-site-preview"},React.createElement("div",{className:"ast-block-templates-single-page-preview"},React.createElement("h2",{className:"ast-block-templates-site-title"},bt(t.title)),React.createElement("div",{className:"screenshot"},React.createElement("img",{src:o}))),React.createElement("div",{className:"ast-block-templates-grid-preview"},React.createElement("h2",{className:"ast-block-templates-pages-title"},Y("Page Templates","ast-block-templates")),React.createElement("div",{className:"ast-block-templates-grid"},r.length?r.map((function(e){return React.createElement(En,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Y("No Result Found","ast-block-templates")),React.createElement("p",null,Y("The search result not found. Try another search.","ast-block-templates")))))))})));function Tn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return An(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return An(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function An(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jn=wp.compose.compose,Cn=wp.data,On=Cn.withSelect,Nn=Cn.withDispatch,Fn=wp.element,Ln=Fn.memo,Dn=Fn.useState,zn=Fn.useEffect,Wn=jn(On((function(e){return{preview:e("ast-block-templates").getSitePreview}})),Nn((function(e){var t=e("ast-block-templates"),n=t.setSitePreview,r=t.setPagePreview,o=t.setCurrentScreen;return{setSitePreview:function(e){var t=Object.values(e.pages).length?Object.values(e.pages)[0]:[];r(t),n(e),o("all-single-site-pages")},setImportItemInfo:t.setImportItemInfo}})))(Ln((function(e){var t=e.setSitePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"",i=n.pages?n.pages.length:0,a=i<=1?"Template":"Templates",c=Tn(Dn("".concat(AstBlockTemplatesVars.uri,"dist/placeholder_200_200.png")),2),l=c[0],u=c[1];return zn((function(){var e=!0,t=new Image;return t.src=o,t.onload=function(){e&&u(t.src)},function(){e=!1}}),[l]),React.createElement("div",{className:"item single-site",onClick:function(e){t(n),r(n)}},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",style:{backgroundImage:"url('".concat(l,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(n.title)),i?React.createElement("div",{className:"sub-title"},"".concat(i," ").concat(a)):"")))}))),Mn=wp.compose.compose,Un=wp.data,Vn=Un.withSelect,$n=(Un.withDispatch,wp.element),qn=($n.useEffect,$n.useState,$n.memo),Gn=$n.Fragment,Yn=Mn(Vn((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getCurrentScreen,o=t.getAllSites;return{currentScreen:r(),allSites:o(),allPages:n()}})))(qn((function(e){e.allPages;var t=e.allSites,n=(e.currentScreen,Object.values(t));return React.createElement(Gn,null,n.length?n.map((function(e){return React.createElement(Wn,{key:e.ID,item:e})})):React.createElement("div",{className:"no-search-result"},React.createElement("h3",null,Y("No Sites Result Found")," "),React.createElement("p",null,Y("The search result not found. Try another search."))))}))),Hn=wp.compose.compose,Kn=wp.data,Zn=Kn.withSelect,Xn=Kn.withDispatch,Jn=wp.element.memo,Qn=Hn(Zn((function(e){return{preview:e("ast-block-templates").getSitePreview}})),Xn((function(e){var t=e("ast-block-templates"),n=t.setSearchPagePreview,r=t.setCurrentScreen;return{setSearchPagePreview:function(e){n(e),r("all-single-site-pages")},setImportItemInfo:t.setImportItemInfo}})))(Jn((function(e){var t=e.setSearchPagePreview,n=e.item,r=e.setImportItemInfo,o=n["thumbnail-image-url"]||"";return React.createElement("div",{className:"item single-site"},React.createElement("div",{className:"inner"},React.createElement("div",{className:"screenshot",onClick:function(e){t(n),r(n)},style:{backgroundImage:"url('".concat(o,"')")}},React.createElement("div",{className:"preview"},React.createElement("span",{className:"ast-block-templates-icon ast-block-templates-icon-search"}))),React.createElement("div",{className:"heading-wrap"},React.createElement("h3",{className:"title"},bt(n["site-title"])),React.createElement("div",{className:"sub-title"},bt(n.title)))))}))),er=wp.compose.compose,tr=wp.data,nr=tr.withSelect,rr=tr.withDispatch,or=wp.element,ir=or.memo,ar=or.Fragment,cr=er(rr((function(e){var t=e("ast-block-templates");return{setPagePreview:t.setPagePreview,setFilterPagesBySearchTerm:t.setFilterPagesBySearchTerm}})),nr((function(e){var t=e("ast-block-templates"),n=t.getAllPages,r=t.getFilterPagesBySearchTerm;return{allPages:n(),filterPagesBySearchTerm:r()}})))(ir((function(e){var t=e.setPagePreview,n=e.setFilterPagesBySearchTerm,r=e.allPages,o=Object.values(r);return React.createElement(ar,null,o.length?o.map((function(e){return React.createElement(Qn,{key:e.ID,item:e})})):React.createElement(Mt,null,React.createElement(Ut,{afterClick:function(e){t({}),n("")}})))}))),lr=wp.compose.compose,ur=wp.data,sr=ur.withSelect,fr=ur.withDispatch,pr=wp.element,dr=pr.memo;pr.useEffect;var mr=lr(fr((function(e){return{setFilterPagesBySearchTerm:e("ast-block-templates").setFilterPagesBySearchTerm}})),sr((function(e){return{filterPagesBySearchTerm:(0,e("ast-block-templates").getFilterPagesBySearchTerm)()}})))(dr((function(e){var t=e.filterPagesBySearchTerm;return React.createElement("div",{className:"ast-block-templates-grid-pages active"},React.createElement("div",{id:"ast-block-templates-sites",className:"ast-block-templates-grid ".concat(t.length?"ast-block-templates-pages-grid":"ast-block-templates-sites-grid")},t.length?React.createElement(cr,null):React.createElement(Yn,null)))}))),hr=(n(33),wp.compose.compose),vr=wp.element.memo,gr=wp.data,br=gr.withSelect,yr=(gr.withDispatch,hr(br((function(e){return{blockPreview:(0,e("ast-block-templates").getFullWidthBlockPreview)()}})))(vr((function(e){var t=e.blockPreview["featured-image-url"]||"".concat(AstBlockTemplatesVars.uri,"dist/placeholder.png");return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),_r=(n(35),wp.compose.compose),wr=wp.element.memo,kr=wp.data,xr=kr.withSelect,Sr=(kr.withDispatch,_r(xr((function(e){return{pagePreview:(0,e("ast-block-templates").getFullWidthPagePreview)()}})))(wr((function(e){var t=e.pagePreview["featured-image-url"]||"";return React.createElement("div",{className:"ast-block-templates-full-preview"},React.createElement("img",{src:t}))})))),Er=function(){return React.createElement("div",null,"All signle pages")},Pr=(n(37),wp.compose.compose),Rr=wp.data,Ir=Rr.withSelect,Br=Rr.withDispatch,Tr=wp.element.memo,Ar=Pr(Br((function(e){return{setNotice:e("ast-block-templates").setNotice}})),Ir((function(e){return{notice:(0,e("ast-block-templates").getNotice)()}})))(Tr((function(e){var t=e.notice,n=e.setNotice;if(Object.keys(t).length){var r=t.type,o=t.message;return React.createElement("div",{className:"ast-block-templates-notice notice notice-".concat(r)},React.createElement("div",{className:"ast-block-templates-notice-message"},o),React.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return n({})}},React.createElement("span",{className:"screen-reader-text"},"Dismiss")))}}))),jr=(n(39),wp.element),Cr=jr.useEffect,Or=jr.memo,Nr=wp.compose.compose,Fr=wp.data.withSelect,Lr=function(e){var t=e.filterPagesBySearchTerm,n=e.currentScreen;return"all-single-pages"===n?React.createElement(Er,null):"all-blocks-grid"===n?React.createElement(Zt,null):t||"all-single-site-pages"!==n?"all-sites-grid"===n?React.createElement(mr,null):"full-width-block-preview"===n?React.createElement(yr,null):"full-width-page-preview"===n?React.createElement(Sr,null):void 0:React.createElement(Bn,null)},Dr=Nr(Fr((function(e){var t=e("ast-block-templates"),n=t.getFilterPagesBySearchTerm,r=t.getSitePreview,o=t.getCurrentScreen,i=t.getTogglePopup;return{filterPagesBySearchTerm:n(),sitePreview:r(),currentScreen:o(),togglePopup:i()}})))(Or((function(e){var t=e.sitePreview,n=e.currentScreen,r=e.togglePopup;return Cr((function(){!0===r&&(document.body.classList.add("ast-block-templates-modal-open"),document.getElementById("ast-block-templates-modal-wrap").classList.add("open"))}),[r,n,t]),React.createElement("div",{className:"ast-block-templates-content"},React.createElement(Ar,null),React.createElement(Lr,{currentScreen:n}))})));n(41),n(43),n(45);function zr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Wr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Mr=wp.compose.compose,Ur=wp.data,Vr=Ur.withSelect,$r=Ur.withDispatch,qr=wp.element,Gr=qr.memo,Yr=qr.useState,Hr=Mr(Vr((function(e){return{importItemInfo:(0,e("ast-block-templates").getImportItemInfo)()}})),$r((function(e){return{setImportItemInfo:e("ast-block-templates").setImportItemInfo}})))(Gr((function(e){var t=e.requiredPlugins;if(t.length){var n=zr(Yr(!1),2),r=n[0],o=n[1];return React.createElement("div",{className:"used-blocks"},React.createElement("div",{className:"used-blocks-info ".concat(r?"show":"")},React.createElement("h3",null,"Install Required Plugins"),React.createElement("ul",null,t.map((function(e,t){return React.createElement("li",{key:t},e.name)})))),React.createElement("span",{className:"used-blocks-icon dashicons dashicons-editor-help",onClick:function(){return o(!r)}}))}}))),Kr=wp.compose.compose,Zr=wp.data,Xr=Zr.withSelect,Jr=Zr.withDispatch,Qr=wp.element,eo=Qr.memo,to=Qr.Fragment,no=Kr(Xr((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getCurrentScreen,o=t.getPagePreview;return{importItemInfo:n(),pagePreview:o(),currentScreen:r()}})),Jr((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setDisplayDynamicPopup:t.setDisplayDynamicPopup,setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(eo((function(e){e.importItemInfo;var t=e.pagePreview,n=e.setDisplayDynamicPopup,r=t["astra-page-url"]?t["astra-page-url"]:"",o=!(!t["dynamic-page"]||"yes"!==t["dynamic-page"]);return React.createElement(to,null,React.createElement("a",{className:"button",href:r,target:"_blank"},'Preview "',t.title,'" Page'," ",React.createElement("i",{className:"dashicons dashicons-external"})),o?React.createElement("button",{className:"button button-primary",onClick:function(e){n(!0)}},'Import "'.concat(t.title,'" Page')):React.createElement(sn,{title:'Import "'.concat(t.title,'" Page'),item:t}))}))),ro=(n(47),wp.compose.compose),oo=wp.data,io=oo.withSelect,ao=oo.withDispatch,co=wp.element,lo=co.memo,uo=co.Fragment,so=ro(io((function(e){var t=e("ast-block-templates"),n=t.getImportItemInfo,r=t.getFullWidthBlockPreview;return{importItemInfo:n(),fullWidthBlockPreview:r()}})),ao((function(e){var t=e("ast-block-templates"),n=t.setPagePreview,r=t.setFullWidthPagePreview,o=t.setCurrentScreen;return{setPagePreview:n,updateFullWidthPagePreview:function(e){r(e),o("full-width-page-preview")}}})))(lo((function(e){var t,n=e.importItemInfo,r=e.fullWidthBlockPreview,o=r.url?r.url:"";return t=n["required-plugins"]?n["required-plugins"]:[],React.createElement(uo,null,React.createElement("div",{className:"left"},React.createElement("a",{className:"button",href:o,target:"_blank"},"Preview Pattern",React.createElement("i",{className:"dashicons dashicons-external"}))),React.createElement("div",{className:"right"},React.createElement(Hr,{requiredPlugins:t}),React.createElement(gt,{btnClass:"button button-primary",title:"Import Pattern",item:r,requiredPlugins:t})))}))),fo=wp.compose.compose,po=wp.data.withSelect,mo=wp.element.memo,ho=fo(po((function(e){return{currentScreen:(0,e("ast-block-templates").getCurrentScreen)()}})))(mo((function(e){var t=e.currentScreen;if("all-single-site-pages"===t||"full-width-block-preview"===t)return React.createElement("div",{className:"footer"},"all-single-site-pages"===t?React.createElement(no,null):React.createElement(so,null))}))),vo=wp.element,go=vo.Fragment,bo=vo.useEffect,yo=vo.memo,_o=(0,wp.compose.compose)((0,wp.data.withDispatch)((function(e){return{onSetTogglePopup:e("ast-block-templates").setTogglePopup}})))(yo((function(e){var t=e.onSetTogglePopup,n=function(e){e.target===document.getElementById("ast-block-templates-modal-wrap")&&(document.body.classList.remove("ast-block-templates-modal-open"),document.getElementById("ast-block-templates-modal-wrap").classList.remove("open"),t())};return bo((function(){return document.addEventListener("click",n),function(){document.removeEventListener("click",n)}})),React.createElement(go,null,React.createElement(X,null),React.createElement("div",{className:"inner"},React.createElement(He,null),React.createElement(Dr,null),React.createElement(ho,null)))})));function wo(){wp.data.subscribe((function(){setTimeout((function(){!function(){if(!document.querySelector("#editor .edit-post-header__toolbar"))return;if(document.querySelector("#ast-block-templates-button-wrap"))return;var e=document.createElement("div");e.id="ast-block-templates-button-wrap",document.querySelector("#editor .edit-post-header__toolbar").appendChild(e)}(),function(){if(document.getElementById("ast-block-templates-modal-wrap"))return;var e=document.createElement("div");e.id="ast-block-templates-modal-wrap",e.classList.add(AstBlockTemplatesVars.popup_class),e.innerHTML='<div id="ast-block-templates-modal"></div>',document.body.appendChild(e),wp.element.render(React.createElement(_o,null),document.getElementById("ast-block-templates-modal"))}()}),500)}))}document.addEventListener("load",wo),document.addEventListener("DOMContentLoaded",wo)}]);
|
languages/astra-sites.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Starter Templates package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Starter Templates 2.6.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
-
"POT-Creation-Date: 2021-05-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -229,9 +229,9 @@ msgstr ""
|
|
229 |
#: inc/classes/class-astra-sites-importer.php:780
|
230 |
#: inc/classes/class-astra-sites-importer.php:823
|
231 |
#: inc/classes/class-astra-sites-importer.php:861
|
232 |
-
#: inc/classes/class-astra-sites.php:329 inc/classes/class-astra-sites.php:
|
233 |
-
#: inc/classes/class-astra-sites.php:
|
234 |
-
#: inc/classes/class-astra-sites.php:
|
235 |
msgid "You are not allowed to perform this action"
|
236 |
msgstr ""
|
237 |
|
@@ -299,9 +299,9 @@ msgid "The demo you are importing is a premium demo."
|
|
299 |
msgstr ""
|
300 |
|
301 |
#: inc/classes/class-astra-sites-page.php:433
|
302 |
-
#: inc/classes/class-astra-sites.php:
|
303 |
-
#: inc/classes/class-astra-sites.php:
|
304 |
-
msgid "Get
|
305 |
msgstr ""
|
306 |
|
307 |
#: inc/classes/class-astra-sites-page.php:435
|
@@ -337,14 +337,14 @@ msgstr ""
|
|
337 |
msgid "My Favorite"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: inc/classes/class-astra-sites-page.php:588 inc/includes/templates.php:
|
341 |
msgid "Sync Library"
|
342 |
msgstr ""
|
343 |
|
344 |
#: inc/classes/class-astra-sites-page.php:677
|
345 |
#: inc/classes/class-astra-sites-page.php:679
|
346 |
#: inc/classes/class-astra-sites-page.php:691
|
347 |
-
#: inc/classes/class-astra-sites.php:
|
348 |
#: inc/includes/templates.php:35
|
349 |
msgid "All"
|
350 |
msgstr ""
|
@@ -355,12 +355,12 @@ msgstr ""
|
|
355 |
|
356 |
#: inc/classes/class-astra-sites-page.php:701 inc/includes/admin-page.php:244
|
357 |
#: inc/includes/admin-page.php:333 inc/includes/admin-page.php:394
|
358 |
-
#: inc/includes/templates.php:30 inc/includes/templates.php:
|
359 |
-
#: inc/includes/templates.php:
|
360 |
-
msgid "
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: inc/classes/class-astra-sites-page.php:709 inc/includes/templates.php:
|
364 |
msgid "Search..."
|
365 |
msgstr ""
|
366 |
|
@@ -480,7 +480,7 @@ msgid "Site Import failed due to error: %s"
|
|
480 |
msgstr ""
|
481 |
|
482 |
#: inc/classes/class-astra-sites-wp-cli.php:183
|
483 |
-
msgid "This is
|
484 |
msgstr ""
|
485 |
|
486 |
#: inc/classes/class-astra-sites-wp-cli.php:184
|
@@ -639,192 +639,192 @@ msgstr ""
|
|
639 |
msgid "API Request has failed - %s"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: inc/classes/class-astra-sites.php:
|
643 |
msgid "Internal Server Error."
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: inc/classes/class-astra-sites.php:
|
647 |
#. translators: %s IP address.
|
648 |
msgid "Client IP: %1$s </br> Error code: %2$s"
|
649 |
msgstr ""
|
650 |
|
651 |
-
#: inc/classes/class-astra-sites.php:
|
652 |
msgid "Theme Activated"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: inc/classes/class-astra-sites.php:
|
656 |
msgid "User does not have permission!"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: inc/classes/class-astra-sites.php:
|
660 |
msgid "See Library"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: inc/classes/class-astra-sites.php:
|
664 |
msgid "Animals"
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: inc/classes/class-astra-sites.php:
|
668 |
msgid "Architecture/Buildings"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: inc/classes/class-astra-sites.php:
|
672 |
msgid "Backgrounds/Textures"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: inc/classes/class-astra-sites.php:
|
676 |
msgid "Beauty/Fashion"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: inc/classes/class-astra-sites.php:
|
680 |
msgid "Business/Finance"
|
681 |
msgstr ""
|
682 |
|
683 |
-
#: inc/classes/class-astra-sites.php:
|
684 |
msgid "Computer/Communication"
|
685 |
msgstr ""
|
686 |
|
687 |
-
#: inc/classes/class-astra-sites.php:
|
688 |
msgid "Education"
|
689 |
msgstr ""
|
690 |
|
691 |
-
#: inc/classes/class-astra-sites.php:
|
692 |
msgid "Emotions"
|
693 |
msgstr ""
|
694 |
|
695 |
-
#: inc/classes/class-astra-sites.php:
|
696 |
msgid "Food/Drink"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: inc/classes/class-astra-sites.php:
|
700 |
msgid "Health/Medical"
|
701 |
msgstr ""
|
702 |
|
703 |
-
#: inc/classes/class-astra-sites.php:
|
704 |
msgid "Industry/Craft"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: inc/classes/class-astra-sites.php:
|
708 |
msgid "Music"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: inc/classes/class-astra-sites.php:
|
712 |
msgid "Nature/Landscapes"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: inc/classes/class-astra-sites.php:
|
716 |
msgid "People"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: inc/classes/class-astra-sites.php:
|
720 |
msgid "Places/Monuments"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: inc/classes/class-astra-sites.php:
|
724 |
msgid "Religion"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: inc/classes/class-astra-sites.php:
|
728 |
msgid "Science/Technology"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: inc/classes/class-astra-sites.php:
|
732 |
msgid "Sports"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: inc/classes/class-astra-sites.php:
|
736 |
msgid "Transportation/Traffic"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: inc/classes/class-astra-sites.php:
|
740 |
msgid "Travel/Vacation"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: inc/classes/class-astra-sites.php:
|
744 |
msgid "Popular"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: inc/classes/class-astra-sites.php:
|
748 |
msgid "Latest"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: inc/classes/class-astra-sites.php:
|
752 |
msgid "Upcoming"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: inc/classes/class-astra-sites.php:
|
756 |
msgid "Editor's Choice"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: inc/classes/class-astra-sites.php:
|
760 |
msgid "Any Orientation"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: inc/classes/class-astra-sites.php:
|
764 |
msgid "Vertical"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: inc/classes/class-astra-sites.php:
|
768 |
msgid "Horizontal"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: inc/classes/class-astra-sites.php:
|
772 |
msgid "Free Images from Pixabay"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: inc/classes/class-astra-sites.php:
|
776 |
msgid "Pixabay Search - Ex: flowers"
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: inc/classes/class-astra-sites.php:
|
780 |
msgid "Downloading..."
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: inc/classes/class-astra-sites.php:
|
784 |
msgid "Validating..."
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: inc/classes/class-astra-sites.php:
|
788 |
msgid "Please enter an API key."
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: inc/classes/class-astra-sites.php:
|
792 |
msgid "An error occured with code "
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: inc/classes/class-astra-sites.php:
|
796 |
msgid "Installed! Activating.."
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: inc/classes/class-astra-sites.php:
|
800 |
msgid "Activating..."
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: inc/classes/class-astra-sites.php:
|
804 |
msgid "Activated!"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: inc/classes/class-astra-sites.php:
|
808 |
msgid "Installing..."
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: inc/classes/class-astra-sites.php:
|
812 |
msgid "Upgrade"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: inc/classes/class-astra-sites.php:
|
816 |
msgid ""
|
817 |
"Syncing template library in the background. The process can take anywhere "
|
818 |
"between 2 to 3 minutes. We will notify you once done."
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: inc/classes/class-astra-sites.php:
|
822 |
msgid ""
|
823 |
"Some of the files required during the import process are "
|
824 |
"missing.<br/><br/>Please try again after some time."
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: inc/classes/class-astra-sites.php:
|
828 |
msgid ""
|
829 |
"<p>WordPress debug mode is currently enabled on your website. This has "
|
830 |
"interrupted the import process..</p><p>Kindly disable debug mode and try "
|
@@ -833,8 +833,8 @@ msgid ""
|
|
833 |
"mode.</p><p><code>define('WP_DEBUG', false);</code></p>"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: inc/classes/class-astra-sites.php:
|
837 |
-
#: inc/classes/class-astra-sites.php:
|
838 |
#. translators: %s is a documentation link.
|
839 |
msgid ""
|
840 |
"<p>Your website is facing a temporary issue in connecting the template "
|
@@ -842,212 +842,243 @@ msgid ""
|
|
842 |
"the issue and continue importing template.</p>"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: inc/classes/class-astra-sites.php:
|
846 |
#. translators: %s are white label strings.
|
847 |
msgid ""
|
848 |
"Warning! %1$s Import process is not complete. Don't close the window until "
|
849 |
"import process complete. Do you still want to leave the window?"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: inc/classes/class-astra-sites.php:
|
853 |
msgid "Done! View Site"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: inc/classes/class-astra-sites.php:
|
857 |
#. translators: %s is a template name
|
858 |
msgid "Import \"%s\" Template"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: inc/classes/class-astra-sites.php:
|
862 |
msgid "Installing Required Plugins.."
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: inc/classes/class-astra-sites.php:
|
866 |
#. translators: %s are white label strings.
|
867 |
msgid "Installing %1$s Theme.."
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: inc/classes/class-astra-sites.php:
|
871 |
msgid "Dismiss this notice."
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: inc/classes/class-astra-sites.php:
|
875 |
msgid "One Last Step.."
|
876 |
msgstr ""
|
877 |
|
878 |
-
#: inc/classes/class-astra-sites.php:
|
879 |
msgid "Your Selected Website is Being Imported."
|
880 |
msgstr ""
|
881 |
|
882 |
-
#: inc/classes/class-astra-sites.php:
|
883 |
msgid "Your Selected Template is Being Imported."
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: inc/classes/class-astra-sites.php:
|
887 |
msgid ""
|
888 |
"We have sent you a surprise gift on your email address! Please check your "
|
889 |
"inbox!"
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: inc/classes/class-astra-sites.php:
|
893 |
msgid "Looks like the template you are importing is temporarily not available."
|
894 |
msgstr ""
|
895 |
|
896 |
-
#: inc/classes/class-astra-sites.php:
|
897 |
msgid ""
|
898 |
"We could not start the import process and this is the message from "
|
899 |
"WordPress:"
|
900 |
msgstr ""
|
901 |
|
902 |
-
#: inc/classes/class-astra-sites.php:
|
903 |
-
msgid "There was an error connecting to the Starter Templates API
|
904 |
msgstr ""
|
905 |
|
906 |
-
#: inc/classes/class-astra-sites.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
907 |
msgid "XMLReader Support Missing"
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: inc/classes/class-astra-sites.php:
|
911 |
#. translators: %s doc link.
|
912 |
msgid ""
|
913 |
"You're close to importing the template. To complete the process, enable "
|
914 |
"XMLReader support on your website.."
|
915 |
msgstr ""
|
916 |
|
917 |
-
#: inc/classes/class-astra-sites.php:1406
|
918 |
-
#: inc/classes/class-astra-sites.php:1411
|
919 |
#: inc/classes/class-astra-sites.php:1416
|
|
|
|
|
920 |
msgid ""
|
921 |
"Read an article <a href=\"%s\" target=\"_blank\">here</a> to resolve the "
|
922 |
"issue."
|
923 |
msgstr ""
|
924 |
|
925 |
-
#: inc/classes/class-astra-sites.php:
|
926 |
msgid "cURL Support Missing"
|
927 |
msgstr ""
|
928 |
|
929 |
-
#: inc/classes/class-astra-sites.php:
|
930 |
#. translators: %s doc link.
|
931 |
msgid "To run a smooth import, kindly enable cURL support on your website."
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: inc/classes/class-astra-sites.php:
|
935 |
msgid "Disable Debug Mode"
|
936 |
msgstr ""
|
937 |
|
938 |
-
#: inc/classes/class-astra-sites.php:
|
939 |
#. translators: %s doc link.
|
940 |
msgid ""
|
941 |
"WordPress debug mode is currently enabled on your website. With this, any "
|
942 |
"errors from third-party plugins might affect the import process."
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: inc/classes/class-astra-sites.php:
|
946 |
msgid ""
|
947 |
"Kindly disable it to continue importing the Starter Template. To do so, you "
|
948 |
"can add the following code into the wp-config.php file."
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: inc/classes/class-astra-sites.php:
|
952 |
msgid "Update Plugin"
|
953 |
msgstr ""
|
954 |
|
955 |
-
#: inc/classes/class-astra-sites.php:
|
956 |
#. translators: %s update page link.
|
957 |
msgid "Updates are available for plugins used in this starter template."
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: inc/classes/class-astra-sites.php:
|
961 |
msgid ""
|
962 |
"Kindly <a href=\"%s\" target=\"_blank\">update</a> them for a successful "
|
963 |
"import. Skipping this step might break the template design/feature."
|
964 |
msgstr ""
|
965 |
|
966 |
-
#: inc/classes/class-astra-sites.php:
|
967 |
-
#: inc/includes/templates.php:
|
968 |
msgid "Required Plugins Missing"
|
969 |
msgstr ""
|
970 |
|
971 |
-
#: inc/classes/class-astra-sites.php:
|
972 |
msgid ""
|
973 |
"This starter template requires premium plugins. As these are third party "
|
974 |
"premium plugins, you'll need to purchase, install and activate them first."
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: inc/classes/class-astra-sites.php:
|
978 |
msgid "Dynamic Page"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: inc/classes/class-astra-sites.php:
|
982 |
msgid ""
|
983 |
"The page template you are about to import contains a dynamic widget/module. "
|
984 |
"Please note this dynamic data will not be available with the imported page."
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: inc/classes/class-astra-sites.php:
|
988 |
msgid "You will need to add it manually on the page."
|
989 |
msgstr ""
|
990 |
|
991 |
-
#: inc/classes/class-astra-sites.php:
|
992 |
msgid "This dynamic content will be available when you import the entire site."
|
993 |
msgstr ""
|
994 |
|
995 |
-
#: inc/classes/class-astra-sites.php:
|
996 |
#. translators: %s are link.
|
997 |
msgid ""
|
998 |
-
"This is a premium
|
999 |
-
"can purchase it from <a href=\"%s\" target=\"_blank\">here</a>."
|
1000 |
msgstr ""
|
1001 |
|
1002 |
-
#: inc/classes/class-astra-sites.php:
|
1003 |
#. translators: %s are link.
|
1004 |
msgid ""
|
1005 |
-
"This is a premium template available with
|
1006 |
-
"target=\"_blank\">Validate Your License</a> Key to
|
|
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: inc/classes/class-astra-sites.php:
|
1010 |
msgid "Template"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: inc/classes/class-astra-sites.php:
|
1014 |
msgid "Block"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: inc/classes/class-astra-sites.php:
|
1018 |
msgid "Dismiss"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: inc/classes/class-astra-sites.php:
|
1022 |
msgid "Install Required Plugins"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: inc/classes/class-astra-sites.php:
|
1026 |
#. translators: %s are link.
|
1027 |
msgid ""
|
1028 |
"You can locate <strong>Starter Templates Settings</strong> under the "
|
1029 |
"<strong>Page Settings</strong> of the Style Tab."
|
1030 |
msgstr ""
|
1031 |
|
1032 |
-
#: inc/classes/class-astra-sites.php:
|
1033 |
msgid "Read More →"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
-
#: inc/classes/class-astra-sites.php:
|
1037 |
msgid "Error: You don't have the required permissions to install plugins."
|
1038 |
msgstr ""
|
1039 |
|
1040 |
-
#: inc/classes/class-astra-sites.php:
|
1041 |
msgid "Plugin Activated"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
#: inc/classes/class-astra-sites.php:
|
1045 |
msgid ""
|
1046 |
"Insufficient Permission. Please contact your Super Admin to allow the "
|
1047 |
"install required plugin permissions."
|
1048 |
msgstr ""
|
1049 |
|
1050 |
-
#: inc/classes/class-astra-sites.php:
|
1051 |
msgid "Template library refreshed!"
|
1052 |
msgstr ""
|
1053 |
|
@@ -1284,14 +1315,14 @@ msgstr ""
|
|
1284 |
|
1285 |
#: inc/includes/admin-page.php:110 inc/includes/admin-page.php:116
|
1286 |
#: inc/includes/admin-page.php:118 inc/includes/admin-page.php:504
|
1287 |
-
#: inc/includes/admin-page.php:
|
1288 |
-
#: inc/includes/templates.php:
|
1289 |
msgid "Skip & Import"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
#: inc/includes/admin-page.php:111 inc/includes/admin-page.php:119
|
1293 |
-
#: inc/includes/admin-page.php:505 inc/includes/admin-page.php:
|
1294 |
-
#: inc/includes/admin-page.php:
|
1295 |
msgid "Cancel"
|
1296 |
msgstr ""
|
1297 |
|
@@ -1300,15 +1331,15 @@ msgid "Update"
|
|
1300 |
msgstr ""
|
1301 |
|
1302 |
#: inc/includes/admin-page.php:130 inc/includes/image-templates.php:54
|
1303 |
-
#: inc/includes/image-templates.php:92 inc/includes/templates.php:
|
1304 |
-
#: inc/includes/templates.php:
|
1305 |
-
#: inc/includes/templates.php:
|
1306 |
msgid "Sorry No Results Found."
|
1307 |
msgstr ""
|
1308 |
|
1309 |
#: inc/includes/admin-page.php:139 inc/includes/image-templates.php:96
|
1310 |
-
#: inc/includes/templates.php:
|
1311 |
-
#: inc/includes/templates.php:
|
1312 |
#. translators: %1$s External Link
|
1313 |
msgid ""
|
1314 |
"Don't see a template you would like to import?<br><a target=\"_blank\" "
|
@@ -1316,8 +1347,8 @@ msgid ""
|
|
1316 |
msgstr ""
|
1317 |
|
1318 |
#: inc/includes/admin-page.php:142 inc/includes/admin-page.php:165
|
1319 |
-
#: inc/includes/templates.php:
|
1320 |
-
#: inc/includes/templates.php:
|
1321 |
msgid "Back to Templates"
|
1322 |
msgstr ""
|
1323 |
|
@@ -1342,12 +1373,12 @@ msgid "Make as Unfavorite"
|
|
1342 |
msgstr ""
|
1343 |
|
1344 |
#: inc/includes/admin-page.php:244 inc/includes/admin-page.php:333
|
1345 |
-
#: inc/includes/admin-page.php:394 inc/includes/templates.php:
|
1346 |
-
#: inc/includes/templates.php:
|
1347 |
#. translators: %s are white label strings.
|
1348 |
#. translators: %s are white label strings.
|
1349 |
#. translators: %1$s External Link
|
1350 |
-
msgid "This premium template is accessible with %1$s \"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
#: inc/includes/admin-page.php:273
|
@@ -1361,15 +1392,17 @@ msgstr ""
|
|
1361 |
#: inc/includes/admin-page.php:413
|
1362 |
#. translators: %s is pricing page link
|
1363 |
msgid ""
|
1364 |
-
"This is a premium template available with
|
1365 |
-
"purchase
|
|
|
1366 |
msgstr ""
|
1367 |
|
1368 |
#: inc/includes/admin-page.php:419
|
1369 |
#. translators: %s is article link
|
1370 |
msgid ""
|
1371 |
-
"If you already own
|
1372 |
-
"href=\"%s\" target=\"_blank\">import a premium website
|
|
|
1373 |
msgstr ""
|
1374 |
|
1375 |
#: inc/includes/admin-page.php:430
|
@@ -1386,7 +1419,7 @@ msgstr ""
|
|
1386 |
#: inc/includes/admin-page.php:463
|
1387 |
#. translators: %s is pricing page link
|
1388 |
msgid ""
|
1389 |
-
"<p>Seems like you have purchased the %4$s '
|
1390 |
"choice of '%1$s' page builder addon.</p><p>While this template is built "
|
1391 |
"with '%2$s' page builder addon.</p><p>Read article <a href=\"%3$s\" "
|
1392 |
"target=\"_blank\">here</a> to see how you can proceed.</p>"
|
@@ -1475,124 +1508,132 @@ msgid ""
|
|
1475 |
"can help you with it."
|
1476 |
msgstr ""
|
1477 |
|
1478 |
-
#: inc/includes/admin-page.php:
|
1479 |
#. translators: %s doc link.
|
1480 |
msgid ""
|
1481 |
"We have listed the <a href=\"%s\" target=\"_blank\">possible solutions "
|
1482 |
"here</a> to help you resolve this."
|
1483 |
msgstr ""
|
1484 |
|
1485 |
-
#: inc/includes/admin-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1486 |
#. translators: %s doc link.
|
1487 |
msgid ""
|
1488 |
"Please report this error <a href=\"%s\" target=\"_blank\">here</a> so we "
|
1489 |
"can fix it."
|
1490 |
msgstr ""
|
1491 |
|
1492 |
-
#: inc/includes/admin-page.php:
|
1493 |
msgid ""
|
1494 |
"Please report this error <a href=\"#LINK\" target=\"_blank\">here</a> so we "
|
1495 |
"can fix it."
|
1496 |
msgstr ""
|
1497 |
|
1498 |
-
#: inc/includes/admin-page.php:
|
1499 |
msgid "Heads Up!"
|
1500 |
msgstr ""
|
1501 |
|
1502 |
-
#: inc/includes/admin-page.php:
|
1503 |
msgid "Beginner"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
-
#: inc/includes/admin-page.php:
|
1507 |
msgid "Intermediate"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
-
#: inc/includes/admin-page.php:
|
1511 |
msgid "Expert"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
-
#: inc/includes/admin-page.php:
|
1515 |
msgid "Field is required"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
-
#: inc/includes/admin-page.php:
|
1519 |
msgid "I'm a WordPress:"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
-
#: inc/includes/admin-page.php:
|
1523 |
msgid "Myself/My company"
|
1524 |
msgstr ""
|
1525 |
|
1526 |
-
#: inc/includes/admin-page.php:
|
1527 |
msgid "My client"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
-
#: inc/includes/admin-page.php:
|
1531 |
msgid "I'm building website for:"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
-
#: inc/includes/admin-page.php:
|
1535 |
msgid "First name is required"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#: inc/includes/admin-page.php:
|
1539 |
msgid "Your First Name"
|
1540 |
msgstr ""
|
1541 |
|
1542 |
-
#: inc/includes/admin-page.php:
|
1543 |
msgid "Email address is required"
|
1544 |
msgstr ""
|
1545 |
|
1546 |
-
#: inc/includes/admin-page.php:
|
1547 |
msgid "Your Work Email"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
-
#: inc/includes/admin-page.php:
|
1551 |
msgid ""
|
1552 |
"To get access to exclusive starter templates, themes and updates, enter "
|
1553 |
"your details below:"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
-
#: inc/includes/admin-page.php:
|
1557 |
msgid "Submit and Start Importing"
|
1558 |
msgstr ""
|
1559 |
|
1560 |
-
#: inc/includes/admin-page.php:
|
1561 |
#. translators: %1$s and %3$s are opening anchor tags, and %2$s and %4$s is
|
1562 |
#. closing anchor tags.
|
1563 |
msgid "By submitting, you agree to our %1$sTerms%2$s and %3$sPrivacy Policy%4$s."
|
1564 |
msgstr ""
|
1565 |
|
1566 |
-
#: inc/includes/admin-page.php:
|
1567 |
msgid "Skip"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
-
#: inc/includes/admin-page.php:
|
1571 |
msgid ""
|
1572 |
"To serve more beautiful starter templates, we would like to know more about "
|
1573 |
"you:"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: inc/includes/admin-page.php:
|
1577 |
msgid "Advanced Options"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: inc/includes/admin-page.php:
|
1581 |
msgid "Install & Activate Astra Theme"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
-
#: inc/includes/admin-page.php:
|
1585 |
msgid ""
|
1586 |
"To import the site in the original format, you would need the Astra theme "
|
1587 |
"activated. You can import it with any other theme, but the site might lose "
|
1588 |
"some of the design settings and look a bit different."
|
1589 |
msgstr ""
|
1590 |
|
1591 |
-
#: inc/includes/admin-page.php:
|
1592 |
msgid "Import Customizer Settings"
|
1593 |
msgstr ""
|
1594 |
|
1595 |
-
#: inc/includes/admin-page.php:
|
1596 |
#. translators: %s are white label strings.
|
1597 |
msgid ""
|
1598 |
"%1$s customizer serves global settings that give uniform design to the "
|
@@ -1600,61 +1641,61 @@ msgid ""
|
|
1600 |
"settings."
|
1601 |
msgstr ""
|
1602 |
|
1603 |
-
#: inc/includes/admin-page.php:
|
1604 |
msgid "Import Widgets"
|
1605 |
msgstr ""
|
1606 |
|
1607 |
-
#: inc/includes/admin-page.php:
|
1608 |
msgid ""
|
1609 |
"Plugins needed to import this template are missing. Required plugins will "
|
1610 |
"be installed and activated automatically."
|
1611 |
msgstr ""
|
1612 |
|
1613 |
-
#: inc/includes/admin-page.php:
|
1614 |
msgid "Import Content"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
-
#: inc/includes/admin-page.php:
|
1618 |
msgid ""
|
1619 |
"Selecting this option will import dummy pages, posts, images, and menus. If "
|
1620 |
"you do not want to import dummy content, please uncheck this option."
|
1621 |
msgstr ""
|
1622 |
|
1623 |
-
#: inc/includes/admin-page.php:
|
1624 |
#. translators: %s is the dynamic string.
|
1625 |
msgid ""
|
1626 |
"The import process can take a few minutes depending on the size of the %s "
|
1627 |
"and speed of the connection."
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#: inc/includes/admin-page.php:
|
1631 |
#. translators: %s is the dynamic string.
|
1632 |
msgid "Please do NOT close this browser window until the %s is imported completely."
|
1633 |
msgstr ""
|
1634 |
|
1635 |
-
#: inc/includes/admin-page.php:
|
1636 |
msgid "Next"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
-
#: inc/includes/admin-page.php:
|
1640 |
msgid "Import"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#: inc/includes/admin-page.php:
|
1644 |
msgid "Delete Previously Imported Site"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
-
#: inc/includes/admin-page.php:
|
1648 |
msgid ""
|
1649 |
"WARNING: Selecting this option will delete all data from the previous "
|
1650 |
"import. Choose this option only if this is intended."
|
1651 |
msgstr ""
|
1652 |
|
1653 |
-
#: inc/includes/admin-page.php:
|
1654 |
msgid "You can find the backup to the current customizer settings at "
|
1655 |
msgstr ""
|
1656 |
|
1657 |
-
#: inc/includes/admin-page.php:
|
1658 |
msgid "/wp-content/uploads/astra-sites/"
|
1659 |
msgstr ""
|
1660 |
|
@@ -1674,53 +1715,53 @@ msgstr ""
|
|
1674 |
msgid "Save & Insert"
|
1675 |
msgstr ""
|
1676 |
|
1677 |
-
#: inc/includes/templates.php:
|
1678 |
msgid "SEARCH"
|
1679 |
msgstr ""
|
1680 |
|
1681 |
-
#: inc/includes/templates.php:
|
|
|
|
|
|
|
|
|
1682 |
msgid "Back to Pages"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
-
#: inc/includes/templates.php:
|
1686 |
msgid "Back to Layout"
|
1687 |
msgstr ""
|
1688 |
|
1689 |
-
#: inc/includes/templates.php:
|
1690 |
msgid "Pages"
|
1691 |
msgstr ""
|
1692 |
|
1693 |
-
#: inc/includes/templates.php:
|
1694 |
msgid "Blocks"
|
1695 |
msgstr ""
|
1696 |
|
1697 |
-
#: inc/includes/templates.php:
|
1698 |
msgid "Close"
|
1699 |
msgstr ""
|
1700 |
|
1701 |
-
#: inc/includes/templates.php:
|
1702 |
msgid "INSERT"
|
1703 |
msgstr ""
|
1704 |
|
1705 |
-
#: inc/includes/templates.php:
|
1706 |
-
msgid "Get Access!"
|
1707 |
-
msgstr ""
|
1708 |
-
|
1709 |
-
#: inc/includes/templates.php:418
|
1710 |
msgid "Insert"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
-
#: inc/includes/templates.php:
|
1714 |
msgid ""
|
1715 |
"This starter site requires premium plugins. As these are third party "
|
1716 |
"premium plugins, you'll need to purchase, install and activate them first."
|
1717 |
msgstr ""
|
1718 |
|
1719 |
-
#: inc/includes/templates.php:
|
1720 |
msgid "Import "
|
1721 |
msgstr ""
|
1722 |
|
1723 |
-
#: inc/includes/templates.php:
|
1724 |
msgid "Save "
|
1725 |
msgstr ""
|
1726 |
|
2 |
# This file is distributed under the same license as the Starter Templates package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Starter Templates 2.6.10\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
+
"POT-Creation-Date: 2021-05-24 07:03:17+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
229 |
#: inc/classes/class-astra-sites-importer.php:780
|
230 |
#: inc/classes/class-astra-sites-importer.php:823
|
231 |
#: inc/classes/class-astra-sites-importer.php:861
|
232 |
+
#: inc/classes/class-astra-sites.php:329 inc/classes/class-astra-sites.php:544
|
233 |
+
#: inc/classes/class-astra-sites.php:648 inc/classes/class-astra-sites.php:721
|
234 |
+
#: inc/classes/class-astra-sites.php:912 inc/classes/class-astra-sites.php:931
|
235 |
msgid "You are not allowed to perform this action"
|
236 |
msgstr ""
|
237 |
|
299 |
msgstr ""
|
300 |
|
301 |
#: inc/classes/class-astra-sites-page.php:433
|
302 |
+
#: inc/classes/class-astra-sites.php:1301
|
303 |
+
#: inc/classes/class-astra-sites.php:1551 inc/includes/templates.php:302
|
304 |
+
msgid "Get Access!"
|
305 |
msgstr ""
|
306 |
|
307 |
#: inc/classes/class-astra-sites-page.php:435
|
337 |
msgid "My Favorite"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: inc/classes/class-astra-sites-page.php:588 inc/includes/templates.php:130
|
341 |
msgid "Sync Library"
|
342 |
msgstr ""
|
343 |
|
344 |
#: inc/classes/class-astra-sites-page.php:677
|
345 |
#: inc/classes/class-astra-sites-page.php:679
|
346 |
#: inc/classes/class-astra-sites-page.php:691
|
347 |
+
#: inc/classes/class-astra-sites.php:1125 inc/includes/templates.php:28
|
348 |
#: inc/includes/templates.php:35
|
349 |
msgid "All"
|
350 |
msgstr ""
|
355 |
|
356 |
#: inc/classes/class-astra-sites-page.php:701 inc/includes/admin-page.php:244
|
357 |
#: inc/includes/admin-page.php:333 inc/includes/admin-page.php:394
|
358 |
+
#: inc/includes/templates.php:30 inc/includes/templates.php:181
|
359 |
+
#: inc/includes/templates.php:308 inc/includes/templates.php:394
|
360 |
+
msgid "Premium"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: inc/classes/class-astra-sites-page.php:709 inc/includes/templates.php:44
|
364 |
msgid "Search..."
|
365 |
msgstr ""
|
366 |
|
480 |
msgstr ""
|
481 |
|
482 |
#: inc/classes/class-astra-sites-wp-cli.php:183
|
483 |
+
msgid "This is Premium site. Please activate the \"Starter Templates\" license!"
|
484 |
msgstr ""
|
485 |
|
486 |
#: inc/classes/class-astra-sites-wp-cli.php:184
|
639 |
msgid "API Request has failed - %s"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: inc/classes/class-astra-sites.php:425
|
643 |
msgid "Internal Server Error."
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: inc/classes/class-astra-sites.php:431
|
647 |
#. translators: %s IP address.
|
648 |
msgid "Client IP: %1$s </br> Error code: %2$s"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: inc/classes/class-astra-sites.php:939
|
652 |
msgid "Theme Activated"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: inc/classes/class-astra-sites.php:985
|
656 |
msgid "User does not have permission!"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: inc/classes/class-astra-sites.php:1062
|
660 |
msgid "See Library"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: inc/classes/class-astra-sites.php:1126
|
664 |
msgid "Animals"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: inc/classes/class-astra-sites.php:1127
|
668 |
msgid "Architecture/Buildings"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: inc/classes/class-astra-sites.php:1128
|
672 |
msgid "Backgrounds/Textures"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: inc/classes/class-astra-sites.php:1129
|
676 |
msgid "Beauty/Fashion"
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: inc/classes/class-astra-sites.php:1130
|
680 |
msgid "Business/Finance"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: inc/classes/class-astra-sites.php:1131
|
684 |
msgid "Computer/Communication"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: inc/classes/class-astra-sites.php:1132
|
688 |
msgid "Education"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: inc/classes/class-astra-sites.php:1133
|
692 |
msgid "Emotions"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: inc/classes/class-astra-sites.php:1134
|
696 |
msgid "Food/Drink"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: inc/classes/class-astra-sites.php:1135
|
700 |
msgid "Health/Medical"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: inc/classes/class-astra-sites.php:1136
|
704 |
msgid "Industry/Craft"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: inc/classes/class-astra-sites.php:1137
|
708 |
msgid "Music"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: inc/classes/class-astra-sites.php:1138
|
712 |
msgid "Nature/Landscapes"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: inc/classes/class-astra-sites.php:1139
|
716 |
msgid "People"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: inc/classes/class-astra-sites.php:1140
|
720 |
msgid "Places/Monuments"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: inc/classes/class-astra-sites.php:1141
|
724 |
msgid "Religion"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: inc/classes/class-astra-sites.php:1142
|
728 |
msgid "Science/Technology"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: inc/classes/class-astra-sites.php:1143
|
732 |
msgid "Sports"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: inc/classes/class-astra-sites.php:1144
|
736 |
msgid "Transportation/Traffic"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: inc/classes/class-astra-sites.php:1145
|
740 |
msgid "Travel/Vacation"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: inc/classes/class-astra-sites.php:1148
|
744 |
msgid "Popular"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: inc/classes/class-astra-sites.php:1149
|
748 |
msgid "Latest"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: inc/classes/class-astra-sites.php:1150
|
752 |
msgid "Upcoming"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: inc/classes/class-astra-sites.php:1151
|
756 |
msgid "Editor's Choice"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: inc/classes/class-astra-sites.php:1154
|
760 |
msgid "Any Orientation"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: inc/classes/class-astra-sites.php:1155
|
764 |
msgid "Vertical"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: inc/classes/class-astra-sites.php:1156
|
768 |
msgid "Horizontal"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: inc/classes/class-astra-sites.php:1158
|
772 |
msgid "Free Images from Pixabay"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: inc/classes/class-astra-sites.php:1159
|
776 |
msgid "Pixabay Search - Ex: flowers"
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: inc/classes/class-astra-sites.php:1160
|
780 |
msgid "Downloading..."
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: inc/classes/class-astra-sites.php:1161
|
784 |
msgid "Validating..."
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: inc/classes/class-astra-sites.php:1162
|
788 |
msgid "Please enter an API key."
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: inc/classes/class-astra-sites.php:1163
|
792 |
msgid "An error occured with code "
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: inc/classes/class-astra-sites.php:1215
|
796 |
msgid "Installed! Activating.."
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: inc/classes/class-astra-sites.php:1216
|
800 |
msgid "Activating..."
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: inc/classes/class-astra-sites.php:1217
|
804 |
msgid "Activated!"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: inc/classes/class-astra-sites.php:1218
|
808 |
msgid "Installing..."
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: inc/classes/class-astra-sites.php:1303
|
812 |
msgid "Upgrade"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: inc/classes/class-astra-sites.php:1307
|
816 |
msgid ""
|
817 |
"Syncing template library in the background. The process can take anywhere "
|
818 |
"between 2 to 3 minutes. We will notify you once done."
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: inc/classes/class-astra-sites.php:1308
|
822 |
msgid ""
|
823 |
"Some of the files required during the import process are "
|
824 |
"missing.<br/><br/>Please try again after some time."
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: inc/classes/class-astra-sites.php:1309
|
828 |
msgid ""
|
829 |
"<p>WordPress debug mode is currently enabled on your website. This has "
|
830 |
"interrupted the import process..</p><p>Kindly disable debug mode and try "
|
833 |
"mode.</p><p><code>define('WP_DEBUG', false);</code></p>"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: inc/classes/class-astra-sites.php:1311
|
837 |
+
#: inc/classes/class-astra-sites.php:1313
|
838 |
#. translators: %s is a documentation link.
|
839 |
msgid ""
|
840 |
"<p>Your website is facing a temporary issue in connecting the template "
|
842 |
"the issue and continue importing template.</p>"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: inc/classes/class-astra-sites.php:1317
|
846 |
#. translators: %s are white label strings.
|
847 |
msgid ""
|
848 |
"Warning! %1$s Import process is not complete. Don't close the window until "
|
849 |
"import process complete. Do you still want to leave the window?"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: inc/classes/class-astra-sites.php:1318
|
853 |
msgid "Done! View Site"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: inc/classes/class-astra-sites.php:1321
|
857 |
#. translators: %s is a template name
|
858 |
msgid "Import \"%s\" Template"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: inc/classes/class-astra-sites.php:1324
|
862 |
msgid "Installing Required Plugins.."
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: inc/classes/class-astra-sites.php:1326
|
866 |
#. translators: %s are white label strings.
|
867 |
msgid "Installing %1$s Theme.."
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: inc/classes/class-astra-sites.php:1348
|
871 |
msgid "Dismiss this notice."
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: inc/classes/class-astra-sites.php:1350 inc/includes/admin-page.php:772
|
875 |
msgid "One Last Step.."
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: inc/classes/class-astra-sites.php:1351 inc/includes/admin-page.php:795
|
879 |
msgid "Your Selected Website is Being Imported."
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: inc/classes/class-astra-sites.php:1352 inc/includes/admin-page.php:797
|
883 |
msgid "Your Selected Template is Being Imported."
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: inc/classes/class-astra-sites.php:1354
|
887 |
msgid ""
|
888 |
"We have sent you a surprise gift on your email address! Please check your "
|
889 |
"inbox!"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: inc/classes/class-astra-sites.php:1356
|
893 |
msgid "Looks like the template you are importing is temporarily not available."
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: inc/classes/class-astra-sites.php:1357
|
897 |
msgid ""
|
898 |
"We could not start the import process and this is the message from "
|
899 |
"WordPress:"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: inc/classes/class-astra-sites.php:1358
|
903 |
+
msgid "There was an error connecting to the Starter Templates API."
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: inc/classes/class-astra-sites.php:1359
|
907 |
+
msgid "There was an error while importing the content."
|
908 |
+
msgstr ""
|
909 |
+
|
910 |
+
#: inc/classes/class-astra-sites.php:1360
|
911 |
+
msgid ""
|
912 |
+
"To import content, WordPress needs to store XML file in /wp-content/ "
|
913 |
+
"folder. Please get in touch with your hosting provider."
|
914 |
+
msgstr ""
|
915 |
+
|
916 |
+
#: inc/classes/class-astra-sites.php:1361
|
917 |
+
msgid ""
|
918 |
+
"Looks like your host probably could not store XML file in /wp-content/ "
|
919 |
+
"folder."
|
920 |
+
msgstr ""
|
921 |
+
|
922 |
+
#: inc/classes/class-astra-sites.php:1363
|
923 |
+
#. translators: %s HTML tags
|
924 |
+
msgid ""
|
925 |
+
"%1$sWe could not start the import process due to failed AJAX request and "
|
926 |
+
"this is the message from WordPress:%2$s"
|
927 |
+
msgstr ""
|
928 |
+
|
929 |
+
#: inc/classes/class-astra-sites.php:1365
|
930 |
+
#. translators: %s URL to document.
|
931 |
+
msgid ""
|
932 |
+
"%1$sRead <a href=\"%2$s\" target=\"_blank\">article</a> to resolve the "
|
933 |
+
"issue and continue importing template.%3$s"
|
934 |
+
msgstr ""
|
935 |
+
|
936 |
+
#: inc/classes/class-astra-sites.php:1414
|
937 |
msgid "XMLReader Support Missing"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: inc/classes/class-astra-sites.php:1416
|
941 |
#. translators: %s doc link.
|
942 |
msgid ""
|
943 |
"You're close to importing the template. To complete the process, enable "
|
944 |
"XMLReader support on your website.."
|
945 |
msgstr ""
|
946 |
|
|
|
|
|
947 |
#: inc/classes/class-astra-sites.php:1416
|
948 |
+
#: inc/classes/class-astra-sites.php:1421
|
949 |
+
#: inc/classes/class-astra-sites.php:1426
|
950 |
msgid ""
|
951 |
"Read an article <a href=\"%s\" target=\"_blank\">here</a> to resolve the "
|
952 |
"issue."
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: inc/classes/class-astra-sites.php:1419
|
956 |
msgid "cURL Support Missing"
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: inc/classes/class-astra-sites.php:1421
|
960 |
#. translators: %s doc link.
|
961 |
msgid "To run a smooth import, kindly enable cURL support on your website."
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: inc/classes/class-astra-sites.php:1424
|
965 |
msgid "Disable Debug Mode"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: inc/classes/class-astra-sites.php:1426
|
969 |
#. translators: %s doc link.
|
970 |
msgid ""
|
971 |
"WordPress debug mode is currently enabled on your website. With this, any "
|
972 |
"errors from third-party plugins might affect the import process."
|
973 |
msgstr ""
|
974 |
|
975 |
+
#: inc/classes/class-astra-sites.php:1426
|
976 |
msgid ""
|
977 |
"Kindly disable it to continue importing the Starter Template. To do so, you "
|
978 |
"can add the following code into the wp-config.php file."
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: inc/classes/class-astra-sites.php:1429
|
982 |
msgid "Update Plugin"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: inc/classes/class-astra-sites.php:1431
|
986 |
#. translators: %s update page link.
|
987 |
msgid "Updates are available for plugins used in this starter template."
|
988 |
msgstr ""
|
989 |
|
990 |
+
#: inc/classes/class-astra-sites.php:1431
|
991 |
msgid ""
|
992 |
"Kindly <a href=\"%s\" target=\"_blank\">update</a> them for a successful "
|
993 |
"import. Skipping this step might break the template design/feature."
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: inc/classes/class-astra-sites.php:1434 inc/includes/admin-page.php:492
|
997 |
+
#: inc/includes/templates.php:442
|
998 |
msgid "Required Plugins Missing"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: inc/classes/class-astra-sites.php:1435 inc/includes/admin-page.php:496
|
1002 |
msgid ""
|
1003 |
"This starter template requires premium plugins. As these are third party "
|
1004 |
"premium plugins, you'll need to purchase, install and activate them first."
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: inc/classes/class-astra-sites.php:1438
|
1008 |
msgid "Dynamic Page"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: inc/classes/class-astra-sites.php:1439 inc/includes/admin-page.php:710
|
1012 |
msgid ""
|
1013 |
"The page template you are about to import contains a dynamic widget/module. "
|
1014 |
"Please note this dynamic data will not be available with the imported page."
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: inc/classes/class-astra-sites.php:1439 inc/includes/admin-page.php:711
|
1018 |
msgid "You will need to add it manually on the page."
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: inc/classes/class-astra-sites.php:1439 inc/includes/admin-page.php:712
|
1022 |
msgid "This dynamic content will be available when you import the entire site."
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: inc/classes/class-astra-sites.php:1525
|
1026 |
#. translators: %s are link.
|
1027 |
msgid ""
|
1028 |
+
"This is a premium template available with Essential Bundle and Growth "
|
1029 |
+
"Bundle. you can purchase it from <a href=\"%s\" target=\"_blank\">here</a>."
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: inc/classes/class-astra-sites.php:1529
|
1033 |
#. translators: %s are link.
|
1034 |
msgid ""
|
1035 |
+
"This is a premium template available with Essential Bundle and Growth "
|
1036 |
+
"Bundle. <a href=\"%s\" target=\"_blank\">Validate Your License</a> Key to "
|
1037 |
+
"import this template."
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: inc/classes/class-astra-sites.php:1555
|
1041 |
msgid "Template"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: inc/classes/class-astra-sites.php:1556
|
1045 |
msgid "Block"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: inc/classes/class-astra-sites.php:1557 inc/includes/templates.php:59
|
1049 |
msgid "Dismiss"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: inc/classes/class-astra-sites.php:1558 inc/includes/admin-page.php:857
|
1053 |
msgid "Install Required Plugins"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: inc/classes/class-astra-sites.php:1562
|
1057 |
#. translators: %s are link.
|
1058 |
msgid ""
|
1059 |
"You can locate <strong>Starter Templates Settings</strong> under the "
|
1060 |
"<strong>Page Settings</strong> of the Style Tab."
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: inc/classes/class-astra-sites.php:1564
|
1064 |
msgid "Read More →"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: inc/classes/class-astra-sites.php:1682
|
1068 |
msgid "Error: You don't have the required permissions to install plugins."
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: inc/classes/class-astra-sites.php:1718
|
1072 |
msgid "Plugin Activated"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
+
#: inc/classes/class-astra-sites.php:1842
|
1076 |
msgid ""
|
1077 |
"Insufficient Permission. Please contact your Super Admin to allow the "
|
1078 |
"install required plugin permissions."
|
1079 |
msgstr ""
|
1080 |
|
1081 |
+
#: inc/classes/class-astra-sites.php:2034
|
1082 |
msgid "Template library refreshed!"
|
1083 |
msgstr ""
|
1084 |
|
1315 |
|
1316 |
#: inc/includes/admin-page.php:110 inc/includes/admin-page.php:116
|
1317 |
#: inc/includes/admin-page.php:118 inc/includes/admin-page.php:504
|
1318 |
+
#: inc/includes/admin-page.php:715 inc/includes/admin-page.php:919
|
1319 |
+
#: inc/includes/templates.php:454
|
1320 |
msgid "Skip & Import"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
#: inc/includes/admin-page.php:111 inc/includes/admin-page.php:119
|
1324 |
+
#: inc/includes/admin-page.php:505 inc/includes/admin-page.php:716
|
1325 |
+
#: inc/includes/admin-page.php:920 inc/includes/templates.php:455
|
1326 |
msgid "Cancel"
|
1327 |
msgstr ""
|
1328 |
|
1331 |
msgstr ""
|
1332 |
|
1333 |
#: inc/includes/admin-page.php:130 inc/includes/image-templates.php:54
|
1334 |
+
#: inc/includes/image-templates.php:92 inc/includes/templates.php:236
|
1335 |
+
#: inc/includes/templates.php:319 inc/includes/templates.php:405
|
1336 |
+
#: inc/includes/templates.php:463
|
1337 |
msgid "Sorry No Results Found."
|
1338 |
msgstr ""
|
1339 |
|
1340 |
#: inc/includes/admin-page.php:139 inc/includes/image-templates.php:96
|
1341 |
+
#: inc/includes/templates.php:242 inc/includes/templates.php:325
|
1342 |
+
#: inc/includes/templates.php:411 inc/includes/templates.php:472
|
1343 |
#. translators: %1$s External Link
|
1344 |
msgid ""
|
1345 |
"Don't see a template you would like to import?<br><a target=\"_blank\" "
|
1347 |
msgstr ""
|
1348 |
|
1349 |
#: inc/includes/admin-page.php:142 inc/includes/admin-page.php:165
|
1350 |
+
#: inc/includes/templates.php:245 inc/includes/templates.php:328
|
1351 |
+
#: inc/includes/templates.php:414 inc/includes/templates.php:475
|
1352 |
msgid "Back to Templates"
|
1353 |
msgstr ""
|
1354 |
|
1373 |
msgstr ""
|
1374 |
|
1375 |
#: inc/includes/admin-page.php:244 inc/includes/admin-page.php:333
|
1376 |
+
#: inc/includes/admin-page.php:394 inc/includes/templates.php:181
|
1377 |
+
#: inc/includes/templates.php:308 inc/includes/templates.php:394
|
1378 |
#. translators: %s are white label strings.
|
1379 |
#. translators: %s are white label strings.
|
1380 |
#. translators: %1$s External Link
|
1381 |
+
msgid "This premium template is accessible with %1$s \"Premium\" Package."
|
1382 |
msgstr ""
|
1383 |
|
1384 |
#: inc/includes/admin-page.php:273
|
1392 |
#: inc/includes/admin-page.php:413
|
1393 |
#. translators: %s is pricing page link
|
1394 |
msgid ""
|
1395 |
+
"This is a premium template available with Essential Bundle and Growth "
|
1396 |
+
"Bundle. You can purchase one of the bundles from <a href=\"%s\" "
|
1397 |
+
"target=\"_blank\">here</a> to get access to this premium template."
|
1398 |
msgstr ""
|
1399 |
|
1400 |
#: inc/includes/admin-page.php:419
|
1401 |
#. translators: %s is article link
|
1402 |
msgid ""
|
1403 |
+
"If you already own Essential Bundle or Growth Bundle, read an article to "
|
1404 |
+
"know how you can <a href=\"%s\" target=\"_blank\">import a premium website "
|
1405 |
+
"demo</a>."
|
1406 |
msgstr ""
|
1407 |
|
1408 |
#: inc/includes/admin-page.php:430
|
1419 |
#: inc/includes/admin-page.php:463
|
1420 |
#. translators: %s is pricing page link
|
1421 |
msgid ""
|
1422 |
+
"<p>Seems like you have purchased the %4$s 'Essential Bundle' package with a "
|
1423 |
"choice of '%1$s' page builder addon.</p><p>While this template is built "
|
1424 |
"with '%2$s' page builder addon.</p><p>Read article <a href=\"%3$s\" "
|
1425 |
"target=\"_blank\">here</a> to see how you can proceed.</p>"
|
1508 |
"can help you with it."
|
1509 |
msgstr ""
|
1510 |
|
1511 |
+
#: inc/includes/admin-page.php:661
|
1512 |
#. translators: %s doc link.
|
1513 |
msgid ""
|
1514 |
"We have listed the <a href=\"%s\" target=\"_blank\">possible solutions "
|
1515 |
"here</a> to help you resolve this."
|
1516 |
msgstr ""
|
1517 |
|
1518 |
+
#: inc/includes/admin-page.php:669
|
1519 |
+
#. translators: %s doc link.
|
1520 |
+
msgid ""
|
1521 |
+
"Please <a class=\"ast-try-again\" href=\"\">click here and try again</a>. "
|
1522 |
+
"If this still does not work after few attempts, please report it <a "
|
1523 |
+
"href=\"%s\" target=\"_blank\">here</a>."
|
1524 |
+
msgstr ""
|
1525 |
+
|
1526 |
+
#: inc/includes/admin-page.php:674
|
1527 |
#. translators: %s doc link.
|
1528 |
msgid ""
|
1529 |
"Please report this error <a href=\"%s\" target=\"_blank\">here</a> so we "
|
1530 |
"can fix it."
|
1531 |
msgstr ""
|
1532 |
|
1533 |
+
#: inc/includes/admin-page.php:682
|
1534 |
msgid ""
|
1535 |
"Please report this error <a href=\"#LINK\" target=\"_blank\">here</a> so we "
|
1536 |
"can fix it."
|
1537 |
msgstr ""
|
1538 |
|
1539 |
+
#: inc/includes/admin-page.php:706
|
1540 |
msgid "Heads Up!"
|
1541 |
msgstr ""
|
1542 |
|
1543 |
+
#: inc/includes/admin-page.php:726
|
1544 |
msgid "Beginner"
|
1545 |
msgstr ""
|
1546 |
|
1547 |
+
#: inc/includes/admin-page.php:727
|
1548 |
msgid "Intermediate"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
+
#: inc/includes/admin-page.php:728
|
1552 |
msgid "Expert"
|
1553 |
msgstr ""
|
1554 |
|
1555 |
+
#: inc/includes/admin-page.php:730 inc/includes/admin-page.php:739
|
1556 |
msgid "Field is required"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
+
#: inc/includes/admin-page.php:731
|
1560 |
msgid "I'm a WordPress:"
|
1561 |
msgstr ""
|
1562 |
|
1563 |
+
#: inc/includes/admin-page.php:736
|
1564 |
msgid "Myself/My company"
|
1565 |
msgstr ""
|
1566 |
|
1567 |
+
#: inc/includes/admin-page.php:737
|
1568 |
msgid "My client"
|
1569 |
msgstr ""
|
1570 |
|
1571 |
+
#: inc/includes/admin-page.php:740
|
1572 |
msgid "I'm building website for:"
|
1573 |
msgstr ""
|
1574 |
|
1575 |
+
#: inc/includes/admin-page.php:749
|
1576 |
msgid "First name is required"
|
1577 |
msgstr ""
|
1578 |
|
1579 |
+
#: inc/includes/admin-page.php:750
|
1580 |
msgid "Your First Name"
|
1581 |
msgstr ""
|
1582 |
|
1583 |
+
#: inc/includes/admin-page.php:754
|
1584 |
msgid "Email address is required"
|
1585 |
msgstr ""
|
1586 |
|
1587 |
+
#: inc/includes/admin-page.php:755
|
1588 |
msgid "Your Work Email"
|
1589 |
msgstr ""
|
1590 |
|
1591 |
+
#: inc/includes/admin-page.php:776
|
1592 |
msgid ""
|
1593 |
"To get access to exclusive starter templates, themes and updates, enter "
|
1594 |
"your details below:"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: inc/includes/admin-page.php:780
|
1598 |
msgid "Submit and Start Importing"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: inc/includes/admin-page.php:786
|
1602 |
#. translators: %1$s and %3$s are opening anchor tags, and %2$s and %4$s is
|
1603 |
#. closing anchor tags.
|
1604 |
msgid "By submitting, you agree to our %1$sTerms%2$s and %3$sPrivacy Policy%4$s."
|
1605 |
msgstr ""
|
1606 |
|
1607 |
+
#: inc/includes/admin-page.php:787
|
1608 |
msgid "Skip"
|
1609 |
msgstr ""
|
1610 |
|
1611 |
+
#: inc/includes/admin-page.php:807
|
1612 |
msgid ""
|
1613 |
"To serve more beautiful starter templates, we would like to know more about "
|
1614 |
"you:"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
+
#: inc/includes/admin-page.php:812
|
1618 |
msgid "Advanced Options"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
+
#: inc/includes/admin-page.php:826
|
1622 |
msgid "Install & Activate Astra Theme"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
+
#: inc/includes/admin-page.php:827
|
1626 |
msgid ""
|
1627 |
"To import the site in the original format, you would need the Astra theme "
|
1628 |
"activated. You can import it with any other theme, but the site might lose "
|
1629 |
"some of the design settings and look a bit different."
|
1630 |
msgstr ""
|
1631 |
|
1632 |
+
#: inc/includes/admin-page.php:835
|
1633 |
msgid "Import Customizer Settings"
|
1634 |
msgstr ""
|
1635 |
|
1636 |
+
#: inc/includes/admin-page.php:839
|
1637 |
#. translators: %s are white label strings.
|
1638 |
msgid ""
|
1639 |
"%1$s customizer serves global settings that give uniform design to the "
|
1641 |
"settings."
|
1642 |
msgstr ""
|
1643 |
|
1644 |
+
#: inc/includes/admin-page.php:850
|
1645 |
msgid "Import Widgets"
|
1646 |
msgstr ""
|
1647 |
|
1648 |
+
#: inc/includes/admin-page.php:860
|
1649 |
msgid ""
|
1650 |
"Plugins needed to import this template are missing. Required plugins will "
|
1651 |
"be installed and activated automatically."
|
1652 |
msgstr ""
|
1653 |
|
1654 |
+
#: inc/includes/admin-page.php:869
|
1655 |
msgid "Import Content"
|
1656 |
msgstr ""
|
1657 |
|
1658 |
+
#: inc/includes/admin-page.php:872
|
1659 |
msgid ""
|
1660 |
"Selecting this option will import dummy pages, posts, images, and menus. If "
|
1661 |
"you do not want to import dummy content, please uncheck this option."
|
1662 |
msgstr ""
|
1663 |
|
1664 |
+
#: inc/includes/admin-page.php:890
|
1665 |
#. translators: %s is the dynamic string.
|
1666 |
msgid ""
|
1667 |
"The import process can take a few minutes depending on the size of the %s "
|
1668 |
"and speed of the connection."
|
1669 |
msgstr ""
|
1670 |
|
1671 |
+
#: inc/includes/admin-page.php:896
|
1672 |
#. translators: %s is the dynamic string.
|
1673 |
msgid "Please do NOT close this browser window until the %s is imported completely."
|
1674 |
msgstr ""
|
1675 |
|
1676 |
+
#: inc/includes/admin-page.php:913
|
1677 |
msgid "Next"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
+
#: inc/includes/admin-page.php:915
|
1681 |
msgid "Import"
|
1682 |
msgstr ""
|
1683 |
|
1684 |
+
#: inc/includes/admin-page.php:930
|
1685 |
msgid "Delete Previously Imported Site"
|
1686 |
msgstr ""
|
1687 |
|
1688 |
+
#: inc/includes/admin-page.php:931
|
1689 |
msgid ""
|
1690 |
"WARNING: Selecting this option will delete all data from the previous "
|
1691 |
"import. Choose this option only if this is intended."
|
1692 |
msgstr ""
|
1693 |
|
1694 |
+
#: inc/includes/admin-page.php:933
|
1695 |
msgid "You can find the backup to the current customizer settings at "
|
1696 |
msgstr ""
|
1697 |
|
1698 |
+
#: inc/includes/admin-page.php:933
|
1699 |
msgid "/wp-content/uploads/astra-sites/"
|
1700 |
msgstr ""
|
1701 |
|
1715 |
msgid "Save & Insert"
|
1716 |
msgstr ""
|
1717 |
|
1718 |
+
#: inc/includes/templates.php:45
|
1719 |
msgid "SEARCH"
|
1720 |
msgstr ""
|
1721 |
|
1722 |
+
#: inc/includes/templates.php:85
|
1723 |
+
msgid "Filter by Color"
|
1724 |
+
msgstr ""
|
1725 |
+
|
1726 |
+
#: inc/includes/templates.php:93
|
1727 |
msgid "Back to Pages"
|
1728 |
msgstr ""
|
1729 |
|
1730 |
+
#: inc/includes/templates.php:115
|
1731 |
msgid "Back to Layout"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
+
#: inc/includes/templates.php:119
|
1735 |
msgid "Pages"
|
1736 |
msgstr ""
|
1737 |
|
1738 |
+
#: inc/includes/templates.php:120
|
1739 |
msgid "Blocks"
|
1740 |
msgstr ""
|
1741 |
|
1742 |
+
#: inc/includes/templates.php:125 inc/includes/templates.php:126
|
1743 |
msgid "Close"
|
1744 |
msgstr ""
|
1745 |
|
1746 |
+
#: inc/includes/templates.php:225 inc/includes/templates.php:297
|
1747 |
msgid "INSERT"
|
1748 |
msgstr ""
|
1749 |
|
1750 |
+
#: inc/includes/templates.php:428
|
|
|
|
|
|
|
|
|
1751 |
msgid "Insert"
|
1752 |
msgstr ""
|
1753 |
|
1754 |
+
#: inc/includes/templates.php:446
|
1755 |
msgid ""
|
1756 |
"This starter site requires premium plugins. As these are third party "
|
1757 |
"premium plugins, you'll need to purchase, install and activate them first."
|
1758 |
msgstr ""
|
1759 |
|
1760 |
+
#: inc/includes/templates.php:530
|
1761 |
msgid "Import "
|
1762 |
msgstr ""
|
1763 |
|
1764 |
+
#: inc/includes/templates.php:531
|
1765 |
msgid "Save "
|
1766 |
msgstr ""
|
1767 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Elementor,Beaver Builder,Templates,Gutenberg,Astra Starter Sites
|
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.7
|
8 |
-
Stable tag: 2.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -149,6 +149,9 @@ We are open to suggestions and would love to work on topics that our users are l
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
152 |
v2.6.9 - 22-May-2021
|
153 |
- Fix: PHP Fatal error on 'Getting Started' page.
|
154 |
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.7
|
8 |
+
Stable tag: 2.6.10
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
149 |
|
150 |
== Changelog ==
|
151 |
|
152 |
+
v2.6.10 - 24-May-2021
|
153 |
+
- Fix: Starter Templates popup opens by default on every page load on Gutenberg pages.
|
154 |
+
|
155 |
v2.6.9 - 22-May-2021
|
156 |
- Fix: PHP Fatal error on 'Getting Started' page.
|
157 |
|