Plugin Directory

Changeset 3837454


Ignore:
Timestamp:
12/01/2026 11:28:43 AM (less than one hour ago)
Author:
qodeinteractive
Message:
  • Version 1.5.6
Location:
qi-blocks
Files:
710 added
7 edited

Legend:

Unmodified
Added
Removed
  • qi-blocks/trunk/assets/dist/main-editor.js

    r3820229 r3837454  
    1 (()=>{var e={7217(e,t,i){var a=i(3702),n=i(80),o=i(4739),l=i(8655),r=i(1175);function s(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var a=e[t];this.set(a[0],a[1])}}s.prototype.clear=a,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=l,s.prototype.set=r,e.exports=s},7828(e,t,i){var a=i(9325).Uint8Array;e.exports=a},1033(e){e.exports=function(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}},3729(e){e.exports=function(e,t){for(var i=-1,a=null==e?0:e.length;++i<a&&!1!==t(e[i],i,e););return e}},4932(e){e.exports=function(e,t){for(var i=-1,a=null==e?0:e.length,n=Array(a);++i<a;)n[i]=t(e[i],i,e);return n}},882(e){e.exports=function(e,t,i,a){var n=-1,o=null==e?0:e.length;for(a&&o&&(i=e[++n]);++n<o;)i=t(i,e[n],n,e);return i}},1074(e){e.exports=function(e){return e.split("")}},1733(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},7805(e,t,i){var a=i(3360),n=i(5288);e.exports=function(e,t,i){(void 0!==i&&!n(e[t],i)||void 0===i&&!(t in e))&&a(e,t,i)}},6547(e,t,i){var a=i(3360),n=i(5288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,i){var l=e[t];o.call(e,t)&&n(l,i)&&(void 0!==i||t in e)||a(e,t,i)}},6025(e,t,i){var a=i(5288);e.exports=function(e,t){for(var i=e.length;i--;)if(a(e[i][0],t))return i;return-1}},4733(e,t,i){var a=i(1791),n=i(5950);e.exports=function(e,t){return e&&a(t,n(t),e)}},3838(e,t,i){var a=i(1791),n=i(7241);e.exports=function(e,t){return e&&a(t,n(t),e)}},3360(e,t,i){var a=i(3243);e.exports=function(e,t,i){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}},9999(e,t,i){var a=i(7217),n=i(3729),o=i(6547),l=i(4733),r=i(3838),s=i(3290),u=i(3007),c=i(2271),f=i(8948),m=i(2),y=i(3349),d=i(5861),p=i(6189),g=i(7199),b=i(5529),h=i(6449),S=i(3656),v=i(7730),w=i(3805),k=i(8440),C=i(5950),_=i(7241),O="[object Arguments]",P="[object Function]",x="[object Object]",q={};q[O]=q["[object Array]"]=q["[object ArrayBuffer]"]=q["[object DataView]"]=q["[object Boolean]"]=q["[object Date]"]=q["[object Float32Array]"]=q["[object Float64Array]"]=q["[object Int8Array]"]=q["[object Int16Array]"]=q["[object Int32Array]"]=q["[object Map]"]=q["[object Number]"]=q[x]=q["[object RegExp]"]=q["[object Set]"]=q["[object String]"]=q["[object Symbol]"]=q["[object Uint8Array]"]=q["[object Uint8ClampedArray]"]=q["[object Uint16Array]"]=q["[object Uint32Array]"]=!0,q["[object Error]"]=q[P]=q["[object WeakMap]"]=!1,e.exports=function e(t,i,A,I,E,M){var T,B=1&i,N=2&i,D=4&i;if(A&&(T=E?A(t,I,E,M):A(t)),void 0!==T)return T;if(!w(t))return t;var j=h(t);if(j){if(T=p(t),!B)return u(t,T)}else{var L=d(t),R=L==P||"[object GeneratorFunction]"==L;if(S(t))return s(t,B);if(L==x||L==O||R&&!E){if(T=N||R?{}:b(t),!B)return N?f(t,r(T,t)):c(t,l(T,t))}else{if(!q[L])return E?t:{};T=g(t,L,B)}}M||(M=new a);var F=M.get(t);if(F)return F;M.set(t,T),k(t)?t.forEach(function(a){T.add(e(a,i,A,a,t,M))}):v(t)&&t.forEach(function(a,n){T.set(n,e(a,i,A,n,t,M))});var V=j?void 0:(D?N?y:m:N?_:C)(t);return n(V||t,function(a,n){V&&(a=t[n=a]),o(T,n,e(a,i,A,n,t,M))}),T}},9344(e,t,i){var a=i(3805),n=Object.create,o=function(){function e(){}return function(t){if(!a(t))return{};if(n)return n(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();e.exports=o},6649(e,t,i){var a=i(3221)();e.exports=a},7422(e,t,i){var a=i(1769),n=i(7797);e.exports=function(e,t){for(var i=0,o=(t=a(t,e)).length;null!=e&&i<o;)e=e[n(t[i++])];return i&&i==o?e:void 0}},2552(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},458(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},5250(e,t,i){var a=i(7217),n=i(7805),o=i(6649),l=i(2824),r=i(3805),s=i(7241),u=i(4974);e.exports=function e(t,i,c,f,m){t!==i&&o(i,function(o,s){if(m||(m=new a),r(o))l(t,i,s,c,e,f,m);else{var y=f?f(u(t,s),o,s+"",t,i,m):void 0;void 0===y&&(y=o),n(t,s,y)}},s)}},2824(e,t,i){var a=i(7805),n=i(3290),o=i(1961),l=i(3007),r=i(5529),s=i(2428),u=i(6449),c=i(3693),f=i(3656),m=i(1882),y=i(3805),d=i(1331),p=i(7167),g=i(4974),b=i(9884);e.exports=function(e,t,i,h,S,v,w){var k=g(e,i),C=g(t,i),_=w.get(C);if(_)a(e,i,_);else{var O=v?v(k,C,i+"",e,t,w):void 0,P=void 0===O;if(P){var x=u(C),q=!x&&f(C),A=!x&&!q&&p(C);O=C,x||q||A?u(k)?O=k:c(k)?O=l(k):q?(P=!1,O=n(C,!0)):A?(P=!1,O=o(C,!0)):O=[]:d(C)||s(C)?(O=k,s(k)?O=b(k):y(k)&&!m(k)||(O=r(C))):P=!1}P&&(w.set(C,O),S(O,C,h,v,w),w.delete(C)),a(e,i,O)}}},6001(e,t,i){var a=i(7420),n=i(631);e.exports=function(e,t){return a(e,t,function(t,i){return n(e,i)})}},7420(e,t,i){var a=i(7422),n=i(3170),o=i(1769);e.exports=function(e,t,i){for(var l=-1,r=t.length,s={};++l<r;){var u=t[l],c=a(e,u);i(c,u)&&n(s,o(u,e),c)}return s}},9302(e,t,i){var a=i(3488),n=i(6757),o=i(2865);e.exports=function(e,t){return o(n(e,t,a),e+"")}},3170(e,t,i){var a=i(6547),n=i(1769),o=i(361),l=i(3805),r=i(7797);e.exports=function(e,t,i,s){if(!l(e))return e;for(var u=-1,c=(t=n(t,e)).length,f=c-1,m=e;null!=m&&++u<c;){var y=r(t[u]),d=i;if("__proto__"===y||"constructor"===y||"prototype"===y)return e;if(u!=f){var p=m[y];void 0===(d=s?s(p,y,m):void 0)&&(d=l(p)?p:o(t[u+1])?[]:{})}a(m,y,d),m=m[y]}return e}},5160(e){e.exports=function(e,t,i){var a=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(i=i>n?n:i)<0&&(i+=n),n=t>i?0:i-t>>>0,t>>>=0;for(var o=Array(n);++a<n;)o[a]=e[a+t];return o}},7556(e){e.exports=function(e){return e}},9931(e,t,i){var a=i(1769),n=i(8090),o=i(8969),l=i(7797),r=Object.prototype.hasOwnProperty;e.exports=function(e,t){var i=-1,s=(t=a(t,e)).length;if(!s)return!0;for(;++i<s;){var u=l(t[i]);if("__proto__"===u&&!r.call(e,"__proto__"))return!1;if(("constructor"===u||"prototype"===u)&&i<s-1)return!1}var c=o(e,t);return null==c||delete c[l(n(t))]}},1769(e,t,i){var a=i(6449),n=i(8586),o=i(1802),l=i(3222);e.exports=function(e,t){return a(e)?e:n(e,t)?[e]:o(l(e))}},8754(e,t,i){var a=i(5160);e.exports=function(e,t,i){var n=e.length;return i=void 0===i?n:i,!t&&i>=n?e:a(e,t,i)}},9653(e,t,i){var a=i(7828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new a(t).set(new a(e)),t}},3290(e,t,i){e=i.nmd(e);var a=i(9325),n=t&&!t.nodeType&&t,o=n&&e&&!e.nodeType&&e,l=o&&o.exports===n?a.Buffer:void 0,r=l?l.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var i=e.length,a=r?r(i):new e.constructor(i);return e.copy(a),a}},1961(e,t,i){var a=i(9653);e.exports=function(e,t){var i=t?a(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}},3007(e){e.exports=function(e,t){var i=-1,a=e.length;for(t||(t=Array(a));++i<a;)t[i]=e[i];return t}},1791(e,t,i){var a=i(6547),n=i(3360);e.exports=function(e,t,i,o){var l=!i;i||(i={});for(var r=-1,s=t.length;++r<s;){var u=t[r],c=o?o(i[u],e[u],u,i,e):void 0;void 0===c&&(c=e[u]),l?n(i,u,c):a(i,u,c)}return i}},2271(e,t,i){var a=i(1791),n=i(4664);e.exports=function(e,t){return a(e,n(e),t)}},8948(e,t,i){var a=i(1791),n=i(6375);e.exports=function(e,t){return a(e,n(e),t)}},999(e,t,i){var a=i(9302),n=i(6800);e.exports=function(e){return a(function(t,i){var a=-1,o=i.length,l=o>1?i[o-1]:void 0,r=o>2?i[2]:void 0;for(l=e.length>3&&"function"==typeof l?(o--,l):void 0,r&&n(i[0],i[1],r)&&(l=o<3?void 0:l,o=1),t=Object(t);++a<o;){var s=i[a];s&&e(t,s,a,l)}return t})}},3221(e){e.exports=function(e){return function(t,i,a){for(var n=-1,o=Object(t),l=a(t),r=l.length;r--;){var s=l[e?r:++n];if(!1===i(o[s],s,o))break}return t}}},2507(e,t,i){var a=i(8754),n=i(9698),o=i(3912),l=i(3222);e.exports=function(e){return function(t){t=l(t);var i=n(t)?o(t):void 0,r=i?i[0]:t.charAt(0),s=i?a(i,1).join(""):t.slice(1);return r[e]()+s}}},5539(e,t,i){var a=i(882),n=i(828),o=i(6645),l=RegExp("['’]","g");e.exports=function(e){return function(t){return a(o(n(t).replace(l,"")),e,"")}}},3138(e,t,i){var a=i(1331);e.exports=function(e){return a(e)?void 0:e}},3243(e,t,i){var a=i(6110),n=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=n},8816(e){e.exports=function(e){return e}},4840(e){var t="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis;e.exports=t},2(e,t,i){var a=i(4335)(Object.keys,Object);e.exports=a},3349(e){e.exports=function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}},6110(e){e.exports=function(e,t){return null==e?void 0:e[t]}},8879(e,t,i){var a=i(4335)(Object.getPrototypeOf,Object);e.exports=a},4664(e){e.exports=function(){return[]}},6375(e){e.exports=function(){return[]}},5861(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9326(e,t,i){var a=i(1769),n=i(2428),o=i(6449),l=i(361),r=i(294),s=i(7797);e.exports=function(e,t,i){for(var u=-1,c=(t=a(t,e)).length,f=!1;++u<c;){var m=s(t[u]);if(!(f=null!=e&&i(e,m)))break;e=e[m]}return f||++u!=c?f:!!(c=null==e?0:e.length)&&r(c)&&l(m,c)&&(o(e)||n(e))}},9698(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},5434(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},6189(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var i=e.length,a=new e.constructor(i);return i&&"string"==typeof e[0]&&t.call(e,"index")&&(a.index=e.index,a.input=e.input),a}},7199(e){e.exports=function(e){return e}},5529(e,t,i){var a=i(9344),n=i(8879),o=i(5527);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:a(n(e))}},361(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,i){var a=typeof e;return!!(i=i??9007199254740991)&&("number"==a||"symbol"!=a&&t.test(e))&&e>-1&&e%1==0&&e<i}},6800(e){e.exports=function(){return!1}},8586(e,t,i){var a=i(6449),n=i(4394),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=function(e,t){if(a(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!n(e))||(l.test(e)||!o.test(e)||null!=t&&e in Object(t))}},5527(e){e.exports=function(){return!1}},3702(e){e.exports=function(){this.__data__=[],this.size=0}},80(e,t,i){var a=i(6025),n=Array.prototype.splice;e.exports=function(e){var t=this.__data__,i=a(t,e);return!(i<0)&&(i==t.length-1?t.pop():n.call(t,i,1),--this.size,!0)}},4739(e,t,i){var a=i(6025);e.exports=function(e){var t=this.__data__,i=a(t,e);return i<0?void 0:t[i][1]}},8655(e,t,i){var a=i(6025);e.exports=function(e){return a(this.__data__,e)>-1}},1175(e,t,i){var a=i(6025);e.exports=function(e,t){var i=this.__data__,n=a(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this}},2224(e){e.exports=function(e){return e}},4335(e){e.exports=function(e,t){return function(i){return e(t(i))}}},6757(e,t,i){var a=i(1033),n=Math.max;e.exports=function(e,t,i){return t=n(void 0===t?e.length-1:t,0),function(){for(var o=arguments,l=-1,r=n(o.length-t,0),s=Array(r);++l<r;)s[l]=o[t+l];l=-1;for(var u=Array(t+1);++l<t;)u[l]=o[l];return u[t]=i(s),a(e,this,u)}}},8969(e,t,i){var a=i(7422),n=i(5160);e.exports=function(e,t){return t.length<2?e:a(e,n(t,0,-1))}},9325(e,t,i){var a=i(4840),n="object"==typeof self&&self&&self.Object===Object&&self,o=a||n||Function("return this")();e.exports=o},4974(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},2865(e){e.exports=function(e){return e}},3912(e,t,i){var a=i(1074),n=i(9698),o=i(2054);e.exports=function(e){return n(e)?o(e):a(e)}},1802(e,t,i){var a=i(2224),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,l=a(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,i,a,n){t.push(a?n.replace(o,"$1"):i||e)}),t});e.exports=l},7797(e){e.exports=function(e){return e}},2054(e){var t="\\ud800-\\udfff",i="["+t+"]",a="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",r="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+a+"|"+n+")"+"?",u="[\\ufe0e\\ufe0f]?",c=u+s+("(?:\\u200d(?:"+[o,l,r].join("|")+")"+u+s+")*"),f="(?:"+[o+a+"?",a,l,r,i].join("|")+")",m=RegExp(n+"(?="+n+")|"+f+c,"g");e.exports=function(e){return e.match(m)||[]}},2225(e){var t="\\ud800-\\udfff",i="\\u2700-\\u27bf",a="a-z\\xdf-\\xf6\\xf8-\\xff",n="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\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",l="["+o+"]",r="\\d+",s="["+i+"]",u="["+a+"]",c="[^"+t+o+r+i+a+n+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",y="["+n+"]",d="(?:"+u+"|"+c+")",p="(?:"+y+"|"+c+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",b="(?:['’](?:D|LL|M|RE|S|T|VE))?",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",S="[\\ufe0e\\ufe0f]?",v=S+h+("(?:\\u200d(?:"+["[^"+t+"]",f,m].join("|")+")"+S+h+")*"),w="(?:"+[s,f,m].join("|")+")"+v,k=RegExp([y+"?"+u+"+"+g+"(?="+[l,y,"$"].join("|")+")",p+"+"+b+"(?="+[l,y+d,"$"].join("|")+")",y+"?"+d+"+"+g,y+"+"+b,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",r,w].join("|"),"g");e.exports=function(e){return e.match(k)||[]}},4058(e,t,i){var a=i(4792),n=i(5539)(function(e,t,i){return t=t.toLowerCase(),e+(i?a(t):t)});e.exports=n},4792(e,t,i){var a=i(3222),n=i(5808);e.exports=function(e){return n(a(e).toLowerCase())}},9647(e,t,i){var a=i(9999);e.exports=function(e,t){return a(e,5,t="function"==typeof t?t:void 0)}},828(e,t,i){var a=i(7556);e.exports=function(e){return null==e?"":a(e)}},5288(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},631(e,t,i){var a=i(458),n=i(9326);e.exports=function(e,t){return null!=e&&n(e,t,a)}},912(e){e.exports=function(e){return e&&e.length?e[0]:void 0}},3488(e){e.exports=function(e){return e}},2428(e){e.exports=function(){return!1}},6449(e){var t=Array.isArray;e.exports=t},4894(e,t,i){var a=i(1882),n=i(294);e.exports=function(e){return null!=e&&n(e.length)&&!a(e)}},3693(e,t,i){var a=i(4894),n=i(346);e.exports=function(e){return n(e)&&a(e)}},3656(e){e.exports=function(){return!1}},1882(e,t,i){var a=i(2552),n=i(3805);e.exports=function(e){if(!n(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},294(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7730(e){e.exports=function(){return!1}},3805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},1331(e,t,i){var a=i(2552),n=i(8879),o=i(346),l=Function.prototype,r=Object.prototype,s=l.toString,u=r.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=a(e))return!1;var t=n(e);if(null===t)return!0;var i=u.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&s.call(i)==c}},8440(e){e.exports=function(){return!1}},4394(e){e.exports=function(){return!1}},7167(e){e.exports=function(){return!1}},5950(e,t,i){var a=i(4335)(Object.keys,Object);e.exports=a},7241(e){e.exports=function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}},8090(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},5364(e,t,i){var a=i(5250),n=i(999)(function(e,t,i){a(e,t,i)});e.exports=n},179(e,t,i){var a=i(4932),n=i(9999),o=i(9931),l=i(1769),r=i(1791),s=i(3138),u=i(8816),c=i(3349),f=u(function(e,t){var i={};if(null==e)return i;var u=!1;t=a(t,function(t){return t=l(t,e),u||(u=t.length>1),t}),r(e,c(e),i),u&&(i=n(i,7,s));for(var f=t.length;f--;)o(i,t[f]);return i});e.exports=f},4383(e,t,i){var a=i(6001),n=i(8816)(function(e,t){return null==e?{}:a(e,t)});e.exports=n},9884(e,t,i){var a=i(1791),n=i(7241);e.exports=function(e){return a(e,n(e))}},3222(e){e.exports=function(e){return e}},5808(e,t,i){var a=i(2507)("toUpperCase");e.exports=a},6645(e,t,i){var a=i(1733),n=i(5434),o=i(3222),l=i(2225);e.exports=function(e,t,i){return e=o(e),void 0===(t=i?void 0:t)?n(e)?l(e):a(e):e.match(t)||[]}},2694(e,t,i){"use strict";var a=i(6925);function n(){}function o(){}o.resetWarningCache=n,e.exports=function(){function e(e,t,i,n,o,l){if(l!==a){var r=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:n};return i.PropTypes=i,i}},5556(e,t,i){e.exports=i(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7424(e,t,i){"use strict";t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=s(i(5556)),o=s(i(9321)),l=s(i(3486)),r=i(6462);function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){h(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function y(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function d(e){return function(){var t,i=g(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=g(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return p(e)}(this,t)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function h(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var S=function(){return!0},v="suggestions-revealed",w="input-focused",k="input-changed",C="escape-pressed",_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(u,e);var t,i,n,s=d(u);function u(e){var t,i=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),h(p(t=s.call(this)),"onDocumentMouseDown",function(e){t.justClickedOnSuggestionsContainer=!1;for(var i=e.detail&&e.detail.target||e.target;null!==i&&i!==document;){if(i.getAttribute&&null!==i.getAttribute("data-suggestion-index"))return;if(i===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);i=i.parentNode}}),h(p(t),"storeAutowhateverRef",function(e){null!==e&&(t.autowhatever=e)}),h(p(t),"onSuggestionMouseEnter",function(e,i){var a=i.sectionIndex,n=i.itemIndex;t.updateHighlightedSuggestion(a,n),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout(function(){t.justMouseEntered=!1})}),h(p(t),"highlightFirstSuggestion",function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)}),h(p(t),"onDocumentMouseUp",function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null}),h(p(t),"onSuggestionMouseDown",function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)}),h(p(t),"onSuggestionsClearRequested",function(){var e=t.props.onSuggestionsClearRequested;e&&e()}),h(p(t),"onSuggestionSelected",function(e,i){var a=t.props,n=a.alwaysRenderSuggestions,o=a.onSuggestionSelected,l=a.onSuggestionsFetchRequested;o&&o(e,i);var r=t.props.shouldKeepSuggestionsOnSelect(i.suggestion);n||r?l({value:i.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()}),h(p(t),"onSuggestionClick",function(e){var i=t.props,a=i.alwaysRenderSuggestions,n=i.focusInputOnSuggestionClick,o=t.getSuggestionIndices(t.findSuggestionElement(e.target)),l=o.sectionIndex,r=o.suggestionIndex,s=t.getSuggestion(l,r),u=t.props.getSuggestionValue(s);t.maybeCallOnChange(e,u,"click"),t.onSuggestionSelected(e,{suggestion:s,suggestionValue:u,suggestionIndex:r,sectionIndex:l,method:"click"});var c=t.props.shouldKeepSuggestionsOnSelect(s);a||c||t.closeSuggestions(),!0===n?t.input.focus():t.onBlur(),setTimeout(function(){t.justSelectedSuggestion=!1})}),h(p(t),"onBlur",function(){var e=t.props,i=e.inputProps,a=e.shouldRenderSuggestions,n=i.value,o=i.onBlur,l=t.getHighlightedSuggestion(),r=a(n,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!r}),o&&o(t.blurEvent,{highlightedSuggestion:l})}),h(p(t),"onSuggestionMouseLeave",function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)}),h(p(t),"onSuggestionTouchStart",function(){t.justSelectedSuggestion=!0}),h(p(t),"onSuggestionTouchMove",function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()}),h(p(t),"itemProps",function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}}),h(p(t),"renderSuggestionsContainer",function(e){var i=e.containerProps,a=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:i,children:a,query:t.getQuery()})}),t.state={isFocused:!1,isCollapsed:!i,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return t=u,i=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,o.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var i=this.props,a=i.suggestions,n=i.onSuggestionHighlighted,l=i.highlightFirstSuggestion;if(!(0,o.default)(a,e.suggestions)&&a.length>0&&l)this.highlightFirstSuggestion();else if(n){var r=this.getHighlightedSuggestion();r!=t.highlightedSuggestion&&n({suggestion:r})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,i){var a=this;this.setState(function(n){var o=n.valueBeforeUpDown;return null===t?o=null:null===o&&void 0!==i&&(o=i),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:a.getSuggestion(e,t),valueBeforeUpDown:o}})}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState(function(t){var i=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:i}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var i=this.props,a=i.suggestions,n=i.multiSection,o=i.getSectionSuggestions;return n?o(a[e])[t]:a[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,i=e.highlightedSuggestionIndex;return null===i?null:this.getSuggestion(t,i)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),i=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(i,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,i){var a=this.props.inputProps,n=a.value,o=a.onChange;t!==n&&o(e,{newValue:t,method:i})}},{key:"willRenderSuggestions",value:function(e,t){var i=e.suggestions,a=e.inputProps,n=e.shouldRenderSuggestions,o=a.value;return i.length>0&&n(o,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,i=t.suggestions,n=t.renderInputComponent,o=t.onSuggestionsFetchRequested,s=t.renderSuggestion,u=t.inputProps,c=t.multiSection,f=t.renderSectionTitle,y=t.id,d=t.getSectionSuggestions,p=t.theme,g=t.getSuggestionValue,b=t.alwaysRenderSuggestions,h=t.highlightFirstSuggestion,_=t.containerProps,O=this.state,P=O.isFocused,x=O.isCollapsed,q=O.highlightedSectionIndex,A=O.highlightedSuggestionIndex,I=O.valueBeforeUpDown,E=b?S:this.props.shouldRenderSuggestions,M=u.value,T=u.onFocus,B=u.onKeyDown,N=this.willRenderSuggestions(this.props,"render"),D=b||P&&!x&&N,j=D?i:[],L=m({},u,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var i=E(M,w);e.setState({isFocused:!0,isCollapsed:!i}),T&&T(t),i&&o({value:M,reason:w})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var i=t.target.value,a=E(i,k);e.maybeCallOnChange(t,i,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(m({},h?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!a})),a?o({value:i,reason:k}):e.onSuggestionsClearRequested()},onKeyDown:function(t,a){var n=t.keyCode;switch(n){case 40:case 38:if(x)E(M,v)&&(o({value:M,reason:v}),e.revealSuggestions(),t.preventDefault());else if(i.length>0){var l,r=a.newHighlightedSectionIndex,s=a.newHighlightedItemIndex;l=null===s?null===I?M:I:e.getSuggestionValueByIndex(r,s),e.updateHighlightedSuggestion(r,s,M),e.maybeCallOnChange(t,l,40===n?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout(function(){e.justPressedUpDown=!1});break;case 13:if(229===t.keyCode)break;var u=e.getHighlightedSuggestion();if(D&&!b&&e.closeSuggestions(),null!=u){t.preventDefault();var c=g(u);e.maybeCallOnChange(t,c,"enter"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:c,suggestionIndex:A,sectionIndex:q,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout(function(){e.justSelectedSuggestion=!1})}break;case 27:D&&t.preventDefault();var f=D&&!b;null===I?f||(e.maybeCallOnChange(t,"","escape"),E("",C)?o({value:"",reason:C}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,I,"escape"),f?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}B&&B(t)}}),R={query:this.getQuery()};return a.default.createElement(l.default,{multiSection:c,items:j,renderInputComponent:n,renderItemsContainer:this.renderSuggestionsContainer,renderItem:s,renderItemData:R,renderSectionTitle:f,getSectionItems:d,highlightedSectionIndex:q,highlightedItemIndex:A,containerProps:_,inputProps:L,itemProps:this.itemProps,theme:(0,r.mapToAutowhateverTheme)(p),id:y,ref:this.storeAutowhateverRef})}}],i&&y(t.prototype,i),n&&y(t,n),u}(a.Component);t.default=_,h(_,"propTypes",{suggestions:n.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var i=e[t];if("function"!=typeof i)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var i=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof i)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:n.default.func,onSuggestionSelected:n.default.func,onSuggestionHighlighted:n.default.func,renderInputComponent:n.default.func,renderSuggestionsContainer:n.default.func,getSuggestionValue:n.default.func.isRequired,renderSuggestion:n.default.func.isRequired,inputProps:function(e,t){var i=e[t];if(!i)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(i,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(i,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:n.default.func,alwaysRenderSuggestions:n.default.bool,multiSection:n.default.bool,renderSectionTitle:function(e,t){var i=e[t];if(!0===e.multiSection&&"function"!=typeof i)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var i=e[t];if(!0===e.multiSection&&"function"!=typeof i)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:n.default.bool,highlightFirstSuggestion:n.default.bool,theme:n.default.object,id:n.default.string,containerProps:n.default.object}),h(_,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,i=e.children;return a.default.createElement("div",t,i)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:r.defaultTheme,id:"1",containerProps:{}})},3486(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==p(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=u(i(5556)),o=u(i(1578)),l=u(i(4525)),r=u(i(2444)),s=u(i(7932));function u(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){w(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function y(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 i=[],a=!0,n=!1,o=void 0;try{for(var l,r=e[Symbol.iterator]();!(a=(l=r.next()).done)&&(i.push(l.value),!t||i.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(n)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return d(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i<t;i++)a[i]=e[i];return a}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function b(e){return function(){var t,i=S(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=S(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function w(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var k={},C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(c,e);var t,i,n,u=b(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),w(h(t=u.call(this,e)),"storeInputReference",function(e){null!==e&&(t.input=e);var i=t.props.inputProps.ref;i&&("function"==typeof i?i(e):"object"===p(i)&&Object.prototype.hasOwnProperty.call(i,"current")&&(i.current=e))}),w(h(t),"storeItemsContainerReference",function(e){null!==e&&(t.itemsContainer=e)}),w(h(t),"onHighlightedItemChange",function(e){t.highlightedItem=e}),w(h(t),"getItemId",function(e,i){if(null===i)return null;var a=t.props.id,n=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(a,"-").concat(n,"-item-").concat(i)}),w(h(t),"onFocus",function(e){var i=t.props.inputProps;t.setState({isInputFocused:!0}),i.onFocus&&i.onFocus(e)}),w(h(t),"onBlur",function(e){var i=t.props.inputProps;t.setState({isInputFocused:!1}),i.onBlur&&i.onBlur(e)}),w(h(t),"onKeyDown",function(e){var i=t.props,a=i.inputProps,n=i.highlightedSectionIndex,o=i.highlightedItemIndex,l=e.keyCode;switch(l){case 40:case 38:var r=40===l?"next":"prev",s=y(t.sectionIterator[r]([n,o]),2),u=s[0],c=s[1];a.onKeyDown(e,{newHighlightedSectionIndex:u,newHighlightedItemIndex:c});break;default:a.onKeyDown(e,{highlightedSectionIndex:n,highlightedItemIndex:o})}}),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return t=c,(i=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map(function(t){return e.getSectionItems(t)}),this.sectionsLengths=this.sectionsItems.map(function(e){return e.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(e){return 0===e}))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,o.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,l.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,i=this.props,n=i.id,o=i.items,l=i.renderItem,u=i.renderItemData,c=i.renderSectionTitle,f=i.highlightedSectionIndex,m=i.highlightedItemIndex,y=i.itemProps;return o.map(function(i,o){var d="react-autowhatever-".concat(n,"-"),p="".concat(d,"section-").concat(o,"-"),g=0===o;return a.default.createElement("div",t("".concat(p,"container"),"sectionContainer",g&&"sectionContainerFirst"),a.default.createElement(r.default,{section:i,renderSectionTitle:c,theme:t,sectionKeyPrefix:p}),a.default.createElement(s.default,{items:e.sectionsItems[o],itemProps:y,renderItem:l,renderItemData:u,sectionIndex:o,highlightedItemIndex:f===o?m:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:d,ref:e.storeItemsListReference}))})}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,i=this.props,n=i.id,o=i.renderItem,l=i.renderItemData,r=i.highlightedSectionIndex,u=i.highlightedItemIndex,c=i.itemProps;return a.default.createElement(s.default,{items:e,itemProps:c,renderItem:o,renderItemData:l,highlightedItemIndex:null===r?u:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(n,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,i=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,a=t.scrollTop;i<a?a=i:i+e.offsetHeight>a+t.offsetHeight&&(a=i+e.offsetHeight-t.offsetHeight),a!==t.scrollTop&&(t.scrollTop=a)}}},{key:"render",value:function(){var e=this.theme,t=this.props,i=t.id,n=t.multiSection,o=t.renderInputComponent,l=t.renderItemsContainer,r=t.highlightedSectionIndex,s=t.highlightedItemIndex,u=this.state.isInputFocused,c=n?this.renderSections():this.renderItems(),f=null!==c,y=this.getItemId(r,s),d="react-autowhatever-".concat(i),p=m({role:"combobox","aria-haspopup":"listbox","aria-owns":d,"aria-expanded":f},e("react-autowhatever-".concat(i,"-container"),"container",f&&"containerOpen"),{},this.props.containerProps),g=o(m({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":d,"aria-activedescendant":y},e("react-autowhatever-".concat(i,"-input"),"input",f&&"inputOpen",u&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),b=l({containerProps:m({id:d,role:"listbox"},e("react-autowhatever-".concat(i,"-items-container"),"itemsContainer",f&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:c});return a.default.createElement("div",p,g,b)}}])&&g(t.prototype,i),n&&g(t,n),c}(a.Component);t.default=C,w(C,"propTypes",{id:n.default.string,multiSection:n.default.bool,renderInputComponent:n.default.func,renderItemsContainer:n.default.func,items:n.default.array.isRequired,renderItem:n.default.func,renderItemData:n.default.object,renderSectionTitle:n.default.func,getSectionItems:n.default.func,containerProps:n.default.object,inputProps:n.default.object,itemProps:n.default.oneOfType([n.default.object,n.default.func]),highlightedSectionIndex:n.default.number,highlightedItemIndex:n.default.number,theme:n.default.oneOfType([n.default.object,n.default.array])}),w(C,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return a.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,i=e.children;return a.default.createElement("div",t,i)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:k,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:k,inputProps:k,itemProps:k,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},1572(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=l(i(5556)),o=l(i(1438));function l(e){return e&&e.__esModule?e:{default:e}}function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},u.apply(this,arguments)}function c(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function f(e,t){if(null==e)return{};var i,a,n=function(e,t){if(null==e)return{};var i,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)i=o[a],t.indexOf(i)>=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)i=o[a],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function m(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function y(e){return function(){var t,i=p(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=p(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;return d(e)}(this,t)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function b(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(r,e);var t,i,n,l=y(r);function r(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return b(d(e=l.call.apply(l,[this].concat(i))),"storeItemReference",function(t){null!==t&&(e.item=t)}),b(d(e),"onMouseEnter",function(t){var i=e.props,a=i.sectionIndex,n=i.itemIndex;e.props.onMouseEnter(t,{sectionIndex:a,itemIndex:n})}),b(d(e),"onMouseLeave",function(t){var i=e.props,a=i.sectionIndex,n=i.itemIndex;e.props.onMouseLeave(t,{sectionIndex:a,itemIndex:n})}),b(d(e),"onMouseDown",function(t){var i=e.props,a=i.sectionIndex,n=i.itemIndex;e.props.onMouseDown(t,{sectionIndex:a,itemIndex:n})}),b(d(e),"onClick",function(t){var i=e.props,a=i.sectionIndex,n=i.itemIndex;e.props.onClick(t,{sectionIndex:a,itemIndex:n})}),e}return t=r,i=[{key:"shouldComponentUpdate",value:function(e){return(0,o.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,i=e.item,n=e.renderItem,o=e.renderItemData,l=f(e,["isHighlighted","item","renderItem","renderItemData"]);return delete l.sectionIndex,delete l.itemIndex,"function"==typeof l.onMouseEnter&&(l.onMouseEnter=this.onMouseEnter),"function"==typeof l.onMouseLeave&&(l.onMouseLeave=this.onMouseLeave),"function"==typeof l.onMouseDown&&(l.onMouseDown=this.onMouseDown),"function"==typeof l.onClick&&(l.onClick=this.onClick),a.default.createElement("li",u({role:"option"},l,{ref:this.storeItemReference}),n(i,function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?c(Object(i),!0).forEach(function(t){b(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({isHighlighted:t},o)))}}],i&&m(t.prototype,i),n&&m(t,n),r}(a.Component);t.default=h,b(h,"propTypes",{sectionIndex:n.default.number,isHighlighted:n.default.bool.isRequired,itemIndex:n.default.number.isRequired,item:n.default.any.isRequired,renderItem:n.default.func.isRequired,renderItemData:n.default.object.isRequired,onMouseEnter:n.default.func,onMouseLeave:n.default.func,onMouseDown:n.default.func,onClick:n.default.func})},7932(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=r(i(5556)),o=r(i(1572)),l=r(i(1438));function r(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},c.apply(this,arguments)}function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function m(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function y(e){return function(){var t,i=p(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=p(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return d(e)}(this,t)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function b(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(s,e);var t,i,n,r=y(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return b(d(e=r.call.apply(r,[this].concat(i))),"storeHighlightedItemReference",function(t){e.props.onHighlightedItemChange(null===t?null:t.item)}),e}return t=s,i=[{key:"shouldComponentUpdate",value:function(e){return(0,l.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,i=t.items,n=t.itemProps,l=t.renderItem,r=t.renderItemData,s=t.sectionIndex,u=t.highlightedItemIndex,m=t.getItemId,y=t.theme,d=t.keyPrefix,p=null===s?d:"".concat(d,"section-").concat(s,"-"),g="function"==typeof n;return a.default.createElement("ul",c({role:"listbox"},y("".concat(p,"items-list"),"itemsList")),i.map(function(t,i){var d=0===i,h=i===u,S="".concat(p,"item-").concat(i),v=g?n({sectionIndex:s,itemIndex:i}):n,w=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){b(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({id:m(s,i),"aria-selected":h},y(S,"item",d&&"itemFirst",h&&"itemHighlighted"),{},v);return h&&(w.ref=e.storeHighlightedItemReference),a.default.createElement(o.default,c({},w,{sectionIndex:s,isHighlighted:h,itemIndex:i,item:t,renderItem:l,renderItemData:r}))}))}}],i&&m(t.prototype,i),n&&m(t,n),s}(a.Component);t.default=h,b(h,"propTypes",{items:n.default.array.isRequired,itemProps:n.default.oneOfType([n.default.object,n.default.func]),renderItem:n.default.func.isRequired,renderItemData:n.default.object.isRequired,sectionIndex:n.default.number,highlightedItemIndex:n.default.number,onHighlightedItemChange:n.default.func.isRequired,getItemId:n.default.func.isRequired,theme:n.default.func.isRequired,keyPrefix:n.default.string.isRequired}),b(h,"defaultProps",{sectionIndex:null})},2444(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=l(i(5556)),o=l(i(1438));function l(e){return e&&e.__esModule?e:{default:e}}function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function c(e){return function(){var t,i=f(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=f(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}var y,d,p,g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(r,e);var t,i,n,l=c(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),l.apply(this,arguments)}return t=r,(i=[{key:"shouldComponentUpdate",value:function(e){return(0,o.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,i=e.renderSectionTitle,n=e.theme,o=e.sectionKeyPrefix,l=i(t);return l?a.default.createElement("div",n("".concat(o,"title"),"sectionTitle"),l):null}}])&&u(t.prototype,i),n&&u(t,n),r}(a.Component);t.default=g,y=g,d="propTypes",p={section:n.default.any.isRequired,renderSectionTitle:n.default.func.isRequired,theme:n.default.func.isRequired,sectionKeyPrefix:n.default.string.isRequired},d in y?Object.defineProperty(y,d,{value:p,enumerable:!0,configurable:!0,writable:!0}):y[d]=p},1438(e,t){"use strict";function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!0;var l,r,s={};for(l=0,r=a.length;l<r;l++)s[a[l]]=!0;for(l=0,r=n.length;l<r;l++){var u=n[l],c=e[u],f=t[u];if(c!==f){if(!s[u]||null===c||null===f||"object"!==i(c)||"object"!==i(f))return!0;var m=Object.keys(c),y=Object.keys(f);if(m.length!==y.length)return!0;for(var d=0,p=m.length;d<p;d++){var g=m[d];if(c[g]!==f[g])return!0}}}return!1}},2243(e,t,i){"use strict";e.exports=i(7424).default},6462(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0;t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};t.mapToAutowhateverTheme=function(e){var t={};for(var i in e)switch(i){case"suggestionsContainer":t.itemsContainer=e[i];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[i];break;case"suggestion":t.item=e[i];break;case"suggestionFirst":t.itemFirst=e[i];break;case"suggestionHighlighted":t.itemHighlighted=e[i];break;case"suggestionsList":t.itemsList=e[i];break;default:t[i]=e[i]}return t}},4525(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],a=!0,n=!1,o=void 0;try{for(var l,r=e[Symbol.iterator]();!(a=(l=r.next()).done)&&(i.push(l.value),!t||i.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{!a&&r.return&&r.return()}finally{if(n)throw o}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function n(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}var o,l=i(3675),r=(o=l)&&o.__esModule?o:{default:o},s=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],i=a(t,2),o=i[0],l=i[1];return function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];var u=i.map(function(e){return o[e]}).filter(s);return"string"==typeof u[0]||"function"==typeof l?{key:e,className:l?l.apply(void 0,n(u)):u.join(" ")}:{key:e,style:r.default.apply(void 0,[{}].concat(n(u)))}}},e.exports=t.default},3675(e){"use strict";var t=Object.prototype.propertyIsEnumerable;function i(e){var i=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(e))),i.filter(function(i){return t.call(e,i)})}e.exports=Object.assign||function(e,t){for(var a,n,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){a=arguments[l],n=i(Object(a));for(var r=0;r<n.length;r++)o[n[r]]=a[n[r]]}return o}},5287(e,t){"use strict";var i=Symbol.for("react.element"),a=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),r=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,g={};function b(e,t,i){this.props=e,this.context=t,this.refs=g,this.updater=i||d}function h(){}function S(e,t,i){this.props=e,this.context=t,this.refs=g,this.updater=i||d}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=b.prototype;var v=S.prototype=new h;v.constructor=S,p(v,b.prototype),v.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,C={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,a){var n,o={},l=null,r=null;if(null!=t)for(n in void 0!==t.ref&&(r=t.ref),void 0!==t.key&&(l=""+t.key),t)k.call(t,n)&&!_.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=a;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===o[n]&&(o[n]=s[n]);return{$$typeof:i,type:e,key:l,ref:r,props:o,_owner:C.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var x=/\/+/g;function q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(e,t,n,o,l){var r=typeof e;"undefined"!==r&&"boolean"!==r||(e=null);var s=!1;if(null===e)s=!0;else switch(r){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case i:case a:s=!0}}if(s)return l=l(s=e),e=""===o?"."+q(s,0):o,w(l)?(n="",null!=e&&(n=e.replace(x,"$&/")+"/"),A(l,t,n,"",function(e){return e})):null!=l&&(P(l)&&(l=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,n+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(x,"$&/")+"/")+e)),t.push(l)),1;if(s=0,o=""===o?".":o+":",w(e))for(var u=0;u<e.length;u++){var c=o+q(r=e[u],u);s+=A(r,t,n,c,l)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(r=e.next()).done;)s+=A(r=r.value,t,n,c=o+q(r,u++),l);else if("object"===r)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function I(e,t,i){if(null==e)return e;var a=[],n=0;return A(e,a,"","",function(e){return t.call(i,e,n++)}),a}function E(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},T={transition:null},B={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:T,ReactCurrentOwner:C};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,i){I(e,function(){t.apply(this,arguments)},i)},count:function(e){var t=0;return I(e,function(){t++}),t},toArray:function(e){return I(e,function(e){return e})||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=n,t.Profiler=l,t.PureComponent=S,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.act=N,t.cloneElement=function(e,t,a){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=p({},e.props),o=e.key,l=e.ref,r=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,r=C.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!_.hasOwnProperty(u)&&(n[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)n.children=a;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:i,type:e.type,key:o,ref:l,props:n,_owner:r}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:r,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:m,_payload:{_status:-1,_result:e},_init:E}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,i){return M.current.useImperativeHandle(e,t,i)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,i){return M.current.useReducer(e,t,i)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,i){return M.current.useSyncExternalStore(e,t,i)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},6540(e,t,i){"use strict";e.exports=i(5287)},1578(e){"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],a=!0,n=!1,o=void 0;try{for(var l,r=e[Symbol.iterator]();!(a=(l=r.next()).done)&&(i.push(l.value),!t||i.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{!a&&r.return&&r.return()}finally{if(n)throw o}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var i=e.data,a=e.multiSection;function n(e){var n=t(e,2),o=n[0],l=n[1];return a?null===l||l===i[o]-1?null===(o=function(e){for(null===e?e=0:e++;e<i.length&&0===i[e];)e++;return e===i.length?null:e}(o))?[null,null]:[o,0]:[o,l+1]:0===i||l===i-1?[null,null]:null===l?[null,0]:[null,l+1]}return{next:n,prev:function(e){var n=t(e,2),o=n[0],l=n[1];return a?null===l||0===l?null===(o=function(e){for(null===e?e=i.length-1:e--;e>=0&&0===i[e];)e--;return-1===e?null:e}(o))?[null,null]:[o,i[o]-1]:[o,l-1]:0===i||0===l?[null,null]:null===l?[null,i-1]:[null,l-1]},isLast:function(e){return null===n(e)[1]}}}},9321(e){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var i=e.length;if(t.length!==i)return!1;for(var a=0;a<i;a++)if(e[a]!==t[a])return!1;return!0}},6942(e,t){var i;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=l(e,o(i)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)a.call(e,i)&&e[i]&&(t=l(t,i));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(i=function(){return n}.apply(t,[]))||(e.exports=i)}()}};const t={};function i(a){const n=t[a];if(void 0!==n)return n.exports;const o=t[a]={id:a,loaded:!1,exports:{}};return e[a](o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{if(Array.isArray(t))for(var a=0;a<t.length;){var n=t[a++],o=t[a++];i.o(e,n)?0===o&&a++:0===o?Object.defineProperty(e,n,{enumerable:!0,value:t[a++]}):Object.defineProperty(e,n,{enumerable:!0,get:o})}else for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.hasOwn(e,t),i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";const e=wp.i18n,t=wp.richText,a=wp.blockEditor,n=wp.components,o=wp.data,l=wp.compose,r="qi-blocks/underline-format",s=(0,l.compose)((0,o.withSelect)(e=>({selectedBlock:e("core/block-editor").getSelectedBlock()})),(0,l.ifCondition)(e=>e.selectedBlock&&("qi-blocks/section-title"===e.selectedBlock.name||"qi-blocks/advanced-text"===e.selectedBlock.name)))(({isActive:i,value:o,onChange:l})=>wp.element.createElement(a.BlockControls,null,wp.element.createElement(n.ToolbarButton,{icon:"editor-underline",label:(0,e.__)("Underline","qi-blocks"),onClick:()=>{l((0,t.toggleFormat)(o,{type:r,attributes:{style:"text-decoration: underline;"}}))},isPressed:i,className:"qodef-format-button"}))),u={title:(0,e.__)("Highlighted Text","qi-blocks"),tagName:"span",className:"qodef-underline-text",edit:s};(0,t.registerFormatType)(r,u);const c="qi-blocks/highlight-format",f=(0,l.compose)((0,o.withSelect)(e=>({selectedBlock:e("core/block-editor").getSelectedBlock()})),(0,l.ifCondition)(e=>e.selectedBlock&&"qi-blocks/highlight"===e.selectedBlock.name))(({isActive:i,value:o,onChange:l})=>wp.element.createElement(a.BlockControls,null,wp.element.createElement(n.ToolbarButton,{icon:"text",label:(0,e.__)("Highlight text selection","qi-blocks"),onClick:()=>{l((0,t.toggleFormat)(o,{type:c}))},isPressed:i,className:"qodef-format-button"}))),m={title:(0,e.__)("Highlighted Text","qi-blocks"),tagName:"span",className:"qodef-highlight-text",edit:f};(0,t.registerFormatType)(c,m);const y=wp.apiFetch;var d=i.n(y);const p={getOptions(e){const{options:t}=e;return t}},g={*getOptions(e){const t=yield b.getOptions("/qi-blocks/v1/get-styles"+(e?"?page_id="+e:""));return b.setOptions(t)}},b={setOptions:e=>({type:"SET_OPTIONS",options:e}),getOptions:e=>({type:"GET_OPTIONS",path:e})},h={GET_OPTIONS:e=>d()({path:e.path})};const S=(0,o.createReduxStore)("qi-blocks/data/with-styles",{actions:b,controls:h,reducer:function(e={options:[]},t){return"SET_OPTIONS"===t.type?{...e,options:t.options}:e},resolvers:g,selectors:p}),v=((0,o.register)(S),{disable:function(){window.addEventListener&&window.addEventListener("wheel",v.preventDefaultValue,{passive:!1}),document.onkeydown=v.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",v.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){const t=[37,38,39,40];for(let i=t.length;i--;)if(e.keyCode===t[i])return void v.preventDefaultValue(e)}}),w=v,k=jQuery;var C=i.n(k);const _={check:function(e,t){if("object"!=typeof e||""===e||e.length||(e=C()(e)),e.length){"function"!=typeof e.find&&(e=C()(e));const i=e.find("img");if(i.length){let a=0;for(let n=0;n<i.length;n++){let o=i[n];if(o.complete)a++,a===i.length&&t.call(e);else{let n=new Image;const l=function(){a++,a===i.length&&t.call(e)};n.addEventListener("load",l,!1),n.addEventListener("error",l,!1),n.src=o.src}}}else t.call(e)}}},O={check:function(e,t,i){if("object"!=typeof e||""===e||e.length||(e=C()(e)),e.length){const a=void 0!==e.data("viewport-offset")?e.data("viewport-offset"):.15,n=new IntersectionObserver(function(a){!0===a[0].isIntersecting&&(t.call(e),!1!==i&&n.disconnect())},{threshold:[a]});n.observe(e[0])}}};function P(e=document){try{if("editor-canvas"===window.frameElement?.getAttribute?.("name"))return!0}catch(e){}const t=e?.body;return!!t&&(!!t.classList.contains("wp-admin")||(!!t.classList.contains("block-editor-iframe__body")||!!t.classList.contains("editor-styles-wrapper")))}const x={swiper:"",isEditorMode:!1,document,init:function(e,t){e&&(x.document=e);const i=e||document;this.holder=i.querySelectorAll(".qodef-block .qodef-block-swiper"),this.holder.length&&[...this.holder].map(e=>{x.initItem(e,t)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e,"> .qodef-block .qodef-block-swiper",!0)),e},initItem:function(e,t,i=0){const a=e;"object"==typeof qiBlocksEditor&&qiBlocksEditor.qodefGetCurrentBlockElement?x.document=qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():t||(x.document=document),x.isEditorMode=P(x.document),e=x.getRealCurrentItem(e);const n=NodeList.prototype.isPrototypeOf(e)&&0===e.length;if(!e||n||""===e){if(i<25&&"string"==typeof a&&""!==a){const e=!!x.isEditorMode&&qiBlocksEditor.qodefGetCurrentBlockElement.getIframe();setTimeout(()=>{x.initItem(a,t,i+1)},e?120:60)}return}if(t||(x.document=document),P(x.document)&&(x.isEditorMode=!0),!e)return;const o=!!x.isEditorMode&&qiBlocksEditor.qodefGetCurrentBlockElement.getIframe();let l=e;NodeList.prototype.isPrototypeOf(e)||o?l&&void 0===l.length&&(l=[e]):l=[e];const r="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;l.forEach(e=>{r.qodefWaitForImages.check(e,function(){setTimeout(()=>{const i=x.getOptions(e),a=x.getEvents(e,i);void 0!==e&&"object"==typeof e.swiper&&t&&e.swiper.destroy();const n=(t=0)=>{if("undefined"!=typeof Swiper)try{new Swiper(e,Object.assign(i,a))}catch(t){x.isEditorMode&&e.classList.add("qodef--initialized")}else t<40?setTimeout(()=>{n(t+1)},100):x.isEditorMode&&e.classList.add("qodef--initialized")};n()},o?800:200)})})},getOptions:function(e){let t=void 0!==e.getAttribute("data-options")?JSON.parse(e.getAttribute("data-options")):{},i=void 0!==t.direction&&""!==t.direction?t.direction:"horizontal",a=void 0!==t.partialValue&&""!==t.partialValue?parseFloat(t.partialValue):0,n=void 0!==t.disablePartialValue&&""!==t.disablePartialValue?parseInt(t.disablePartialValue):"never",o=void 0!==t.spaceBetween&&""!==t.spaceBetween?t.spaceBetween:0,l=void 0!==t.spaceBetweenTablet&&""!==t.spaceBetweenTablet?t.spaceBetweenTablet:o,r=void 0!==t.spaceBetweenMobile&&""!==t.spaceBetweenMobile?t.spaceBetweenMobile:o,s=void 0!==t.slidesPerView&&""!==t.slidesPerView?"auto"===t.slidesPerView?"auto":parseInt(t.slidesPerView)+a:1+a,u=void 0!==t.centeredSlides&&""!==t.centeredSlides&&t.centeredSlides,c=void 0!==t.sliderScroll&&""!==t.sliderScroll&&t.sliderScroll,f=void 0!==t.effect&&""!==t.effect?t.effect:"slide",m=void 0===t.loop||""===t.loop||t.loop,y=void 0===t.autoplay||""===t.autoplay||t.autoplay,d=void 0!==t.speed&&""!==t.speed?parseInt(t.speed,10):5e3,p=void 0!==t.speedAnimation&&""!==t.speedAnimation?parseInt(t.speedAnimation,10):800,g=void 0!==t.customStages&&""!==t.customStages&&t.customStages,b=void 0===t.dragging||""===t.dragging||t.dragging,h=void 0!==t.outsideNavigation&&"yes"===t.outsideNavigation,S=h?".swiper-button-next-"+t.unique:e.querySelector(".swiper-button-next"),v=h?".swiper-button-prev-"+t.unique:e.querySelector(".swiper-button-prev"),w=void 0!==t.outsidePagination&&"yes"===t.outsidePagination?".swiper-pagination-"+t.unique:e.querySelector(".swiper-pagination");!1!==y&&5e3!==d?y={delay:d,disableOnInteraction:!1}:!1!==y&&(y={disableOnInteraction:!1});let k=void 0!==t.slidesPerView1440&&""!==t.slidesPerView1440?parseInt(t.slidesPerView1440,10)+a:"auto"===t.slidesPerView?"auto":5+a,C=void 0!==t.slidesPerView1366&&""!==t.slidesPerView1366?parseInt(t.slidesPerView1366,10)+a:"auto"===t.slidesPerView?"auto":4+a,_=void 0!==t.slidesPerView1024&&""!==t.slidesPerView1024?parseInt(t.slidesPerView1024,10)+a:"auto"===t.slidesPerView?"auto":3+a,O=void 0!==t.slidesPerView768&&""!==t.slidesPerView768?parseInt(t.slidesPerView768,10)+a:"auto"===t.slidesPerView?"auto":2+a,P=void 0!==t.slidesPerView680&&""!==t.slidesPerView680?parseInt(t.slidesPerView680,10)+a:"auto"===t.slidesPerView?"auto":1+a,q=void 0!==t.slidesPerView480&&""!==t.slidesPerView480?parseInt(t.slidesPerView480,10)+a:"auto"===t.slidesPerView?"auto":1+a;if(x.isEditorMode&&(x.document?.body?.classList.contains("qi-preview-screen-tablet")&&(s=s<3?s:_,o=l),x.document?.body?.classList.contains("qi-preview-screen-mobile")&&(s=q,o=r),y=!1),g||(s<2?(k=s,C=s,_=s,O=s):s<3?(k=s,C=s,_=s):s<4?(k=s,C=s):s<5&&(k=s)),"never"!==n)switch(n){case 1024:_=Math.floor(_),x.isEditorMode&&x.document?.body.classList.contains("qi-preview-screen-tablet")&&(s=Math.floor(s<3?s:_));break;case 768:O=Math.floor(O);break;case 680:P=Math.floor(P);break;case 480:q=Math.floor(q),x.isEditorMode&&x.document?.body.classList.contains("qi-preview-screen-mobile")&&(s=Math.floor(q))}let A={direction:i,slidesPerView:s,centeredSlides:u,sliderScroll:c,loopedSlides:"12",spaceBetween:o,effect:f,autoplay:y,loop:m,speed:p,navigation:{nextEl:S,prevEl:v},pagination:{el:w,type:"bullets",clickable:!0},grabCursor:!x.isEditorMode,simulateTouch:!x.isEditorMode&&b,allowTouchMove:!x.isEditorMode,preventClicks:!x.isEditorMode,preventClicksPropagation:!x.isEditorMode,touchStartPreventDefault:!x.isEditorMode,noSwiping:x.isEditorMode,noSwipingClass:"swiper-slide",breakpoints:{0:{slidesPerView:q,spaceBetween:r},481:{slidesPerView:P,spaceBetween:r},681:{slidesPerView:O,spaceBetween:l},769:{slidesPerView:_,spaceBetween:l},1025:{slidesPerView:C},1367:{slidesPerView:k},1441:{slidesPerView:s}}};const I=x.getSliderDatas(e),E=Object.assign({},A,I);return E.pagination=A.pagination,E.navigation=A.navigation,Object.prototype.hasOwnProperty.call(A,"scrollbar")&&(E.scrollbar=A.scrollbar),E},bindEditorSliderControls:function(e){if(!x.isEditorMode||!e)return;const t=e.closest(".qodef-block")||e,i=".swiper-button-prev, .swiper-button-next, .swiper-pagination, .swiper-pagination-bullet";if(t.querySelectorAll(i).forEach(e=>{e.style.pointerEvents="auto"}),t.dataset.qiEditorSliderControlBound)return;t.dataset.qiEditorSliderControlBound="1";const a=a=>{const n=a.target.closest(i);if(n&&t.contains(n)&&(a.stopPropagation(),"click"===a.type&&e.swiper))if(n.classList.contains("swiper-button-next"))e.swiper.slideNext();else if(n.classList.contains("swiper-button-prev"))e.swiper.slidePrev();else if(n.classList.contains("swiper-pagination-bullet")){const i=t.querySelectorAll(".swiper-pagination-bullet"),a=Array.prototype.indexOf.call(i,n);a>-1&&(e.swiper.slideToLoop?e.swiper.slideToLoop(a):e.swiper.slideTo(a))}};["pointerdown","mousedown","click"].forEach(e=>{t.addEventListener(e,a,!0)})},getSliderDatas:function(e){const t=C()(e).data(),i={},a={direction:"string",slidesPerView:"numberOrAuto",spaceBetween:"number",speed:"number",loop:"boolean",autoplay:"boolean",effect:"string",centeredSlides:"boolean",grabCursor:"boolean",allowTouchMove:"boolean",simulateTouch:"boolean",freeMode:"boolean",watchOverflow:"boolean",resistanceRatio:"number",threshold:"number",longSwipesRatio:"number",followFinger:"boolean",shortSwipes:"boolean",longSwipes:"boolean",roundLengths:"boolean",watchSlidesProgress:"boolean",watchSlidesVisibility:"boolean"},n=["options","pagination","navigation","scrollbar","a11y","keyboard","mousewheel","hashNavigation","history","controller","thumbs","virtual","zoom","lazy","parallax","cubeEffect","coverflowEffect","flipEffect","creativeEffect","cardsEffect"];for(const e in t){if(!Object.prototype.hasOwnProperty.call(t,e))continue;if(n.includes(e)||0===e.indexOf("render"))continue;if(!Object.prototype.hasOwnProperty.call(a,e))continue;const o=t[e];if(void 0===o||""===o||"object"==typeof o&&null!==o)continue;const l=a[e];"boolean"===l&&"boolean"!=typeof o||("number"===l&&"number"!=typeof o||"string"===l&&"string"!=typeof o||"numberOrAuto"===l&&"number"!=typeof o&&"auto"!==o||(i[e]=o))}return i},getEvents:function(e,t){return{on:{beforeInit:function(){if("vertical"===t.direction){let i=0,a=0,n=e.querySelectorAll(".qodef-e");n.length&&n.forEach(e=>{a=e.offsetHeight,a>i&&(i=a)}),1===t.slidesPerView&&(e.style.height=i+"px",n.length&&n.forEach(e=>{e.style.height=i+"px"}))}},init:function(){if(e.classList.add("qodef--initialized"),x.isEditorMode?(x.bindEditorSliderControls(e),"object"==typeof qiBlocksEditor.qodefSetEditorLinkBehavior&&qiBlocksEditor.qodefSetEditorLinkBehavior.linkBehavior(e.querySelectorAll("a, button"))):qiBlocks?.qodefLightboxPopup&&qiBlocks.qodefLightboxPopup.init(e.parentNode),"object"!=typeof qiBlocksEditor&&t.sliderScroll){let i=!1,a=C()(e),n=e.classList.contains("qodef-block")?a:a.parents(".qodef-block"),o=n.hasClass("qodef--focus-in-viewport"),l=n.offset().top,r=n.offset().top+n.outerHeight();o&&window.addEventListener("wheel",function(e){let t=C()(window).scrollTop()+e.deltaY;(e.deltaY>0&&t<l||e.deltaY<0&&r<t+qiBlocks.windowHeight)&&qiBlocks.qodefIsInViewport.check(n,function(){qiBlocks.qodefScroll.disable(),C()("html, body").stop().animate({scrollTop:l},1200,function(){qiBlocks.qodefScroll.enable()})},!0)},{passive:!1}),a.off().on("wheel",function(a){t.loop?a.preventDefault():((a.originalEvent.deltaY<0&&!e.swiper.isBeginning||a.originalEvent.deltaY>0&&!e.swiper.isEnd)&&a.preventDefault(),o&&(a.originalEvent.deltaY<0&&e.swiper.isBeginning?(qiBlocks.qodefScroll.disable(),C()("html, body").stop().animate({scrollTop:Math.max(0,l-qiBlocks.windowHeight)},1200,function(){qiBlocks.qodefScroll.enable()})):a.originalEvent.deltaY>0&&e.swiper.isEnd&&(qiBlocks.qodefScroll.disable(),C()("html, body").stop().animate({scrollTop:r},1200,function(){qiBlocks.qodefScroll.enable()})))),i||(i=!0,a.originalEvent.deltaY>0?e.swiper.slideNext():e.swiper.slidePrev(),setTimeout(function(){i=!1},1e3))})}}}}}},q=x,A={masonry:[],isEditorMode:!1,init:function(){this.holder=document.querySelectorAll(".qodef-gutenberg-masonry-layout"),this.holder.length&&[...this.holder].map(e=>{A.createMasonry(e)})},reLayout:function(){const e=A.masonry;"object"==typeof e&&Object.keys(e).length&&Object.values(e).map(e=>{setTimeout(()=>{const t=e.element.querySelectorAll(".qodef-gutenberg-column"),i=parseFloat(window.getComputedStyle(e.element.querySelector(".qodef-gutenberg-masonry-sizer")).getPropertyValue("width")),a=parseInt(window.getComputedStyle(e.element).getPropertyValue("column-gap"),10);i&&(t.forEach(e=>{e.style.width=i+"px"}),e.element.parentNode.classList.contains("qodef-items--fixed")&&A.setFixedImageSize(e.element,t[0],i,a)),setTimeout(()=>{e.layout()},400)},400)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e,"> .qodef-block .qodef-gutenberg-masonry-layout")),e},initItem:function(e,t){const i=t||"string"==typeof e?e:"";(e=A.getRealCurrentItem(e))&&(P()&&(A.isEditorMode=!0),i&&A.masonry[i]&&e?A.reInit(e,i,t):A.createMasonry(e,i))},reInit:function(e,t,i){const a=(A.isEditorMode?qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():document).querySelectorAll(".qodef-gutenberg-masonry-layout");"function"==typeof Isotope&&a.length&&("object"==typeof A.masonry[t]&&"reinit"===i?A.masonry[t].layout():P()||!0!==e?A.createMasonry(e,t):A.masonry[t].layout())},createMasonry:function(e,t){if(!e)return;const i=e.querySelector(".qodef-gutenberg-row");if(i){const a=i.querySelector(".qodef-gutenberg-column");("object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor).qodefWaitForImages.check(i,function(){A.createMasonryLogic(e,i,a,t)})}},createMasonryLogic:function(e,t,i,a){if("function"==typeof Isotope&&(A.isEditorMode||!t.classList.contains("qodef--masonry-init"))){const n=t.querySelectorAll(".qodef-gutenberg-column"),o=parseFloat(window.getComputedStyle(t.querySelector(".qodef-gutenberg-masonry-sizer")).getPropertyValue("width")),l=parseInt(window.getComputedStyle(t).getPropertyValue("column-gap"),10);n.forEach(e=>{e.style.width=o+"px"}),e.classList.contains("qodef-items--fixed")&&A.setFixedImageSize(t,i,o,l);const r=new Isotope(t,{layoutMode:"packery",itemSelector:".qodef-gutenberg-column",percentPosition:!0,packery:{columnWidth:".qodef-gutenberg-masonry-sizer",gutter:l}});A.masonry[a]=r,setTimeout(()=>{r.layout()},A.isEditorMode?600:0),t.classList.contains("qodef--masonry-init")||t.classList.add("qodef--masonry-init")}},setFixedImageSize:function(e,t,i,a){const n=A.isEditorMode?document.body.classList.contains("qi-preview-screen-tablet")||document.body.classList.contains("qi-preview-screen-mobile"):qiBlocks.windowWidth<=680,o=e.parentElement.classList.contains("qodef-col-num--1"),l=e.querySelectorAll(".qodef-gutenberg-column");l&&l.forEach(e=>{let t=i,l=i;o?(e.classList.contains("qodef-item--landscape")&&(l=Math.round(i/2)),e.classList.contains("qodef-item--portrait")&&(l=Math.round(2*i))):(e.classList.contains("qodef-item--landscape")&&(t=Math.round(2*i+a),n&&(t=Math.round(i),l=Math.round(i/2))),e.classList.contains("qodef-item--portrait")&&(l=Math.round(2*i+a)),e.classList.contains("qodef-item--huge-square")&&(t=Math.round(2*i+a),l=Math.round(2*i+a),n&&(t=Math.round(i),l=Math.round(i)))),e.style.width=t+"px",e.style.height=l+"px"})}},I=A;var E={init:function(e){e?setTimeout(()=>{E.initItem(e)},2e3):(this.holder=document.querySelectorAll(".qi-block-fslightbox-popup"),this.holder.length&&[...this.holder].map(e=>{E.initItem(e)}))},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e)),e},initItem:function(e,t){if(!P("object"==typeof qiBlocksEditor&&qiBlocksEditor.qodefGetCurrentBlockElement?qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():document)&&(e=E.getRealCurrentItem(e))&&"undefined"!=typeof refreshFsLightbox){refreshFsLightbox();for(const e in fsLightboxInstances){let t=fsLightboxInstances[e].props.sources,i=[],a=0;t.forEach(e=>{i.includes(e)||(i.push(e),a++)});let n=a!==t.length?t.length-a:0;fsLightboxInstances[e].props.onOpen=function(){const t=fsLightboxInstances[e].elements.container.querySelectorAll(".fslightbox-slide-number-container");if(n>0&&t.length){const i=t[0].querySelector(".fslightbox-flex-centered > *:first-child"),o=t[0].querySelector(".fslightbox-flex-centered > *:last-child");new MutationObserver(()=>{let e=Number(i.innerText),t=e;e>a&&(t=n>a&&e>n?e-n:e-a),i.innerText=t,o.innerText=a}).observe(fsLightboxInstances[e].elements.container,{subtree:!0,attributes:!0,attributeFilter:["class"]})}},fsLightboxInstances[e].props.onInit=()=>{const t=fsLightboxInstances[e].elements.container,i=t.querySelectorAll(".fslightbox-slide-btn-container-previous > .fslightbox-slide-btn"),a=t.querySelectorAll(".fslightbox-slide-btn-container-next > .fslightbox-slide-btn"),n=t.querySelectorAll('[title="Close"]'),o="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;i.length&&(i[0].innerHTML=o.vars.arrowLeftIcon),a.length&&(a[0].innerHTML=o.vars.arrowRightIcon),n.length&&(n[0].innerHTML=o.vars.closeIcon)}}}}};const M=E,T={init:function(){P()||(this.holder=document.querySelectorAll(".qodef-image--hover-follow-info"),this.holder.length&&[...this.holder].map(e=>{T.initItem(e)}))},initItem:function(e){if(window.innerWidth>1024){const t=e.querySelectorAll(".qodef-image-wrapper");t.length&&[...t].map(e=>{T.initItemBehavior(e)})}},initItemBehavior:function(e){if(e){const t=e.querySelector(".qodef-e-content");t&&e.addEventListener("mousemove",e=>{e.clientX+t.offsetWidth+20>window.innerWidth?t.classList.add("qodef--right"):t.classList.remove("qodef--right"),t.style.top=e.clientY+20+"px",t.style.left=e.clientX+20+"px"})}}},B=T,N={get:function(e,t="> .qodef-block",i=!1){if(e&&t){const a=N.getCurrentDocument();e=i?a.querySelectorAll("."+e+" "+t):a.querySelector("."+e+" "+t)}return e||""},getPageEditorWrapper:function(){return document.querySelector(".edit-post-visual-editor__content-area")||document.querySelector(".edit-post-visual-editor")||document.querySelector(".editor-visual-editor")||document.querySelector("#site-editor")||document.querySelector(".edit-widgets-block-editor")||document.querySelector(".customize-widgets__block-editor")},isFullSiteEditor:function(){return!!document.querySelector("#site-editor")},isWidgetsEditor:function(){return!!document.querySelector(".edit-widgets-block-editor, .customize-widgets__block-editor")||window.location.pathname.includes("widgets.php")},isCustomizer:function(){return window.location.pathname.includes("customize.php")},getIframe:function(){const e=document.querySelector(".block-editor-block-preview__content iframe");if(e)return e;if(N.isCustomizer()&&!N.isWidgetsEditor())return document.querySelector('#customize-preview iframe[name*="customize-preview"]');const t=document.querySelector('iframe[name="editor-canvas"]');if(t)return t;const i=N.getPageEditorWrapper();return i?i.querySelector('iframe[name="editor-canvas"]'):""},getCurrentDocument:function(){const e=N.getIframe();return e?e.contentDocument:document}},D=N,j={linkSelector:".qodef-block a:not(.qodef-m-integration-notice-link), .qodef-block button, .qodef-block input[type=submit]",bindLinks:function(e){e&&j.linkBehavior(e.querySelectorAll(j.linkSelector))},listenerChanges:function(e){j.bindLinks(D.getCurrentDocument());const t=new MutationObserver(()=>{setTimeout(()=>{j.bindLinks(D.getCurrentDocument())},400)}),i=D.getIframe()?.contentDocument,a=i?.body||e;a&&t.observe(a,{subtree:!0,childList:!0})},linkBehavior:function(e){e?.length&&e.forEach(e=>{e.dataset.qiEditorLinkBound||(e.dataset.qiEditorLinkBound="1",e.addEventListener("click",e=>{e.preventDefault()}))})}},L=j;function R(e){return e?e.nodeType===Node.ELEMENT_NODE?e:e.nodeType===Node.TEXT_NODE?e.parentElement:null:null}function F(e){const t=R(e);if(!t?.closest)return null;const i=t.closest('.qodef-block-container, .qodef-block, [class*="qi-block-"]');return i?i.classList?.contains("qodef-gutenberg-column")||i.classList?.contains("qodef-gutenberg-section")||i.classList?.contains("qodef-gutenberg-row")?null:i:null}function V(e){return!function(e){const t=R(e);if(!t?.closest)return!1;const i=F(t),a=t.closest("[data-type]");if(!a)return!i;const n=a.getAttribute("data-type");return!(!n||n.startsWith("qi-blocks/")||i&&a.contains(i))}(e)&&!!F(e)}const H=/^qodef-(?:template-block|widget-block|block)-[a-f0-9]+$/i;function G(e){const t=R(e);if(!t?.closest)return"";const i=F(t);if(!i)return"";const a=i.closest(".qodef-block-container")||i;if(!a?.classList?.length)return"";for(const e of a.classList)if(H.test(e))return e;return""}function U(e=window){const t=[];e&&t.push(e);try{e?.parent&&e.parent!==e&&t.push(e.parent)}catch(e){}try{e?.top&&t.push(e.top)}catch(e){}for(const e of t)try{const t=e?.wp?.data;if(t?.select&&t?.dispatch){if(t.select("core/block-editor"))return t}}catch(e){}return null}function z(e,t,i){for(const a of t){if(!a?.clientId)continue;if(i(a))return a.clientId;const t=e.getBlocks(a.clientId);if(t?.length){const a=z(e,t,i);if(a)return a}}return""}function K(e,t=window){if(!e)return"";const i=U(t);if(!i)return"";const a=i.select("core/block-editor");if(!a?.getBlocks)return"";const n=a.getBlocks(),o=z(a,n,t=>t.attributes?.uniqueClass===e);if(o)return o;const l=e.replace(/^qodef-(?:template-block|widget-block|block)-/i,"");return l?z(a,n,e=>e.clientId.startsWith(l)):""}const W=/^[a-f0-9-]{8,}$/i;function J(e,t=window){const i=R(e);if(!i?.closest)return"";const a=G(i);if(a){const e=K(a,t);if(e)return e}const n=i.closest('.block-editor-block-list__block[id^="block-"]');if(n?.id)return n.id.replace(/^block-/,"");const o=i.closest("[data-block]");if(o?.getAttribute){const e=o.getAttribute("data-block");if(e&&W.test(e))return e}const l=i.closest('.wp-block[id^="block-"]');return l?.id?l.id.replace(/^block-/,""):""}const Y=["qi-blocks/column","qi-blocks/columns"],Q=/^[a-f0-9-]{8,}$/i,Z={ignoreTargetSelector:".block-editor-block-toolbar, .block-list-appender, .components-popover, .block-editor-inserter__toggle, .block-editor-block-contextual-toolbar",contextWindow:window,contentIntentUntil:0,contentIntentClientId:"",layoutIntentUntil:0,layoutIntentClientId:"",init:function(e=document,t=window,i={}){const a=!0===i?.force;Z.contextWindow=t||window;const n=e||document,o=()=>!!n.__qiBlockSelectionBound||!!(a||P(n)||function(){try{return"editor-canvas"===window.frameElement?.getAttribute?.("name")}catch(e){return!1}}())&&(Z.bind(n),!0),l=()=>{o()};if("loading"===n.readyState?n.addEventListener("DOMContentLoaded",l,{once:!0}):l(),n.__qiBlockSelectionObserver)return;const r=n.body||n.documentElement;r&&(n.__qiBlockSelectionObserver=new MutationObserver(l),n.__qiBlockSelectionObserver.observe(r,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["class"]}))},bind:function(e){e&&!e.__qiBlockSelectionBound&&(e.__qiBlockSelectionBound=!0,e.addEventListener("mousedown",Z.handle,!0),e.addEventListener("click",Z.handle,!0),e.addEventListener("focusin",Z.handleFocusIn,!0),Z.watchSelectionIntent())},shouldIgnoreEventTarget:function(e){const t=R(e.target);return!!t?.closest?.(Z.ignoreTargetSelector)},isLayoutBlockName:function(e){return Y.includes(e)},setContentIntent:function(e){Z.contentIntentClientId=e,Z.contentIntentUntil=Date.now()+800,Z.layoutIntentUntil=0,Z.layoutIntentClientId=""},setLayoutIntent:function(e){Z.layoutIntentClientId=e,Z.layoutIntentUntil=Date.now()+800,Z.contentIntentUntil=0,Z.contentIntentClientId=""},focusBlockNode:function(e,t){if(!e||!t)return;const i=t.getElementById("block-"+e)||t.querySelector(`[data-block="${e}"]`);i?.focus&&i.focus({preventScroll:!0})},selectClientId:function(e,t){e&&t&&t.dispatch("core/block-editor").selectBlock(e)},stopEvent:function(e,t){t&&"function"==typeof e.preventDefault&&e.preventDefault(),"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation()},handleFocusIn:function(e){if(Date.now()>Z.layoutIntentUntil)return;const t=Z.layoutIntentClientId;if(!t)return;const i=R(e.target),a=i?.closest?.('[contenteditable="true"]');if(!a||!F(a))return;const n=U(Z.contextWindow);n&&("function"==typeof a.blur&&a.blur(),Z.selectClientId(t,n))},watchSelectionIntent:function(){const e=Z.contextWindow;if(e.__qiLayoutSelectionWatchBound)return;const t=U(e);if(!t?.subscribe)return;e.__qiLayoutSelectionWatchBound=!0,e.document.addEventListener("mousedown",e=>{const i=e.target?.closest?.(".block-editor-list-view-leaf[data-block], [data-block].block-editor-list-view-leaf");if(!i)return;const a=i.getAttribute("data-block"),n=t.select("core/block-editor").getBlock(a);n&&(Z.isLayoutBlockName(n.name)?Z.setLayoutIntent(a):Z.setContentIntent(a))},!0);let i=t.select("core/block-editor").getSelectedBlockClientId();t.subscribe(()=>{const e=t.select("core/block-editor"),a=e.getSelectedBlockClientId();if(a===i)return;i=a;const n=Date.now();if(n<Z.contentIntentUntil&&Z.contentIntentClientId){const n=Z.contentIntentClientId;if(a===n)return;const o=e.getBlockParents?.(n)||[];return void(a&&o.includes(a)&&(Z.selectClientId(n,t),i=n))}if(n<Z.layoutIntentUntil&&Z.layoutIntentClientId){const n=Z.layoutIntentClientId;if(a===n)return;(a&&e.getBlockParents?.(a)||[]).includes(n)&&(Z.selectClientId(n,t),i=n)}})},handle:function(e){if(Z.shouldIgnoreEventTarget(e))return;const t=R(e.target);if(!t||!V(t))return;const i=J(t,Z.contextWindow);if(!i||!Q.test(i))return;const a=U(Z.contextWindow);if(!a)return;const n=a.select("core/block-editor").getSelectedBlockClientId()===i,o=t.closest?.('[contenteditable="true"]');Z.setContentIntent(i),n||(Z.selectClientId(i,a),Z.focusBlockNode(i,t.ownerDocument)),Z.stopEvent(e,!(n&&o))}},X=Z;void 0===window.qiBlocksEditor&&(window.qiBlocksEditor={}),void 0===window.qodefBlocksEmptyCallback&&(window.qodefBlocksEmptyCallback=function(){}),qiBlocksEditor.qodefScroll=w,qiBlocksEditor.qodefWaitForImages=_,qiBlocksEditor.qodefIsInViewport=O,qiBlocksEditor.qodefSwiper=q,qiBlocksEditor.qodefMasonryLayout=I,qiBlocksEditor.qodefLightboxPopup=M,qiBlocksEditor.qodefFollowInfo=B,window.addEventListener("load",function(){let e=0;const t=setInterval(()=>{"undefined"!=typeof wp&&wp.data&&wp.data.select?(clearInterval(t),$.init(),ee.init(),ie.init(),setTimeout(()=>{ee.saveBlocksOptions()},1500)):++e>=20&&(clearInterval(t),console.warn("WordPress editor JS API is not loaded"))},500)}),qiBlocksEditor.qodefGetCurrentBlockElement=D;const $={listenerTriggered:!1,bindEditorCanvasSelection:function(e){const t=e?.contentDocument;t&&X.init(t,window,{force:!0})},watchEditorCanvas:function(e){e&&!e.__qiEditorCanvasWatched&&(e.__qiEditorCanvasWatched=!0,$.bindEditorCanvasSelection(e),e.addEventListener("load",()=>{$.bindEditorCanvasSelection(e)}))},init:function(){X.init(document,window,{force:!0});let e=0;const t=setInterval(()=>{const i=D.getIframe();if(i?.contentDocument){clearInterval(t);const e=D.getPageEditorWrapper();e&&(L.listenerChanges(e),$.listenerChanges(e)),$.watchEditorCanvas(i)}else++e>=40&&clearInterval(t)},500)},listenerChanges:function(e){new MutationObserver(()=>{const e=D.getIframe();setTimeout(()=>{if(!e&&$.listenerTriggered&&($.listenerTriggered=!1),e&&D.isFullSiteEditor()&&"object"==typeof wp&&"object"==typeof wp?.data){const t="function"==typeof wp.data.select("core/editor")?.getDeviceType?wp.data.select("core/editor")?.getDeviceType()?.toLowerCase():wp.data.select("core/edit-site")?.__experimentalGetPreviewDeviceType()?.toLowerCase();"desktop"!==t&&ee.setBodyPreviewScreenClasses(e.contentDocument,t)}e&&!$.listenerTriggered&&(ee.init(e.contentDocument),L.bindLinks(e.contentDocument),$.watchEditorCanvas(e),D.isFullSiteEditor()&&($.listenerTriggered=!0))},400)}).observe(e,{subtree:!0,childList:!0})}},ee={initialScreen:"desktop",initialPageTemplate:"",saveCounter:0,debounceTimeout:null,saveListenersAdded:!1,init:function(e){if("object"==typeof wp&&"object"==typeof wp.data){const t=wp.data,i=new Event("qi_frame_resized");let a=t.select("core")?.isSavingEntityRecord;ee.setBodyPreviewScreenClasses(document,ee.initialScreen),t.subscribe(()=>{setTimeout(()=>{const n=e||D.getCurrentDocument();if(!n?.body)return;const o=t.select("core/edit-post"),l=t.select("core")?.isSavingEntityRecord;let r=!1;if(t?.select("core/edit-site")&&l!==a&&(a=l,r=!!l),ee.setBodyPageTemplateClasses(n,t),te.init(n),r&&ee.saveBlocksOptions(!0),o){const e=t.select("core/editor"),a="function"==typeof e?.getDeviceType?e.getDeviceType()?.toLowerCase():o.__experimentalGetPreviewDeviceType?.()?.toLowerCase();a&&ee.initialScreen!==a&&["tablet","mobile","desktop"].includes(a)&&(ee.setBodyPreviewScreenClasses(document,a),ee.setBodyPreviewScreenClasses(n,a),qiBlocksEditor.qodefSwiper.init(n,a),qiBlocksEditor.qodefMasonryLayout.reLayout(a),qiBlocksEditor.qodefFollowInfo.init(),["tablet","mobile"].includes(a)&&n.body.dispatchEvent(i),ee.initialScreen=a)}},600)})}},setBodyPreviewScreenClasses:function(e,t){e&&(e.body.classList.remove("qi-preview-screen-tablet","qi-preview-screen-mobile","qi-preview-screen-desktop"),e.body.classList.add("qi-preview-screen-"+t))},setBodyPageTemplateClasses:function(e,t){const i=ee.initialPageTemplate,a=t.select("core/editor")?.getEditedPostAttribute("template");if(a&&i!==a){const t=e=>"qi-page-template--"+e.replace(".php","");i&&e.body.classList.remove(t(i)),e.body.classList.add(t(a)),ee.initialPageTemplate=a}},saveBlocksOptions:function(e=!1){const t=()=>{const e=qiBlocksEditor.vars?.currentPageID,t=qiBlocksEditor.vars?.currentPageStyles;e&&t&&t.length&&d()({method:"POST",path:"/qi-blocks/v1/update-styles",data:{page_id:e,options:t}}).then(e=>{console.log("Styles saved:",e.message)}).catch(e=>{console.error("Error saving styles:",e)})},i=()=>{clearTimeout(ee.debounceTimeout),ee.debounceTimeout=setTimeout(t,800)};if(!this.saveListenersAdded){if(this.saveListenersAdded=!0,document.addEventListener("click",e=>{const t=e.target,a=[".editor-post-publish-button__button",'.edit-widgets-header__actions > button[type="button"].components-button',".edit-site-save-button__button",".editor-post-save-draft",".editor-post-saved-state",'button[aria-label*="Save"]',"#customize-save-button-wrapper .save"];for(const e of a)if(t.closest(e)){i();break}}),"object"==typeof wp&&wp.data?.subscribe){let e=wp.data.select("core/edit-post")?.isSavingEntityRecord?.()||!1,t=wp.data.select("core/edit-site")?.isSavingEntityRecord?.()||!1;wp.data.subscribe(()=>{const a=wp.data.select("core/edit-post")?.isSavingEntityRecord?.()||!1,n=wp.data.select("core/edit-site")?.isSavingEntityRecord?.()||!1,o=wp.data.select("core/editor")?.isAutosavingPost?.()||!1;(a&&a!==e||n&&n!==t)&&(o||(e=a,t=n,i()))})}if(window.parent&&window.parent.wp&&window.parent.wp.customize){let e;window.parent.wp.customize.bind("change",t=>{"string"==typeof t.id&&t.id.startsWith("widget_block")&&(clearTimeout(e),e=setTimeout(()=>{const e=qiBlocksEditor.vars?.currentPageStyles;if(!e?.length)return;const t=ee.buildCSSFromPageStyles(e),i=D.getCurrentDocument();ee.injectInlineCSS(t,i)},400))})}}e&&i()},buildCSSFromPageStyles:function(e){if(!Array.isArray(e))return"";let t="";return e.forEach(e=>{e.values.forEach(e=>{e.styles&&(t+=`${e.selector}{${e.styles}}`),e.tablet_styles&&(t+=`\n\t\t\t\t\t\t\t@media (max-width: 1024px) {\n\t\t\t\t\t\t\t\t${e.selector}{${e.tablet_styles}}\n\t\t\t\t\t\t\t}`),e.mobile_styles&&(t+=`\n\t\t\t\t\t\t\t@media (max-width: 680px) {\n\t\t\t\t\t\t\t\t${e.selector}{${e.mobile_styles}}\n\t\t\t\t\t\t\t}`),Array.isArray(e.custom_styles)&&e.custom_styles.forEach(e=>{t+=e})})}),t},injectInlineCSS:function(e,t){if(!e||!t)return;let i=t.getElementById("qi-blocks-main-inline-css");i||(i=t.createElement("style"),i.id="qi-blocks-main-inline-css",t.head.appendChild(i)),i.textContent=e}};qiBlocksEditor.qodefSetGutenbergEditorData=ee;const te={init:function(e,t=""){const i=e||D.getCurrentDocument(),a=i.querySelectorAll(".qodef-block-container"+t||0),n=i.querySelectorAll(".qodef-block-container"+t);a.length&&a.forEach(e=>{te.setWidthStyles(i,e)}),n.length&&n.forEach(e=>{te.setPositionStyles(e)})},setWidthStyles:function(e,t){let i=t.classList.contains("qodef-width--inline")||t.classList.contains("qodef-width--custom"),a="100%",n=a,o="block";e.body.classList.contains("qi-preview-screen-tablet")?t.classList.contains("qodef-width--tablet--inline")||t.classList.contains("qodef-width--tablet--custom")?i=!0:t.classList.contains("qodef-width--tablet--full-width")&&(i=!1):e.body.classList.contains("qi-preview-screen-mobile")&&(t.classList.contains("qodef-width--mobile--inline")||t.classList.contains("qodef-width--mobile--custom")?i=!0:t.classList.contains("qodef-width--mobile--full-width")&&(i=!1)),i&&(a="auto",n="100%",o="inline-flex",["","tablet","mobile"].forEach(i=>{t.getAttribute("data-width"+(i?"-"+i:""))&&e.body.classList.contains("qi-preview-screen-"+(i||"desktop"))&&(t.style.width="100%",a=t.getAttribute("data-width"+(i?"-"+i:"")),n=t.getAttribute("data-width"+(i?"-"+i:"")))})),t.parentElement&&(t.parentElement.classList.contains("qodef-gutenberg-column-inner")||(t.parentElement.style.setProperty("display",o),t.parentElement.style.setProperty("width",a,"important"),t.parentElement.style.setProperty("max-width",n,"important"),t.parentElement.style.setProperty("justify-content","inherit")))},setPositionStyles:function(e){"absolute"===(e.style.getPropertyValue("position")||"")&&e.parentElement&&!e.parentElement.classList.contains("qodef-gutenberg-column-inner")&&e.parentElement.style.setProperty("position","static")}};qiBlocksEditor.qodefSetBlockStyles=te,qiBlocksEditor.qodefSetEditorLinkBehavior=L;const ie={init:function(){const e=setInterval(()=>{document.querySelector(".block-editor-block-list__layout.is-root-container")&&(clearInterval(e),ie.triggerAnimation())},500)},triggerAnimation:function(e,t){const i=D.getCurrentDocument().querySelectorAll(".qodef-entrance-animation--on"+(e?"."+e:""));i&&i.forEach(e=>{const i=e.getAttribute("data-animation"),a=e.getAttribute("data-current-animation");e.classList.contains("qodef-animation--appeared")?a&&i!==a?(e.classList.remove("animate__"+a),e.classList.add("animate__"+i),e.setAttribute("data-current-animation",i)):t&&(e.classList.remove("animate__"+i),setTimeout(()=>{e.classList.add("animate__"+i)},300)):(e.classList.add("qodef-animation--appeared"),e.classList.add("animate__"+i),e.setAttribute("data-current-animation",i))})}};qiBlocksEditor.qodefTriggerBlockAnimation=ie;const ae=wp.plugins,ne=wp.editor;var oe,le,re=i(6540);function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},se.apply(null,arguments)}const ue=e=>re.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",xmlSpace:"preserve",width:36,height:36},e),oe||(oe=re.createElement("path",{fill:"#EE2A53",d:"M36 34.977A1.03 1.03 0 0 1 34.964 36H1.036A1.03 1.03 0 0 1 0 34.977V1.025A1.03 1.03 0 0 1 1.036 0h33.928C35.535 0 36 .459 36 1.025z"})),le||(le=re.createElement("image",{xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALcAAACwCAYAAABNa/8nAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ bWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6 eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2 NDQ2MCwgMjAyMC8wNS8xMi0xNjowNDoxNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEu MC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVz b3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1N Ok9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozNmMyODM0OC1jN2Y0LTBjNDctYjUwOS1hZTQ4 MmFlODlmNTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDg0M0U3QzZGN0E5MTFFQzlCNURE NDkyODgxRDc2RDciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDg0M0U3QzVGN0E5MTFFQzlC NURENDkyODgxRDc2RDciIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkg KFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6 OTBiNDIyODQtNDZlOC1iMjQxLWE4ZmEtMjgxYTU2ZDgyMjE5IiBzdFJlZjpkb2N1bWVudElEPSJh ZG9iZTpkb2NpZDpwaG90b3Nob3A6MTU4YTJhYzUtYmVkYy0xMzQ4LWFjNWQtMGE1OGFhZWM3ODdl Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQg ZW5kPSJyIj8+atExJQAAE1BJREFUeNrsnQu4TlUax9d3HJSSRMIQIykOlc5JSVOkmymX7sLoqAZN TSlNRY0w002iJt10c6tUMlJJpdsTEiflrhKjpBQScVzSmf//2es8zxnj8n3725d37bXe53mfdR6+ vfe71v7td79r7bXelcrPz1e2SFFRUUMUx0EbQ4+E/h5aA1obeiB0PLRPXl7emsWLF+/2HCUlJVVQ 3AvtBd0CXQ39EboC+oXWT1mmUqnfkt6maA+xtuUmGORyKI6HtoW2hraAVt3Dz7dBCwsKCkbv67wA 9mcUvXFTX0c5DtpQa8tdfvoLfjMH5QfQd6Czcex25SQySSXJcwPoSijOgXaEtt8LzGVlPX8LsGeW /kNxcbHak+fexWvxDfA29HdpXGcT9A3oK9DX9UPiPLfz3HsFOkd7527QC6EHZHD4WujpAHuBL8+Q Si3BzT0Zf74HbbCPn1eGXqJ1G46bjHIsdCrOs8P5WQd3Wairo7iSIQK0vo9TbMwG7DKAfw1Qz9bh R+00D6sIvVjr9zh+JMqRONe3DsngJMdAqBtBn8CfBOEen2DTU56fLdhlAF+G4lwdemQqNaEDoCsB +fPQ4xyWlsENoJtCX8KfS6FXQStkcbobAfa7gXZeUqnP2CnN4hTsAHfmSAsAnwo9yeGZcLg5fAd9 Fn/Oh15EjrI85bMAe0QovfNUaiKK+wI4FcOcjwD4K86TJxBuAH0wdDj+XALtEgDUlIXKG58OU/rp +DsI6QCdC8Cfgh7mcDUcbgCdgvbEn19C+wTY6eUY82Xw2pvDtB/eeyeK7j7j792eEnoF2wOA3wzN ddgaCDeg5rjxh9DHodUDPv1ggL0winpwBAXFdQGflkOJ/DL6CQA/waFrCNyAOhfKEQN2ylqFcIlP NBiRCQAfhWJKCKc+BjoLgA+H7ucQFgw3oOYcj+nQQVmOgOxJGCb0gNf+NYbqMb7fHNJ966O9eHOH sUC4AXah8iYZnRjiZR4Najzbh/deheLOEC/RBDobgN8ETTmcBcANqPeH8rX9jMrsc3mmws/rA2Ju 42HQr0I8PzuYHH6cBMCrOqRjhBtQc5rpbOjlEVzudnjtn+JsYHhvzji8IYJLlQ4bHuuwjgFugN0a BaeBNo3gchwff0JCIwPwV5U3uSpsqQ+dAcA7ObQjhBtgc5LTW9BqEV3yNnhtSYsF+kd0HYZ5/wbg /Rzc0YDNuPdJaPmI6sUhxUmSGhreexaKqRFe8i4APgJazla4c0OGmg37EPTqiOvFWFviLHp673Mi vN410MMAeFcbVwHlhAz2mBjAngOwX5fY2ACMw56TI74sJ5tNAOCVHNzBgt0lhjrdJ7zNh8RwTS65 e802wHMSBvZ/oBMlNzi89wwUH8dw6TbQVwF4BQe3f3k4JrApwxGS7DSg3e+P6bqnQ8fb0skMFG54 bX5q7hVTXTZAnzak3Sfqt0wccj70SRs+1+cECHZvFd1Y7u7kaXjtX0xodD3ne0SMJhRCBzq40wP7 rJhvFuVJw9qe/ZI4UzoMgPfu5uDeO9hcYMCFu3HGcdPhtZeY1PDw3kzBFveHpqd03hUH927AZn69 l6EHxX2TDG3/uN82HDmZkNT1mdl6bnbgGsdcBybXedHQ9p8WY8eyVGqphI6g+IYbXvta5WVMilsm ICTZYmLj6yyw4wSY0hr6Twe3BzZXgAwVUofnDL8HLwixgyvrT7UaboDNPHdMklNRgP3slL1v8g2A 9+aK/IVCWBgDwA+yFm7lLduSkgVpoiFfJPclUvoM9aAPWgk3vHYzvr4E2f9SQu6DpHoUwnu3tQpu nQebQ1dSMh6tUdEs3YoiNFkqJDQplceTkBMlE8/Nz+stBNk+VdgysmzlNUG2HAG93Qq4mZQSxWBh tr+hkiXS6tMX3rueDZ6bnchqguymx34rYXBzTx5J++QwLLkn0XDDa/MVda0wuz+KOx9JCHE3071N E2ZWZ3jvFomFG/J3Fd2q9bTjbZVMmSLQpsGJhFtvSipxWuS0hMItsV5nm7qFyb48N3vM0ibUFCsv JXHiROf1/kagaQMTBTe8dh0UXQXa/DHi7STv2zhdqPdunhi4dScy1938yOVDoXb1SQTcepvpns6z ufqVkcvgvWsmwXMzNYPEXM8c356ZcLgXKW8lvzQpL9jhZQT3FULtXYJ4e1OSydYLGOYINe9yk1JC 5OwmJGmEoqVQez9Tdsh8oXY1gJ5msucudDfdPcR7kUKT4b7U3fTYZZ5g285HaFLeOLj1YoQG7qbH LpzfLTWfNpehtTUObsgFgm1dg87kGhvIRqeSH6kWCzaxk4lwSzZ6kbJLFgq2rYNRcCMkOQSF5G3e llsGt+T61kLcnWeS52bu5pS72a6+aUobk+BuLdzWrxzcoqStSXCf6m62q28GcooRcHMvdhRN3M0W Jauh2wTbVx1x9+EmeG52JCVn+dxYUFCw3iayU6kU99FcIdzMAhPgzhfeiN8rO0X6uH6+CXBLD0nW Wgr3D8Lta2IC3I2EN+KPlsK9Trh9DU2Au6HwRvzBUrjXGgC32G8jOUVFRdwX5XDhjbjOUrilx9zM SlVHsueuoULaA96FJVb0NWpLhruWAQ243lK4Taj3oZLhrm5AA+6wFO7tBthY08GdnWy2FG4THurq kuE+RDlxD7V/2V8y3CYs1d9gKdwlBthYRTLcBzoHKVZ+dk2QHdy5Bti52d0qsVJZMtyuY+UkkQzl GAKOC51c6OQLbhNe+bmWglPJPTvZwV3imkGsVDDAxmLJcJswKamK41ys/CQZbhMm59j6ejbhoV7v 4HZw+5GDDbBxnWS4vzOgAatZCrcJ9V4tGW6uctkpvAFtnf9S1QAbV4qFW297t1J4A9rquaU/1GRH 7Gqh0q9LXwpvxMNcWCJSyE2Jgzs7qWUp3HWF27dUsnGlcEvPfV3HUril13uRCXBL30u9hl6lb5tI z0owzwS4uUvYr8LtbGAT1SUlJQco+ePcc8TDXVBQwGyiC4Q35JGWee16wu1bk0qlvjbBc1Ok76ne 0DK4jxJun3Re/gfudx3couRo4fa9bxLcH0B/E2xrIwe3g9sX3Ii7OXVR8qiJ89xyZBXi7YXGwK1l smBb6xcVFVkxr7ukpITpNhoLNvFVE9pxV7gnCrc3X9khfEtVFmzfZOPgRmjCLZm/cHC7eu5FGL6+ a0Ij7m7h7YvQ291Nd/Xcg0xAvL3PBJ34zd7CLk7lbaW8bxdV9ANDpzoDx20ME+5RDu7Ypblg257P oi9xDIoB0I57YG87fjMB5WBA/nnQMTdDE+7U+6HUWDTpnUrcXN6TE4SaRzbe99NBhg7En3OhF6o9 p+rg/KEu0AX4fd/A4dbyjOD73zLhXpve7SChto3U+2NmBDaKp6B3qPT3Oi0PHYpjHwgD7vFK7sLh 1gmH+w9C7dqhQ9ZMpT+0h89rXg/ArwkUboQmTLTymIPbwV1GnoXXzmhXOYB5lPbY2cgQnKdOYHBr eUTJzCNYgLg7ybkDTxVq1zAfx9yiQ4xshGk9+gYKN7w3Uz48LbCRGbedktDOZFMlc73om/DaCzKs CzuHlwR0/S66ox2Y56bcJdR7t0mo1z5bqF0DfRzDYdsDAro+t5M8OlC44b2/Fuq92yUUbon1otee 5eO4IwK2o0GgcJfx3tuENXgzxN31ExaSVBIYbnHYr5/PY4NOO50bONzaew8XyEOHhHntM6AVhdnE EZJPfR77S8C2bA4cbi13Ky/tmiRpnzC4Owqzh8PB/bM4Pui0D4tCgRvem5NZbhPW+K2T8ikeIQlH gDoJM+tOeO1v/B6MY5eo4NL0zcf5VocCtxZ+QpW0KDQ3QR3L1kpWXkDO0BsawHlGBmTPE34OShtu eG92LnoqWfuRd0kI3BcIs6c3PGUQgwgPQb/N8hxfhg63BpyvmrsE3YR2CE2MTm+MkIRf8C4WZNIj APu9IE6E82xC0V35/1bCuL+b3wfNzx6Cdyo5mYYYmlyizJazoIcKsWWF8j6ZByYAk6t2uvoAnGBf hONn+712xnDDezPtWjfoFiE3pJvhcP9JiB07tZcMegiPgL+kvJU3S9I85DPoiThuSjbX9bX7KwBn h6OPkJvSCqFJPROpRkjCedtShgAHAaaZYZ0c5+bb/hj9ME9T//9hkJ56qn4T52c6lyUwuDXgDPLH CLkxVxrqtfm63k+AHW9F0ZcCsL9Cx0HPVN6u0PykziV19aGV8e/t6OWhgSSHynbf7quVjASaV8F7 lzcQ7l4CbOBYdlcAFem+SBr0FdDPoCvDuH5WcMN7M+7mMFbcexFy5wWjPscjJGmB4tiYzWAo0Alg rVUJlGw9NwFfpgGPe2rsXwxr+94CbOgOsOeqhEpOECcB4Eyi+eeY63I6QhMjkmXCa3Po77KYzegP sCeoBEtOUCcC4KOVl5MiTrnBkHa/OuaO5EMA+26VcMkJ8mQA/B8oHoixPoXw3jWEe21CfU2MJjxn kBPISnJDOOeNytvLpTCG+hCc65W8GYxlhR+d4noAmZ21RxQjI7rDHOTcnxGwe1kmB6Ty84PPUAbv ySmcj8YUh2+A1sVbxPeXtuLiYrV48eIwbjidCfduPCImsC9KJ89fhnXa41tUBZvcqQ1sfz+2sKRM eELPwDHcOHKf8K3RU7DXjgPsSWGAbVXMvQvgfKQ5PBfHErX+0nKb6NQEt8Rw6TE2gh0q3KWAQxmD 9424XtV07C9JOKci6q1A7mN4EPXXRyvgLgP5MN25iHIV/Y1S5nrDa3Ph7+AIL8m5GX8F1DdnmrjS we0PcOZ1bg39PqJLVokpDNidMDyLaqtrrnc9F1CPUJZLTpQXA+BM7sLc00URXfJ6eO9Yt9WG1+bb I6pk/pwv3QJgT1VOooVbA75KeclnHo7gcgwHhsXcxvywFUV49KIG+3OHdUxwa8C3Qa/Fn531azRM 6QjvHUsOPr1NRtjTWrfyGoD60jBW0Ti4/UP+Aopmytu9OEx5EIBXjBhs7ijANNDlQrwMZ/Rx1cpI h7IwuDXgTNd2OvQm5c0vDkOOUtFvYsUpra1COjfXsQ6CngSwFzuMhcKtAf8Nej/+ZH7qaSFd5lZ4 7+Mi8trcCeDekE7PTvnxgHogdIdDWDjcZSBfDuX6On7wWB3w6TmvY1TYy9F0OMK0z0HvALxOeVNl WwWxeNbBHR/k41Bw4cFdusMUlByrRy/CFM5KPDPA89E7c8z6SED9WFCLZx3c8QK+GXqbjpe50j6o T8i3wHuHkmMQXpthzz1BnU55u8o1AdD82viTwzUhcJftcEI5y4/zMkbrzlS2MhaA1wkYbG75/LLK Psc2oeYoUlMAfVmmc5idGAR3GciXQQuVN2X0X8pHMvIywolVEwF4pQBN5NzlbL6GbtVvqMYAurMb BbEI7l08OePa2tDrVPopunYVTgN4Vi+syNZrMymQ38xRpfn56gLonu4Lo8Vwl4F8I5QpcvOUN57M hRGZxqVM+D4sS7CrK29qaaadxFHK25WtIYAektTcIXFKrukV0IsimONuJrzw9RoYQttBe/d9yXU4 jiHBrfpcmQo/DlXN8JjVgLmHw8957kxA3w59E8rxYHYYm+nQhcus9jZufjPjXUBeIUOvzYW+vRxG znPH4dEXamX4woXLNZW3+SfH0DnEWF95O/YyHRsTwDfGb7rl5eWtSPMyjLX3cxg5uCUAz4USr2sN Qrr7PK5eyV6WjYcgP0PX6s43H3bunDAdodGWJN/vHPd8++5I0vMfbYi5XJXEIdTz2LeAvknYUYfn oG0d3E52lTMMt39/5eUrnAbA50D/6OB2UiqtElSXAoZqAHwytK6D20njBNaJuzLPA+DtHdx2S/2E 1otj9vTgf3Nw2ysHJ7x+QwD43Q5uy0TvQmaD3Iq69nVw2yWbLKrrUADezsFtiegUZVssqvJYAF7b wW2PrLKorpz//oCD2x5Zall9L4b3buPgtkM+tbDOdzi47ZB3LKzzafDeJzm4ky9MjrPewnpf7uBO uOhsT+MtrPql8N7lHNzJFxsTUPLz/PFp/G67g9ts7z1PeVvg2SbpjJqscnCbL39XwWXDMkWapPGb RXEbmevYzN57IwblGs0+FlW7URrtsg7twjfbsQFdk/NcCh3c0QvTO5yVpkdLglRP83cvBgh3Jrtj MM97TxeWBOO9mdrtEhX+FihSJN0NbJlibmvEti1XXlL+cQ7u4ABnjHmB8rJJJb66abbJdygejdAu ZjUowHXnuw5l8IC/owEvTnhVM0lCOhD6bcj2lOjrtC+b6tnBHTzgrykv+fyPCa7mdxm0B0O1ziG+ 0TZAz8N1Bu26W7KDOxzAZ6BgIvoPElrF5Rm2x3TlbQUT9K4QDD+4m9uU3f2ngzs8wJmbkB87mDh/ XcKqN9dHe7ygQ7bNAdkwFtoS593jg+bgDhfwEigTyjeE9lNeSrMkyEyf7fGK8j7dz8ri2oypC3Gu 7vtKB+fgjgbyDVDulcOlWucrb/zXVNAZb3+SRVt8geJk5WW7WpAh1Nz+kBtfjU7nAPcRJ1rI2ali OuVJeku/PK384selXCaki/g42x3VdMePMyrHox2aozyXIQbBhdbQP9uqY3suCnkbOhXHZTRm/l8B BgBriGa3ErmoBgAAAABJRU5ErkJggg==",width:183,height:176,overflow:"visible",transform:"translate(4.604 4.61)scale(.1464)"})));var ce=i(4383),fe=i.n(ce),me=i(179),ye=i.n(me),de=i(3222),pe=i.n(de),ge=i(1331),be=i.n(ge),he=i(9647),Se=i.n(he),ve=i(5364),we=i.n(ve),ke=i(912),Ce=i.n(ke);const _e=wp.element;var Oe=i(6942),Pe=i.n(Oe);const xe=e=>{const{unitType:t,unitValue:i,onChangeUnit:a}=e;if(e.units[t])return wp.element.createElement("ul",{className:"qodef-unit-control"},Object.entries(e.units[t]).map(([e,t],n)=>wp.element.createElement("li",{key:n},wp.element.createElement("a",{className:Pe()("qodef-unit",{"qodef--selected":("p"===e?"%":e)===i}),onClick:a,"data-unit":"p"===e?"%":e},t))))};xe.defaultProps={units:{typography:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),rem:(0,e.__)("rem","qi-blocks"),vw:(0,e.__)("vw","qi-blocks")},measure:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vw:(0,e.__)("vw","qi-blocks"),vh:(0,e.__)("vh","qi-blocks")},space:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks"),em:(0,e.__)("em","qi-blocks")},height:{px:(0,e.__)("px","qi-blocks"),vw:(0,e.__)("vw","qi-blocks"),vh:(0,e.__)("vh","qi-blocks")},xPosition:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vw:(0,e.__)("vw","qi-blocks")},yPosition:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vh:(0,e.__)("vh","qi-blocks")},pxAndPercent:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks")},pxAndEm:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks")},pxEmVw:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),vw:(0,e.__)("vw","qi-blocks")},pxPercentVh:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vh:(0,e.__)("vh","qi-blocks")},pxPercentVw:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vw:(0,e.__)("vw","qi-blocks")},pxEmRem:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),rem:(0,e.__)("rem","qi-blocks")}},unitValue:"",onChangeUnit:()=>{}};const qe=xe,Ae=qiBlocksEditor.vars.defaultFontSize,Ie=qiBlocksEditor.vars.defaultLineHeight,Ee=e=>{const{convertorType:t,value:i,attributeKey:a}=e;let n=1;a.includes("FontSize")||a.includes("fontSize")?n=Ae:(a.includes("LineHeight")||a.includes("lineHeight"))&&(n=Ie);const o=e=>Math.round(parseInt(e,10)/n*100)/100,l=e=>Math.round(parseInt(e,10)/n*100)/100,r=e=>Math.round(parseFloat(e)/n*100),s=e=>Math.round(100*parseInt(e,10)/window.innerWidth),u=e=>Math.round(100*parseInt(e,10)/window.innerHeight),c=e=>Math.round(parseFloat(e)*n),f=e=>Math.round(parseFloat(e)*n/100),m=e=>Math.round(window.innerWidth*parseInt(e,10)/100),y=e=>Math.round(window.innerHeight*parseInt(e,10)/100);let d="";if(""!==i&&""!==a&&""!==t)switch(t){case"pxToEm":d=o(i);break;case"pxToRem":d=l(i);break;case"pxToP":d=r(i);break;case"pxToVw":d=s(i);break;case"pxToVh":d=u(i);break;case"emToPx":d=c(i);break;case"emToRem":case"remToRem":case"vwToVh":case"vhToVw":d=i;break;case"emToP":case"remToP":d=(e=>100*parseFloat(e))(i);break;case"emToVw":case"remToVw":d=(e=>s(c(e)))(i);break;case"emToVh":case"remToVh":d=(e=>u(c(e)))(i);break;case"remToPx":d=(e=>Math.round(parseFloat(e)*n))(i);break;case"pToPx":d=f(i);break;case"pToEm":case"pToRem":d=(e=>parseFloat(e)/100)(i);break;case"pToVw":d=(e=>s(f(e)))(i);break;case"pToVh":d=(e=>u(f(e)))(i);break;case"vwToPx":d=m(i);break;case"vwToEm":d=(e=>o(m(e)))(i);break;case"vwToRem":d=(e=>l(m(e)))(i);break;case"vwToP":d=(e=>r(m(e)))(i);break;case"vhToPx":d=y(i);break;case"vhToEm":d=(e=>o(y(e)))(i);break;case"vhToRem":d=(e=>l(y(e)))(i);break;case"vhToP":d=(e=>r(y(e)))(i)}return d};Ee.defaultProps={convertorType:"pxToEm"};const Me=Ee,Te=wp.hooks;var Be;function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},Ne.apply(null,arguments)}const De=e=>re.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24"},e),Be||(Be=re.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7zM4 6v8h16V6z"})));var je;function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},Le.apply(null,arguments)}const Re=e=>re.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24"},e),je||(je=re.createElement("path",{d:"M6 4v15h12V4zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2"})));var Fe;function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},Ve.apply(null,arguments)}const He=e=>re.createElement("svg",Ve({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24"},e),Fe||(Fe=re.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2m0 2v15h8V4z"}))),Ge="desktop",Ue={desktop:{label:(0,e.__)("Desktop","qi-blocks"),icon:wp.element.createElement(De,null)},tablet:{label:(0,e.__)("Tablet","qi-blocks"),icon:wp.element.createElement(Re,null)},mobile:{label:(0,e.__)("Mobile","qi-blocks"),icon:wp.element.createElement(He,null)}};let ze=Ge;const Ke=()=>ze;var We=i(4058),Je=i.n(We);wp.blocks;const Ye=e=>{const t={...e},{blockAttributeKey:i,blockAttributes:a,setAttributes:o,repeater:l,repeaterItemIndex:r,repeaterItemKey:s,repeaterSetAttributes:u,repeaterGetAttributes:c}=t;return t.getAttributeValue=()=>{let e=a[i];return l&&(e=c(s,r)),e||!1},t.setAttributeValue=e=>{l?u(s,e,r):o({[i]:e})},wp.element.createElement("div",{className:"components-base-control qodef-on-off-option"},wp.element.createElement(n.ToggleControl,{label:t.label,help:t.help,checked:t.getAttributeValue(),onChange:()=>t.setAttributeValue(!t.getAttributeValue())}))};Ye.defaultProps={label:(0,e.__)("Show","qi-blocks"),help:"",blockAttributeKey:"",blockAttributes:{},setAttributes:()=>{},repeater:!1,repeaterItemIndex:0,repeaterItemKey:"",repeaterSetAttributes:()=>{},repeaterGetAttributes:()=>{}};(0,e.__)("Hide On Desktop","qi-blocks"),(0,e.__)("Hide On Tablet","qi-blocks"),(0,e.__)("Hide On Mobile","qi-blocks");(0,e.__)("Visibility","qi-blocks"),(0,e.__)("Responsive visibility will take effect only on preview or live page, and not while editing in Gutenberg.","qi-blocks");const Qe=()=>({hideOnDesktop:{type:"boolean",default:!1},hideOnTablet:{type:"boolean",default:!1},hideOnMobile:{type:"boolean",default:!1}}),Ze=e=>{const{attrNameTemplate:t,attrName:i}=e,a=e=>yt(t,i,e),n=!vt(e,"all")||(e.allowUnitControl??!0),o=vt(e,"all")&&e.disableDirections||[];let l={};return["Top","Right","Bottom","Left"].map(e=>{o.includes(e)||(l[a(e)]={type:"number",default:""},l[a(e+"Tablet")]={type:"number",default:""},l[a(e+"Mobile")]={type:"number",default:""},n&&(l[a(`${e}Decimal`)]={type:"number",default:""},l[a(`${e}DecimalTablet`)]={type:"number",default:""},l[a(`${e}DecimalMobile`)]={type:"number",default:""}))}),l[a("Unit")]={type:"string",default:"px"},l[a("UnitTablet")]={type:"string",default:"px"},l[a("UnitMobile")]={type:"string",default:"px"},l};Ze.defaultProps={attrNameTemplate:"",attrName:"",allowUnitControl:!0};const Xe=Ze,$e=e=>{const{blockAttributeKey:t}=e,i=!!vt(e,"all")&&(e.allowScreens??!1),a=!vt(e,"all")||(e.allowUnits??!0),n=vt(e,"all")&&e.optionType||"integer",o=vt(e,"all")&&e.defaultValue||"",l="decimal"===n?o:"";let r={};return"integer"===n&&(r[t]={type:"number",default:o}),r[yt(t,"Unit")]={type:"string",default:"px"},(a||"decimal"===n)&&(r[yt(t,"Decimal")]={type:"number",default:l}),i&&(r[yt(t,"Tablet")]={type:"number",default:""},r[yt(t,"Mobile")]={type:"number",default:""},r[yt(t,"UnitTablet")]={type:"string",default:"px"},r[yt(t,"UnitMobile")]={type:"string",default:"px"},a&&(r[yt(t,"DecimalTablet")]={type:"number",default:""},r[yt(t,"DecimalMobile")]={type:"number",default:""})),r};$e.defaultProps={allowScreens:!1,allowUnits:!0};const et=$e,tt=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=vt(e,"all")&&e.attrName||"Background",a=e=>yt(t,i+e),n=et({blockAttributeKey:a("XPosition"),allowScreens:!0}),o=et({blockAttributeKey:a("YPosition"),allowScreens:!0}),l=et({blockAttributeKey:a("SizeWidth"),allowScreens:!0});return{[a("Image")]:{type:"object",default:{id:null,url:"",alt:"",caption:""}},[a("ImageTablet")]:{type:"object",default:{id:null,url:"",alt:"",caption:""}},[a("ImageMobile")]:{type:"object",default:{id:null,url:"",alt:"",caption:""}},[a("Position")]:{type:"string",default:""},[a("PositionTablet")]:{type:"string",default:""},[a("PositionMobile")]:{type:"string",default:""},...n,...o,[a("Attachment")]:{type:"string",default:""},[a("Repeat")]:{type:"string",default:""},[a("RepeatTablet")]:{type:"string",default:""},[a("RepeatMobile")]:{type:"string",default:""},[a("Size")]:{type:"string",default:""},[a("SizeTablet")]:{type:"string",default:""},[a("SizeMobile")]:{type:"string",default:""},...l}};tt.defaultProps={attrNameTemplate:"",attrName:"Background"};const it=tt,at=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=e=>yt(t,e),a=!!vt(e,"all")&&(e.includeVideoBG??!1),n=it({attrNameTemplate:t});let o={[i("BackgroundType")]:{type:"string",default:""},[i("BackgroundColor")]:{type:"string",default:""},...n,[i("BackgroundGradientColor1")]:{type:"string",default:""},[i("BackgroundGradientLocation1")]:{type:"number",default:""},[i("BackgroundGradientColor2")]:{type:"string",default:""},[i("BackgroundGradientLocation2")]:{type:"number",default:""},[i("BackgroundGradientType")]:{type:"string",default:"linear"},[i("BackgroundGradientTypeAngle")]:{type:"number",default:""},[i("BackgroundGradientTypePosition")]:{type:"string",default:"center center"}};if(a){const e={[i("BackgroundVideoLink")]:{type:"object",default:{id:null,url:"",alt:""}},[i("BackgroundVideoStartTime")]:{type:"number",default:""},[i("BackgroundVideoEndTime")]:{type:"number",default:""},[i("BackgroundVideoStartTime")]:{type:"number",default:""},[i("BackgroundVideoPlayOnce")]:{type:"boolean",default:!1},[i("BackgroundVideoPlayOnMobile")]:{type:"boolean",default:!1},[i("BackgroundVideoFallbackImage")]:{type:"object",default:{id:null,url:"",alt:""}}};o={...o,...e}}return o};at.defaultProps={attrNameTemplate:"",includeVideoBG:!1};const nt=at,ot=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=vt(e,"all")&&e.attrName||"",a=vt(e,"all")&&e.defaultValue||"",n=e=>yt(t,i+e);return{[n("")]:{type:"string",default:a},[n("Tablet")]:{type:"string",default:""},[n("Mobile")]:{type:"string",default:""}}};ot.defaultProps={attrNameTemplate:"",attrName:"",defaultValue:""};const lt=ot,rt=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=vt(e,"all")&&e.disableWidthDirections||[],a=!vt(e,"all")||(e.allowBorderColor??!0),n=!vt(e,"all")||(e.allowBorderRadius??!0),o=e=>yt(t,e),l=Xe({attrNameTemplate:t,attrName:"BorderWidth",disableDirections:i,allowUnitControl:!1}),r=a?{[o("BorderColor")]:{type:"string",default:""}}:{},s=n?Xe({attrNameTemplate:t,attrName:"BorderRadius"}):{};return{[o("BorderStyle")]:{type:"string",default:""},...r,...l,...s}};rt.defaultProps={attrNameTemplate:"",allowBorderColor:!0,allowBorderRadius:!0};const st=rt,ut=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=e=>yt(t,e);return{[i("BoxShadowColor")]:{type:"string",default:""},[i("BoxShadowHorizontal")]:{type:"number",default:""},[i("BoxShadowVertical")]:{type:"number",default:""},[i("BoxShadowBlur")]:{type:"number",default:""},[i("BoxShadowSpread")]:{type:"number",default:""},[i("BoxShadowPosition")]:{type:"string",default:""}}};ut.defaultProps={attrNameTemplate:""};const ct=ut,ft=e=>{const t=vt(e,"all")&&e.excludePanels||[],i=vt(e,"all")&&e.includePanels||[];let a=i&&i.length?i:mt();const n=e=>yt("",e);t&&t.length&&t.forEach(e=>{a.splice(a.indexOf(e),1)});let o={};const l=Qe();if(a.includes("advanced")){const e=Xe({attrName:n("Margin")}),t=Xe({attrName:n("Padding")});o={...o,...e,...t,[n("zIndex")]:{type:"number",default:""},[n("cssId")]:{type:"string",default:""},[n("cssClasses")]:{type:"string",default:""}}}if(a.includes("motion-effects")&&(o={...o,[n("EntranceAnimation")]:{type:"string",default:""},[n("EntranceAnimationDuration")]:{type:"string",default:"normal"},[n("EntranceAnimationDelay")]:{type:"number",default:""}}),a.includes("background")){const e=nt({attrNameTemplate:"Advanced"});o={...o,...e}}if(a.includes("border")){const e=st({attrNameTemplate:"Advanced"}),t=ct({attrNameTemplate:"Advanced"});o={...o,...e,...t}}if(a.includes("positioning")){const e=lt({attrName:n("BlockWidth")}),t=et({blockAttributeKey:n("BlockCustomWidth"),allowScreens:!0}),i=et({blockAttributeKey:n("PositionHorizontalOffset"),allowScreens:!0}),a=et({blockAttributeKey:n("PositionVerticalOffset"),allowScreens:!0});o={...o,...e,...t,[n("BlockPosition")]:{type:"string",default:""},[n("PositionHorizontalOrientation")]:{type:"string",default:"left"},...i,[n("PositionVerticalOrientation")]:{type:"string",default:"top"},...a}}return a.includes("responsive")&&(o={...o,...l}),o};ft.defaultProps={excludePanels:[],includePanels:[]};const mt=()=>["advanced","motion-effects","background","border","positioning","responsive"];const yt=(t,i,a)=>(t=t||"",i=i||"",a=a||"",Je()((0,e.sprintf)("%s%s%s",t,i,a))),dt=e=>e?e.charAt(0).toUpperCase()+e.slice(1):"",pt=e=>e&&Ge!==e?dt(e):"",gt=(e,t)=>{let i=e.desktop;return"mobile"===t&&(i={...i,...e.tablet}),{...i,...e[t]}},bt=(e,t=!0)=>{let i="";return Object.entries(e).map(([e,a])=>{i+=`${e.replace(/([A-Z])/g,(e,t,i)=>(i>0?"-":"")+e.toLowerCase())}: ${a} ${t?"!important":""};`}),i},ht=e=>["px"].includes(e),St=e=>["em","rem","%","vw","vh"].includes(e),vt=(e,t="")=>{let i=void 0!==e&&""!==e;return"all"===t&&(i=void 0!==e&&e),i},wt=e=>{let t="";return 0===e||"0"===e?t=0:e&&(t=e),t},kt=(t,i=!0,a=[])=>{let n=[],o=[];if(t){switch(i&&(n=[{value:"",label:(0,e.__)("Default","qi-blocks")}]),t){case"no_yes":o=[{value:"no",label:(0,e.__)("No","qi-blocks")},{value:"yes",label:(0,e.__)("Yes","qi-blocks")}];break;case"yes_no":o=[{value:"yes",label:(0,e.__)("Yes","qi-blocks")},{value:"no",label:(0,e.__)("No","qi-blocks")}];break;case"link_target":o=[{value:"_self",label:(0,e.__)("Same Window","qi-blocks")},{value:"_blank",label:(0,e.__)("New Window","qi-blocks")}];break;case"column_gap":o=[{value:"huge",label:(0,e.__)("Huge (35)","qi-blocks")},{value:"large",label:(0,e.__)("Large (25)","qi-blocks")},{value:"medium",label:(0,e.__)("Medium (20)","qi-blocks")},{value:"normal",label:(0,e.__)("Normal (15)","qi-blocks")},{value:"small",label:(0,e.__)("Small (10)","qi-blocks")},{value:"tiny",label:(0,e.__)("Tiny (5)","qi-blocks")},{value:"no",label:(0,e.__)("No (0)","qi-blocks")}];break;case"columns_responsive":o=[{value:"predefined",label:(0,e.__)("Predefined","qi-blocks")},{value:"custom",label:(0,e.__)("Custom","qi-blocks")}];break;case"masonry_image_sizes":o=[{value:"square",label:(0,e.__)("Square","qi-blocks")},{value:"landscape",label:(0,e.__)("Landscape","qi-blocks")},{value:"portrait",label:(0,e.__)("Portrait","qi-blocks")},{value:"huge-square",label:(0,e.__)("Huge","qi-blocks")}];break;case"image_sizes":o=[{value:"full",label:(0,e.__)("Original","qi-blocks")},{value:"thumbnail",label:(0,e.__)("Thumbnail","qi-blocks")},{value:"medium",label:(0,e.__)("Medium","qi-blocks")},{value:"large",label:(0,e.__)("Large","qi-blocks")}];break;case"title_tag":o=[{value:"h1",label:(0,e.__)("H1","qi-blocks")},{value:"h2",label:(0,e.__)("H2","qi-blocks")},{value:"h3",label:(0,e.__)("H3","qi-blocks")},{value:"h4",label:(0,e.__)("H4","qi-blocks")},{value:"h5",label:(0,e.__)("H5","qi-blocks")},{value:"h6",label:(0,e.__)("H6","qi-blocks")},{value:"p",label:(0,e.__)("Paragraph","qi-blocks")}];break;case"font_weight":o=[{value:"normal",label:(0,e.__)("Normal","qi-blocks")},{value:"bold",label:(0,e.__)("Bold","qi-blocks")},{value:"100",label:(0,e.__)("Thin (100)","qi-blocks")},{value:"200",label:(0,e.__)("Extra Light (200)","qi-blocks")},{value:"300",label:(0,e.__)("Light (300)","qi-blocks")},{value:"400",label:(0,e.__)("Normal (400)","qi-blocks")},{value:"500",label:(0,e.__)("Medium (500)","qi-blocks")},{value:"600",label:(0,e.__)("Semi Bold (600)","qi-blocks")},{value:"700",label:(0,e.__)("Bold (700)","qi-blocks")},{value:"800",label:(0,e.__)("Extra Bold (800)","qi-blocks")},{value:"900",label:(0,e.__)("Black (900)","qi-blocks")}];break;case"text_transform":o=[{value:"none",label:(0,e.__)("None","qi-blocks")},{value:"uppercase",label:(0,e.__)("Uppercase","qi-blocks")},{value:"lowercase",label:(0,e.__)("Lowercase","qi-blocks")},{value:"capitalize",label:(0,e.__)("Capitalize","qi-blocks")},{value:"normal",label:(0,e.__)("Normal","qi-blocks")}];break;case"font_style":o=[{value:"normal",label:(0,e.__)("Normal","qi-blocks")},{value:"italic",label:(0,e.__)("Italic","qi-blocks")},{value:"oblique",label:(0,e.__)("Oblique","qi-blocks")}];break;case"text_decoration":o=[{value:"none",label:(0,e.__)("None","qi-blocks")},{value:"underline",label:(0,e.__)("Underline","qi-blocks")},{value:"overline",label:(0,e.__)("Overline","qi-blocks")},{value:"line-through",label:(0,e.__)("Line-Through","qi-blocks")}];break;case"background_position":o=[{value:"center center",label:(0,e.__)("Center Center","qi-blocks")},{value:"center left",label:(0,e.__)("Center Left","qi-blocks")},{value:"center right",label:(0,e.__)("Center Right","qi-blocks")},{value:"top center",label:(0,e.__)("Top Center","qi-blocks")},{value:"top left",label:(0,e.__)("Top Left","qi-blocks")},{value:"top right",label:(0,e.__)("Top Right","qi-blocks")},{value:"bottom center",label:(0,e.__)("Bottom Center","qi-blocks")},{value:"bottom left",label:(0,e.__)("Bottom Left","qi-blocks")},{value:"bottom right",label:(0,e.__)("Bottom Right","qi-blocks")}];break;case"background_attachment":o=[{value:"scroll",label:(0,e.__)("Scroll","qi-blocks")},{value:"fixed",label:(0,e.__)("Fixed","qi-blocks")}];break;case"background_repeat":o=[{value:"no-repeat",label:(0,e.__)("No-repeat","qi-blocks")},{value:"repeat",label:(0,e.__)("Repeat","qi-blocks")},{value:"repeat-x",label:(0,e.__)("Repeat-x","qi-blocks")},{value:"repeat-y",label:(0,e.__)("Repeat-y","qi-blocks")}];break;case"background_size":o=[{value:"auto",label:(0,e.__)("Auto","qi-blocks")},{value:"cover",label:(0,e.__)("Cover","qi-blocks")},{value:"contain",label:(0,e.__)("Contain","qi-blocks")}];break;case"horizontal_alignment":o=[{value:"left",label:(0,e.__)("Left","qi-blocks")},{value:"right",label:(0,e.__)("Right","qi-blocks")},{value:"center",label:(0,e.__)("Center","qi-blocks")}];break;case"vertical_alignment":o=[{value:"top",label:(0,e.__)("Top","qi-blocks")},{value:"middle",label:(0,e.__)("Middle","qi-blocks")},{value:"bottom",label:(0,e.__)("Bottom","qi-blocks")}];break;case"html_tag":o=[{value:"section",label:(0,e.__)("Section","qi-blocks")},{value:"div",label:(0,e.__)("Div","qi-blocks")},{value:"main",label:(0,e.__)("Main","qi-blocks")},{value:"article",label:(0,e.__)("Article","qi-blocks")},{value:"nav",label:(0,e.__)("Nav","qi-blocks")},{value:"footer",label:(0,e.__)("Footer","qi-blocks")},{value:"header",label:(0,e.__)("Header","qi-blocks")},{value:"aside",label:(0,e.__)("Aside","qi-blocks")}];break;case"appear_animation":o=[{value:"none",label:(0,e.__)("None","qi-blocks")},{value:"from-bottom",label:(0,e.__)("From Bottom","qi-blocks")},{value:"from-top",label:(0,e.__)("From Top","qi-blocks")},{value:"from-left",label:(0,e.__)("From Left","qi-blocks")},{value:"from-right",label:(0,e.__)("From Right","qi-blocks")},{value:"fade",label:(0,e.__)("Fade in","qi-blocks")}];break;case"appear_delay":o=[{value:"random",label:(0,e.__)("Random","qi-blocks")},{value:"ms",label:(0,e.__)("Set ms","qi-blocks")}];break;case"responsive_screens":o=[{value:"1024",label:(0,e.__)("Below 1024px","qi-blocks")},{value:"768",label:(0,e.__)("Below 768px","qi-blocks")},{value:"680",label:(0,e.__)("Below 680px","qi-blocks")},{value:"480",label:(0,e.__)("Below 480px","qi-blocks")}];break;case"order_by":o=[{value:"date",label:(0,e.__)("Date","qi-blocks")},{value:"id",label:(0,e.__)("ID","qi-blocks")},{value:"title",label:(0,e.__)("Title","qi-blocks")}];break;case"order":o=[{value:"desc",label:(0,e.__)("Descending","qi-blocks")},{value:"asc",label:(0,e.__)("Ascending","qi-blocks")}];break;case"border_style":o=[{value:"solid",label:(0,e.__)("Solid","qi-blocks")},{value:"dashed",label:(0,e.__)("Dashed","qi-blocks")},{value:"dotted",label:(0,e.__)("Dotted","qi-blocks")}]}n=[...n,...o],a&&(n=[...n,...a])}return(0,Te.applyFilters)("qi-blocks-filter-options-pool",n)};class Ct extends _e.Component{constructor(){super(...arguments),this.state={screen:Ge,isScreenPickerOpen:!1,isMouseOver:!1}}onChangeScreen(e,t){const i=this;i.state.isScreenPickerOpen?(i.props.onChangeScreen(e),i.setState({screen:e,isScreenPickerOpen:!1}),ze=e,!t&&i.changePreviewScreen(e),(0,Te.doAction)("qi-blocks-action-screen-change",e)):t||i.setState({isScreenPickerOpen:!0}),window.addEventListener("click",e=>{const t=document.querySelectorAll(".qodef-screens-option .qodef-screens.qodef--opened");t.length&&!t[0].contains(e.target)&&i.setState({isScreenPickerOpen:!1})})}onOtherScreenChange(e){this.props.onChangeScreen(e),this.setState({screen:e})}componentDidMount(){const{instanceId:e}=this.props;(0,Te.addAction)("qi-blocks-action-screen-change",`qi-blocks/components/screen-control-${e}`,this.onOtherScreenChange.bind(this))}componentWillUnmount(){const{instanceId:e}=this.props;(0,Te.removeAction)("qi-blocks-action-screen-change",`qi-blocks/components/screen-control-${e}`)}changeScreenControls(e){Ke()!==e.previewScreen&&this.onChangeScreen(e.previewScreen,!0)}changePreviewScreen(e){if(e!==this.props.previewScreen){const t=(0,o.dispatch)("core/edit-post")||"",i=(0,o.dispatch)("core/edit-site")||"";let a;if(t){let{__experimentalSetPreviewDeviceType:e}=t;a=e}if(i){const{__experimentalSetPreviewDeviceType:e}=i;a=e}a&&a(dt(e))}}render(){const e={...this.props},t={...this.state},{label:i,screens:a,isWidgetsArea:o,previewScreen:l}=e;let r=!1;return(a.length<1||o)&&(r=!0),Ge!==l&&t.screen!==l&&this.onOtherScreenChange(l),this.changeScreenControls(e),wp.element.createElement("div",{className:"qodef-screens-option"},Ge!==t.screen&&wp.element.createElement("style",null,"\n\t\t\t\t\t\t\t.qodef-screens-option .qodef-screens.qodef--opened {\n\t\t\t\t\t\t\t\ttop: calc(-4px - 22px * "+Object.keys(a).indexOf(t.screen)+");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t"),i&&wp.element.createElement("label",{className:"qodef-option-label"},i),!r&&wp.element.createElement("ul",{className:"qodef-screens "+(t.isScreenPickerOpen?"qodef--opened":"")},Object.entries(a).map(([e,i],o)=>o===Object.keys(a).indexOf(t.screen)||t.isScreenPickerOpen?wp.element.createElement("li",{className:"qodef-screen-item "+(e===t.screen?"qodef--selected":""),key:o},wp.element.createElement(n.Button,{className:"qodef-screen-item-button",onClick:()=>this.onChangeScreen(e),icon:i.icon,showTooltip:!1,label:i.label,"data-screen":e,onMouseEnter:()=>this.setState({isMouseOver:e}),onMouseLeave:()=>this.setState({isMouseOver:!1})}),e===t.isMouseOver&&wp.element.createElement("div",{className:"qodef-screen-item-tooltip"},i.label)):null)))}}Ct.defaultProps={label:"",screens:Ue,isWidgetsArea:!1,previewScreen:"desktop",onChangeScreen:()=>{}};const _t=(0,o.withSelect)(e=>{let t="desktop";return e("core/edit-post")&&(t="function"==typeof e("core/editor")?.getDeviceType?e("core/editor")?.getDeviceType()?.toLowerCase():e("core/edit-post").__experimentalGetPreviewDeviceType().toLowerCase()),e("core/edit-site")&&(t="function"==typeof e("core/editor")?.getDeviceType?e("core/editor")?.getDeviceType()?.toLowerCase():e("core/edit-site").__experimentalGetPreviewDeviceType().toLowerCase()),{isWidgetsArea:e("core/edit-widgets")&&!e("core/edit-post"),previewScreen:t}})((0,l.withInstanceId)(Ct));class Ot extends _e.Component{constructor(){super(...arguments),this.state={screen:Ke()}}getScreenLabelSuffix(e){const t=e||this.state.screen;return pt(t)}getAttributeValue(e,t=""){const{blockAttributes:i,allowScreens:a,repeater:n,repeaterItemIndex:o,repeaterItemKey:l,repeaterGetAttributes:r}=this.props;let s=e;a&&t&&(s=e+t);let u=i[s];return n&&(u=r({key:l,childKey:s},o)),wt(u)}setAttributeValue(e,t,i=this.getScreenLabelSuffix()){const{setAttributes:a,allowScreens:n,repeater:o,repeaterItemIndex:l,repeaterItemKey:r,repeaterSetAttributes:s}=this.props;let u=e;n&&i&&(u=e+i),o?s({key:r,childKey:u},t,l):a({[u]:t})}onChangeUnitsValues(e,t,i,a){const n={...this.props},{rangeMax:o,rangeDecimalMax:l,allowUnitsConvertor:r}=n;let s=this.getAttributeValue(t);const u=s;a?(s=parseInt(s,10),s>o&&(s=o)):!a&&s>l&&(s=l),r?["emToRem","remToEm","vwToVh","vhToVw"].includes(i)||(this.setAttributeValue(e,Me({convertorType:i,value:u,attributeKey:t}),""),this.setAttributeValue(t,"","")):(this.setAttributeValue(e,s,""),this.setAttributeValue(t,"",""))}render(){const e={...this.props},{label:t,unitType:i,blockAttributeKey:a,rangeMax:o,rangeMin:l,rangeStep:r,rangeDecimalMax:s,rangeDecimalMin:u,rangeDecimalStep:c,optionType:f,allowReset:m,allowScreens:y,allowUnits:d,repeater:p,repeaterItemKey:g,isSimpleRepeaterValue:b}=e,h=this.getScreenLabelSuffix();let S=p&&!b?g:a;const v=`${S}Decimal`,w=`${S}Unit`,k=`${S}Tablet`,C=`${v}Tablet`,_=`${w}Tablet`,O=`${S}Mobile`,P=`${v}Mobile`,x=`${w}Mobile`;return e.onChangeScreen=e=>{this.setState({screen:e})},e.onChangeUnit=e=>{e.preventDefault();const t=p?200:0,i=e.target.getAttribute("data-unit"),a=this.getAttributeValue(w,h)||"px";this.setAttributeValue(w,i),setTimeout(()=>{if(i!==a){const e=`${a}To${dt(i)}`;let t=S+h,n=v+h;"px"!==i&&(t=v+h,n=S+h),this.onChangeUnitsValues(t,n,e,"px"===i)}},t)},e.onChange=t=>{this.setAttributeValue(S,t),e.setCustomEventOnChange()},e.onChangeDecimal=t=>{let i=0;"decimal"===f&&void 0===t&&(i=200),setTimeout(()=>{this.setAttributeValue(v,t),e.setCustomEventOnChange()},i)},e.getPlaceholderValue=e=>{let t="";const i=this.getAttributeValue(S),a=this.getAttributeValue(v),n=this.getAttributeValue(k),o=this.getAttributeValue(C);return"Tablet"===h?e&&""===n?t=i:e||""!==o||(t=a):"Mobile"===h&&(e&&""===this.getAttributeValue(O)?t=""!==n?n:i:e||""!==this.getAttributeValue(P)||(t=""!==o?o:a)),t},wp.element.createElement(n.BaseControl,{className:"qodef-advanced-range-option"},wp.element.createElement("div",{className:"qodef-advanced-range-heading"},y?wp.element.createElement(_t,{label:t,onChangeScreen:e.onChangeScreen}):wp.element.createElement("label",{className:"qodef-option-label"},t),d&&wp.element.createElement(qe,{unitType:i,unitValue:this.getAttributeValue(w,h),onChangeUnit:e.onChangeUnit})),"desktop"===this.state.screen&&wp.element.createElement(wp.element.Fragment,null,(ht(this.getAttributeValue(w))&&"decimal"!==f||!d&&"integer"===f)&&wp.element.createElement(n.RangeControl,{min:l,max:o,step:r,value:this.getAttributeValue(S),onChange:e.onChange,allowReset:m}),(St(this.getAttributeValue(w))||!d&&"decimal"===f)&&wp.element.createElement(n.RangeControl,{min:u,max:s,step:c,value:this.getAttributeValue(v),onChange:e.onChangeDecimal,allowReset:m})),"tablet"===this.state.screen&&wp.element.createElement(wp.element.Fragment,null,(ht(this.getAttributeValue(_))&&"decimal"!==f||!d&&"integer"===f)&&wp.element.createElement(n.RangeControl,{min:l,max:o,step:r,value:this.getAttributeValue(k),afterIcon:e.getPlaceholderValue(!0),onChange:e.onChange,allowReset:m}),(St(this.getAttributeValue(_))||!d&&"decimal"===f)&&wp.element.createElement(n.RangeControl,{min:u,max:s,step:c,value:this.getAttributeValue(C),afterIcon:e.getPlaceholderValue(!1),onChange:e.onChangeDecimal,allowReset:m})),"mobile"===this.state.screen&&wp.element.createElement(wp.element.Fragment,null,(ht(this.getAttributeValue(x))&&"decimal"!==f||!d&&"integer"===f)&&wp.element.createElement(n.RangeControl,{min:l,max:o,step:r,value:this.getAttributeValue(O),afterIcon:e.getPlaceholderValue(!0),onChange:e.onChange,allowReset:m}),(St(this.getAttributeValue(x))||!d&&"decimal"===f)&&wp.element.createElement(n.RangeControl,{min:u,max:s,step:c,value:this.getAttributeValue(P),afterIcon:e.getPlaceholderValue(!1),onChange:e.onChangeDecimal,allowReset:m})))}}Ot.defaultProps={label:(0,e.__)("Default Label Text","qi-blocks"),unitType:"typography",blockAttributes:{},blockAttributeKey:"",setAttributes:()=>{},rangeMax:300,rangeMin:0,rangeStep:1,rangeDecimalMax:10,rangeDecimalMin:0,rangeDecimalStep:.01,optionType:"integer",allowReset:!0,screens:Ue,allowScreens:!1,allowUnits:!0,allowUnitsConvertor:!1,setCustomEventOnChange:()=>{},repeater:!1,repeaterItemIndex:0,repeaterItemKey:"",isSimpleRepeaterValue:!1,repeaterSetAttributes:()=>{},repeaterGetAttributes:()=>{}};const Pt=Ot;var xt=i(2243),qt=i.n(xt);let At=[];const It=qiBlocksEditor.vars.systemFontOptions,Et=e=>{if(qiBlocksEditor.qodefGetCurrentBlockElement.getIframe()&&(At=[]),At.includes(e))return;const t=qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument();if(t&&(e=>{let t=!0;return e||(t=!1),It&&It.map(({value:e})=>e).forEach(i=>{""!==i&&e===i&&(t=!1)}),t})(e)){const i=t.createElement("link");i.setAttribute("href",(e=>`https://fonts.googleapis.com/css?family=${e.replace(/ /g,"+")}:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic&subset=latin-ext`)(e)),i.setAttribute("rel","stylesheet"),i.setAttribute("type","text/css"),t.querySelector("head").appendChild(i)}At.push(e)},Mt=qiBlocksEditor.vars.fontOptions,Tt=e=>{const t=e.trim().toLowerCase(),i=t.length;return 0===i?[]:Mt.filter(e=>!["System","Google"].includes(e.value)&&e.label.toLowerCase().slice(0,i)===t)},Bt=e=>e.value,Nt=e=>wp.element.createElement("div",{className:"qodef-font-family-autosuggest-option","data-label":e.value},e.label);class Dt extends _e.Component{constructor(){super(...arguments),this.state={value:this.props.blockAttributes[this.props.blockAttributeKey]||"",suggestions:[]}}onChange=(e,{newValue:t})=>{let i=t;["System","Google"].includes(i)||(Mt.some(e=>e.value.toLowerCase()===i.toLowerCase()&&(i=e.value,Et(i),!0)),this.props.setAttributes({[this.props.blockAttributeKey]:i}),this.setState({value:i}))};onSuggestionsFetchRequested=({value:e})=>{this.setState({suggestions:""===e?Mt:Tt(e)})};onSuggestionsClearRequested=()=>{this.setState({suggestions:[]})};shouldRenderSuggestions(){return!0}componentDidMount(){void 0!==this.props.blockAttributes[this.props.blockAttributeKey]&&this.setState({value:this.props.blockAttributes[this.props.blockAttributeKey]||"",suggestions:Mt})}render(){const{label:e}=this.props,{value:t,suggestions:i}=this.state,a={value:t,type:"search",onChange:this.onChange};return wp.element.createElement(n.BaseControl,{className:"qodef-font-family-option"},wp.element.createElement("label",{className:"qodef-option-label"},e),wp.element.createElement("div",{className:"qodef-font-family-autosuggest"},wp.element.createElement(qt(),{suggestions:i,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,shouldRenderSuggestions:this.shouldRenderSuggestions,getSuggestionValue:Bt,renderSuggestion:Nt,inputProps:a})))}}Dt.defaultProps={label:(0,e.__)("Font Family","qi-blocks"),blockAttributeKey:"",blockAttributes:{},setAttributes:()=>{}};const jt=Dt,Lt=t=>{const i={...t},{attrNameTemplate:a,blockAttributes:o,setAttributes:l,popup:r,repeater:s,repeaterItemIndex:u,repeaterItemKey:c,repeaterSetAttributes:f,repeaterGetAttributes:m,allowReset:y}=i,[d,p]=(0,_e.useState)(!1);let g=["qodef-typography-panel"];r?g.push("qodef--has-popup"):g.push("qodef-base-section-label"),d&&g.push("qodef--opened"),i.onClick=()=>{p(e=>!e),window.addEventListener("click",e=>{const t=document.querySelectorAll(".qodef-typography-panel.qodef--opened");t.length&&t.forEach(t=>{t.contains(e.target)||p(!1)})})};const b=e=>yt(a,e);return i.getAttributeValue=e=>{let t=o[e];return s&&(t=m({key:c,childKey:e},u)),wt(t)},i.setAttributeValue=(e,t)=>{s?f({key:c,childKey:e},t,u):l({[e]:t})},wp.element.createElement(n.BaseControl,{label:r?"":i.label,className:g.join(" ")},r&&wp.element.createElement("div",{className:"qodef-typography-panel-heading"},wp.element.createElement("label",{className:"qodef-option-label"},i.label),wp.element.createElement(n.Button,{icon:"edit",showTooltip:!0,label:(0,e.__)("Open Typography","qi-blocks"),onClick:i.onClick})),wp.element.createElement("div",{className:"qodef-typography-panel-content"},wp.element.createElement(jt,{setAttributes:l,blockAttributes:o,blockAttributeKey:b("FontFamily"),repeater:s,repeaterItemIndex:u,repeaterItemKey:c,repeaterSetAttributes:f,repeaterGetAttributes:m}),wp.element.createElement(Pt,{label:(0,e.__)("Font Size","qi-blocks"),blockAttributeKey:b("FontSize"),setAttributes:l,blockAttributes:o,rangeDecimalMax:20,allowScreens:!0,allowUnitsConvertor:!0,repeater:s,repeaterItemIndex:u,repeaterItemKey:c,isSimpleRepeaterValue:!0,repeaterSetAttributes:f,repeaterGetAttributes:m,allowReset:y}),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Weight","qi-blocks"),options:kt("font_weight"),value:i.getAttributeValue(b("FontWeight")),onChange:e=>i.setAttributeValue(b("FontWeight"),e)}),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Transform","qi-blocks"),options:kt("text_transform"),value:i.getAttributeValue(b("TextTransform")),onChange:e=>i.setAttributeValue(b("TextTransform"),e)}),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Style","qi-blocks"),options:kt("font_style"),value:i.getAttributeValue(b("FontStyle")),onChange:e=>i.setAttributeValue(b("FontStyle"),e)}),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Decoration","qi-blocks"),options:kt("text_decoration"),value:i.getAttributeValue(b("TextDecoration")),onChange:e=>i.setAttributeValue(b("TextDecoration"),e)}),wp.element.createElement(Pt,{label:(0,e.__)("Line Height","qi-blocks"),setAttributes:l,blockAttributes:o,blockAttributeKey:b("LineHeight"),allowScreens:!0,allowUnitsConvertor:!0,repeater:s,repeaterItemIndex:u,repeaterItemKey:c,isSimpleRepeaterValue:!0,repeaterSetAttributes:f,repeaterGetAttributes:m,allowReset:y}),wp.element.createElement(Pt,{label:(0,e.__)("Letter Spacing","qi-blocks"),setAttributes:l,blockAttributes:o,blockAttributeKey:b("LetterSpacing"),rangeMin:-10,rangeMax:30,rangeStep:.1,rangeDecimalMin:-10,unitType:"pxEmRem",allowScreens:!0,repeater:s,repeaterItemIndex:u,repeaterItemKey:c,isSimpleRepeaterValue:!0,repeaterSetAttributes:f,repeaterGetAttributes:m,allowReset:y})))};Lt.defaultProps={label:(0,e.__)("Typography","qi-blocks"),attrNameTemplate:"",blockAttributes:{},setAttributes:()=>{},popup:!1,allowReset:!0,repeater:!1,repeaterItemIndex:0,repeaterItemKey:"",repeaterSetAttributes:()=>{},repeaterGetAttributes:()=>{}};const Rt=Lt,Ft=e=>{const{attrNameTemplate:t,attributes:i}=e,a=(e,i)=>yt(t,e,i);if(!i)return{};let n={},o={},l={};return i[a("FontFamily")]&&(n.fontFamily=`'${i[a("FontFamily")]}'`),i[a("FontWeight")]&&(n.fontWeight=i[a("FontWeight")]),i[a("TextTransform")]&&(n.textTransform=i[a("TextTransform")]),i[a("FontStyle")]&&(n.fontStyle=i[a("FontStyle")]),i[a("TextDecoration")]&&(n.textDecoration=i[a("TextDecoration")]),Object.entries(Ue).map(([e])=>{let t=pt(e),r={};(i[a("FontSize",t)]||i[a("FontSizeDecimal",t)])&&(ht(i[a("FontSizeUnit",t)])&&i[a("FontSize",t)]?r.fontSize=parseInt(i[a("FontSize",t)],10)+i[a("FontSizeUnit",t)]:St(i[a("FontSizeUnit",t)])&&i[a("FontSizeDecimal",t)]&&(r.fontSize=parseFloat(i[a("FontSizeDecimal",t)])+i[a("FontSizeUnit",t)])),(i[a("LineHeight",t)]||i[a("LineHeightDecimal",t)])&&(ht(i[a("LineHeightUnit",t)])&&i[a("LineHeight",t)]?r.lineHeight=parseInt(i[a("LineHeight",t)],10)+i[a("LineHeightUnit",t)]:St(i[a("LineHeightUnit",t)])&&i[a("LineHeightDecimal",t)]&&(r.lineHeight=parseFloat(i[a("LineHeightDecimal",t)])+i[a("LineHeightUnit",t)])),""===wt(i[a("LetterSpacing",t)])&&""===wt(i[a("LetterSpacingDecimal",t)])||(ht(i[a("LetterSpacingUnit",t)])&&""!==wt(i[a("LetterSpacing",t)])?r.letterSpacing=parseInt(i[a("LetterSpacing",t)],10)+i[a("LetterSpacingUnit",t)]:St(i[a("LetterSpacingUnit",t)])&&""!==wt(i[a("LetterSpacingDecimal",t)])&&(r.letterSpacing=parseFloat(i[a("LetterSpacingDecimal",t)])+i[a("LetterSpacingUnit",t)])),Object.keys(r).length>0&&Object.entries(r).map(([t,i])=>{switch(e){case"desktop":n[t]=i;break;case"tablet":o[t]=i;break;case"mobile":l[t]=i}})}),{desktop:n,tablet:o,mobile:l}};const Vt=()=>{const[t,i]=(0,_e.useState)([]),[a,o]=(0,_e.useState)(""),[l,r]=(0,_e.useState)({}),[s,u]=(0,_e.useState)("");if("object"==typeof wp&&"object"==typeof wp.api){const{loadPromise:c,models:f}=wp.api;let m=[],y={fontFamily:"",fontSize:"",fontSizeUnit:"px",fontSizeDecimal:"",fontSizeTablet:"",fontSizeMobile:"",fontSizeUnitTablet:"px",fontSizeUnitMobile:"px",fontSizeDecimalTablet:"",fontSizeDecimalMobile:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",lineHeight:"",lineHeightUnit:"px",lineHeightDecimal:"",lineHeightTablet:"",lineHeightMobile:"",lineHeightUnitTablet:"px",lineHeightUnitMobile:"px",lineHeightDecimalTablet:"",lineHeightDecimalMobile:"",letterSpacing:"",letterSpacingUnit:"px",letterSpacingDecimal:"",letterSpacingTablet:"",letterSpacingMobile:"",letterSpacingUnitTablet:"px",letterSpacingUnitMobile:"px",letterSpacingDecimalTablet:"",letterSpacingDecimalMobile:""};for(let e=1;e<=6;e++)m["h"+e]=y;m.p=y,(0,_e.useEffect)(()=>{c.then(()=>{(new f.Settings).fetch().then(e=>{let a=e?.qi_blocks_global_settings_typography||"",n=e?.qi_blocks_global_settings_typography_apply_to||"blocks-qi-native",o={};if(n&&u(n),a){if(a=Ce()(a),"object"==typeof a)for(const[e]of Object.entries(a)){for(const[t,i]of Object.entries(a[e]))!t.includes("Unit")&&(t.includes("fontSize")||t.includes("lineHeight")||t.includes("letterSpacing"))&&(Number.isNaN(i)?a[e][t]="":i&&(a[e][t]=Number(i)));o[e]=Ft({attributes:a[e]})}i(a||m),r(o)}else t.length||i(m)})})},[]);const d=e=>Se()(e,e=>be()(e)?void 0:pe()(e)),p=(a,n)=>{const s={...t,[a]:we()(t[a],n)};i(s);const u={...l,[a]:Ft({attributes:s[a]})};r(u);new f.Settings({qi_blocks_global_settings_typography:[d(s)]}).save(),o((0,e.__)(`${a.toUpperCase()} Saved`,"qi-blocks")),setTimeout(()=>{new f.Settings({qi_blocks_global_settings_typography_styles:v(u)||""}).save(),o("")},800)},g=a=>{const n=Ke();let s=m[a];if("desktop"!==n){let e=["fontSize","lineHeight","letterSpacing"];"mobile"===n&&e.push("fontSizeTablet","lineHeightTablet","letterSpacingTablet"),s=we()(ye()(s,e),fe()(t[a],e))}const u={...t,[a]:s};i(u);const c={...l,[a]:Ft({attributes:s})};r(c);new f.Settings({qi_blocks_global_settings_typography:[d(u)]}).save(),o((0,e.__)(`${a.toUpperCase()} Reset`,"qi-blocks")),setTimeout(()=>{new f.Settings({qi_blocks_global_settings_typography_styles:v(c)||""}).save(),o("")},800)},b=e=>{u(e);new f.Settings({qi_blocks_global_settings_typography_apply_to:e}).save(),setTimeout(()=>{new f.Settings({qi_blocks_global_settings_typography_styles:v(l)||""}).save()},800)},h=()=>{let e=S();setTimeout(()=>{const t=qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument();if(t){const i=t.querySelector("#qi-blocks-global-settings-styles"),a=t.querySelector("#qi-blocks-grid-editor-inline-css");if(i)i.innerHTML="",i.append(e);else if(e){const i=t.createElement("style");i.setAttribute("rel","stylesheet"),i.setAttribute("id","qi-blocks-global-settings-styles"),i.append(e),t.querySelector("body").appendChild(i)}a&&a.remove()}},300)},S=()=>{let e="";const t=s;for(const[i,a]of Object.entries(l)){const n=bt(gt(a,Ke()),!1);if(n){let a=[`.qodef-block ${i}`,`.qodef-typography-field-heading ${i}`];"blocks-qi-native"===t&&(a.push(`.editor-styles-wrapper ${i}[data-type^="core/"]`),a.push(`.editor-styles-wrapper [data-type^="core/"] ${i}`)),e+=`${a.join(",")} { ${n} }`}}return e},v=e=>{let t="",i="",a="",n="";if(e){const o=s;for(const[t,l]of Object.entries(e)){const e=bt(l?.desktop||{},!1),r=bt(l?.tablet||{},!1),s=bt(l?.mobile||{},!1);let u=[`.qodef-block ${t}`];"blocks-qi-native"===o&&(u.push(`${t}[data-type^="core/"]`),u.push(`[data-type^="core/"] ${t}`)),e&&(i+=`${u.join(",")} { ${e} }`),r&&(a+=`${u.join(",")} { ${r} }`),s&&(n+=`${u.join(",")} { ${s} }`)}i&&(t+=i),a&&(t+="@media (max-width: 1024px){ "+a+"}"),n&&(t+="@media (max-width: 680px){ "+n+"}")}return t};return wp.element.createElement(n.BaseControl,{className:"qodef-global-settings-control qodef-global-settings-typography-control"},wp.element.createElement(n.PanelBody,{title:(0,e.__)("Typography","qi-blocks"),initialOpen:!0},wp.element.createElement(wp.element.Fragment,null,h(),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Apply Typography Styles To","qi-blocks"),help:(0,e.__)("Change the typography of your headings for all blocks in your site.","qi-blocks"),value:s,options:[{value:"blocks-qi-native",label:(0,e.__)("Qi and native blocks only","qi-blocks")},{value:"blocks-qi",label:(0,e.__)("Qi blocks only","qi-blocks")}],onChange:e=>b(e)}),wp.element.createElement("br",null),["h1","h2","h3","h4","h5","h6","p"].map(i=>{const o=i;return wp.element.createElement("div",{className:"qodef-typography-field"},wp.element.createElement("div",{className:"qodef-typography-notice "+(a?"qodef--active":"")},a),wp.element.createElement("div",{className:"qodef-typography-field-heading editor-styles-wrapper"},wp.element.createElement(o,null,(0,e.__)(`${i.toUpperCase()} Typography`,"qi-blocks"))),wp.element.createElement(Rt,{label:"",blockAttributes:t[i]||{},setAttributes:e=>p(i,e),popup:!0,allowReset:!1}),wp.element.createElement(n.Button,{icon:"image-rotate",showTooltip:!0,label:(0,e.__)(`Reset ${i.toUpperCase()}`,"qi-blocks"),onClick:()=>g(i)}))}))))}return wp.element.createElement("h2",null,(0,e.__)("WP API is not set","qi-blocks"))};(0,ae.registerPlugin)("qi-blocks-global-settings",{render:()=>{const t=wp.data?.select("core/editor")?.getCurrentPostType();return t?wp.element.createElement(ne.PluginSidebar,{name:"qi-blocks-global-settings",title:(0,e.__)("Qi Global Settings","qi-blocks"),icon:wp.element.createElement(ue,null)},wp.element.createElement(Vt,null)):null}});const Ht=JSON.parse('[{"family":"ABeeZee"},{"family":"ADLaM Display"},{"family":"AR One Sans"},{"family":"Abel"},{"family":"Abhaya Libre"},{"family":"Aboreto"},{"family":"Abril Fatface"},{"family":"Abyssinica SIL"},{"family":"Aclonica"},{"family":"Acme"},{"family":"Actor"},{"family":"Adamina"},{"family":"Advent Pro"},{"family":"Afacad"},{"family":"Afacad Flux"},{"family":"Agbalumo"},{"family":"Agdasima"},{"family":"Aguafina Script"},{"family":"Akatab"},{"family":"Akaya Kanadaka"},{"family":"Akaya Telivigala"},{"family":"Akronim"},{"family":"Akshar"},{"family":"Aladin"},{"family":"Alata"},{"family":"Alatsi"},{"family":"Albert Sans"},{"family":"Aldrich"},{"family":"Alef"},{"family":"Alegreya"},{"family":"Alegreya SC"},{"family":"Alegreya Sans"},{"family":"Alegreya Sans SC"},{"family":"Aleo"},{"family":"Alex Brush"},{"family":"Alexandria"},{"family":"Alfa Slab One"},{"family":"Alice"},{"family":"Alike"},{"family":"Alike Angular"},{"family":"Alkalami"},{"family":"Alkatra"},{"family":"Allan"},{"family":"Allerta"},{"family":"Allerta Stencil"},{"family":"Allison"},{"family":"Allura"},{"family":"Almarai"},{"family":"Almendra"},{"family":"Almendra Display"},{"family":"Almendra SC"},{"family":"Alumni Sans"},{"family":"Alumni Sans Collegiate One"},{"family":"Alumni Sans Inline One"},{"family":"Alumni Sans Pinstripe"},{"family":"Amarante"},{"family":"Amaranth"},{"family":"Amatic SC"},{"family":"Amethysta"},{"family":"Amiko"},{"family":"Amiri"},{"family":"Amiri Quran"},{"family":"Amita"},{"family":"Anaheim"},{"family":"Andada Pro"},{"family":"Andika"},{"family":"Anek Bangla"},{"family":"Anek Devanagari"},{"family":"Anek Gujarati"},{"family":"Anek Gurmukhi"},{"family":"Anek Kannada"},{"family":"Anek Latin"},{"family":"Anek Malayalam"},{"family":"Anek Odia"},{"family":"Anek Tamil"},{"family":"Anek Telugu"},{"family":"Angkor"},{"family":"Annapurna SIL"},{"family":"Annie Use Your Telescope"},{"family":"Anonymous Pro"},{"family":"Anta"},{"family":"Antic"},{"family":"Antic Didone"},{"family":"Antic Slab"},{"family":"Anton"},{"family":"Anton SC"},{"family":"Antonio"},{"family":"Anuphan"},{"family":"Anybody"},{"family":"Aoboshi One"},{"family":"Arapey"},{"family":"Arbutus"},{"family":"Arbutus Slab"},{"family":"Architects Daughter"},{"family":"Archivo"},{"family":"Archivo Black"},{"family":"Archivo Narrow"},{"family":"Are You Serious"},{"family":"Aref Ruqaa"},{"family":"Aref Ruqaa Ink"},{"family":"Arima"},{"family":"Arimo"},{"family":"Arizonia"},{"family":"Armata"},{"family":"Arsenal"},{"family":"Arsenal SC"},{"family":"Artifika"},{"family":"Arvo"},{"family":"Arya"},{"family":"Asap"},{"family":"Asap Condensed"},{"family":"Asar"},{"family":"Asset"},{"family":"Assistant"},{"family":"Astloch"},{"family":"Asul"},{"family":"Athiti"},{"family":"Atkinson Hyperlegible"},{"family":"Atma"},{"family":"Atomic Age"},{"family":"Aubrey"},{"family":"Audiowide"},{"family":"Autour One"},{"family":"Average"},{"family":"Average Sans"},{"family":"Averia Gruesa Libre"},{"family":"Averia Libre"},{"family":"Averia Sans Libre"},{"family":"Averia Serif Libre"},{"family":"Azeret Mono"},{"family":"B612"},{"family":"B612 Mono"},{"family":"BIZ UDGothic"},{"family":"BIZ UDMincho"},{"family":"BIZ UDPGothic"},{"family":"BIZ UDPMincho"},{"family":"Babylonica"},{"family":"Bacasime Antique"},{"family":"Bad Script"},{"family":"Bagel Fat One"},{"family":"Bahiana"},{"family":"Bahianita"},{"family":"Bai Jamjuree"},{"family":"Bakbak One"},{"family":"Ballet"},{"family":"Baloo 2"},{"family":"Baloo Bhai 2"},{"family":"Baloo Bhaijaan 2"},{"family":"Baloo Bhaina 2"},{"family":"Baloo Chettan 2"},{"family":"Baloo Da 2"},{"family":"Baloo Paaji 2"},{"family":"Baloo Tamma 2"},{"family":"Baloo Tammudu 2"},{"family":"Baloo Thambi 2"},{"family":"Balsamiq Sans"},{"family":"Balthazar"},{"family":"Bangers"},{"family":"Barlow"},{"family":"Barlow Condensed"},{"family":"Barlow Semi Condensed"},{"family":"Barriecito"},{"family":"Barrio"},{"family":"Basic"},{"family":"Baskervville"},{"family":"Baskervville SC"},{"family":"Battambang"},{"family":"Baumans"},{"family":"Bayon"},{"family":"Be Vietnam Pro"},{"family":"Beau Rivage"},{"family":"Bebas Neue"},{"family":"Beiruti"},{"family":"Belanosima"},{"family":"Belgrano"},{"family":"Bellefair"},{"family":"Belleza"},{"family":"Bellota"},{"family":"Bellota Text"},{"family":"BenchNine"},{"family":"Benne"},{"family":"Bentham"},{"family":"Berkshire Swash"},{"family":"Besley"},{"family":"Beth Ellen"},{"family":"Bevan"},{"family":"BhuTuka Expanded One"},{"family":"Big Shoulders Display"},{"family":"Big Shoulders Inline Display"},{"family":"Big Shoulders Inline Text"},{"family":"Big Shoulders Stencil Display"},{"family":"Big Shoulders Stencil Text"},{"family":"Big Shoulders Text"},{"family":"Bigelow Rules"},{"family":"Bigshot One"},{"family":"Bilbo"},{"family":"Bilbo Swash Caps"},{"family":"BioRhyme"},{"family":"BioRhyme Expanded"},{"family":"Birthstone"},{"family":"Birthstone Bounce"},{"family":"Biryani"},{"family":"Bitter"},{"family":"Black And White Picture"},{"family":"Black Han Sans"},{"family":"Black Ops One"},{"family":"Blaka"},{"family":"Blaka Hollow"},{"family":"Blaka Ink"},{"family":"Blinker"},{"family":"Bodoni Moda"},{"family":"Bodoni Moda SC"},{"family":"Bokor"},{"family":"Bona Nova"},{"family":"Bona Nova SC"},{"family":"Bonbon"},{"family":"Bonheur Royale"},{"family":"Boogaloo"},{"family":"Borel"},{"family":"Bowlby One"},{"family":"Bowlby One SC"},{"family":"Braah One"},{"family":"Brawler"},{"family":"Bree Serif"},{"family":"Bricolage Grotesque"},{"family":"Bruno Ace"},{"family":"Bruno Ace SC"},{"family":"Brygada 1918"},{"family":"Bubblegum Sans"},{"family":"Bubbler One"},{"family":"Buda"},{"family":"Buenard"},{"family":"Bungee"},{"family":"Bungee Hairline"},{"family":"Bungee Inline"},{"family":"Bungee Outline"},{"family":"Bungee Shade"},{"family":"Bungee Spice"},{"family":"Bungee Tint"},{"family":"Butcherman"},{"family":"Butterfly Kids"},{"family":"Cabin"},{"family":"Cabin Condensed"},{"family":"Cabin Sketch"},{"family":"Cactus Classical Serif"},{"family":"Caesar Dressing"},{"family":"Cagliostro"},{"family":"Cairo"},{"family":"Cairo Play"},{"family":"Caladea"},{"family":"Calistoga"},{"family":"Calligraffitti"},{"family":"Cambay"},{"family":"Cambo"},{"family":"Candal"},{"family":"Cantarell"},{"family":"Cantata One"},{"family":"Cantora One"},{"family":"Caprasimo"},{"family":"Capriola"},{"family":"Caramel"},{"family":"Carattere"},{"family":"Cardo"},{"family":"Carlito"},{"family":"Carme"},{"family":"Carrois Gothic"},{"family":"Carrois Gothic SC"},{"family":"Carter One"},{"family":"Castoro"},{"family":"Castoro Titling"},{"family":"Catamaran"},{"family":"Caudex"},{"family":"Caveat"},{"family":"Caveat Brush"},{"family":"Cedarville Cursive"},{"family":"Ceviche One"},{"family":"Chakra Petch"},{"family":"Changa"},{"family":"Changa One"},{"family":"Chango"},{"family":"Charis SIL"},{"family":"Charm"},{"family":"Charmonman"},{"family":"Chathura"},{"family":"Chau Philomene One"},{"family":"Chela One"},{"family":"Chelsea Market"},{"family":"Chenla"},{"family":"Cherish"},{"family":"Cherry Bomb One"},{"family":"Cherry Cream Soda"},{"family":"Cherry Swash"},{"family":"Chewy"},{"family":"Chicle"},{"family":"Chilanka"},{"family":"Chivo"},{"family":"Chivo Mono"},{"family":"Chocolate Classical Sans"},{"family":"Chokokutai"},{"family":"Chonburi"},{"family":"Cinzel"},{"family":"Cinzel Decorative"},{"family":"Clicker Script"},{"family":"Climate Crisis"},{"family":"Coda"},{"family":"Codystar"},{"family":"Coiny"},{"family":"Combo"},{"family":"Comfortaa"},{"family":"Comforter"},{"family":"Comforter Brush"},{"family":"Comic Neue"},{"family":"Coming Soon"},{"family":"Comme"},{"family":"Commissioner"},{"family":"Concert One"},{"family":"Condiment"},{"family":"Content"},{"family":"Contrail One"},{"family":"Convergence"},{"family":"Cookie"},{"family":"Copse"},{"family":"Corben"},{"family":"Corinthia"},{"family":"Cormorant"},{"family":"Cormorant Garamond"},{"family":"Cormorant Infant"},{"family":"Cormorant SC"},{"family":"Cormorant Unicase"},{"family":"Cormorant Upright"},{"family":"Courgette"},{"family":"Courier Prime"},{"family":"Cousine"},{"family":"Coustard"},{"family":"Covered By Your Grace"},{"family":"Crafty Girls"},{"family":"Creepster"},{"family":"Crete Round"},{"family":"Crimson Pro"},{"family":"Crimson Text"},{"family":"Croissant One"},{"family":"Crushed"},{"family":"Cuprum"},{"family":"Cute Font"},{"family":"Cutive"},{"family":"Cutive Mono"},{"family":"DM Mono"},{"family":"DM Sans"},{"family":"DM Serif Display"},{"family":"DM Serif Text"},{"family":"Dai Banna SIL"},{"family":"Damion"},{"family":"Dancing Script"},{"family":"Danfo"},{"family":"Dangrek"},{"family":"Darker Grotesque"},{"family":"Darumadrop One"},{"family":"David Libre"},{"family":"Dawning of a New Day"},{"family":"Days One"},{"family":"Dekko"},{"family":"Dela Gothic One"},{"family":"Delicious Handrawn"},{"family":"Delius"},{"family":"Delius Swash Caps"},{"family":"Delius Unicase"},{"family":"Della Respira"},{"family":"Denk One"},{"family":"Devonshire"},{"family":"Dhurjati"},{"family":"Didact Gothic"},{"family":"Diphylleia"},{"family":"Diplomata"},{"family":"Diplomata SC"},{"family":"Do Hyeon"},{"family":"Dokdo"},{"family":"Domine"},{"family":"Donegal One"},{"family":"Dongle"},{"family":"Doppio One"},{"family":"Dorsa"},{"family":"Dosis"},{"family":"DotGothic16"},{"family":"Doto"},{"family":"Dr Sugiyama"},{"family":"Duru Sans"},{"family":"DynaPuff"},{"family":"Dynalight"},{"family":"EB Garamond"},{"family":"Eagle Lake"},{"family":"East Sea Dokdo"},{"family":"Eater"},{"family":"Economica"},{"family":"Eczar"},{"family":"Edu AU VIC WA NT Arrows"},{"family":"Edu AU VIC WA NT Dots"},{"family":"Edu AU VIC WA NT Guides"},{"family":"Edu AU VIC WA NT Hand"},{"family":"Edu AU VIC WA NT Pre"},{"family":"Edu NSW ACT Foundation"},{"family":"Edu QLD Beginner"},{"family":"Edu SA Beginner"},{"family":"Edu TAS Beginner"},{"family":"Edu VIC WA NT Beginner"},{"family":"El Messiri"},{"family":"Electrolize"},{"family":"Elsie"},{"family":"Elsie Swash Caps"},{"family":"Emblema One"},{"family":"Emilys Candy"},{"family":"Encode Sans"},{"family":"Encode Sans Condensed"},{"family":"Encode Sans Expanded"},{"family":"Encode Sans SC"},{"family":"Encode Sans Semi Condensed"},{"family":"Encode Sans Semi Expanded"},{"family":"Engagement"},{"family":"Englebert"},{"family":"Enriqueta"},{"family":"Ephesis"},{"family":"Epilogue"},{"family":"Erica One"},{"family":"Esteban"},{"family":"Estonia"},{"family":"Euphoria Script"},{"family":"Ewert"},{"family":"Exo"},{"family":"Exo 2"},{"family":"Expletus Sans"},{"family":"Explora"},{"family":"Faculty Glyphic"},{"family":"Fahkwang"},{"family":"Familjen Grotesk"},{"family":"Fanwood Text"},{"family":"Farro"},{"family":"Farsan"},{"family":"Fascinate"},{"family":"Fascinate Inline"},{"family":"Faster One"},{"family":"Fasthand"},{"family":"Fauna One"},{"family":"Faustina"},{"family":"Federant"},{"family":"Federo"},{"family":"Felipa"},{"family":"Fenix"},{"family":"Festive"},{"family":"Figtree"},{"family":"Finger Paint"},{"family":"Finlandica"},{"family":"Fira Code"},{"family":"Fira Mono"},{"family":"Fira Sans"},{"family":"Fira Sans Condensed"},{"family":"Fira Sans Extra Condensed"},{"family":"Fjalla One"},{"family":"Fjord One"},{"family":"Flamenco"},{"family":"Flavors"},{"family":"Fleur De Leah"},{"family":"Flow Block"},{"family":"Flow Circular"},{"family":"Flow Rounded"},{"family":"Foldit"},{"family":"Fondamento"},{"family":"Fontdiner Swanky"},{"family":"Forum"},{"family":"Fragment Mono"},{"family":"Francois One"},{"family":"Frank Ruhl Libre"},{"family":"Fraunces"},{"family":"Freckle Face"},{"family":"Fredericka the Great"},{"family":"Fredoka"},{"family":"Freehand"},{"family":"Freeman"},{"family":"Fresca"},{"family":"Frijole"},{"family":"Fruktur"},{"family":"Fugaz One"},{"family":"Fuggles"},{"family":"Funnel Display"},{"family":"Funnel Sans"},{"family":"Fustat"},{"family":"Fuzzy Bubbles"},{"family":"GFS Didot"},{"family":"GFS Neohellenic"},{"family":"Ga Maamli"},{"family":"Gabarito"},{"family":"Gabriela"},{"family":"Gaegu"},{"family":"Gafata"},{"family":"Gajraj One"},{"family":"Galada"},{"family":"Galdeano"},{"family":"Galindo"},{"family":"Gamja Flower"},{"family":"Gantari"},{"family":"Gasoek One"},{"family":"Gayathri"},{"family":"Geist"},{"family":"Geist Mono"},{"family":"Gelasio"},{"family":"Gemunu Libre"},{"family":"Genos"},{"family":"Gentium Book Plus"},{"family":"Gentium Plus"},{"family":"Geo"},{"family":"Geologica"},{"family":"Georama"},{"family":"Geostar"},{"family":"Geostar Fill"},{"family":"Germania One"},{"family":"Gideon Roman"},{"family":"Gidugu"},{"family":"Gilda Display"},{"family":"Girassol"},{"family":"Give You Glory"},{"family":"Glass Antiqua"},{"family":"Glegoo"},{"family":"Gloock"},{"family":"Gloria Hallelujah"},{"family":"Glory"},{"family":"Gluten"},{"family":"Goblin One"},{"family":"Gochi Hand"},{"family":"Goldman"},{"family":"Golos Text"},{"family":"Gorditas"},{"family":"Gothic A1"},{"family":"Gotu"},{"family":"Goudy Bookletter 1911"},{"family":"Gowun Batang"},{"family":"Gowun Dodum"},{"family":"Graduate"},{"family":"Grand Hotel"},{"family":"Grandiflora One"},{"family":"Grandstander"},{"family":"Grape Nuts"},{"family":"Gravitas One"},{"family":"Great Vibes"},{"family":"Grechen Fuemen"},{"family":"Grenze"},{"family":"Grenze Gotisch"},{"family":"Grey Qo"},{"family":"Griffy"},{"family":"Gruppo"},{"family":"Gudea"},{"family":"Gugi"},{"family":"Gulzar"},{"family":"Gupter"},{"family":"Gurajada"},{"family":"Gwendolyn"},{"family":"Habibi"},{"family":"Hachi Maru Pop"},{"family":"Hahmlet"},{"family":"Halant"},{"family":"Hammersmith One"},{"family":"Hanalei"},{"family":"Hanalei Fill"},{"family":"Handjet"},{"family":"Handlee"},{"family":"Hanken Grotesk"},{"family":"Hanuman"},{"family":"Happy Monkey"},{"family":"Harmattan"},{"family":"Headland One"},{"family":"Hedvig Letters Sans"},{"family":"Hedvig Letters Serif"},{"family":"Heebo"},{"family":"Henny Penny"},{"family":"Hepta Slab"},{"family":"Herr Von Muellerhoff"},{"family":"Hi Melody"},{"family":"Hina Mincho"},{"family":"Hind"},{"family":"Hind Guntur"},{"family":"Hind Madurai"},{"family":"Hind Siliguri"},{"family":"Hind Vadodara"},{"family":"Holtwood One SC"},{"family":"Homemade Apple"},{"family":"Homenaje"},{"family":"Honk"},{"family":"Host Grotesk"},{"family":"Hubballi"},{"family":"Hubot Sans"},{"family":"Hurricane"},{"family":"IBM Plex Mono"},{"family":"IBM Plex Sans"},{"family":"IBM Plex Sans Arabic"},{"family":"IBM Plex Sans Condensed"},{"family":"IBM Plex Sans Devanagari"},{"family":"IBM Plex Sans Hebrew"},{"family":"IBM Plex Sans JP"},{"family":"IBM Plex Sans KR"},{"family":"IBM Plex Sans Thai"},{"family":"IBM Plex Sans Thai Looped"},{"family":"IBM Plex Serif"},{"family":"IM Fell DW Pica"},{"family":"IM Fell DW Pica SC"},{"family":"IM Fell Double Pica"},{"family":"IM Fell Double Pica SC"},{"family":"IM Fell English"},{"family":"IM Fell English SC"},{"family":"IM Fell French Canon"},{"family":"IM Fell French Canon SC"},{"family":"IM Fell Great Primer"},{"family":"IM Fell Great Primer SC"},{"family":"Ibarra Real Nova"},{"family":"Iceberg"},{"family":"Iceland"},{"family":"Imbue"},{"family":"Imperial Script"},{"family":"Imprima"},{"family":"Inclusive Sans"},{"family":"Inconsolata"},{"family":"Inder"},{"family":"Indie Flower"},{"family":"Ingrid Darling"},{"family":"Inika"},{"family":"Inknut Antiqua"},{"family":"Inria Sans"},{"family":"Inria Serif"},{"family":"Inspiration"},{"family":"Instrument Sans"},{"family":"Instrument Serif"},{"family":"Inter"},{"family":"Inter Tight"},{"family":"Irish Grover"},{"family":"Island Moments"},{"family":"Istok Web"},{"family":"Italiana"},{"family":"Italianno"},{"family":"Itim"},{"family":"Jacquard 12"},{"family":"Jacquard 12 Charted"},{"family":"Jacquard 24"},{"family":"Jacquard 24 Charted"},{"family":"Jacquarda Bastarda 9"},{"family":"Jacquarda Bastarda 9 Charted"},{"family":"Jacques Francois"},{"family":"Jacques Francois Shadow"},{"family":"Jaini"},{"family":"Jaini Purva"},{"family":"Jaldi"},{"family":"Jaro"},{"family":"Jersey 10"},{"family":"Jersey 10 Charted"},{"family":"Jersey 15"},{"family":"Jersey 15 Charted"},{"family":"Jersey 20"},{"family":"Jersey 20 Charted"},{"family":"Jersey 25"},{"family":"Jersey 25 Charted"},{"family":"JetBrains Mono"},{"family":"Jim Nightshade"},{"family":"Joan"},{"family":"Jockey One"},{"family":"Jolly Lodger"},{"family":"Jomhuria"},{"family":"Jomolhari"},{"family":"Josefin Sans"},{"family":"Josefin Slab"},{"family":"Jost"},{"family":"Joti One"},{"family":"Jua"},{"family":"Judson"},{"family":"Julee"},{"family":"Julius Sans One"},{"family":"Junge"},{"family":"Jura"},{"family":"Just Another Hand"},{"family":"Just Me Again Down Here"},{"family":"K2D"},{"family":"Kablammo"},{"family":"Kadwa"},{"family":"Kaisei Decol"},{"family":"Kaisei HarunoUmi"},{"family":"Kaisei Opti"},{"family":"Kaisei Tokumin"},{"family":"Kalam"},{"family":"Kalnia"},{"family":"Kalnia Glaze"},{"family":"Kameron"},{"family":"Kanit"},{"family":"Kantumruy Pro"},{"family":"Karantina"},{"family":"Karla"},{"family":"Karla Tamil Inclined"},{"family":"Karla Tamil Upright"},{"family":"Karma"},{"family":"Katibeh"},{"family":"Kaushan Script"},{"family":"Kavivanar"},{"family":"Kavoon"},{"family":"Kay Pho Du"},{"family":"Kdam Thmor Pro"},{"family":"Keania One"},{"family":"Kelly Slab"},{"family":"Kenia"},{"family":"Khand"},{"family":"Khmer"},{"family":"Khula"},{"family":"Kings"},{"family":"Kirang Haerang"},{"family":"Kite One"},{"family":"Kiwi Maru"},{"family":"Klee One"},{"family":"Knewave"},{"family":"KoHo"},{"family":"Kodchasan"},{"family":"Kode Mono"},{"family":"Koh Santepheap"},{"family":"Kolker Brush"},{"family":"Konkhmer Sleokchher"},{"family":"Kosugi"},{"family":"Kosugi Maru"},{"family":"Kotta One"},{"family":"Koulen"},{"family":"Kranky"},{"family":"Kreon"},{"family":"Kristi"},{"family":"Krona One"},{"family":"Krub"},{"family":"Kufam"},{"family":"Kulim Park"},{"family":"Kumar One"},{"family":"Kumar One Outline"},{"family":"Kumbh Sans"},{"family":"Kurale"},{"family":"LXGW WenKai Mono TC"},{"family":"LXGW WenKai TC"},{"family":"La Belle Aurore"},{"family":"Labrada"},{"family":"Lacquer"},{"family":"Laila"},{"family":"Lakki Reddy"},{"family":"Lalezar"},{"family":"Lancelot"},{"family":"Langar"},{"family":"Lateef"},{"family":"Lato"},{"family":"Lavishly Yours"},{"family":"League Gothic"},{"family":"League Script"},{"family":"League Spartan"},{"family":"Leckerli One"},{"family":"Ledger"},{"family":"Lekton"},{"family":"Lemon"},{"family":"Lemonada"},{"family":"Lexend"},{"family":"Lexend Deca"},{"family":"Lexend Exa"},{"family":"Lexend Giga"},{"family":"Lexend Mega"},{"family":"Lexend Peta"},{"family":"Lexend Tera"},{"family":"Lexend Zetta"},{"family":"Libre Barcode 128"},{"family":"Libre Barcode 128 Text"},{"family":"Libre Barcode 39"},{"family":"Libre Barcode 39 Extended"},{"family":"Libre Barcode 39 Extended Text"},{"family":"Libre Barcode 39 Text"},{"family":"Libre Barcode EAN13 Text"},{"family":"Libre Baskerville"},{"family":"Libre Bodoni"},{"family":"Libre Caslon Display"},{"family":"Libre Caslon Text"},{"family":"Libre Franklin"},{"family":"Licorice"},{"family":"Life Savers"},{"family":"Lilita One"},{"family":"Lily Script One"},{"family":"Limelight"},{"family":"Linden Hill"},{"family":"Linefont"},{"family":"Lisu Bosa"},{"family":"Literata"},{"family":"Liu Jian Mao Cao"},{"family":"Livvic"},{"family":"Lobster"},{"family":"Lobster Two"},{"family":"Londrina Outline"},{"family":"Londrina Shadow"},{"family":"Londrina Sketch"},{"family":"Londrina Solid"},{"family":"Long Cang"},{"family":"Lora"},{"family":"Love Light"},{"family":"Love Ya Like A Sister"},{"family":"Loved by the King"},{"family":"Lovers Quarrel"},{"family":"Luckiest Guy"},{"family":"Lugrasimo"},{"family":"Lumanosimo"},{"family":"Lunasima"},{"family":"Lusitana"},{"family":"Lustria"},{"family":"Luxurious Roman"},{"family":"Luxurious Script"},{"family":"M PLUS 1"},{"family":"M PLUS 1 Code"},{"family":"M PLUS 1p"},{"family":"M PLUS 2"},{"family":"M PLUS Code Latin"},{"family":"M PLUS Rounded 1c"},{"family":"Ma Shan Zheng"},{"family":"Macondo"},{"family":"Macondo Swash Caps"},{"family":"Mada"},{"family":"Madimi One"},{"family":"Magra"},{"family":"Maiden Orange"},{"family":"Maitree"},{"family":"Major Mono Display"},{"family":"Mako"},{"family":"Mali"},{"family":"Mallanna"},{"family":"Maname"},{"family":"Mandali"},{"family":"Manjari"},{"family":"Manrope"},{"family":"Mansalva"},{"family":"Manuale"},{"family":"Marcellus"},{"family":"Marcellus SC"},{"family":"Marck Script"},{"family":"Margarine"},{"family":"Marhey"},{"family":"Markazi Text"},{"family":"Marko One"},{"family":"Marmelad"},{"family":"Martel"},{"family":"Martel Sans"},{"family":"Martian Mono"},{"family":"Marvel"},{"family":"Mate"},{"family":"Mate SC"},{"family":"Matemasie"},{"family":"Material Icons"},{"family":"Material Icons Outlined"},{"family":"Material Icons Round"},{"family":"Material Icons Sharp"},{"family":"Material Icons Two Tone"},{"family":"Material Symbols Outlined"},{"family":"Material Symbols Rounded"},{"family":"Material Symbols Sharp"},{"family":"Maven Pro"},{"family":"McLaren"},{"family":"Mea Culpa"},{"family":"Meddon"},{"family":"MedievalSharp"},{"family":"Medula One"},{"family":"Meera Inimai"},{"family":"Megrim"},{"family":"Meie Script"},{"family":"Meow Script"},{"family":"Merienda"},{"family":"Merriweather"},{"family":"Merriweather Sans"},{"family":"Metal"},{"family":"Metal Mania"},{"family":"Metamorphous"},{"family":"Metrophobic"},{"family":"Michroma"},{"family":"Micro 5"},{"family":"Micro 5 Charted"},{"family":"Milonga"},{"family":"Miltonian"},{"family":"Miltonian Tattoo"},{"family":"Mina"},{"family":"Mingzat"},{"family":"Miniver"},{"family":"Miriam Libre"},{"family":"Mirza"},{"family":"Miss Fajardose"},{"family":"Mitr"},{"family":"Mochiy Pop One"},{"family":"Mochiy Pop P One"},{"family":"Modak"},{"family":"Modern Antiqua"},{"family":"Moderustic"},{"family":"Mogra"},{"family":"Mohave"},{"family":"Moirai One"},{"family":"Molengo"},{"family":"Molle"},{"family":"Mona Sans"},{"family":"Monda"},{"family":"Monofett"},{"family":"Monomaniac One"},{"family":"Monoton"},{"family":"Monsieur La Doulaise"},{"family":"Montaga"},{"family":"Montagu Slab"},{"family":"MonteCarlo"},{"family":"Montez"},{"family":"Montserrat"},{"family":"Montserrat Alternates"},{"family":"Montserrat Subrayada"},{"family":"Moo Lah Lah"},{"family":"Mooli"},{"family":"Moon Dance"},{"family":"Moul"},{"family":"Moulpali"},{"family":"Mountains of Christmas"},{"family":"Mouse Memoirs"},{"family":"Mr Bedfort"},{"family":"Mr Dafoe"},{"family":"Mr De Haviland"},{"family":"Mrs Saint Delafield"},{"family":"Mrs Sheppards"},{"family":"Ms Madi"},{"family":"Mukta"},{"family":"Mukta Mahee"},{"family":"Mukta Malar"},{"family":"Mukta Vaani"},{"family":"Mulish"},{"family":"Murecho"},{"family":"MuseoModerno"},{"family":"My Soul"},{"family":"Mynerve"},{"family":"Mystery Quest"},{"family":"NTR"},{"family":"Nabla"},{"family":"Namdhinggo"},{"family":"Nanum Brush Script"},{"family":"Nanum Gothic"},{"family":"Nanum Gothic Coding"},{"family":"Nanum Myeongjo"},{"family":"Nanum Pen Script"},{"family":"Narnoor"},{"family":"Neonderthaw"},{"family":"Nerko One"},{"family":"Neucha"},{"family":"Neuton"},{"family":"New Amsterdam"},{"family":"New Rocker"},{"family":"New Tegomin"},{"family":"News Cycle"},{"family":"Newsreader"},{"family":"Niconne"},{"family":"Niramit"},{"family":"Nixie One"},{"family":"Nobile"},{"family":"Nokora"},{"family":"Norican"},{"family":"Nosifer"},{"family":"Notable"},{"family":"Nothing You Could Do"},{"family":"Noticia Text"},{"family":"Noto Color Emoji"},{"family":"Noto Emoji"},{"family":"Noto Kufi Arabic"},{"family":"Noto Music"},{"family":"Noto Naskh Arabic"},{"family":"Noto Nastaliq Urdu"},{"family":"Noto Rashi Hebrew"},{"family":"Noto Sans"},{"family":"Noto Sans Adlam"},{"family":"Noto Sans Adlam Unjoined"},{"family":"Noto Sans Anatolian Hieroglyphs"},{"family":"Noto Sans Arabic"},{"family":"Noto Sans Armenian"},{"family":"Noto Sans Avestan"},{"family":"Noto Sans Balinese"},{"family":"Noto Sans Bamum"},{"family":"Noto Sans Bassa Vah"},{"family":"Noto Sans Batak"},{"family":"Noto Sans Bengali"},{"family":"Noto Sans Bhaiksuki"},{"family":"Noto Sans Brahmi"},{"family":"Noto Sans Buginese"},{"family":"Noto Sans Buhid"},{"family":"Noto Sans Canadian Aboriginal"},{"family":"Noto Sans Carian"},{"family":"Noto Sans Caucasian Albanian"},{"family":"Noto Sans Chakma"},{"family":"Noto Sans Cham"},{"family":"Noto Sans Cherokee"},{"family":"Noto Sans Chorasmian"},{"family":"Noto Sans Coptic"},{"family":"Noto Sans Cuneiform"},{"family":"Noto Sans Cypriot"},{"family":"Noto Sans Cypro Minoan"},{"family":"Noto Sans Deseret"},{"family":"Noto Sans Devanagari"},{"family":"Noto Sans Display"},{"family":"Noto Sans Duployan"},{"family":"Noto Sans Egyptian Hieroglyphs"},{"family":"Noto Sans Elbasan"},{"family":"Noto Sans Elymaic"},{"family":"Noto Sans Ethiopic"},{"family":"Noto Sans Georgian"},{"family":"Noto Sans Glagolitic"},{"family":"Noto Sans Gothic"},{"family":"Noto Sans Grantha"},{"family":"Noto Sans Gujarati"},{"family":"Noto Sans Gunjala Gondi"},{"family":"Noto Sans Gurmukhi"},{"family":"Noto Sans HK"},{"family":"Noto Sans Hanifi Rohingya"},{"family":"Noto Sans Hanunoo"},{"family":"Noto Sans Hatran"},{"family":"Noto Sans Hebrew"},{"family":"Noto Sans Imperial Aramaic"},{"family":"Noto Sans Indic Siyaq Numbers"},{"family":"Noto Sans Inscriptional Pahlavi"},{"family":"Noto Sans Inscriptional Parthian"},{"family":"Noto Sans JP"},{"family":"Noto Sans Javanese"},{"family":"Noto Sans KR"},{"family":"Noto Sans Kaithi"},{"family":"Noto Sans Kannada"},{"family":"Noto Sans Kawi"},{"family":"Noto Sans Kayah Li"},{"family":"Noto Sans Kharoshthi"},{"family":"Noto Sans Khmer"},{"family":"Noto Sans Khojki"},{"family":"Noto Sans Khudawadi"},{"family":"Noto Sans Lao"},{"family":"Noto Sans Lao Looped"},{"family":"Noto Sans Lepcha"},{"family":"Noto Sans Limbu"},{"family":"Noto Sans Linear A"},{"family":"Noto Sans Linear B"},{"family":"Noto Sans Lisu"},{"family":"Noto Sans Lycian"},{"family":"Noto Sans Lydian"},{"family":"Noto Sans Mahajani"},{"family":"Noto Sans Malayalam"},{"family":"Noto Sans Mandaic"},{"family":"Noto Sans Manichaean"},{"family":"Noto Sans Marchen"},{"family":"Noto Sans Masaram Gondi"},{"family":"Noto Sans Math"},{"family":"Noto Sans Mayan Numerals"},{"family":"Noto Sans Medefaidrin"},{"family":"Noto Sans Meetei Mayek"},{"family":"Noto Sans Mende Kikakui"},{"family":"Noto Sans Meroitic"},{"family":"Noto Sans Miao"},{"family":"Noto Sans Modi"},{"family":"Noto Sans Mongolian"},{"family":"Noto Sans Mono"},{"family":"Noto Sans Mro"},{"family":"Noto Sans Multani"},{"family":"Noto Sans Myanmar"},{"family":"Noto Sans NKo"},{"family":"Noto Sans NKo Unjoined"},{"family":"Noto Sans Nabataean"},{"family":"Noto Sans Nag Mundari"},{"family":"Noto Sans Nandinagari"},{"family":"Noto Sans New Tai Lue"},{"family":"Noto Sans Newa"},{"family":"Noto Sans Nushu"},{"family":"Noto Sans Ogham"},{"family":"Noto Sans Ol Chiki"},{"family":"Noto Sans Old Hungarian"},{"family":"Noto Sans Old Italic"},{"family":"Noto Sans Old North Arabian"},{"family":"Noto Sans Old Permic"},{"family":"Noto Sans Old Persian"},{"family":"Noto Sans Old Sogdian"},{"family":"Noto Sans Old South Arabian"},{"family":"Noto Sans Old Turkic"},{"family":"Noto Sans Oriya"},{"family":"Noto Sans Osage"},{"family":"Noto Sans Osmanya"},{"family":"Noto Sans Pahawh Hmong"},{"family":"Noto Sans Palmyrene"},{"family":"Noto Sans Pau Cin Hau"},{"family":"Noto Sans Phags Pa"},{"family":"Noto Sans Phoenician"},{"family":"Noto Sans Psalter Pahlavi"},{"family":"Noto Sans Rejang"},{"family":"Noto Sans Runic"},{"family":"Noto Sans SC"},{"family":"Noto Sans Samaritan"},{"family":"Noto Sans Saurashtra"},{"family":"Noto Sans Sharada"},{"family":"Noto Sans Shavian"},{"family":"Noto Sans Siddham"},{"family":"Noto Sans SignWriting"},{"family":"Noto Sans Sinhala"},{"family":"Noto Sans Sogdian"},{"family":"Noto Sans Sora Sompeng"},{"family":"Noto Sans Soyombo"},{"family":"Noto Sans Sundanese"},{"family":"Noto Sans Syloti Nagri"},{"family":"Noto Sans Symbols"},{"family":"Noto Sans Symbols 2"},{"family":"Noto Sans Syriac"},{"family":"Noto Sans Syriac Eastern"},{"family":"Noto Sans TC"},{"family":"Noto Sans Tagalog"},{"family":"Noto Sans Tagbanwa"},{"family":"Noto Sans Tai Le"},{"family":"Noto Sans Tai Tham"},{"family":"Noto Sans Tai Viet"},{"family":"Noto Sans Takri"},{"family":"Noto Sans Tamil"},{"family":"Noto Sans Tamil Supplement"},{"family":"Noto Sans Tangsa"},{"family":"Noto Sans Telugu"},{"family":"Noto Sans Thaana"},{"family":"Noto Sans Thai"},{"family":"Noto Sans Thai Looped"},{"family":"Noto Sans Tifinagh"},{"family":"Noto Sans Tirhuta"},{"family":"Noto Sans Ugaritic"},{"family":"Noto Sans Vai"},{"family":"Noto Sans Vithkuqi"},{"family":"Noto Sans Wancho"},{"family":"Noto Sans Warang Citi"},{"family":"Noto Sans Yi"},{"family":"Noto Sans Zanabazar Square"},{"family":"Noto Serif"},{"family":"Noto Serif Ahom"},{"family":"Noto Serif Armenian"},{"family":"Noto Serif Balinese"},{"family":"Noto Serif Bengali"},{"family":"Noto Serif Devanagari"},{"family":"Noto Serif Display"},{"family":"Noto Serif Dogra"},{"family":"Noto Serif Ethiopic"},{"family":"Noto Serif Georgian"},{"family":"Noto Serif Grantha"},{"family":"Noto Serif Gujarati"},{"family":"Noto Serif Gurmukhi"},{"family":"Noto Serif HK"},{"family":"Noto Serif Hebrew"},{"family":"Noto Serif JP"},{"family":"Noto Serif KR"},{"family":"Noto Serif Kannada"},{"family":"Noto Serif Khitan Small Script"},{"family":"Noto Serif Khmer"},{"family":"Noto Serif Khojki"},{"family":"Noto Serif Lao"},{"family":"Noto Serif Makasar"},{"family":"Noto Serif Malayalam"},{"family":"Noto Serif Myanmar"},{"family":"Noto Serif NP Hmong"},{"family":"Noto Serif Old Uyghur"},{"family":"Noto Serif Oriya"},{"family":"Noto Serif Ottoman Siyaq"},{"family":"Noto Serif SC"},{"family":"Noto Serif Sinhala"},{"family":"Noto Serif TC"},{"family":"Noto Serif Tamil"},{"family":"Noto Serif Tangut"},{"family":"Noto Serif Telugu"},{"family":"Noto Serif Thai"},{"family":"Noto Serif Tibetan"},{"family":"Noto Serif Toto"},{"family":"Noto Serif Vithkuqi"},{"family":"Noto Serif Yezidi"},{"family":"Noto Traditional Nushu"},{"family":"Noto Znamenny Musical Notation"},{"family":"Nova Cut"},{"family":"Nova Flat"},{"family":"Nova Mono"},{"family":"Nova Oval"},{"family":"Nova Round"},{"family":"Nova Script"},{"family":"Nova Slim"},{"family":"Nova Square"},{"family":"Numans"},{"family":"Nunito"},{"family":"Nunito Sans"},{"family":"Nuosu SIL"},{"family":"Odibee Sans"},{"family":"Odor Mean Chey"},{"family":"Offside"},{"family":"Oi"},{"family":"Ojuju"},{"family":"Old Standard TT"},{"family":"Oldenburg"},{"family":"Ole"},{"family":"Oleo Script"},{"family":"Oleo Script Swash Caps"},{"family":"Onest"},{"family":"Oooh Baby"},{"family":"Open Sans"},{"family":"Oranienbaum"},{"family":"Orbit"},{"family":"Orbitron"},{"family":"Oregano"},{"family":"Orelega One"},{"family":"Orienta"},{"family":"Original Surfer"},{"family":"Oswald"},{"family":"Outfit"},{"family":"Over the Rainbow"},{"family":"Overlock"},{"family":"Overlock SC"},{"family":"Overpass"},{"family":"Overpass Mono"},{"family":"Ovo"},{"family":"Oxanium"},{"family":"Oxygen"},{"family":"Oxygen Mono"},{"family":"PT Mono"},{"family":"PT Sans"},{"family":"PT Sans Caption"},{"family":"PT Sans Narrow"},{"family":"PT Serif"},{"family":"PT Serif Caption"},{"family":"Pacifico"},{"family":"Padauk"},{"family":"Padyakke Expanded One"},{"family":"Palanquin"},{"family":"Palanquin Dark"},{"family":"Palette Mosaic"},{"family":"Pangolin"},{"family":"Paprika"},{"family":"Parisienne"},{"family":"Parkinsans"},{"family":"Passero One"},{"family":"Passion One"},{"family":"Passions Conflict"},{"family":"Pathway Extreme"},{"family":"Pathway Gothic One"},{"family":"Patrick Hand"},{"family":"Patrick Hand SC"},{"family":"Pattaya"},{"family":"Patua One"},{"family":"Pavanam"},{"family":"Paytone One"},{"family":"Peddana"},{"family":"Peralta"},{"family":"Permanent Marker"},{"family":"Petemoss"},{"family":"Petit Formal Script"},{"family":"Petrona"},{"family":"Phetsarath"},{"family":"Philosopher"},{"family":"Phudu"},{"family":"Piazzolla"},{"family":"Piedra"},{"family":"Pinyon Script"},{"family":"Pirata One"},{"family":"Pixelify Sans"},{"family":"Plaster"},{"family":"Platypi"},{"family":"Play"},{"family":"Playball"},{"family":"Playfair"},{"family":"Playfair Display"},{"family":"Playfair Display SC"},{"family":"Playpen Sans"},{"family":"Playwrite AR"},{"family":"Playwrite AT"},{"family":"Playwrite AU NSW"},{"family":"Playwrite AU QLD"},{"family":"Playwrite AU SA"},{"family":"Playwrite AU TAS"},{"family":"Playwrite AU VIC"},{"family":"Playwrite BE VLG"},{"family":"Playwrite BE WAL"},{"family":"Playwrite BR"},{"family":"Playwrite CA"},{"family":"Playwrite CL"},{"family":"Playwrite CO"},{"family":"Playwrite CU"},{"family":"Playwrite CZ"},{"family":"Playwrite DE Grund"},{"family":"Playwrite DE LA"},{"family":"Playwrite DE SAS"},{"family":"Playwrite DE VA"},{"family":"Playwrite DK Loopet"},{"family":"Playwrite DK Uloopet"},{"family":"Playwrite ES"},{"family":"Playwrite ES Deco"},{"family":"Playwrite FR Moderne"},{"family":"Playwrite FR Trad"},{"family":"Playwrite GB J"},{"family":"Playwrite GB S"},{"family":"Playwrite HR"},{"family":"Playwrite HR Lijeva"},{"family":"Playwrite HU"},{"family":"Playwrite ID"},{"family":"Playwrite IE"},{"family":"Playwrite IN"},{"family":"Playwrite IS"},{"family":"Playwrite IT Moderna"},{"family":"Playwrite IT Trad"},{"family":"Playwrite MX"},{"family":"Playwrite NG Modern"},{"family":"Playwrite NL"},{"family":"Playwrite NO"},{"family":"Playwrite NZ"},{"family":"Playwrite PE"},{"family":"Playwrite PL"},{"family":"Playwrite PT"},{"family":"Playwrite RO"},{"family":"Playwrite SK"},{"family":"Playwrite TZ"},{"family":"Playwrite US Modern"},{"family":"Playwrite US Trad"},{"family":"Playwrite VN"},{"family":"Playwrite ZA"},{"family":"Plus Jakarta Sans"},{"family":"Podkova"},{"family":"Poetsen One"},{"family":"Poiret One"},{"family":"Poller One"},{"family":"Poltawski Nowy"},{"family":"Poly"},{"family":"Pompiere"},{"family":"Ponnala"},{"family":"Pontano Sans"},{"family":"Poor Story"},{"family":"Poppins"},{"family":"Port Lligat Sans"},{"family":"Port Lligat Slab"},{"family":"Potta One"},{"family":"Pragati Narrow"},{"family":"Praise"},{"family":"Prata"},{"family":"Preahvihear"},{"family":"Press Start 2P"},{"family":"Pridi"},{"family":"Princess Sofia"},{"family":"Prociono"},{"family":"Prompt"},{"family":"Prosto One"},{"family":"Protest Guerrilla"},{"family":"Protest Revolution"},{"family":"Protest Riot"},{"family":"Protest Strike"},{"family":"Proza Libre"},{"family":"Public Sans"},{"family":"Puppies Play"},{"family":"Puritan"},{"family":"Purple Purse"},{"family":"Qahiri"},{"family":"Quando"},{"family":"Quantico"},{"family":"Quattrocento"},{"family":"Quattrocento Sans"},{"family":"Questrial"},{"family":"Quicksand"},{"family":"Quintessential"},{"family":"Qwigley"},{"family":"Qwitcher Grypen"},{"family":"REM"},{"family":"Racing Sans One"},{"family":"Radio Canada"},{"family":"Radio Canada Big"},{"family":"Radley"},{"family":"Rajdhani"},{"family":"Rakkas"},{"family":"Raleway"},{"family":"Raleway Dots"},{"family":"Ramabhadra"},{"family":"Ramaraja"},{"family":"Rambla"},{"family":"Rammetto One"},{"family":"Rampart One"},{"family":"Ranchers"},{"family":"Rancho"},{"family":"Ranga"},{"family":"Rasa"},{"family":"Rationale"},{"family":"Ravi Prakash"},{"family":"Readex Pro"},{"family":"Recursive"},{"family":"Red Hat Display"},{"family":"Red Hat Mono"},{"family":"Red Hat Text"},{"family":"Red Rose"},{"family":"Redacted"},{"family":"Redacted Script"},{"family":"Reddit Mono"},{"family":"Reddit Sans"},{"family":"Reddit Sans Condensed"},{"family":"Redressed"},{"family":"Reem Kufi"},{"family":"Reem Kufi Fun"},{"family":"Reem Kufi Ink"},{"family":"Reenie Beanie"},{"family":"Reggae One"},{"family":"Rethink Sans"},{"family":"Revalia"},{"family":"Rhodium Libre"},{"family":"Ribeye"},{"family":"Ribeye Marrow"},{"family":"Righteous"},{"family":"Risque"},{"family":"Road Rage"},{"family":"Roboto"},{"family":"Roboto Condensed"},{"family":"Roboto Flex"},{"family":"Roboto Mono"},{"family":"Roboto Serif"},{"family":"Roboto Slab"},{"family":"Rochester"},{"family":"Rock 3D"},{"family":"Rock Salt"},{"family":"RocknRoll One"},{"family":"Rokkitt"},{"family":"Romanesco"},{"family":"Ropa Sans"},{"family":"Rosario"},{"family":"Rosarivo"},{"family":"Rouge Script"},{"family":"Rowdies"},{"family":"Rozha One"},{"family":"Rubik"},{"family":"Rubik 80s Fade"},{"family":"Rubik Beastly"},{"family":"Rubik Broken Fax"},{"family":"Rubik Bubbles"},{"family":"Rubik Burned"},{"family":"Rubik Dirt"},{"family":"Rubik Distressed"},{"family":"Rubik Doodle Shadow"},{"family":"Rubik Doodle Triangles"},{"family":"Rubik Gemstones"},{"family":"Rubik Glitch"},{"family":"Rubik Glitch Pop"},{"family":"Rubik Iso"},{"family":"Rubik Lines"},{"family":"Rubik Maps"},{"family":"Rubik Marker Hatch"},{"family":"Rubik Maze"},{"family":"Rubik Microbe"},{"family":"Rubik Mono One"},{"family":"Rubik Moonrocks"},{"family":"Rubik Pixels"},{"family":"Rubik Puddles"},{"family":"Rubik Scribble"},{"family":"Rubik Spray Paint"},{"family":"Rubik Storm"},{"family":"Rubik Vinyl"},{"family":"Rubik Wet Paint"},{"family":"Ruda"},{"family":"Rufina"},{"family":"Ruge Boogie"},{"family":"Ruluko"},{"family":"Rum Raisin"},{"family":"Ruslan Display"},{"family":"Russo One"},{"family":"Ruthie"},{"family":"Ruwudu"},{"family":"Rye"},{"family":"STIX Two Text"},{"family":"SUSE"},{"family":"Sacramento"},{"family":"Sahitya"},{"family":"Sail"},{"family":"Saira"},{"family":"Saira Condensed"},{"family":"Saira Extra Condensed"},{"family":"Saira Semi Condensed"},{"family":"Saira Stencil One"},{"family":"Salsa"},{"family":"Sanchez"},{"family":"Sancreek"},{"family":"Sankofa Display"},{"family":"Sansita"},{"family":"Sansita Swashed"},{"family":"Sarabun"},{"family":"Sarala"},{"family":"Sarina"},{"family":"Sarpanch"},{"family":"Sassy Frass"},{"family":"Satisfy"},{"family":"Sawarabi Gothic"},{"family":"Sawarabi Mincho"},{"family":"Scada"},{"family":"Scheherazade New"},{"family":"Schibsted Grotesk"},{"family":"Schoolbell"},{"family":"Scope One"},{"family":"Seaweed Script"},{"family":"Secular One"},{"family":"Sedan"},{"family":"Sedan SC"},{"family":"Sedgwick Ave"},{"family":"Sedgwick Ave Display"},{"family":"Sen"},{"family":"Send Flowers"},{"family":"Sevillana"},{"family":"Seymour One"},{"family":"Shadows Into Light"},{"family":"Shadows Into Light Two"},{"family":"Shalimar"},{"family":"Shantell Sans"},{"family":"Shanti"},{"family":"Share"},{"family":"Share Tech"},{"family":"Share Tech Mono"},{"family":"Shippori Antique"},{"family":"Shippori Antique B1"},{"family":"Shippori Mincho"},{"family":"Shippori Mincho B1"},{"family":"Shizuru"},{"family":"Shojumaru"},{"family":"Short Stack"},{"family":"Shrikhand"},{"family":"Siemreap"},{"family":"Sigmar"},{"family":"Sigmar One"},{"family":"Signika"},{"family":"Signika Negative"},{"family":"Silkscreen"},{"family":"Simonetta"},{"family":"Single Day"},{"family":"Sintony"},{"family":"Sirin Stencil"},{"family":"Six Caps"},{"family":"Sixtyfour"},{"family":"Sixtyfour Convergence"},{"family":"Skranji"},{"family":"Slabo 13px"},{"family":"Slabo 27px"},{"family":"Slackey"},{"family":"Slackside One"},{"family":"Smokum"},{"family":"Smooch"},{"family":"Smooch Sans"},{"family":"Smythe"},{"family":"Sniglet"},{"family":"Snippet"},{"family":"Snowburst One"},{"family":"Sofadi One"},{"family":"Sofia"},{"family":"Sofia Sans"},{"family":"Sofia Sans Condensed"},{"family":"Sofia Sans Extra Condensed"},{"family":"Sofia Sans Semi Condensed"},{"family":"Solitreo"},{"family":"Solway"},{"family":"Sometype Mono"},{"family":"Song Myung"},{"family":"Sono"},{"family":"Sonsie One"},{"family":"Sora"},{"family":"Sorts Mill Goudy"},{"family":"Sour Gummy"},{"family":"Source Code Pro"},{"family":"Source Sans 3"},{"family":"Source Serif 4"},{"family":"Space Grotesk"},{"family":"Space Mono"},{"family":"Special Elite"},{"family":"Spectral"},{"family":"Spectral SC"},{"family":"Spicy Rice"},{"family":"Spinnaker"},{"family":"Spirax"},{"family":"Splash"},{"family":"Spline Sans"},{"family":"Spline Sans Mono"},{"family":"Squada One"},{"family":"Square Peg"},{"family":"Sree Krushnadevaraya"},{"family":"Sriracha"},{"family":"Srisakdi"},{"family":"Staatliches"},{"family":"Stalemate"},{"family":"Stalinist One"},{"family":"Stardos Stencil"},{"family":"Stick"},{"family":"Stick No Bills"},{"family":"Stint Ultra Condensed"},{"family":"Stint Ultra Expanded"},{"family":"Stoke"},{"family":"Strait"},{"family":"Style Script"},{"family":"Stylish"},{"family":"Sue Ellen Francisco"},{"family":"Suez One"},{"family":"Sulphur Point"},{"family":"Sumana"},{"family":"Sunflower"},{"family":"Sunshiney"},{"family":"Supermercado One"},{"family":"Sura"},{"family":"Suranna"},{"family":"Suravaram"},{"family":"Suwannaphum"},{"family":"Swanky and Moo Moo"},{"family":"Syncopate"},{"family":"Syne"},{"family":"Syne Mono"},{"family":"Syne Tactile"},{"family":"Tac One"},{"family":"Tai Heritage Pro"},{"family":"Tajawal"},{"family":"Tangerine"},{"family":"Tapestry"},{"family":"Taprom"},{"family":"Tauri"},{"family":"Taviraj"},{"family":"Teachers"},{"family":"Teko"},{"family":"Tektur"},{"family":"Telex"},{"family":"Tenali Ramakrishna"},{"family":"Tenor Sans"},{"family":"Text Me One"},{"family":"Texturina"},{"family":"Thasadith"},{"family":"The Girl Next Door"},{"family":"The Nautigal"},{"family":"Tienne"},{"family":"Tillana"},{"family":"Tilt Neon"},{"family":"Tilt Prism"},{"family":"Tilt Warp"},{"family":"Timmana"},{"family":"Tinos"},{"family":"Tiny5"},{"family":"Tiro Bangla"},{"family":"Tiro Devanagari Hindi"},{"family":"Tiro Devanagari Marathi"},{"family":"Tiro Devanagari Sanskrit"},{"family":"Tiro Gurmukhi"},{"family":"Tiro Kannada"},{"family":"Tiro Tamil"},{"family":"Tiro Telugu"},{"family":"Titan One"},{"family":"Titillium Web"},{"family":"Tomorrow"},{"family":"Tourney"},{"family":"Trade Winds"},{"family":"Train One"},{"family":"Trirong"},{"family":"Trispace"},{"family":"Trocchi"},{"family":"Trochut"},{"family":"Truculenta"},{"family":"Trykker"},{"family":"Tsukimi Rounded"},{"family":"Tulpen One"},{"family":"Turret Road"},{"family":"Twinkle Star"},{"family":"Ubuntu"},{"family":"Ubuntu Condensed"},{"family":"Ubuntu Mono"},{"family":"Ubuntu Sans"},{"family":"Ubuntu Sans Mono"},{"family":"Uchen"},{"family":"Ultra"},{"family":"Unbounded"},{"family":"Uncial Antiqua"},{"family":"Underdog"},{"family":"Unica One"},{"family":"UnifrakturCook"},{"family":"UnifrakturMaguntia"},{"family":"Unkempt"},{"family":"Unlock"},{"family":"Unna"},{"family":"Updock"},{"family":"Urbanist"},{"family":"VT323"},{"family":"Vampiro One"},{"family":"Varela"},{"family":"Varela Round"},{"family":"Varta"},{"family":"Vast Shadow"},{"family":"Vazirmatn"},{"family":"Vesper Libre"},{"family":"Viaoda Libre"},{"family":"Vibes"},{"family":"Vibur"},{"family":"Victor Mono"},{"family":"Vidaloka"},{"family":"Viga"},{"family":"Vina Sans"},{"family":"Voces"},{"family":"Volkhov"},{"family":"Vollkorn"},{"family":"Vollkorn SC"},{"family":"Voltaire"},{"family":"Vujahday Script"},{"family":"Waiting for the Sunrise"},{"family":"Wallpoet"},{"family":"Walter Turncoat"},{"family":"Warnes"},{"family":"Water Brush"},{"family":"Waterfall"},{"family":"Wavefont"},{"family":"Wellfleet"},{"family":"Wendy One"},{"family":"Whisper"},{"family":"WindSong"},{"family":"Wire One"},{"family":"Wittgenstein"},{"family":"Wix Madefor Display"},{"family":"Wix Madefor Text"},{"family":"Work Sans"},{"family":"Workbench"},{"family":"Xanh Mono"},{"family":"Yaldevi"},{"family":"Yanone Kaffeesatz"},{"family":"Yantramanav"},{"family":"Yarndings 12"},{"family":"Yarndings 12 Charted"},{"family":"Yarndings 20"},{"family":"Yarndings 20 Charted"},{"family":"Yatra One"},{"family":"Yellowtail"},{"family":"Yeon Sung"},{"family":"Yeseva One"},{"family":"Yesteryear"},{"family":"Yomogi"},{"family":"Young Serif"},{"family":"Yrsa"},{"family":"Ysabeau"},{"family":"Ysabeau Infant"},{"family":"Ysabeau Office"},{"family":"Ysabeau SC"},{"family":"Yuji Boku"},{"family":"Yuji Hentaigana Akari"},{"family":"Yuji Hentaigana Akebono"},{"family":"Yuji Mai"},{"family":"Yuji Syuku"},{"family":"Yusei Magic"},{"family":"ZCOOL KuaiLe"},{"family":"ZCOOL QingKe HuangYou"},{"family":"ZCOOL XiaoWei"},{"family":"Zain"},{"family":"Zen Antique"},{"family":"Zen Antique Soft"},{"family":"Zen Dots"},{"family":"Zen Kaku Gothic Antique"},{"family":"Zen Kaku Gothic New"},{"family":"Zen Kurenaido"},{"family":"Zen Loop"},{"family":"Zen Maru Gothic"},{"family":"Zen Old Mincho"},{"family":"Zen Tokyo Zoo"},{"family":"Zeyada"},{"family":"Zhi Mang Xing"},{"family":"Zilla Slab"},{"family":"Zilla Slab Highlight"}]');Ht&&!qiBlocksEditor.vars.googleFontsDisabled&&(qiBlocksEditor.vars.fontOptions.push({label:(0,e.__)("Google Fonts","qi-blocks"),value:"Google"}),Ht.map(e=>{qiBlocksEditor.vars.fontOptions.push({label:e.family,value:e.family})}))})()})();
     1(()=>{var e={7217(e,t,i){var a=i(3702),n=i(80),o=i(4739),l=i(8655),r=i(1175);function s(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var a=e[t];this.set(a[0],a[1])}}s.prototype.clear=a,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=l,s.prototype.set=r,e.exports=s},7828(e,t,i){var a=i(9325).Uint8Array;e.exports=a},1033(e){e.exports=function(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}},3729(e){e.exports=function(e,t){for(var i=-1,a=null==e?0:e.length;++i<a&&!1!==t(e[i],i,e););return e}},4932(e){e.exports=function(e,t){for(var i=-1,a=null==e?0:e.length,n=Array(a);++i<a;)n[i]=t(e[i],i,e);return n}},882(e){e.exports=function(e,t,i,a){var n=-1,o=null==e?0:e.length;for(a&&o&&(i=e[++n]);++n<o;)i=t(i,e[n],n,e);return i}},1074(e){e.exports=function(e){return e.split("")}},1733(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},7805(e,t,i){var a=i(3360),n=i(5288);e.exports=function(e,t,i){(void 0!==i&&!n(e[t],i)||void 0===i&&!(t in e))&&a(e,t,i)}},6547(e,t,i){var a=i(3360),n=i(5288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,i){var l=e[t];o.call(e,t)&&n(l,i)&&(void 0!==i||t in e)||a(e,t,i)}},6025(e,t,i){var a=i(5288);e.exports=function(e,t){for(var i=e.length;i--;)if(a(e[i][0],t))return i;return-1}},4733(e,t,i){var a=i(1791),n=i(5950);e.exports=function(e,t){return e&&a(t,n(t),e)}},3838(e,t,i){var a=i(1791),n=i(7241);e.exports=function(e,t){return e&&a(t,n(t),e)}},3360(e,t,i){var a=i(3243);e.exports=function(e,t,i){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}},9999(e,t,i){var a=i(7217),n=i(3729),o=i(6547),l=i(4733),r=i(3838),s=i(3290),u=i(3007),c=i(2271),f=i(8948),m=i(2),y=i(3349),d=i(5861),p=i(6189),g=i(7199),b=i(5529),h=i(6449),S=i(3656),v=i(7730),w=i(3805),k=i(8440),C=i(5950),_=i(7241),O="[object Arguments]",P="[object Function]",x="[object Object]",q={};q[O]=q["[object Array]"]=q["[object ArrayBuffer]"]=q["[object DataView]"]=q["[object Boolean]"]=q["[object Date]"]=q["[object Float32Array]"]=q["[object Float64Array]"]=q["[object Int8Array]"]=q["[object Int16Array]"]=q["[object Int32Array]"]=q["[object Map]"]=q["[object Number]"]=q[x]=q["[object RegExp]"]=q["[object Set]"]=q["[object String]"]=q["[object Symbol]"]=q["[object Uint8Array]"]=q["[object Uint8ClampedArray]"]=q["[object Uint16Array]"]=q["[object Uint32Array]"]=!0,q["[object Error]"]=q[P]=q["[object WeakMap]"]=!1,e.exports=function e(t,i,A,I,E,M){var T,B=1&i,N=2&i,D=4&i;if(A&&(T=E?A(t,I,E,M):A(t)),void 0!==T)return T;if(!w(t))return t;var j=h(t);if(j){if(T=p(t),!B)return u(t,T)}else{var L=d(t),R=L==P||"[object GeneratorFunction]"==L;if(S(t))return s(t,B);if(L==x||L==O||R&&!E){if(T=N||R?{}:b(t),!B)return N?f(t,r(T,t)):c(t,l(T,t))}else{if(!q[L])return E?t:{};T=g(t,L,B)}}M||(M=new a);var F=M.get(t);if(F)return F;M.set(t,T),k(t)?t.forEach(function(a){T.add(e(a,i,A,a,t,M))}):v(t)&&t.forEach(function(a,n){T.set(n,e(a,i,A,n,t,M))});var V=j?void 0:(D?N?y:m:N?_:C)(t);return n(V||t,function(a,n){V&&(a=t[n=a]),o(T,n,e(a,i,A,n,t,M))}),T}},9344(e,t,i){var a=i(3805),n=Object.create,o=function(){function e(){}return function(t){if(!a(t))return{};if(n)return n(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();e.exports=o},6649(e,t,i){var a=i(3221)();e.exports=a},7422(e,t,i){var a=i(1769),n=i(7797);e.exports=function(e,t){for(var i=0,o=(t=a(t,e)).length;null!=e&&i<o;)e=e[n(t[i++])];return i&&i==o?e:void 0}},2552(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},458(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},5250(e,t,i){var a=i(7217),n=i(7805),o=i(6649),l=i(2824),r=i(3805),s=i(7241),u=i(4974);e.exports=function e(t,i,c,f,m){t!==i&&o(i,function(o,s){if(m||(m=new a),r(o))l(t,i,s,c,e,f,m);else{var y=f?f(u(t,s),o,s+"",t,i,m):void 0;void 0===y&&(y=o),n(t,s,y)}},s)}},2824(e,t,i){var a=i(7805),n=i(3290),o=i(1961),l=i(3007),r=i(5529),s=i(2428),u=i(6449),c=i(3693),f=i(3656),m=i(1882),y=i(3805),d=i(1331),p=i(7167),g=i(4974),b=i(9884);e.exports=function(e,t,i,h,S,v,w){var k=g(e,i),C=g(t,i),_=w.get(C);if(_)a(e,i,_);else{var O=v?v(k,C,i+"",e,t,w):void 0,P=void 0===O;if(P){var x=u(C),q=!x&&f(C),A=!x&&!q&&p(C);O=C,x||q||A?u(k)?O=k:c(k)?O=l(k):q?(P=!1,O=n(C,!0)):A?(P=!1,O=o(C,!0)):O=[]:d(C)||s(C)?(O=k,s(k)?O=b(k):y(k)&&!m(k)||(O=r(C))):P=!1}P&&(w.set(C,O),S(O,C,h,v,w),w.delete(C)),a(e,i,O)}}},6001(e,t,i){var a=i(7420),n=i(631);e.exports=function(e,t){return a(e,t,function(t,i){return n(e,i)})}},7420(e,t,i){var a=i(7422),n=i(3170),o=i(1769);e.exports=function(e,t,i){for(var l=-1,r=t.length,s={};++l<r;){var u=t[l],c=a(e,u);i(c,u)&&n(s,o(u,e),c)}return s}},9302(e,t,i){var a=i(3488),n=i(6757),o=i(2865);e.exports=function(e,t){return o(n(e,t,a),e+"")}},3170(e,t,i){var a=i(6547),n=i(1769),o=i(361),l=i(3805),r=i(7797);e.exports=function(e,t,i,s){if(!l(e))return e;for(var u=-1,c=(t=n(t,e)).length,f=c-1,m=e;null!=m&&++u<c;){var y=r(t[u]),d=i;if("__proto__"===y||"constructor"===y||"prototype"===y)return e;if(u!=f){var p=m[y];void 0===(d=s?s(p,y,m):void 0)&&(d=l(p)?p:o(t[u+1])?[]:{})}a(m,y,d),m=m[y]}return e}},5160(e){e.exports=function(e,t,i){var a=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(i=i>n?n:i)<0&&(i+=n),n=t>i?0:i-t>>>0,t>>>=0;for(var o=Array(n);++a<n;)o[a]=e[a+t];return o}},7556(e){e.exports=function(e){return e}},9931(e,t,i){var a=i(1769),n=i(8090),o=i(8969),l=i(7797),r=Object.prototype.hasOwnProperty;e.exports=function(e,t){var i=-1,s=(t=a(t,e)).length;if(!s)return!0;for(;++i<s;){var u=l(t[i]);if("__proto__"===u&&!r.call(e,"__proto__"))return!1;if(("constructor"===u||"prototype"===u)&&i<s-1)return!1}var c=o(e,t);return null==c||delete c[l(n(t))]}},1769(e,t,i){var a=i(6449),n=i(8586),o=i(1802),l=i(3222);e.exports=function(e,t){return a(e)?e:n(e,t)?[e]:o(l(e))}},8754(e,t,i){var a=i(5160);e.exports=function(e,t,i){var n=e.length;return i=void 0===i?n:i,!t&&i>=n?e:a(e,t,i)}},9653(e,t,i){var a=i(7828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new a(t).set(new a(e)),t}},3290(e,t,i){e=i.nmd(e);var a=i(9325),n=t&&!t.nodeType&&t,o=n&&e&&!e.nodeType&&e,l=o&&o.exports===n?a.Buffer:void 0,r=l?l.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var i=e.length,a=r?r(i):new e.constructor(i);return e.copy(a),a}},1961(e,t,i){var a=i(9653);e.exports=function(e,t){var i=t?a(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}},3007(e){e.exports=function(e,t){var i=-1,a=e.length;for(t||(t=Array(a));++i<a;)t[i]=e[i];return t}},1791(e,t,i){var a=i(6547),n=i(3360);e.exports=function(e,t,i,o){var l=!i;i||(i={});for(var r=-1,s=t.length;++r<s;){var u=t[r],c=o?o(i[u],e[u],u,i,e):void 0;void 0===c&&(c=e[u]),l?n(i,u,c):a(i,u,c)}return i}},2271(e,t,i){var a=i(1791),n=i(4664);e.exports=function(e,t){return a(e,n(e),t)}},8948(e,t,i){var a=i(1791),n=i(6375);e.exports=function(e,t){return a(e,n(e),t)}},999(e,t,i){var a=i(9302),n=i(6800);e.exports=function(e){return a(function(t,i){var a=-1,o=i.length,l=o>1?i[o-1]:void 0,r=o>2?i[2]:void 0;for(l=e.length>3&&"function"==typeof l?(o--,l):void 0,r&&n(i[0],i[1],r)&&(l=o<3?void 0:l,o=1),t=Object(t);++a<o;){var s=i[a];s&&e(t,s,a,l)}return t})}},3221(e){e.exports=function(e){return function(t,i,a){for(var n=-1,o=Object(t),l=a(t),r=l.length;r--;){var s=l[e?r:++n];if(!1===i(o[s],s,o))break}return t}}},2507(e,t,i){var a=i(8754),n=i(9698),o=i(3912),l=i(3222);e.exports=function(e){return function(t){t=l(t);var i=n(t)?o(t):void 0,r=i?i[0]:t.charAt(0),s=i?a(i,1).join(""):t.slice(1);return r[e]()+s}}},5539(e,t,i){var a=i(882),n=i(828),o=i(6645),l=RegExp("['’]","g");e.exports=function(e){return function(t){return a(o(n(t).replace(l,"")),e,"")}}},3138(e,t,i){var a=i(1331);e.exports=function(e){return a(e)?void 0:e}},3243(e,t,i){var a=i(6110),n=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=n},8816(e){e.exports=function(e){return e}},4840(e){var t="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis;e.exports=t},2(e,t,i){var a=i(4335)(Object.keys,Object);e.exports=a},3349(e){e.exports=function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}},6110(e){e.exports=function(e,t){return null==e?void 0:e[t]}},8879(e,t,i){var a=i(4335)(Object.getPrototypeOf,Object);e.exports=a},4664(e){e.exports=function(){return[]}},6375(e){e.exports=function(){return[]}},5861(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9326(e,t,i){var a=i(1769),n=i(2428),o=i(6449),l=i(361),r=i(294),s=i(7797);e.exports=function(e,t,i){for(var u=-1,c=(t=a(t,e)).length,f=!1;++u<c;){var m=s(t[u]);if(!(f=null!=e&&i(e,m)))break;e=e[m]}return f||++u!=c?f:!!(c=null==e?0:e.length)&&r(c)&&l(m,c)&&(o(e)||n(e))}},9698(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},5434(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},6189(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var i=e.length,a=new e.constructor(i);return i&&"string"==typeof e[0]&&t.call(e,"index")&&(a.index=e.index,a.input=e.input),a}},7199(e){e.exports=function(e){return e}},5529(e,t,i){var a=i(9344),n=i(8879),o=i(5527);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:a(n(e))}},361(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,i){var a=typeof e;return!!(i=i??9007199254740991)&&("number"==a||"symbol"!=a&&t.test(e))&&e>-1&&e%1==0&&e<i}},6800(e){e.exports=function(){return!1}},8586(e,t,i){var a=i(6449),n=i(4394),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=function(e,t){if(a(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!n(e))||(l.test(e)||!o.test(e)||null!=t&&e in Object(t))}},5527(e){e.exports=function(){return!1}},3702(e){e.exports=function(){this.__data__=[],this.size=0}},80(e,t,i){var a=i(6025),n=Array.prototype.splice;e.exports=function(e){var t=this.__data__,i=a(t,e);return!(i<0)&&(i==t.length-1?t.pop():n.call(t,i,1),--this.size,!0)}},4739(e,t,i){var a=i(6025);e.exports=function(e){var t=this.__data__,i=a(t,e);return i<0?void 0:t[i][1]}},8655(e,t,i){var a=i(6025);e.exports=function(e){return a(this.__data__,e)>-1}},1175(e,t,i){var a=i(6025);e.exports=function(e,t){var i=this.__data__,n=a(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this}},2224(e){e.exports=function(e){return e}},4335(e){e.exports=function(e,t){return function(i){return e(t(i))}}},6757(e,t,i){var a=i(1033),n=Math.max;e.exports=function(e,t,i){return t=n(void 0===t?e.length-1:t,0),function(){for(var o=arguments,l=-1,r=n(o.length-t,0),s=Array(r);++l<r;)s[l]=o[t+l];l=-1;for(var u=Array(t+1);++l<t;)u[l]=o[l];return u[t]=i(s),a(e,this,u)}}},8969(e,t,i){var a=i(7422),n=i(5160);e.exports=function(e,t){return t.length<2?e:a(e,n(t,0,-1))}},9325(e,t,i){var a=i(4840),n="object"==typeof self&&self&&self.Object===Object&&self,o=a||n||Function("return this")();e.exports=o},4974(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},2865(e){e.exports=function(e){return e}},3912(e,t,i){var a=i(1074),n=i(9698),o=i(2054);e.exports=function(e){return n(e)?o(e):a(e)}},1802(e,t,i){var a=i(2224),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,l=a(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,i,a,n){t.push(a?n.replace(o,"$1"):i||e)}),t});e.exports=l},7797(e){e.exports=function(e){return e}},2054(e){var t="\\ud800-\\udfff",i="["+t+"]",a="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",r="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+a+"|"+n+")"+"?",u="[\\ufe0e\\ufe0f]?",c=u+s+("(?:\\u200d(?:"+[o,l,r].join("|")+")"+u+s+")*"),f="(?:"+[o+a+"?",a,l,r,i].join("|")+")",m=RegExp(n+"(?="+n+")|"+f+c,"g");e.exports=function(e){return e.match(m)||[]}},2225(e){var t="\\ud800-\\udfff",i="\\u2700-\\u27bf",a="a-z\\xdf-\\xf6\\xf8-\\xff",n="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\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",l="["+o+"]",r="\\d+",s="["+i+"]",u="["+a+"]",c="[^"+t+o+r+i+a+n+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",y="["+n+"]",d="(?:"+u+"|"+c+")",p="(?:"+y+"|"+c+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",b="(?:['’](?:D|LL|M|RE|S|T|VE))?",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",S="[\\ufe0e\\ufe0f]?",v=S+h+("(?:\\u200d(?:"+["[^"+t+"]",f,m].join("|")+")"+S+h+")*"),w="(?:"+[s,f,m].join("|")+")"+v,k=RegExp([y+"?"+u+"+"+g+"(?="+[l,y,"$"].join("|")+")",p+"+"+b+"(?="+[l,y+d,"$"].join("|")+")",y+"?"+d+"+"+g,y+"+"+b,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",r,w].join("|"),"g");e.exports=function(e){return e.match(k)||[]}},4058(e,t,i){var a=i(4792),n=i(5539)(function(e,t,i){return t=t.toLowerCase(),e+(i?a(t):t)});e.exports=n},4792(e,t,i){var a=i(3222),n=i(5808);e.exports=function(e){return n(a(e).toLowerCase())}},9647(e,t,i){var a=i(9999);e.exports=function(e,t){return a(e,5,t="function"==typeof t?t:void 0)}},828(e,t,i){var a=i(7556);e.exports=function(e){return null==e?"":a(e)}},5288(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},631(e,t,i){var a=i(458),n=i(9326);e.exports=function(e,t){return null!=e&&n(e,t,a)}},912(e){e.exports=function(e){return e&&e.length?e[0]:void 0}},3488(e){e.exports=function(e){return e}},2428(e){e.exports=function(){return!1}},6449(e){var t=Array.isArray;e.exports=t},4894(e,t,i){var a=i(1882),n=i(294);e.exports=function(e){return null!=e&&n(e.length)&&!a(e)}},3693(e,t,i){var a=i(4894),n=i(346);e.exports=function(e){return n(e)&&a(e)}},3656(e){e.exports=function(){return!1}},1882(e,t,i){var a=i(2552),n=i(3805);e.exports=function(e){if(!n(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},294(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7730(e){e.exports=function(){return!1}},3805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},1331(e,t,i){var a=i(2552),n=i(8879),o=i(346),l=Function.prototype,r=Object.prototype,s=l.toString,u=r.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=a(e))return!1;var t=n(e);if(null===t)return!0;var i=u.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&s.call(i)==c}},8440(e){e.exports=function(){return!1}},4394(e){e.exports=function(){return!1}},7167(e){e.exports=function(){return!1}},5950(e,t,i){var a=i(4335)(Object.keys,Object);e.exports=a},7241(e){e.exports=function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}},8090(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},5364(e,t,i){var a=i(5250),n=i(999)(function(e,t,i){a(e,t,i)});e.exports=n},179(e,t,i){var a=i(4932),n=i(9999),o=i(9931),l=i(1769),r=i(1791),s=i(3138),u=i(8816),c=i(3349),f=u(function(e,t){var i={};if(null==e)return i;var u=!1;t=a(t,function(t){return t=l(t,e),u||(u=t.length>1),t}),r(e,c(e),i),u&&(i=n(i,7,s));for(var f=t.length;f--;)o(i,t[f]);return i});e.exports=f},4383(e,t,i){var a=i(6001),n=i(8816)(function(e,t){return null==e?{}:a(e,t)});e.exports=n},9884(e,t,i){var a=i(1791),n=i(7241);e.exports=function(e){return a(e,n(e))}},3222(e){e.exports=function(e){return e}},5808(e,t,i){var a=i(2507)("toUpperCase");e.exports=a},6645(e,t,i){var a=i(1733),n=i(5434),o=i(3222),l=i(2225);e.exports=function(e,t,i){return e=o(e),void 0===(t=i?void 0:t)?n(e)?l(e):a(e):e.match(t)||[]}},2694(e,t,i){"use strict";var a=i(6925);function n(){}function o(){}o.resetWarningCache=n,e.exports=function(){function e(e,t,i,n,o,l){if(l!==a){var r=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:n};return i.PropTypes=i,i}},5556(e,t,i){e.exports=i(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7424(e,t,i){"use strict";t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=s(i(5556)),o=s(i(9321)),l=s(i(3486)),r=i(6462);function s(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){h(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function y(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function d(e){return function(){var t,i=g(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=g(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return p(e)}(this,t)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function h(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var S=function(){return!0},v="suggestions-revealed",w="input-focused",k="input-changed",C="escape-pressed",_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(u,e);var t,i,n,s=d(u);function u(e){var t,i=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),h(p(t=s.call(this)),"onDocumentMouseDown",function(e){t.justClickedOnSuggestionsContainer=!1;for(var i=e.detail&&e.detail.target||e.target;null!==i&&i!==document;){if(i.getAttribute&&null!==i.getAttribute("data-suggestion-index"))return;if(i===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);i=i.parentNode}}),h(p(t),"storeAutowhateverRef",function(e){null!==e&&(t.autowhatever=e)}),h(p(t),"onSuggestionMouseEnter",function(e,i){var a=i.sectionIndex,n=i.itemIndex;t.updateHighlightedSuggestion(a,n),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout(function(){t.justMouseEntered=!1})}),h(p(t),"highlightFirstSuggestion",function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)}),h(p(t),"onDocumentMouseUp",function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null}),h(p(t),"onSuggestionMouseDown",function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)}),h(p(t),"onSuggestionsClearRequested",function(){var e=t.props.onSuggestionsClearRequested;e&&e()}),h(p(t),"onSuggestionSelected",function(e,i){var a=t.props,n=a.alwaysRenderSuggestions,o=a.onSuggestionSelected,l=a.onSuggestionsFetchRequested;o&&o(e,i);var r=t.props.shouldKeepSuggestionsOnSelect(i.suggestion);n||r?l({value:i.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()}),h(p(t),"onSuggestionClick",function(e){var i=t.props,a=i.alwaysRenderSuggestions,n=i.focusInputOnSuggestionClick,o=t.getSuggestionIndices(t.findSuggestionElement(e.target)),l=o.sectionIndex,r=o.suggestionIndex,s=t.getSuggestion(l,r),u=t.props.getSuggestionValue(s);t.maybeCallOnChange(e,u,"click"),t.onSuggestionSelected(e,{suggestion:s,suggestionValue:u,suggestionIndex:r,sectionIndex:l,method:"click"});var c=t.props.shouldKeepSuggestionsOnSelect(s);a||c||t.closeSuggestions(),!0===n?t.input.focus():t.onBlur(),setTimeout(function(){t.justSelectedSuggestion=!1})}),h(p(t),"onBlur",function(){var e=t.props,i=e.inputProps,a=e.shouldRenderSuggestions,n=i.value,o=i.onBlur,l=t.getHighlightedSuggestion(),r=a(n,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!r}),o&&o(t.blurEvent,{highlightedSuggestion:l})}),h(p(t),"onSuggestionMouseLeave",function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)}),h(p(t),"onSuggestionTouchStart",function(){t.justSelectedSuggestion=!0}),h(p(t),"onSuggestionTouchMove",function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()}),h(p(t),"itemProps",function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}}),h(p(t),"renderSuggestionsContainer",function(e){var i=e.containerProps,a=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:i,children:a,query:t.getQuery()})}),t.state={isFocused:!1,isCollapsed:!i,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return t=u,i=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,o.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var i=this.props,a=i.suggestions,n=i.onSuggestionHighlighted,l=i.highlightFirstSuggestion;if(!(0,o.default)(a,e.suggestions)&&a.length>0&&l)this.highlightFirstSuggestion();else if(n){var r=this.getHighlightedSuggestion();r!=t.highlightedSuggestion&&n({suggestion:r})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,i){var a=this;this.setState(function(n){var o=n.valueBeforeUpDown;return null===t?o=null:null===o&&void 0!==i&&(o=i),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:a.getSuggestion(e,t),valueBeforeUpDown:o}})}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState(function(t){var i=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:i}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var i=this.props,a=i.suggestions,n=i.multiSection,o=i.getSectionSuggestions;return n?o(a[e])[t]:a[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,i=e.highlightedSuggestionIndex;return null===i?null:this.getSuggestion(t,i)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),i=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(i,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,i){var a=this.props.inputProps,n=a.value,o=a.onChange;t!==n&&o(e,{newValue:t,method:i})}},{key:"willRenderSuggestions",value:function(e,t){var i=e.suggestions,a=e.inputProps,n=e.shouldRenderSuggestions,o=a.value;return i.length>0&&n(o,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,i=t.suggestions,n=t.renderInputComponent,o=t.onSuggestionsFetchRequested,s=t.renderSuggestion,u=t.inputProps,c=t.multiSection,f=t.renderSectionTitle,y=t.id,d=t.getSectionSuggestions,p=t.theme,g=t.getSuggestionValue,b=t.alwaysRenderSuggestions,h=t.highlightFirstSuggestion,_=t.containerProps,O=this.state,P=O.isFocused,x=O.isCollapsed,q=O.highlightedSectionIndex,A=O.highlightedSuggestionIndex,I=O.valueBeforeUpDown,E=b?S:this.props.shouldRenderSuggestions,M=u.value,T=u.onFocus,B=u.onKeyDown,N=this.willRenderSuggestions(this.props,"render"),D=b||P&&!x&&N,j=D?i:[],L=m({},u,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var i=E(M,w);e.setState({isFocused:!0,isCollapsed:!i}),T&&T(t),i&&o({value:M,reason:w})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var i=t.target.value,a=E(i,k);e.maybeCallOnChange(t,i,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(m({},h?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!a})),a?o({value:i,reason:k}):e.onSuggestionsClearRequested()},onKeyDown:function(t,a){var n=t.keyCode;switch(n){case 40:case 38:if(x)E(M,v)&&(o({value:M,reason:v}),e.revealSuggestions(),t.preventDefault());else if(i.length>0){var l,r=a.newHighlightedSectionIndex,s=a.newHighlightedItemIndex;l=null===s?null===I?M:I:e.getSuggestionValueByIndex(r,s),e.updateHighlightedSuggestion(r,s,M),e.maybeCallOnChange(t,l,40===n?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout(function(){e.justPressedUpDown=!1});break;case 13:if(229===t.keyCode)break;var u=e.getHighlightedSuggestion();if(D&&!b&&e.closeSuggestions(),null!=u){t.preventDefault();var c=g(u);e.maybeCallOnChange(t,c,"enter"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:c,suggestionIndex:A,sectionIndex:q,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout(function(){e.justSelectedSuggestion=!1})}break;case 27:D&&t.preventDefault();var f=D&&!b;null===I?f||(e.maybeCallOnChange(t,"","escape"),E("",C)?o({value:"",reason:C}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,I,"escape"),f?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}B&&B(t)}}),R={query:this.getQuery()};return a.default.createElement(l.default,{multiSection:c,items:j,renderInputComponent:n,renderItemsContainer:this.renderSuggestionsContainer,renderItem:s,renderItemData:R,renderSectionTitle:f,getSectionItems:d,highlightedSectionIndex:q,highlightedItemIndex:A,containerProps:_,inputProps:L,itemProps:this.itemProps,theme:(0,r.mapToAutowhateverTheme)(p),id:y,ref:this.storeAutowhateverRef})}}],i&&y(t.prototype,i),n&&y(t,n),u}(a.Component);t.default=_,h(_,"propTypes",{suggestions:n.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var i=e[t];if("function"!=typeof i)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var i=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof i)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:n.default.func,onSuggestionSelected:n.default.func,onSuggestionHighlighted:n.default.func,renderInputComponent:n.default.func,renderSuggestionsContainer:n.default.func,getSuggestionValue:n.default.func.isRequired,renderSuggestion:n.default.func.isRequired,inputProps:function(e,t){var i=e[t];if(!i)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(i,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(i,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:n.default.func,alwaysRenderSuggestions:n.default.bool,multiSection:n.default.bool,renderSectionTitle:function(e,t){var i=e[t];if(!0===e.multiSection&&"function"!=typeof i)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var i=e[t];if(!0===e.multiSection&&"function"!=typeof i)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:n.default.bool,highlightFirstSuggestion:n.default.bool,theme:n.default.object,id:n.default.string,containerProps:n.default.object}),h(_,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,i=e.children;return a.default.createElement("div",t,i)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:r.defaultTheme,id:"1",containerProps:{}})},3486(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==p(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=u(i(5556)),o=u(i(1578)),l=u(i(4525)),r=u(i(2444)),s=u(i(7932));function u(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){w(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function y(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 i=[],a=!0,n=!1,o=void 0;try{for(var l,r=e[Symbol.iterator]();!(a=(l=r.next()).done)&&(i.push(l.value),!t||i.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(n)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return d(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i<t;i++)a[i]=e[i];return a}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function b(e){return function(){var t,i=S(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=S(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function w(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var k={},C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(c,e);var t,i,n,u=b(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),w(h(t=u.call(this,e)),"storeInputReference",function(e){null!==e&&(t.input=e);var i=t.props.inputProps.ref;i&&("function"==typeof i?i(e):"object"===p(i)&&Object.prototype.hasOwnProperty.call(i,"current")&&(i.current=e))}),w(h(t),"storeItemsContainerReference",function(e){null!==e&&(t.itemsContainer=e)}),w(h(t),"onHighlightedItemChange",function(e){t.highlightedItem=e}),w(h(t),"getItemId",function(e,i){if(null===i)return null;var a=t.props.id,n=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(a,"-").concat(n,"-item-").concat(i)}),w(h(t),"onFocus",function(e){var i=t.props.inputProps;t.setState({isInputFocused:!0}),i.onFocus&&i.onFocus(e)}),w(h(t),"onBlur",function(e){var i=t.props.inputProps;t.setState({isInputFocused:!1}),i.onBlur&&i.onBlur(e)}),w(h(t),"onKeyDown",function(e){var i=t.props,a=i.inputProps,n=i.highlightedSectionIndex,o=i.highlightedItemIndex,l=e.keyCode;switch(l){case 40:case 38:var r=40===l?"next":"prev",s=y(t.sectionIterator[r]([n,o]),2),u=s[0],c=s[1];a.onKeyDown(e,{newHighlightedSectionIndex:u,newHighlightedItemIndex:c});break;default:a.onKeyDown(e,{highlightedSectionIndex:n,highlightedItemIndex:o})}}),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return t=c,(i=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map(function(t){return e.getSectionItems(t)}),this.sectionsLengths=this.sectionsItems.map(function(e){return e.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(e){return 0===e}))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,o.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,l.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,i=this.props,n=i.id,o=i.items,l=i.renderItem,u=i.renderItemData,c=i.renderSectionTitle,f=i.highlightedSectionIndex,m=i.highlightedItemIndex,y=i.itemProps;return o.map(function(i,o){var d="react-autowhatever-".concat(n,"-"),p="".concat(d,"section-").concat(o,"-"),g=0===o;return a.default.createElement("div",t("".concat(p,"container"),"sectionContainer",g&&"sectionContainerFirst"),a.default.createElement(r.default,{section:i,renderSectionTitle:c,theme:t,sectionKeyPrefix:p}),a.default.createElement(s.default,{items:e.sectionsItems[o],itemProps:y,renderItem:l,renderItemData:u,sectionIndex:o,highlightedItemIndex:f===o?m:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:d,ref:e.storeItemsListReference}))})}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,i=this.props,n=i.id,o=i.renderItem,l=i.renderItemData,r=i.highlightedSectionIndex,u=i.highlightedItemIndex,c=i.itemProps;return a.default.createElement(s.default,{items:e,itemProps:c,renderItem:o,renderItemData:l,highlightedItemIndex:null===r?u:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(n,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,i=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,a=t.scrollTop;i<a?a=i:i+e.offsetHeight>a+t.offsetHeight&&(a=i+e.offsetHeight-t.offsetHeight),a!==t.scrollTop&&(t.scrollTop=a)}}},{key:"render",value:function(){var e=this.theme,t=this.props,i=t.id,n=t.multiSection,o=t.renderInputComponent,l=t.renderItemsContainer,r=t.highlightedSectionIndex,s=t.highlightedItemIndex,u=this.state.isInputFocused,c=n?this.renderSections():this.renderItems(),f=null!==c,y=this.getItemId(r,s),d="react-autowhatever-".concat(i),p=m({role:"combobox","aria-haspopup":"listbox","aria-owns":d,"aria-expanded":f},e("react-autowhatever-".concat(i,"-container"),"container",f&&"containerOpen"),{},this.props.containerProps),g=o(m({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":d,"aria-activedescendant":y},e("react-autowhatever-".concat(i,"-input"),"input",f&&"inputOpen",u&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),b=l({containerProps:m({id:d,role:"listbox"},e("react-autowhatever-".concat(i,"-items-container"),"itemsContainer",f&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:c});return a.default.createElement("div",p,g,b)}}])&&g(t.prototype,i),n&&g(t,n),c}(a.Component);t.default=C,w(C,"propTypes",{id:n.default.string,multiSection:n.default.bool,renderInputComponent:n.default.func,renderItemsContainer:n.default.func,items:n.default.array.isRequired,renderItem:n.default.func,renderItemData:n.default.object,renderSectionTitle:n.default.func,getSectionItems:n.default.func,containerProps:n.default.object,inputProps:n.default.object,itemProps:n.default.oneOfType([n.default.object,n.default.func]),highlightedSectionIndex:n.default.number,highlightedItemIndex:n.default.number,theme:n.default.oneOfType([n.default.object,n.default.array])}),w(C,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return a.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,i=e.children;return a.default.createElement("div",t,i)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:k,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:k,inputProps:k,itemProps:k,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},1572(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=l(i(5556)),o=l(i(1438));function l(e){return e&&e.__esModule?e:{default:e}}function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},u.apply(this,arguments)}function c(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function f(e,t){if(null==e)return{};var i,a,n=function(e,t){if(null==e)return{};var i,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)i=o[a],t.indexOf(i)>=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)i=o[a],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function m(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function y(e){return function(){var t,i=p(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=p(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;return d(e)}(this,t)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function b(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(r,e);var t,i,n,l=y(r);function r(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return b(d(e=l.call.apply(l,[this].concat(i))),"storeItemReference",function(t){null!==t&&(e.item=t)}),b(d(e),"onMouseEnter",function(t){var i=e.props,a=i.sectionIndex,n=i.itemIndex;e.props.onMouseEnter(t,{sectionIndex:a,itemIndex:n})}),b(d(e),"onMouseLeave",function(t){var i=e.props,a=i.sectionIndex,n=i.itemIndex;e.props.onMouseLeave(t,{sectionIndex:a,itemIndex:n})}),b(d(e),"onMouseDown",function(t){var i=e.props,a=i.sectionIndex,n=i.itemIndex;e.props.onMouseDown(t,{sectionIndex:a,itemIndex:n})}),b(d(e),"onClick",function(t){var i=e.props,a=i.sectionIndex,n=i.itemIndex;e.props.onClick(t,{sectionIndex:a,itemIndex:n})}),e}return t=r,i=[{key:"shouldComponentUpdate",value:function(e){return(0,o.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,i=e.item,n=e.renderItem,o=e.renderItemData,l=f(e,["isHighlighted","item","renderItem","renderItemData"]);return delete l.sectionIndex,delete l.itemIndex,"function"==typeof l.onMouseEnter&&(l.onMouseEnter=this.onMouseEnter),"function"==typeof l.onMouseLeave&&(l.onMouseLeave=this.onMouseLeave),"function"==typeof l.onMouseDown&&(l.onMouseDown=this.onMouseDown),"function"==typeof l.onClick&&(l.onClick=this.onClick),a.default.createElement("li",u({role:"option"},l,{ref:this.storeItemReference}),n(i,function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?c(Object(i),!0).forEach(function(t){b(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({isHighlighted:t},o)))}}],i&&m(t.prototype,i),n&&m(t,n),r}(a.Component);t.default=h,b(h,"propTypes",{sectionIndex:n.default.number,isHighlighted:n.default.bool.isRequired,itemIndex:n.default.number.isRequired,item:n.default.any.isRequired,renderItem:n.default.func.isRequired,renderItemData:n.default.object.isRequired,onMouseEnter:n.default.func,onMouseLeave:n.default.func,onMouseDown:n.default.func,onClick:n.default.func})},7932(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=r(i(5556)),o=r(i(1572)),l=r(i(1438));function r(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},c.apply(this,arguments)}function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,a)}return i}function m(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function y(e){return function(){var t,i=p(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=p(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return d(e)}(this,t)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function b(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(s,e);var t,i,n,r=y(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return b(d(e=r.call.apply(r,[this].concat(i))),"storeHighlightedItemReference",function(t){e.props.onHighlightedItemChange(null===t?null:t.item)}),e}return t=s,i=[{key:"shouldComponentUpdate",value:function(e){return(0,l.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,i=t.items,n=t.itemProps,l=t.renderItem,r=t.renderItemData,s=t.sectionIndex,u=t.highlightedItemIndex,m=t.getItemId,y=t.theme,d=t.keyPrefix,p=null===s?d:"".concat(d,"section-").concat(s,"-"),g="function"==typeof n;return a.default.createElement("ul",c({role:"listbox"},y("".concat(p,"items-list"),"itemsList")),i.map(function(t,i){var d=0===i,h=i===u,S="".concat(p,"item-").concat(i),v=g?n({sectionIndex:s,itemIndex:i}):n,w=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){b(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({id:m(s,i),"aria-selected":h},y(S,"item",d&&"itemFirst",h&&"itemHighlighted"),{},v);return h&&(w.ref=e.storeHighlightedItemReference),a.default.createElement(o.default,c({},w,{sectionIndex:s,isHighlighted:h,itemIndex:i,item:t,renderItem:l,renderItemData:r}))}))}}],i&&m(t.prototype,i),n&&m(t,n),s}(a.Component);t.default=h,b(h,"propTypes",{items:n.default.array.isRequired,itemProps:n.default.oneOfType([n.default.object,n.default.func]),renderItem:n.default.func.isRequired,renderItemData:n.default.object.isRequired,sectionIndex:n.default.number,highlightedItemIndex:n.default.number,onHighlightedItemChange:n.default.func.isRequired,getItemId:n.default.func.isRequired,theme:n.default.func.isRequired,keyPrefix:n.default.string.isRequired}),b(h,"defaultProps",{sectionIndex:null})},2444(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(i(6540)),n=l(i(5556)),o=l(i(1438));function l(e){return e&&e.__esModule?e:{default:e}}function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function c(e){return function(){var t,i=f(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()){var a=f(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}var y,d,p,g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(r,e);var t,i,n,l=c(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),l.apply(this,arguments)}return t=r,(i=[{key:"shouldComponentUpdate",value:function(e){return(0,o.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,i=e.renderSectionTitle,n=e.theme,o=e.sectionKeyPrefix,l=i(t);return l?a.default.createElement("div",n("".concat(o,"title"),"sectionTitle"),l):null}}])&&u(t.prototype,i),n&&u(t,n),r}(a.Component);t.default=g,y=g,d="propTypes",p={section:n.default.any.isRequired,renderSectionTitle:n.default.func.isRequired,theme:n.default.func.isRequired,sectionKeyPrefix:n.default.string.isRequired},d in y?Object.defineProperty(y,d,{value:p,enumerable:!0,configurable:!0,writable:!0}):y[d]=p},1438(e,t){"use strict";function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!0;var l,r,s={};for(l=0,r=a.length;l<r;l++)s[a[l]]=!0;for(l=0,r=n.length;l<r;l++){var u=n[l],c=e[u],f=t[u];if(c!==f){if(!s[u]||null===c||null===f||"object"!==i(c)||"object"!==i(f))return!0;var m=Object.keys(c),y=Object.keys(f);if(m.length!==y.length)return!0;for(var d=0,p=m.length;d<p;d++){var g=m[d];if(c[g]!==f[g])return!0}}}return!1}},2243(e,t,i){"use strict";e.exports=i(7424).default},6462(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0;t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};t.mapToAutowhateverTheme=function(e){var t={};for(var i in e)switch(i){case"suggestionsContainer":t.itemsContainer=e[i];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[i];break;case"suggestion":t.item=e[i];break;case"suggestionFirst":t.itemFirst=e[i];break;case"suggestionHighlighted":t.itemHighlighted=e[i];break;case"suggestionsList":t.itemsList=e[i];break;default:t[i]=e[i]}return t}},4525(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],a=!0,n=!1,o=void 0;try{for(var l,r=e[Symbol.iterator]();!(a=(l=r.next()).done)&&(i.push(l.value),!t||i.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{!a&&r.return&&r.return()}finally{if(n)throw o}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function n(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}var o,l=i(3675),r=(o=l)&&o.__esModule?o:{default:o},s=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],i=a(t,2),o=i[0],l=i[1];return function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];var u=i.map(function(e){return o[e]}).filter(s);return"string"==typeof u[0]||"function"==typeof l?{key:e,className:l?l.apply(void 0,n(u)):u.join(" ")}:{key:e,style:r.default.apply(void 0,[{}].concat(n(u)))}}},e.exports=t.default},3675(e){"use strict";var t=Object.prototype.propertyIsEnumerable;function i(e){var i=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(e))),i.filter(function(i){return t.call(e,i)})}e.exports=Object.assign||function(e,t){for(var a,n,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){a=arguments[l],n=i(Object(a));for(var r=0;r<n.length;r++)o[n[r]]=a[n[r]]}return o}},5287(e,t){"use strict";var i=Symbol.for("react.element"),a=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),r=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,g={};function b(e,t,i){this.props=e,this.context=t,this.refs=g,this.updater=i||d}function h(){}function S(e,t,i){this.props=e,this.context=t,this.refs=g,this.updater=i||d}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=b.prototype;var v=S.prototype=new h;v.constructor=S,p(v,b.prototype),v.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,C={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,a){var n,o={},l=null,r=null;if(null!=t)for(n in void 0!==t.ref&&(r=t.ref),void 0!==t.key&&(l=""+t.key),t)k.call(t,n)&&!_.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=a;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===o[n]&&(o[n]=s[n]);return{$$typeof:i,type:e,key:l,ref:r,props:o,_owner:C.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var x=/\/+/g;function q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(e,t,n,o,l){var r=typeof e;"undefined"!==r&&"boolean"!==r||(e=null);var s=!1;if(null===e)s=!0;else switch(r){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case i:case a:s=!0}}if(s)return l=l(s=e),e=""===o?"."+q(s,0):o,w(l)?(n="",null!=e&&(n=e.replace(x,"$&/")+"/"),A(l,t,n,"",function(e){return e})):null!=l&&(P(l)&&(l=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,n+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(x,"$&/")+"/")+e)),t.push(l)),1;if(s=0,o=""===o?".":o+":",w(e))for(var u=0;u<e.length;u++){var c=o+q(r=e[u],u);s+=A(r,t,n,c,l)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(r=e.next()).done;)s+=A(r=r.value,t,n,c=o+q(r,u++),l);else if("object"===r)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function I(e,t,i){if(null==e)return e;var a=[],n=0;return A(e,a,"","",function(e){return t.call(i,e,n++)}),a}function E(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},T={transition:null},B={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:T,ReactCurrentOwner:C};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,i){I(e,function(){t.apply(this,arguments)},i)},count:function(e){var t=0;return I(e,function(){t++}),t},toArray:function(e){return I(e,function(e){return e})||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=n,t.Profiler=l,t.PureComponent=S,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.act=N,t.cloneElement=function(e,t,a){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=p({},e.props),o=e.key,l=e.ref,r=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,r=C.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!_.hasOwnProperty(u)&&(n[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)n.children=a;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:i,type:e.type,key:o,ref:l,props:n,_owner:r}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:r,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:m,_payload:{_status:-1,_result:e},_init:E}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,i){return M.current.useImperativeHandle(e,t,i)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,i){return M.current.useReducer(e,t,i)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,i){return M.current.useSyncExternalStore(e,t,i)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},6540(e,t,i){"use strict";e.exports=i(5287)},1578(e){"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],a=!0,n=!1,o=void 0;try{for(var l,r=e[Symbol.iterator]();!(a=(l=r.next()).done)&&(i.push(l.value),!t||i.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{!a&&r.return&&r.return()}finally{if(n)throw o}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var i=e.data,a=e.multiSection;function n(e){var n=t(e,2),o=n[0],l=n[1];return a?null===l||l===i[o]-1?null===(o=function(e){for(null===e?e=0:e++;e<i.length&&0===i[e];)e++;return e===i.length?null:e}(o))?[null,null]:[o,0]:[o,l+1]:0===i||l===i-1?[null,null]:null===l?[null,0]:[null,l+1]}return{next:n,prev:function(e){var n=t(e,2),o=n[0],l=n[1];return a?null===l||0===l?null===(o=function(e){for(null===e?e=i.length-1:e--;e>=0&&0===i[e];)e--;return-1===e?null:e}(o))?[null,null]:[o,i[o]-1]:[o,l-1]:0===i||0===l?[null,null]:null===l?[null,i-1]:[null,l-1]},isLast:function(e){return null===n(e)[1]}}}},9321(e){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var i=e.length;if(t.length!==i)return!1;for(var a=0;a<i;a++)if(e[a]!==t[a])return!1;return!0}},6942(e,t){var i;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=l(e,o(i)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)a.call(e,i)&&e[i]&&(t=l(t,i));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(i=function(){return n}.apply(t,[]))||(e.exports=i)}()}};const t={};function i(a){const n=t[a];if(void 0!==n)return n.exports;const o=t[a]={id:a,loaded:!1,exports:{}};return e[a](o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{if(Array.isArray(t))for(var a=0;a<t.length;){var n=t[a++],o=t[a++];i.o(e,n)?0===o&&a++:0===o?Object.defineProperty(e,n,{enumerable:!0,value:t[a++]}):Object.defineProperty(e,n,{enumerable:!0,get:o})}else for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.hasOwn(e,t),i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";const e=wp.i18n,t=wp.richText,a=wp.blockEditor,n=wp.components,o=wp.data,l=wp.compose,r="qi-blocks/underline-format",s=(0,l.compose)((0,o.withSelect)(e=>({selectedBlock:e("core/block-editor").getSelectedBlock()})),(0,l.ifCondition)(e=>e.selectedBlock&&("qi-blocks/section-title"===e.selectedBlock.name||"qi-blocks/advanced-text"===e.selectedBlock.name)))(({isActive:i,value:o,onChange:l})=>wp.element.createElement(a.BlockControls,null,wp.element.createElement(n.ToolbarButton,{icon:"editor-underline",label:(0,e.__)("Underline","qi-blocks"),onClick:()=>{l((0,t.toggleFormat)(o,{type:r,attributes:{style:"text-decoration: underline;"}}))},isPressed:i,className:"qodef-format-button"}))),u={title:(0,e.__)("Highlighted Text","qi-blocks"),tagName:"span",className:"qodef-underline-text",edit:s};(0,t.registerFormatType)(r,u);const c="qi-blocks/highlight-format",f=(0,l.compose)((0,o.withSelect)(e=>({selectedBlock:e("core/block-editor").getSelectedBlock()})),(0,l.ifCondition)(e=>e.selectedBlock&&"qi-blocks/highlight"===e.selectedBlock.name))(({isActive:i,value:o,onChange:l})=>wp.element.createElement(a.BlockControls,null,wp.element.createElement(n.ToolbarButton,{icon:"text",label:(0,e.__)("Highlight text selection","qi-blocks"),onClick:()=>{l((0,t.toggleFormat)(o,{type:c}))},isPressed:i,className:"qodef-format-button"}))),m={title:(0,e.__)("Highlighted Text","qi-blocks"),tagName:"span",className:"qodef-highlight-text",edit:f};(0,t.registerFormatType)(c,m);const y=wp.apiFetch;var d=i.n(y);const p={getOptions(e){const{options:t}=e;return t}},g={*getOptions(e){const t=yield b.getOptions("/qi-blocks/v1/get-styles"+(e?"?page_id="+e:""));return b.setOptions(t)}},b={setOptions:e=>({type:"SET_OPTIONS",options:e}),getOptions:e=>({type:"GET_OPTIONS",path:e})},h={GET_OPTIONS:e=>d()({path:e.path})};const S=(0,o.createReduxStore)("qi-blocks/data/with-styles",{actions:b,controls:h,reducer:function(e={options:[]},t){return"SET_OPTIONS"===t.type?{...e,options:t.options}:e},resolvers:g,selectors:p}),v=((0,o.register)(S),{disable:function(){window.addEventListener&&window.addEventListener("wheel",v.preventDefaultValue,{passive:!1}),document.onkeydown=v.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",v.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){const t=[37,38,39,40];for(let i=t.length;i--;)if(e.keyCode===t[i])return void v.preventDefaultValue(e)}}),w=v,k=jQuery;var C=i.n(k);const _={check:function(e,t){if("object"!=typeof e||""===e||e.length||(e=C()(e)),e.length){"function"!=typeof e.find&&(e=C()(e));const i=e.find("img");if(i.length){let a=0;for(let n=0;n<i.length;n++){let o=i[n];if(o.complete)a++,a===i.length&&t.call(e);else{let n=new Image;const l=function(){a++,a===i.length&&t.call(e)};n.addEventListener("load",l,!1),n.addEventListener("error",l,!1),n.src=o.src}}}else t.call(e)}}},O={check:function(e,t,i){if("object"!=typeof e||""===e||e.length||(e=C()(e)),e.length){const a=void 0!==e.data("viewport-offset")?e.data("viewport-offset"):.15,n=new IntersectionObserver(function(a){!0===a[0].isIntersecting&&(t.call(e),!1!==i&&n.disconnect())},{threshold:[a]});n.observe(e[0])}}};function P(e=document){try{if("editor-canvas"===window.frameElement?.getAttribute?.("name"))return!0}catch(e){}const t=e?.body;return!!t&&(!!t.classList.contains("wp-admin")||(!!t.classList.contains("block-editor-iframe__body")||!!t.classList.contains("editor-styles-wrapper")))}const x={swiper:"",isEditorMode:!1,document,init:function(e,t){e&&(x.document=e);const i=e||document;this.holder=i.querySelectorAll(".qodef-block .qodef-block-swiper"),this.holder.length&&[...this.holder].map(e=>{x.initItem(e,t)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e,"> .qodef-block .qodef-block-swiper",!0)),e},initItem:function(e,t,i=0){const a=e;"object"==typeof qiBlocksEditor&&qiBlocksEditor.qodefGetCurrentBlockElement?x.document=qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():t||(x.document=document),x.isEditorMode=P(x.document),e=x.getRealCurrentItem(e);const n=NodeList.prototype.isPrototypeOf(e)&&0===e.length;if(!e||n||""===e){if(i<25&&"string"==typeof a&&""!==a){const e=!!x.isEditorMode&&qiBlocksEditor.qodefGetCurrentBlockElement.getIframe();setTimeout(()=>{x.initItem(a,t,i+1)},e?120:60)}return}if(t||(x.document=document),P(x.document)&&(x.isEditorMode=!0),!e)return;const o=!!x.isEditorMode&&qiBlocksEditor.qodefGetCurrentBlockElement.getIframe();let l=e;NodeList.prototype.isPrototypeOf(e)||o?l&&void 0===l.length&&(l=[e]):l=[e];const r="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;l.forEach(e=>{r.qodefWaitForImages.check(e,function(){setTimeout(()=>{const i=x.getOptions(e),a=x.getEvents(e,i);void 0!==e&&"object"==typeof e.swiper&&t&&e.swiper.destroy();const n=(t=0)=>{if("undefined"!=typeof Swiper)try{new Swiper(e,Object.assign(i,a))}catch(t){x.isEditorMode&&e.classList.add("qodef--initialized")}else t<40?setTimeout(()=>{n(t+1)},100):x.isEditorMode&&e.classList.add("qodef--initialized")};n()},o?800:200)})})},getOptions:function(e){let t=void 0!==e.getAttribute("data-options")?JSON.parse(e.getAttribute("data-options")):{},i=void 0!==t.direction&&""!==t.direction?t.direction:"horizontal",a=void 0!==t.partialValue&&""!==t.partialValue?parseFloat(t.partialValue):0,n=void 0!==t.disablePartialValue&&""!==t.disablePartialValue?parseInt(t.disablePartialValue):"never",o=void 0!==t.spaceBetween&&""!==t.spaceBetween?t.spaceBetween:0,l=void 0!==t.spaceBetweenTablet&&""!==t.spaceBetweenTablet?t.spaceBetweenTablet:o,r=void 0!==t.spaceBetweenMobile&&""!==t.spaceBetweenMobile?t.spaceBetweenMobile:o,s=void 0!==t.slidesPerView&&""!==t.slidesPerView?"auto"===t.slidesPerView?"auto":parseInt(t.slidesPerView)+a:1+a,u=void 0!==t.centeredSlides&&""!==t.centeredSlides&&t.centeredSlides,c=void 0!==t.sliderScroll&&""!==t.sliderScroll&&t.sliderScroll,f=void 0!==t.effect&&""!==t.effect?t.effect:"slide",m=void 0===t.loop||""===t.loop||t.loop,y=void 0===t.autoplay||""===t.autoplay||t.autoplay,d=void 0!==t.speed&&""!==t.speed?parseInt(t.speed,10):5e3,p=void 0!==t.speedAnimation&&""!==t.speedAnimation?parseInt(t.speedAnimation,10):800,g=void 0!==t.customStages&&""!==t.customStages&&t.customStages,b=void 0===t.dragging||""===t.dragging||t.dragging,h=void 0!==t.outsideNavigation&&"yes"===t.outsideNavigation,S=h?".swiper-button-next-"+t.unique:e.querySelector(".swiper-button-next"),v=h?".swiper-button-prev-"+t.unique:e.querySelector(".swiper-button-prev"),w=void 0!==t.outsidePagination&&"yes"===t.outsidePagination?".swiper-pagination-"+t.unique:e.querySelector(".swiper-pagination");!1!==y&&5e3!==d?y={delay:d,disableOnInteraction:!1}:!1!==y&&(y={disableOnInteraction:!1});let k=void 0!==t.slidesPerView1440&&""!==t.slidesPerView1440?parseInt(t.slidesPerView1440,10)+a:"auto"===t.slidesPerView?"auto":5+a,C=void 0!==t.slidesPerView1366&&""!==t.slidesPerView1366?parseInt(t.slidesPerView1366,10)+a:"auto"===t.slidesPerView?"auto":4+a,_=void 0!==t.slidesPerView1024&&""!==t.slidesPerView1024?parseInt(t.slidesPerView1024,10)+a:"auto"===t.slidesPerView?"auto":3+a,O=void 0!==t.slidesPerView768&&""!==t.slidesPerView768?parseInt(t.slidesPerView768,10)+a:"auto"===t.slidesPerView?"auto":2+a,P=void 0!==t.slidesPerView680&&""!==t.slidesPerView680?parseInt(t.slidesPerView680,10)+a:"auto"===t.slidesPerView?"auto":1+a,q=void 0!==t.slidesPerView480&&""!==t.slidesPerView480?parseInt(t.slidesPerView480,10)+a:"auto"===t.slidesPerView?"auto":1+a;if(x.isEditorMode&&(x.document?.body?.classList.contains("qi-preview-screen-tablet")&&(s=s<3?s:_,o=l),x.document?.body?.classList.contains("qi-preview-screen-mobile")&&(s=q,o=r),y=!1),g||(s<2?(k=s,C=s,_=s,O=s):s<3?(k=s,C=s,_=s):s<4?(k=s,C=s):s<5&&(k=s)),"never"!==n)switch(n){case 1024:_=Math.floor(_),x.isEditorMode&&x.document?.body.classList.contains("qi-preview-screen-tablet")&&(s=Math.floor(s<3?s:_));break;case 768:O=Math.floor(O);break;case 680:P=Math.floor(P);break;case 480:q=Math.floor(q),x.isEditorMode&&x.document?.body.classList.contains("qi-preview-screen-mobile")&&(s=Math.floor(q))}let A={direction:i,slidesPerView:s,centeredSlides:u,sliderScroll:c,loopedSlides:"12",spaceBetween:o,effect:f,autoplay:y,loop:m,speed:p,navigation:{nextEl:S,prevEl:v},pagination:{el:w,type:"bullets",clickable:!0},grabCursor:!x.isEditorMode,simulateTouch:!x.isEditorMode&&b,allowTouchMove:!x.isEditorMode,preventClicks:!x.isEditorMode,preventClicksPropagation:!x.isEditorMode,touchStartPreventDefault:!x.isEditorMode,noSwiping:x.isEditorMode,noSwipingClass:"swiper-slide",breakpoints:{0:{slidesPerView:q,spaceBetween:r},481:{slidesPerView:P,spaceBetween:r},681:{slidesPerView:O,spaceBetween:l},769:{slidesPerView:_,spaceBetween:l},1025:{slidesPerView:C},1367:{slidesPerView:k},1441:{slidesPerView:s}}};const I=x.getSliderDatas(e),E=Object.assign({},A,I);return E.pagination=A.pagination,E.navigation=A.navigation,Object.prototype.hasOwnProperty.call(A,"scrollbar")&&(E.scrollbar=A.scrollbar),E},bindEditorSliderControls:function(e){if(!x.isEditorMode||!e)return;const t=e.closest(".qodef-block")||e,i=".swiper-button-prev, .swiper-button-next, .swiper-pagination, .swiper-pagination-bullet";if(t.querySelectorAll(i).forEach(e=>{e.style.pointerEvents="auto"}),t.dataset.qiEditorSliderControlBound)return;t.dataset.qiEditorSliderControlBound="1";const a=a=>{const n=a.target.closest(i);if(n&&t.contains(n)&&(a.stopPropagation(),"click"===a.type&&e.swiper))if(n.classList.contains("swiper-button-next"))e.swiper.slideNext();else if(n.classList.contains("swiper-button-prev"))e.swiper.slidePrev();else if(n.classList.contains("swiper-pagination-bullet")){const i=t.querySelectorAll(".swiper-pagination-bullet"),a=Array.prototype.indexOf.call(i,n);a>-1&&(e.swiper.slideToLoop?e.swiper.slideToLoop(a):e.swiper.slideTo(a))}};["pointerdown","mousedown","click"].forEach(e=>{t.addEventListener(e,a,!0)})},getSliderDatas:function(e){const t=C()(e).data(),i={},a={direction:"string",slidesPerView:"numberOrAuto",spaceBetween:"number",speed:"number",loop:"boolean",autoplay:"boolean",effect:"string",centeredSlides:"boolean",grabCursor:"boolean",allowTouchMove:"boolean",simulateTouch:"boolean",freeMode:"boolean",watchOverflow:"boolean",resistanceRatio:"number",threshold:"number",longSwipesRatio:"number",followFinger:"boolean",shortSwipes:"boolean",longSwipes:"boolean",roundLengths:"boolean",watchSlidesProgress:"boolean",watchSlidesVisibility:"boolean"},n=["options","pagination","navigation","scrollbar","a11y","keyboard","mousewheel","hashNavigation","history","controller","thumbs","virtual","zoom","lazy","parallax","cubeEffect","coverflowEffect","flipEffect","creativeEffect","cardsEffect"];for(const e in t){if(!Object.prototype.hasOwnProperty.call(t,e))continue;if(n.includes(e)||0===e.indexOf("render"))continue;if(!Object.prototype.hasOwnProperty.call(a,e))continue;const o=t[e];if(void 0===o||""===o||"object"==typeof o&&null!==o)continue;const l=a[e];"boolean"===l&&"boolean"!=typeof o||("number"===l&&"number"!=typeof o||"string"===l&&"string"!=typeof o||"numberOrAuto"===l&&"number"!=typeof o&&"auto"!==o||(i[e]=o))}return i},getEvents:function(e,t){return{on:{beforeInit:function(){if("vertical"===t.direction){let i=0,a=0,n=e.querySelectorAll(".qodef-e");n.length&&n.forEach(e=>{a=e.offsetHeight,a>i&&(i=a)}),1===t.slidesPerView&&(e.style.height=i+"px",n.length&&n.forEach(e=>{e.style.height=i+"px"}))}},init:function(){if(e.classList.add("qodef--initialized"),x.isEditorMode?(x.bindEditorSliderControls(e),"object"==typeof qiBlocksEditor.qodefSetEditorLinkBehavior&&qiBlocksEditor.qodefSetEditorLinkBehavior.linkBehavior(e.querySelectorAll("a, button"))):qiBlocks?.qodefLightboxPopup&&qiBlocks.qodefLightboxPopup.init(e.parentNode),"object"!=typeof qiBlocksEditor&&t.sliderScroll){let i=!1,a=C()(e),n=e.classList.contains("qodef-block")?a:a.parents(".qodef-block"),o=n.hasClass("qodef--focus-in-viewport"),l=n.offset().top,r=n.offset().top+n.outerHeight();o&&window.addEventListener("wheel",function(e){let t=C()(window).scrollTop()+e.deltaY;(e.deltaY>0&&t<l||e.deltaY<0&&r<t+qiBlocks.windowHeight)&&qiBlocks.qodefIsInViewport.check(n,function(){qiBlocks.qodefScroll.disable(),C()("html, body").stop().animate({scrollTop:l},1200,function(){qiBlocks.qodefScroll.enable()})},!0)},{passive:!1}),a.off().on("wheel",function(a){t.loop?a.preventDefault():((a.originalEvent.deltaY<0&&!e.swiper.isBeginning||a.originalEvent.deltaY>0&&!e.swiper.isEnd)&&a.preventDefault(),o&&(a.originalEvent.deltaY<0&&e.swiper.isBeginning?(qiBlocks.qodefScroll.disable(),C()("html, body").stop().animate({scrollTop:Math.max(0,l-qiBlocks.windowHeight)},1200,function(){qiBlocks.qodefScroll.enable()})):a.originalEvent.deltaY>0&&e.swiper.isEnd&&(qiBlocks.qodefScroll.disable(),C()("html, body").stop().animate({scrollTop:r},1200,function(){qiBlocks.qodefScroll.enable()})))),i||(i=!0,a.originalEvent.deltaY>0?e.swiper.slideNext():e.swiper.slidePrev(),setTimeout(function(){i=!1},1e3))})}}}}}},q=x,A={masonry:[],isEditorMode:!1,init:function(){this.holder=document.querySelectorAll(".qodef-gutenberg-masonry-layout"),this.holder.length&&[...this.holder].map(e=>{A.createMasonry(e)})},reLayout:function(){const e=A.masonry;"object"==typeof e&&Object.keys(e).length&&Object.values(e).map(e=>{setTimeout(()=>{const t=e.element.querySelectorAll(".qodef-gutenberg-column"),i=parseFloat(window.getComputedStyle(e.element.querySelector(".qodef-gutenberg-masonry-sizer")).getPropertyValue("width")),a=parseInt(window.getComputedStyle(e.element).getPropertyValue("column-gap"),10);i&&(t.forEach(e=>{e.style.width=i+"px"}),e.element.parentNode.classList.contains("qodef-items--fixed")&&A.setFixedImageSize(e.element,t[0],i,a)),setTimeout(()=>{e.layout()},400)},400)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e,"> .qodef-block .qodef-gutenberg-masonry-layout")),e},initItem:function(e,t){const i=t||"string"==typeof e?e:"";(e=A.getRealCurrentItem(e))&&(P()&&(A.isEditorMode=!0),i&&A.masonry[i]&&e?A.reInit(e,i,t):A.createMasonry(e,i))},reInit:function(e,t,i){const a=(A.isEditorMode?qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():document).querySelectorAll(".qodef-gutenberg-masonry-layout");"function"==typeof Isotope&&a.length&&("object"==typeof A.masonry[t]&&"reinit"===i?A.masonry[t].layout():P()||!0!==e?A.createMasonry(e,t):A.masonry[t].layout())},createMasonry:function(e,t){if(!e)return;const i=e.querySelector(".qodef-gutenberg-row");if(i){const a=i.querySelector(".qodef-gutenberg-column");("object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor).qodefWaitForImages.check(i,function(){A.createMasonryLogic(e,i,a,t)})}},createMasonryLogic:function(e,t,i,a){if("function"==typeof Isotope&&(A.isEditorMode||!t.classList.contains("qodef--masonry-init"))){const n=t.querySelectorAll(".qodef-gutenberg-column"),o=parseFloat(window.getComputedStyle(t.querySelector(".qodef-gutenberg-masonry-sizer")).getPropertyValue("width")),l=parseInt(window.getComputedStyle(t).getPropertyValue("column-gap"),10);n.forEach(e=>{e.style.width=o+"px"}),e.classList.contains("qodef-items--fixed")&&A.setFixedImageSize(t,i,o,l);const r=new Isotope(t,{layoutMode:"packery",itemSelector:".qodef-gutenberg-column",percentPosition:!0,isJQueryFiltering:!1,packery:{columnWidth:".qodef-gutenberg-masonry-sizer",gutter:l}});A.masonry[a]=r,setTimeout(()=>{r.layout()},A.isEditorMode?600:0),t.classList.contains("qodef--masonry-init")||t.classList.add("qodef--masonry-init")}},setFixedImageSize:function(e,t,i,a){const n=A.isEditorMode?document.body.classList.contains("qi-preview-screen-tablet")||document.body.classList.contains("qi-preview-screen-mobile"):qiBlocks.windowWidth<=680,o=e.parentElement.classList.contains("qodef-col-num--1"),l=e.querySelectorAll(".qodef-gutenberg-column");l&&l.forEach(e=>{let t=i,l=i;o?(e.classList.contains("qodef-item--landscape")&&(l=Math.round(i/2)),e.classList.contains("qodef-item--portrait")&&(l=Math.round(2*i))):(e.classList.contains("qodef-item--landscape")&&(t=Math.round(2*i+a),n&&(t=Math.round(i),l=Math.round(i/2))),e.classList.contains("qodef-item--portrait")&&(l=Math.round(2*i+a)),e.classList.contains("qodef-item--huge-square")&&(t=Math.round(2*i+a),l=Math.round(2*i+a),n&&(t=Math.round(i),l=Math.round(i)))),e.style.width=t+"px",e.style.height=l+"px"})}},I=A;var E={init:function(e){e?setTimeout(()=>{E.initItem(e)},2e3):(this.holder=document.querySelectorAll(".qi-block-fslightbox-popup"),this.holder.length&&[...this.holder].map(e=>{E.initItem(e)}))},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e)),e},initItem:function(e,t){if(!P("object"==typeof qiBlocksEditor&&qiBlocksEditor.qodefGetCurrentBlockElement?qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():document)&&(e=E.getRealCurrentItem(e))&&"undefined"!=typeof refreshFsLightbox){refreshFsLightbox();for(const e in fsLightboxInstances){let t=fsLightboxInstances[e].props.sources,i=[],a=0;t.forEach(e=>{i.includes(e)||(i.push(e),a++)});let n=a!==t.length?t.length-a:0;fsLightboxInstances[e].props.onOpen=function(){const t=fsLightboxInstances[e].elements.container.querySelectorAll(".fslightbox-slide-number-container");if(n>0&&t.length){const i=t[0].querySelector(".fslightbox-flex-centered > *:first-child"),o=t[0].querySelector(".fslightbox-flex-centered > *:last-child");new MutationObserver(()=>{let e=Number(i.innerText),t=e;e>a&&(t=n>a&&e>n?e-n:e-a),i.innerText=t,o.innerText=a}).observe(fsLightboxInstances[e].elements.container,{subtree:!0,attributes:!0,attributeFilter:["class"]})}},fsLightboxInstances[e].props.onInit=()=>{const t=fsLightboxInstances[e].elements.container,i=t.querySelectorAll(".fslightbox-slide-btn-container-previous > .fslightbox-slide-btn"),a=t.querySelectorAll(".fslightbox-slide-btn-container-next > .fslightbox-slide-btn"),n=t.querySelectorAll('[title="Close"]'),o="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;i.length&&(i[0].innerHTML=o.vars.arrowLeftIcon),a.length&&(a[0].innerHTML=o.vars.arrowRightIcon),n.length&&(n[0].innerHTML=o.vars.closeIcon)}}}}};const M=E,T={init:function(){P()||(this.holder=document.querySelectorAll(".qodef-image--hover-follow-info"),this.holder.length&&[...this.holder].map(e=>{T.initItem(e)}))},initItem:function(e){if(window.innerWidth>1024){const t=e.querySelectorAll(".qodef-image-wrapper");t.length&&[...t].map(e=>{T.initItemBehavior(e)})}},initItemBehavior:function(e){if(e){const t=e.querySelector(".qodef-e-content");t&&e.addEventListener("mousemove",e=>{e.clientX+t.offsetWidth+20>window.innerWidth?t.classList.add("qodef--right"):t.classList.remove("qodef--right"),t.style.top=e.clientY+20+"px",t.style.left=e.clientX+20+"px"})}}},B=T,N={get:function(e,t="> .qodef-block",i=!1){if(e&&t){const a=N.getCurrentDocument();e=i?a.querySelectorAll("."+e+" "+t):a.querySelector("."+e+" "+t)}return e||""},getPageEditorWrapper:function(){return document.querySelector(".edit-post-visual-editor__content-area")||document.querySelector(".edit-post-visual-editor")||document.querySelector(".editor-visual-editor")||document.querySelector("#site-editor")||document.querySelector(".edit-widgets-block-editor")||document.querySelector(".customize-widgets__block-editor")},isFullSiteEditor:function(){return!!document.querySelector("#site-editor")},isWidgetsEditor:function(){return!!document.querySelector(".edit-widgets-block-editor, .customize-widgets__block-editor")||window.location.pathname.includes("widgets.php")},isCustomizer:function(){return window.location.pathname.includes("customize.php")},getIframe:function(){const e=document.querySelector(".block-editor-block-preview__content iframe");if(e)return e;if(N.isCustomizer()&&!N.isWidgetsEditor())return document.querySelector('#customize-preview iframe[name*="customize-preview"]');const t=document.querySelector('iframe[name="editor-canvas"]');if(t)return t;const i=N.getPageEditorWrapper();return i?i.querySelector('iframe[name="editor-canvas"]'):""},getCurrentDocument:function(){const e=N.getIframe();return e?e.contentDocument:document}},D=N,j={linkSelector:".qodef-block a:not(.qodef-m-integration-notice-link), .qodef-block button, .qodef-block input[type=submit]",bindLinks:function(e){e&&j.linkBehavior(e.querySelectorAll(j.linkSelector))},listenerChanges:function(e){j.bindLinks(D.getCurrentDocument());const t=new MutationObserver(()=>{setTimeout(()=>{j.bindLinks(D.getCurrentDocument())},400)}),i=D.getIframe()?.contentDocument,a=i?.body||e;a&&t.observe(a,{subtree:!0,childList:!0})},linkBehavior:function(e){e?.length&&e.forEach(e=>{e.dataset.qiEditorLinkBound||(e.dataset.qiEditorLinkBound="1",e.addEventListener("click",e=>{e.preventDefault()}))})}},L=j;function R(e){return e?e.nodeType===Node.ELEMENT_NODE?e:e.nodeType===Node.TEXT_NODE?e.parentElement:null:null}function F(e){const t=R(e);if(!t?.closest)return null;const i=t.closest('.qodef-block-container, .qodef-block, [class*="qi-block-"]');return i?i.classList?.contains("qodef-gutenberg-column")||i.classList?.contains("qodef-gutenberg-section")||i.classList?.contains("qodef-gutenberg-row")?null:i:null}function V(e){return!function(e){const t=R(e);if(!t?.closest)return!1;const i=F(t),a=t.closest("[data-type]");if(!a)return!i;const n=a.getAttribute("data-type");return!(!n||n.startsWith("qi-blocks/")||i&&a.contains(i))}(e)&&!!F(e)}const H=/^qodef-(?:template-block|widget-block|block)-[a-f0-9]+$/i;function G(e){const t=R(e);if(!t?.closest)return"";const i=F(t);if(!i)return"";const a=i.closest(".qodef-block-container")||i;if(!a?.classList?.length)return"";for(const e of a.classList)if(H.test(e))return e;return""}function U(e=window){const t=[];e&&t.push(e);try{e?.parent&&e.parent!==e&&t.push(e.parent)}catch(e){}try{e?.top&&t.push(e.top)}catch(e){}for(const e of t)try{const t=e?.wp?.data;if(t?.select&&t?.dispatch){if(t.select("core/block-editor"))return t}}catch(e){}return null}function z(e,t,i){for(const a of t){if(!a?.clientId)continue;if(i(a))return a.clientId;const t=e.getBlocks(a.clientId);if(t?.length){const a=z(e,t,i);if(a)return a}}return""}function K(e,t=window){if(!e)return"";const i=U(t);if(!i)return"";const a=i.select("core/block-editor");if(!a?.getBlocks)return"";const n=a.getBlocks(),o=z(a,n,t=>t.attributes?.uniqueClass===e);if(o)return o;const l=e.replace(/^qodef-(?:template-block|widget-block|block)-/i,"");return l?z(a,n,e=>e.clientId.startsWith(l)):""}const W=/^[a-f0-9-]{8,}$/i;function J(e,t=window){const i=R(e);if(!i?.closest)return"";const a=G(i);if(a){const e=K(a,t);if(e)return e}const n=i.closest('.block-editor-block-list__block[id^="block-"]');if(n?.id)return n.id.replace(/^block-/,"");const o=i.closest("[data-block]");if(o?.getAttribute){const e=o.getAttribute("data-block");if(e&&W.test(e))return e}const l=i.closest('.wp-block[id^="block-"]');return l?.id?l.id.replace(/^block-/,""):""}const Y=["qi-blocks/column","qi-blocks/columns"],Q=/^[a-f0-9-]{8,}$/i,Z={ignoreTargetSelector:".block-editor-block-toolbar, .block-list-appender, .components-popover, .block-editor-inserter__toggle, .block-editor-block-contextual-toolbar",contextWindow:window,contentIntentUntil:0,contentIntentClientId:"",layoutIntentUntil:0,layoutIntentClientId:"",init:function(e=document,t=window,i={}){const a=!0===i?.force;Z.contextWindow=t||window;const n=e||document,o=()=>!!n.__qiBlockSelectionBound||!!(a||P(n)||function(){try{return"editor-canvas"===window.frameElement?.getAttribute?.("name")}catch(e){return!1}}())&&(Z.bind(n),!0),l=()=>{o()};if("loading"===n.readyState?n.addEventListener("DOMContentLoaded",l,{once:!0}):l(),n.__qiBlockSelectionObserver)return;const r=n.body||n.documentElement;r&&(n.__qiBlockSelectionObserver=new MutationObserver(l),n.__qiBlockSelectionObserver.observe(r,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["class"]}))},bind:function(e){e&&!e.__qiBlockSelectionBound&&(e.__qiBlockSelectionBound=!0,e.addEventListener("mousedown",Z.handle,!0),e.addEventListener("click",Z.handle,!0),e.addEventListener("focusin",Z.handleFocusIn,!0),Z.watchSelectionIntent())},shouldIgnoreEventTarget:function(e){const t=R(e.target);return!!t?.closest?.(Z.ignoreTargetSelector)},isLayoutBlockName:function(e){return Y.includes(e)},setContentIntent:function(e){Z.contentIntentClientId=e,Z.contentIntentUntil=Date.now()+800,Z.layoutIntentUntil=0,Z.layoutIntentClientId=""},setLayoutIntent:function(e){Z.layoutIntentClientId=e,Z.layoutIntentUntil=Date.now()+800,Z.contentIntentUntil=0,Z.contentIntentClientId=""},focusBlockNode:function(e,t){if(!e||!t)return;const i=t.getElementById("block-"+e)||t.querySelector(`[data-block="${e}"]`);i?.focus&&i.focus({preventScroll:!0})},selectClientId:function(e,t){e&&t&&t.dispatch("core/block-editor").selectBlock(e)},stopEvent:function(e,t){t&&"function"==typeof e.preventDefault&&e.preventDefault(),"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation()},handleFocusIn:function(e){if(Date.now()>Z.layoutIntentUntil)return;const t=Z.layoutIntentClientId;if(!t)return;const i=R(e.target),a=i?.closest?.('[contenteditable="true"]');if(!a||!F(a))return;const n=U(Z.contextWindow);n&&("function"==typeof a.blur&&a.blur(),Z.selectClientId(t,n))},watchSelectionIntent:function(){const e=Z.contextWindow;if(e.__qiLayoutSelectionWatchBound)return;const t=U(e);if(!t?.subscribe)return;e.__qiLayoutSelectionWatchBound=!0,e.document.addEventListener("mousedown",e=>{const i=e.target?.closest?.(".block-editor-list-view-leaf[data-block], [data-block].block-editor-list-view-leaf");if(!i)return;const a=i.getAttribute("data-block"),n=t.select("core/block-editor").getBlock(a);n&&(Z.isLayoutBlockName(n.name)?Z.setLayoutIntent(a):Z.setContentIntent(a))},!0);let i=t.select("core/block-editor").getSelectedBlockClientId();t.subscribe(()=>{const e=t.select("core/block-editor"),a=e.getSelectedBlockClientId();if(a===i)return;i=a;const n=Date.now();if(n<Z.contentIntentUntil&&Z.contentIntentClientId){const n=Z.contentIntentClientId;if(a===n)return;const o=e.getBlockParents?.(n)||[];return void(a&&o.includes(a)&&(Z.selectClientId(n,t),i=n))}if(n<Z.layoutIntentUntil&&Z.layoutIntentClientId){const n=Z.layoutIntentClientId;if(a===n)return;(a&&e.getBlockParents?.(a)||[]).includes(n)&&(Z.selectClientId(n,t),i=n)}})},handle:function(e){if(Z.shouldIgnoreEventTarget(e))return;const t=R(e.target);if(!t||!V(t))return;const i=J(t,Z.contextWindow);if(!i||!Q.test(i))return;const a=U(Z.contextWindow);if(!a)return;const n=a.select("core/block-editor").getSelectedBlockClientId()===i,o=t.closest?.('[contenteditable="true"]');Z.setContentIntent(i),n||(Z.selectClientId(i,a),Z.focusBlockNode(i,t.ownerDocument)),Z.stopEvent(e,!(n&&o))}},X=Z;void 0===window.qiBlocksEditor&&(window.qiBlocksEditor={}),void 0===window.qodefBlocksEmptyCallback&&(window.qodefBlocksEmptyCallback=function(){}),qiBlocksEditor.qodefScroll=w,qiBlocksEditor.qodefWaitForImages=_,qiBlocksEditor.qodefIsInViewport=O,qiBlocksEditor.qodefSwiper=q,qiBlocksEditor.qodefMasonryLayout=I,qiBlocksEditor.qodefLightboxPopup=M,qiBlocksEditor.qodefFollowInfo=B,window.addEventListener("load",function(){let e=0;const t=setInterval(()=>{"undefined"!=typeof wp&&wp.data&&wp.data.select?(clearInterval(t),$.init(),ee.init(),ie.init(),setTimeout(()=>{ee.saveBlocksOptions()},1500)):++e>=20&&(clearInterval(t),console.warn("WordPress editor JS API is not loaded"))},500)}),qiBlocksEditor.qodefGetCurrentBlockElement=D;const $={listenerTriggered:!1,bindEditorCanvasSelection:function(e){const t=e?.contentDocument;t&&X.init(t,window,{force:!0})},watchEditorCanvas:function(e){e&&!e.__qiEditorCanvasWatched&&(e.__qiEditorCanvasWatched=!0,$.bindEditorCanvasSelection(e),e.addEventListener("load",()=>{$.bindEditorCanvasSelection(e)}))},init:function(){X.init(document,window,{force:!0});let e=0;const t=setInterval(()=>{const i=D.getIframe();if(i?.contentDocument){clearInterval(t);const e=D.getPageEditorWrapper();e&&(L.listenerChanges(e),$.listenerChanges(e)),$.watchEditorCanvas(i)}else++e>=40&&clearInterval(t)},500)},listenerChanges:function(e){new MutationObserver(()=>{const e=D.getIframe();setTimeout(()=>{if(!e&&$.listenerTriggered&&($.listenerTriggered=!1),e&&D.isFullSiteEditor()&&"object"==typeof wp&&"object"==typeof wp?.data){const t="function"==typeof wp.data.select("core/editor")?.getDeviceType?wp.data.select("core/editor")?.getDeviceType()?.toLowerCase():wp.data.select("core/edit-site")?.__experimentalGetPreviewDeviceType()?.toLowerCase();"desktop"!==t&&ee.setBodyPreviewScreenClasses(e.contentDocument,t)}e&&!$.listenerTriggered&&(ee.init(e.contentDocument),L.bindLinks(e.contentDocument),$.watchEditorCanvas(e),D.isFullSiteEditor()&&($.listenerTriggered=!0))},400)}).observe(e,{subtree:!0,childList:!0})}},ee={initialScreen:"desktop",initialPageTemplate:"",saveCounter:0,debounceTimeout:null,saveListenersAdded:!1,init:function(e){if("object"==typeof wp&&"object"==typeof wp.data){const t=wp.data,i=new Event("qi_frame_resized");let a=t.select("core")?.isSavingEntityRecord;ee.setBodyPreviewScreenClasses(document,ee.initialScreen),t.subscribe(()=>{setTimeout(()=>{const n=e||D.getCurrentDocument();if(!n?.body)return;const o=t.select("core/edit-post"),l=t.select("core")?.isSavingEntityRecord;let r=!1;if(t?.select("core/edit-site")&&l!==a&&(a=l,r=!!l),ee.setBodyPageTemplateClasses(n,t),te.init(n),r&&ee.saveBlocksOptions(!0),o){const e=t.select("core/editor"),a="function"==typeof e?.getDeviceType?e.getDeviceType()?.toLowerCase():o.__experimentalGetPreviewDeviceType?.()?.toLowerCase();a&&ee.initialScreen!==a&&["tablet","mobile","desktop"].includes(a)&&(ee.setBodyPreviewScreenClasses(document,a),ee.setBodyPreviewScreenClasses(n,a),qiBlocksEditor.qodefSwiper.init(n,a),qiBlocksEditor.qodefMasonryLayout.reLayout(a),qiBlocksEditor.qodefFollowInfo.init(),["tablet","mobile"].includes(a)&&n.body.dispatchEvent(i),ee.initialScreen=a)}},600)})}},setBodyPreviewScreenClasses:function(e,t){e&&(e.body.classList.remove("qi-preview-screen-tablet","qi-preview-screen-mobile","qi-preview-screen-desktop"),e.body.classList.add("qi-preview-screen-"+t))},setBodyPageTemplateClasses:function(e,t){const i=ee.initialPageTemplate,a=t.select("core/editor")?.getEditedPostAttribute("template");if(a&&i!==a){const t=e=>"qi-page-template--"+e.replace(".php","");i&&e.body.classList.remove(t(i)),e.body.classList.add(t(a)),ee.initialPageTemplate=a}},saveBlocksOptions:function(e=!1){const t=()=>{const e=qiBlocksEditor.vars?.currentPageID,t=qiBlocksEditor.vars?.currentPageStyles;e&&t&&t.length&&d()({method:"POST",path:"/qi-blocks/v1/update-styles",data:{page_id:e,options:t}}).then(e=>{console.log("Styles saved:",e.message)}).catch(e=>{console.error("Error saving styles:",e)})},i=()=>{clearTimeout(ee.debounceTimeout),ee.debounceTimeout=setTimeout(t,800)};if(!this.saveListenersAdded){if(this.saveListenersAdded=!0,document.addEventListener("click",e=>{const t=e.target,a=[".editor-post-publish-button__button",'.edit-widgets-header__actions > button[type="button"].components-button',".edit-site-save-button__button",".editor-post-save-draft",".editor-post-saved-state",'button[aria-label*="Save"]',"#customize-save-button-wrapper .save"];for(const e of a)if(t.closest(e)){i();break}}),"object"==typeof wp&&wp.data?.subscribe){let e=wp.data.select("core/edit-post")?.isSavingEntityRecord?.()||!1,t=wp.data.select("core/edit-site")?.isSavingEntityRecord?.()||!1;wp.data.subscribe(()=>{const a=wp.data.select("core/edit-post")?.isSavingEntityRecord?.()||!1,n=wp.data.select("core/edit-site")?.isSavingEntityRecord?.()||!1,o=wp.data.select("core/editor")?.isAutosavingPost?.()||!1;(a&&a!==e||n&&n!==t)&&(o||(e=a,t=n,i()))})}if(window.parent&&window.parent.wp&&window.parent.wp.customize){let e;window.parent.wp.customize.bind("change",t=>{"string"==typeof t.id&&t.id.startsWith("widget_block")&&(clearTimeout(e),e=setTimeout(()=>{const e=qiBlocksEditor.vars?.currentPageStyles;if(!e?.length)return;const t=ee.buildCSSFromPageStyles(e),i=D.getCurrentDocument();ee.injectInlineCSS(t,i)},400))})}}e&&i()},buildCSSFromPageStyles:function(e){if(!Array.isArray(e))return"";let t="";return e.forEach(e=>{e.values.forEach(e=>{e.styles&&(t+=`${e.selector}{${e.styles}}`),e.tablet_styles&&(t+=`\n\t\t\t\t\t\t\t@media (max-width: 1024px) {\n\t\t\t\t\t\t\t\t${e.selector}{${e.tablet_styles}}\n\t\t\t\t\t\t\t}`),e.mobile_styles&&(t+=`\n\t\t\t\t\t\t\t@media (max-width: 680px) {\n\t\t\t\t\t\t\t\t${e.selector}{${e.mobile_styles}}\n\t\t\t\t\t\t\t}`),Array.isArray(e.custom_styles)&&e.custom_styles.forEach(e=>{t+=e})})}),t},injectInlineCSS:function(e,t){if(!e||!t)return;let i=t.getElementById("qi-blocks-main-inline-css");i||(i=t.createElement("style"),i.id="qi-blocks-main-inline-css",t.head.appendChild(i)),i.textContent=e}};qiBlocksEditor.qodefSetGutenbergEditorData=ee;const te={init:function(e,t=""){const i=e||D.getCurrentDocument(),a=i.querySelectorAll(".qodef-block-container"+t||0),n=i.querySelectorAll(".qodef-block-container"+t);a.length&&a.forEach(e=>{te.setWidthStyles(i,e)}),n.length&&n.forEach(e=>{te.setPositionStyles(e)})},setWidthStyles:function(e,t){let i=t.classList.contains("qodef-width--inline")||t.classList.contains("qodef-width--custom"),a="100%",n=a,o="block";e.body.classList.contains("qi-preview-screen-tablet")?t.classList.contains("qodef-width--tablet--inline")||t.classList.contains("qodef-width--tablet--custom")?i=!0:t.classList.contains("qodef-width--tablet--full-width")&&(i=!1):e.body.classList.contains("qi-preview-screen-mobile")&&(t.classList.contains("qodef-width--mobile--inline")||t.classList.contains("qodef-width--mobile--custom")?i=!0:t.classList.contains("qodef-width--mobile--full-width")&&(i=!1)),i&&(a="auto",n="100%",o="inline-flex",["","tablet","mobile"].forEach(i=>{t.getAttribute("data-width"+(i?"-"+i:""))&&e.body.classList.contains("qi-preview-screen-"+(i||"desktop"))&&(t.style.width="100%",a=t.getAttribute("data-width"+(i?"-"+i:"")),n=t.getAttribute("data-width"+(i?"-"+i:"")))})),t.parentElement&&(t.parentElement.classList.contains("qodef-gutenberg-column-inner")||(t.parentElement.style.setProperty("display",o),t.parentElement.style.setProperty("width",a,"important"),t.parentElement.style.setProperty("max-width",n,"important"),t.parentElement.style.setProperty("justify-content","inherit")))},setPositionStyles:function(e){"absolute"===(e.style.getPropertyValue("position")||"")&&e.parentElement&&!e.parentElement.classList.contains("qodef-gutenberg-column-inner")&&e.parentElement.style.setProperty("position","static")}};qiBlocksEditor.qodefSetBlockStyles=te,qiBlocksEditor.qodefSetEditorLinkBehavior=L;const ie={init:function(){const e=setInterval(()=>{document.querySelector(".block-editor-block-list__layout.is-root-container")&&(clearInterval(e),ie.triggerAnimation())},500)},triggerAnimation:function(e,t){const i=D.getCurrentDocument().querySelectorAll(".qodef-entrance-animation--on"+(e?"."+e:""));i&&i.forEach(e=>{const i=e.getAttribute("data-animation"),a=e.getAttribute("data-current-animation");e.classList.contains("qodef-animation--appeared")?a&&i!==a?(e.classList.remove("animate__"+a),e.classList.add("animate__"+i),e.setAttribute("data-current-animation",i)):t&&(e.classList.remove("animate__"+i),setTimeout(()=>{e.classList.add("animate__"+i)},300)):(e.classList.add("qodef-animation--appeared"),e.classList.add("animate__"+i),e.setAttribute("data-current-animation",i))})}};qiBlocksEditor.qodefTriggerBlockAnimation=ie;const ae=wp.plugins,ne=wp.editor;var oe,le,re=i(6540);function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},se.apply(null,arguments)}const ue=e=>re.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",xmlSpace:"preserve",width:36,height:36},e),oe||(oe=re.createElement("path",{fill:"#EE2A53",d:"M36 34.977A1.03 1.03 0 0 1 34.964 36H1.036A1.03 1.03 0 0 1 0 34.977V1.025A1.03 1.03 0 0 1 1.036 0h33.928C35.535 0 36 .459 36 1.025z"})),le||(le=re.createElement("image",{xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALcAAACwCAYAAABNa/8nAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ bWFnZVJlYWR5ccllPAAAA4RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6 eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2 NDQ2MCwgMjAyMC8wNS8xMi0xNjowNDoxNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEu MC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVz b3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1N Ok9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozNmMyODM0OC1jN2Y0LTBjNDctYjUwOS1hZTQ4 MmFlODlmNTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDg0M0U3QzZGN0E5MTFFQzlCNURE NDkyODgxRDc2RDciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDg0M0U3QzVGN0E5MTFFQzlC NURENDkyODgxRDc2RDciIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkg KFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6 OTBiNDIyODQtNDZlOC1iMjQxLWE4ZmEtMjgxYTU2ZDgyMjE5IiBzdFJlZjpkb2N1bWVudElEPSJh ZG9iZTpkb2NpZDpwaG90b3Nob3A6MTU4YTJhYzUtYmVkYy0xMzQ4LWFjNWQtMGE1OGFhZWM3ODdl Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQg ZW5kPSJyIj8+atExJQAAE1BJREFUeNrsnQu4TlUax9d3HJSSRMIQIykOlc5JSVOkmymX7sLoqAZN TSlNRY0w002iJt10c6tUMlJJpdsTEiflrhKjpBQScVzSmf//2es8zxnj8n3725d37bXe53mfdR6+ vfe71v7td79r7bXelcrPz1e2SFFRUUMUx0EbQ4+E/h5aA1obeiB0PLRPXl7emsWLF+/2HCUlJVVQ 3AvtBd0CXQ39EboC+oXWT1mmUqnfkt6maA+xtuUmGORyKI6HtoW2hraAVt3Dz7dBCwsKCkbv67wA 9mcUvXFTX0c5DtpQa8tdfvoLfjMH5QfQd6Czcex25SQySSXJcwPoSijOgXaEtt8LzGVlPX8LsGeW /kNxcbHak+fexWvxDfA29HdpXGcT9A3oK9DX9UPiPLfz3HsFOkd7527QC6EHZHD4WujpAHuBL8+Q Si3BzT0Zf74HbbCPn1eGXqJ1G46bjHIsdCrOs8P5WQd3Wairo7iSIQK0vo9TbMwG7DKAfw1Qz9bh R+00D6sIvVjr9zh+JMqRONe3DsngJMdAqBtBn8CfBOEen2DTU56fLdhlAF+G4lwdemQqNaEDoCsB +fPQ4xyWlsENoJtCX8KfS6FXQStkcbobAfa7gXZeUqnP2CnN4hTsAHfmSAsAnwo9yeGZcLg5fAd9 Fn/Oh15EjrI85bMAe0QovfNUaiKK+wI4FcOcjwD4K86TJxBuAH0wdDj+XALtEgDUlIXKG58OU/rp +DsI6QCdC8Cfgh7mcDUcbgCdgvbEn19C+wTY6eUY82Xw2pvDtB/eeyeK7j7j792eEnoF2wOA3wzN ddgaCDeg5rjxh9DHodUDPv1ggL0winpwBAXFdQGflkOJ/DL6CQA/waFrCNyAOhfKEQN2ylqFcIlP NBiRCQAfhWJKCKc+BjoLgA+H7ucQFgw3oOYcj+nQQVmOgOxJGCb0gNf+NYbqMb7fHNJ966O9eHOH sUC4AXah8iYZnRjiZR4Najzbh/deheLOEC/RBDobgN8ETTmcBcANqPeH8rX9jMrsc3mmws/rA2Ju 42HQr0I8PzuYHH6cBMCrOqRjhBtQc5rpbOjlEVzudnjtn+JsYHhvzji8IYJLlQ4bHuuwjgFugN0a BaeBNo3gchwff0JCIwPwV5U3uSpsqQ+dAcA7ObQjhBtgc5LTW9BqEV3yNnhtSYsF+kd0HYZ5/wbg /Rzc0YDNuPdJaPmI6sUhxUmSGhreexaKqRFe8i4APgJazla4c0OGmg37EPTqiOvFWFviLHp673Mi vN410MMAeFcbVwHlhAz2mBjAngOwX5fY2ACMw56TI74sJ5tNAOCVHNzBgt0lhjrdJ7zNh8RwTS65 e802wHMSBvZ/oBMlNzi89wwUH8dw6TbQVwF4BQe3f3k4JrApwxGS7DSg3e+P6bqnQ8fb0skMFG54 bX5q7hVTXTZAnzak3Sfqt0wccj70SRs+1+cECHZvFd1Y7u7kaXjtX0xodD3ne0SMJhRCBzq40wP7 rJhvFuVJw9qe/ZI4UzoMgPfu5uDeO9hcYMCFu3HGcdPhtZeY1PDw3kzBFveHpqd03hUH927AZn69 l6EHxX2TDG3/uN82HDmZkNT1mdl6bnbgGsdcBybXedHQ9p8WY8eyVGqphI6g+IYbXvta5WVMilsm ICTZYmLj6yyw4wSY0hr6Twe3BzZXgAwVUofnDL8HLwixgyvrT7UaboDNPHdMklNRgP3slL1v8g2A 9+aK/IVCWBgDwA+yFm7lLduSkgVpoiFfJPclUvoM9aAPWgk3vHYzvr4E2f9SQu6DpHoUwnu3tQpu nQebQ1dSMh6tUdEs3YoiNFkqJDQplceTkBMlE8/Nz+stBNk+VdgysmzlNUG2HAG93Qq4mZQSxWBh tr+hkiXS6tMX3rueDZ6bnchqguymx34rYXBzTx5J++QwLLkn0XDDa/MVda0wuz+KOx9JCHE3071N E2ZWZ3jvFomFG/J3Fd2q9bTjbZVMmSLQpsGJhFtvSipxWuS0hMItsV5nm7qFyb48N3vM0ibUFCsv JXHiROf1/kagaQMTBTe8dh0UXQXa/DHi7STv2zhdqPdunhi4dScy1938yOVDoXb1SQTcepvpns6z ufqVkcvgvWsmwXMzNYPEXM8c356ZcLgXKW8lvzQpL9jhZQT3FULtXYJ4e1OSydYLGOYINe9yk1JC 5OwmJGmEoqVQez9Tdsh8oXY1gJ5msucudDfdPcR7kUKT4b7U3fTYZZ5g285HaFLeOLj1YoQG7qbH LpzfLTWfNpehtTUObsgFgm1dg87kGhvIRqeSH6kWCzaxk4lwSzZ6kbJLFgq2rYNRcCMkOQSF5G3e llsGt+T61kLcnWeS52bu5pS72a6+aUobk+BuLdzWrxzcoqStSXCf6m62q28GcooRcHMvdhRN3M0W Jauh2wTbVx1x9+EmeG52JCVn+dxYUFCw3iayU6kU99FcIdzMAhPgzhfeiN8rO0X6uH6+CXBLD0nW Wgr3D8Lta2IC3I2EN+KPlsK9Trh9DU2Au6HwRvzBUrjXGgC32G8jOUVFRdwX5XDhjbjOUrilx9zM SlVHsueuoULaA96FJVb0NWpLhruWAQ243lK4Taj3oZLhrm5AA+6wFO7tBthY08GdnWy2FG4THurq kuE+RDlxD7V/2V8y3CYs1d9gKdwlBthYRTLcBzoHKVZ+dk2QHdy5Bti52d0qsVJZMtyuY+UkkQzl GAKOC51c6OQLbhNe+bmWglPJPTvZwV3imkGsVDDAxmLJcJswKamK41ys/CQZbhMm59j6ejbhoV7v 4HZw+5GDDbBxnWS4vzOgAatZCrcJ9V4tGW6uctkpvAFtnf9S1QAbV4qFW297t1J4A9rquaU/1GRH 7Gqh0q9LXwpvxMNcWCJSyE2Jgzs7qWUp3HWF27dUsnGlcEvPfV3HUril13uRCXBL30u9hl6lb5tI z0owzwS4uUvYr8LtbGAT1SUlJQco+ePcc8TDXVBQwGyiC4Q35JGWee16wu1bk0qlvjbBc1Ok76ne 0DK4jxJun3Re/gfudx3couRo4fa9bxLcH0B/E2xrIwe3g9sX3Ii7OXVR8qiJ89xyZBXi7YXGwK1l smBb6xcVFVkxr7ukpITpNhoLNvFVE9pxV7gnCrc3X9khfEtVFmzfZOPgRmjCLZm/cHC7eu5FGL6+ a0Ij7m7h7YvQ291Nd/Xcg0xAvL3PBJ34zd7CLk7lbaW8bxdV9ANDpzoDx20ME+5RDu7Ypblg257P oi9xDIoB0I57YG87fjMB5WBA/nnQMTdDE+7U+6HUWDTpnUrcXN6TE4SaRzbe99NBhg7En3OhF6o9 p+rg/KEu0AX4fd/A4dbyjOD73zLhXpve7SChto3U+2NmBDaKp6B3qPT3Oi0PHYpjHwgD7vFK7sLh 1gmH+w9C7dqhQ9ZMpT+0h89rXg/ArwkUboQmTLTymIPbwV1GnoXXzmhXOYB5lPbY2cgQnKdOYHBr eUTJzCNYgLg7ybkDTxVq1zAfx9yiQ4xshGk9+gYKN7w3Uz48LbCRGbedktDOZFMlc73om/DaCzKs CzuHlwR0/S66ox2Y56bcJdR7t0mo1z5bqF0DfRzDYdsDAro+t5M8OlC44b2/Fuq92yUUbon1otee 5eO4IwK2o0GgcJfx3tuENXgzxN31ExaSVBIYbnHYr5/PY4NOO50bONzaew8XyEOHhHntM6AVhdnE EZJPfR77S8C2bA4cbi13Ky/tmiRpnzC4Owqzh8PB/bM4Pui0D4tCgRvem5NZbhPW+K2T8ikeIQlH gDoJM+tOeO1v/B6MY5eo4NL0zcf5VocCtxZ+QpW0KDQ3QR3L1kpWXkDO0BsawHlGBmTPE34OShtu eG92LnoqWfuRd0kI3BcIs6c3PGUQgwgPQb/N8hxfhg63BpyvmrsE3YR2CE2MTm+MkIRf8C4WZNIj APu9IE6E82xC0V35/1bCuL+b3wfNzx6Cdyo5mYYYmlyizJazoIcKsWWF8j6ZByYAk6t2uvoAnGBf hONn+712xnDDezPtWjfoFiE3pJvhcP9JiB07tZcMegiPgL+kvJU3S9I85DPoiThuSjbX9bX7KwBn h6OPkJvSCqFJPROpRkjCedtShgAHAaaZYZ0c5+bb/hj9ME9T//9hkJ56qn4T52c6lyUwuDXgDPLH CLkxVxrqtfm63k+AHW9F0ZcCsL9Cx0HPVN6u0PykziV19aGV8e/t6OWhgSSHynbf7quVjASaV8F7 lzcQ7l4CbOBYdlcAFem+SBr0FdDPoCvDuH5WcMN7M+7mMFbcexFy5wWjPscjJGmB4tiYzWAo0Alg rVUJlGw9NwFfpgGPe2rsXwxr+94CbOgOsOeqhEpOECcB4Eyi+eeY63I6QhMjkmXCa3Po77KYzegP sCeoBEtOUCcC4KOVl5MiTrnBkHa/OuaO5EMA+26VcMkJ8mQA/B8oHoixPoXw3jWEe21CfU2MJjxn kBPISnJDOOeNytvLpTCG+hCc65W8GYxlhR+d4noAmZ21RxQjI7rDHOTcnxGwe1kmB6Ty84PPUAbv ySmcj8YUh2+A1sVbxPeXtuLiYrV48eIwbjidCfduPCImsC9KJ89fhnXa41tUBZvcqQ1sfz+2sKRM eELPwDHcOHKf8K3RU7DXjgPsSWGAbVXMvQvgfKQ5PBfHErX+0nKb6NQEt8Rw6TE2gh0q3KWAQxmD 9424XtV07C9JOKci6q1A7mN4EPXXRyvgLgP5MN25iHIV/Y1S5nrDa3Ph7+AIL8m5GX8F1DdnmrjS we0PcOZ1bg39PqJLVokpDNidMDyLaqtrrnc9F1CPUJZLTpQXA+BM7sLc00URXfJ6eO9Yt9WG1+bb I6pk/pwv3QJgT1VOooVbA75KeclnHo7gcgwHhsXcxvywFUV49KIG+3OHdUxwa8C3Qa/Fn531azRM 6QjvHUsOPr1NRtjTWrfyGoD60jBW0Ti4/UP+Aopmytu9OEx5EIBXjBhs7ijANNDlQrwMZ/Rx1cpI h7IwuDXgTNd2OvQm5c0vDkOOUtFvYsUpra1COjfXsQ6CngSwFzuMhcKtAf8Nej/+ZH7qaSFd5lZ4 7+Mi8trcCeDekE7PTvnxgHogdIdDWDjcZSBfDuX6On7wWB3w6TmvY1TYy9F0OMK0z0HvALxOeVNl WwWxeNbBHR/k41Bw4cFdusMUlByrRy/CFM5KPDPA89E7c8z6SED9WFCLZx3c8QK+GXqbjpe50j6o T8i3wHuHkmMQXpthzz1BnU55u8o1AdD82viTwzUhcJftcEI5y4/zMkbrzlS2MhaA1wkYbG75/LLK Psc2oeYoUlMAfVmmc5idGAR3GciXQQuVN2X0X8pHMvIywolVEwF4pQBN5NzlbL6GbtVvqMYAurMb BbEI7l08OePa2tDrVPopunYVTgN4Vi+syNZrMymQ38xRpfn56gLonu4Lo8Vwl4F8I5QpcvOUN57M hRGZxqVM+D4sS7CrK29qaaadxFHK25WtIYAektTcIXFKrukV0IsimONuJrzw9RoYQttBe/d9yXU4 jiHBrfpcmQo/DlXN8JjVgLmHw8957kxA3w59E8rxYHYYm+nQhcus9jZufjPjXUBeIUOvzYW+vRxG znPH4dEXamX4woXLNZW3+SfH0DnEWF95O/YyHRsTwDfGb7rl5eWtSPMyjLX3cxg5uCUAz4USr2sN Qrr7PK5eyV6WjYcgP0PX6s43H3bunDAdodGWJN/vHPd8++5I0vMfbYi5XJXEIdTz2LeAvknYUYfn oG0d3E52lTMMt39/5eUrnAbA50D/6OB2UiqtElSXAoZqAHwytK6D20njBNaJuzLPA+DtHdx2S/2E 1otj9vTgf3Nw2ysHJ7x+QwD43Q5uy0TvQmaD3Iq69nVw2yWbLKrrUADezsFtiegUZVssqvJYAF7b wW2PrLKorpz//oCD2x5Zall9L4b3buPgtkM+tbDOdzi47ZB3LKzzafDeJzm4ky9MjrPewnpf7uBO uOhsT+MtrPql8N7lHNzJFxsTUPLz/PFp/G67g9ts7z1PeVvg2SbpjJqscnCbL39XwWXDMkWapPGb RXEbmevYzN57IwblGs0+FlW7URrtsg7twjfbsQFdk/NcCh3c0QvTO5yVpkdLglRP83cvBgh3Jrtj MM97TxeWBOO9mdrtEhX+FihSJN0NbJlibmvEti1XXlL+cQ7u4ABnjHmB8rJJJb66abbJdygejdAu ZjUowHXnuw5l8IC/owEvTnhVM0lCOhD6bcj2lOjrtC+b6tnBHTzgrykv+fyPCa7mdxm0B0O1ziG+ 0TZAz8N1Bu26W7KDOxzAZ6BgIvoPElrF5Rm2x3TlbQUT9K4QDD+4m9uU3f2ngzs8wJmbkB87mDh/ XcKqN9dHe7ygQ7bNAdkwFtoS593jg+bgDhfwEigTyjeE9lNeSrMkyEyf7fGK8j7dz8ri2oypC3Gu 7vtKB+fgjgbyDVDulcOlWucrb/zXVNAZb3+SRVt8geJk5WW7WpAh1Nz+kBtfjU7nAPcRJ1rI2ali OuVJeku/PK384selXCaki/g42x3VdMePMyrHox2aozyXIQbBhdbQP9uqY3suCnkbOhXHZTRm/l8B BgBriGa3ErmoBgAAAABJRU5ErkJggg==",width:183,height:176,overflow:"visible",transform:"translate(4.604 4.61)scale(.1464)"})));var ce=i(4383),fe=i.n(ce),me=i(179),ye=i.n(me),de=i(3222),pe=i.n(de),ge=i(1331),be=i.n(ge),he=i(9647),Se=i.n(he),ve=i(5364),we=i.n(ve),ke=i(912),Ce=i.n(ke);const _e=wp.element;var Oe=i(6942),Pe=i.n(Oe);const xe=e=>{const{unitType:t,unitValue:i,onChangeUnit:a}=e;if(e.units[t])return wp.element.createElement("ul",{className:"qodef-unit-control"},Object.entries(e.units[t]).map(([e,t],n)=>wp.element.createElement("li",{key:n},wp.element.createElement("a",{className:Pe()("qodef-unit",{"qodef--selected":("p"===e?"%":e)===i}),onClick:a,"data-unit":"p"===e?"%":e},t))))};xe.defaultProps={units:{typography:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),rem:(0,e.__)("rem","qi-blocks"),vw:(0,e.__)("vw","qi-blocks")},measure:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vw:(0,e.__)("vw","qi-blocks"),vh:(0,e.__)("vh","qi-blocks")},space:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks"),em:(0,e.__)("em","qi-blocks")},height:{px:(0,e.__)("px","qi-blocks"),vw:(0,e.__)("vw","qi-blocks"),vh:(0,e.__)("vh","qi-blocks")},xPosition:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vw:(0,e.__)("vw","qi-blocks")},yPosition:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vh:(0,e.__)("vh","qi-blocks")},pxAndPercent:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks")},pxAndEm:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks")},pxEmVw:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),vw:(0,e.__)("vw","qi-blocks")},pxPercentVh:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vh:(0,e.__)("vh","qi-blocks")},pxPercentVw:{px:(0,e.__)("px","qi-blocks"),p:(0,e.__)("%","qi-blocks"),vw:(0,e.__)("vw","qi-blocks")},pxEmRem:{px:(0,e.__)("px","qi-blocks"),em:(0,e.__)("em","qi-blocks"),rem:(0,e.__)("rem","qi-blocks")}},unitValue:"",onChangeUnit:()=>{}};const qe=xe,Ae=qiBlocksEditor.vars.defaultFontSize,Ie=qiBlocksEditor.vars.defaultLineHeight,Ee=e=>{const{convertorType:t,value:i,attributeKey:a}=e;let n=1;a.includes("FontSize")||a.includes("fontSize")?n=Ae:(a.includes("LineHeight")||a.includes("lineHeight"))&&(n=Ie);const o=e=>Math.round(parseInt(e,10)/n*100)/100,l=e=>Math.round(parseInt(e,10)/n*100)/100,r=e=>Math.round(parseFloat(e)/n*100),s=e=>Math.round(100*parseInt(e,10)/window.innerWidth),u=e=>Math.round(100*parseInt(e,10)/window.innerHeight),c=e=>Math.round(parseFloat(e)*n),f=e=>Math.round(parseFloat(e)*n/100),m=e=>Math.round(window.innerWidth*parseInt(e,10)/100),y=e=>Math.round(window.innerHeight*parseInt(e,10)/100);let d="";if(""!==i&&""!==a&&""!==t)switch(t){case"pxToEm":d=o(i);break;case"pxToRem":d=l(i);break;case"pxToP":d=r(i);break;case"pxToVw":d=s(i);break;case"pxToVh":d=u(i);break;case"emToPx":d=c(i);break;case"emToRem":case"remToRem":case"vwToVh":case"vhToVw":d=i;break;case"emToP":case"remToP":d=(e=>100*parseFloat(e))(i);break;case"emToVw":case"remToVw":d=(e=>s(c(e)))(i);break;case"emToVh":case"remToVh":d=(e=>u(c(e)))(i);break;case"remToPx":d=(e=>Math.round(parseFloat(e)*n))(i);break;case"pToPx":d=f(i);break;case"pToEm":case"pToRem":d=(e=>parseFloat(e)/100)(i);break;case"pToVw":d=(e=>s(f(e)))(i);break;case"pToVh":d=(e=>u(f(e)))(i);break;case"vwToPx":d=m(i);break;case"vwToEm":d=(e=>o(m(e)))(i);break;case"vwToRem":d=(e=>l(m(e)))(i);break;case"vwToP":d=(e=>r(m(e)))(i);break;case"vhToPx":d=y(i);break;case"vhToEm":d=(e=>o(y(e)))(i);break;case"vhToRem":d=(e=>l(y(e)))(i);break;case"vhToP":d=(e=>r(y(e)))(i)}return d};Ee.defaultProps={convertorType:"pxToEm"};const Me=Ee,Te=wp.hooks;var Be;function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},Ne.apply(null,arguments)}const De=e=>re.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24"},e),Be||(Be=re.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7zM4 6v8h16V6z"})));var je;function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},Le.apply(null,arguments)}const Re=e=>re.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24"},e),je||(je=re.createElement("path",{d:"M6 4v15h12V4zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2"})));var Fe;function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},Ve.apply(null,arguments)}const He=e=>re.createElement("svg",Ve({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 24 24"},e),Fe||(Fe=re.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2m0 2v15h8V4z"}))),Ge="desktop",Ue={desktop:{label:(0,e.__)("Desktop","qi-blocks"),icon:wp.element.createElement(De,null)},tablet:{label:(0,e.__)("Tablet","qi-blocks"),icon:wp.element.createElement(Re,null)},mobile:{label:(0,e.__)("Mobile","qi-blocks"),icon:wp.element.createElement(He,null)}};let ze=Ge;const Ke=()=>ze;var We=i(4058),Je=i.n(We);wp.blocks;const Ye=e=>{const t={...e},{blockAttributeKey:i,blockAttributes:a,setAttributes:o,repeater:l,repeaterItemIndex:r,repeaterItemKey:s,repeaterSetAttributes:u,repeaterGetAttributes:c}=t;return t.getAttributeValue=()=>{let e=a[i];return l&&(e=c(s,r)),e||!1},t.setAttributeValue=e=>{l?u(s,e,r):o({[i]:e})},wp.element.createElement("div",{className:"components-base-control qodef-on-off-option"},wp.element.createElement(n.ToggleControl,{label:t.label,help:t.help,checked:t.getAttributeValue(),onChange:()=>t.setAttributeValue(!t.getAttributeValue())}))};Ye.defaultProps={label:(0,e.__)("Show","qi-blocks"),help:"",blockAttributeKey:"",blockAttributes:{},setAttributes:()=>{},repeater:!1,repeaterItemIndex:0,repeaterItemKey:"",repeaterSetAttributes:()=>{},repeaterGetAttributes:()=>{}};(0,e.__)("Hide On Desktop","qi-blocks"),(0,e.__)("Hide On Tablet","qi-blocks"),(0,e.__)("Hide On Mobile","qi-blocks");(0,e.__)("Visibility","qi-blocks"),(0,e.__)("Responsive visibility will take effect only on preview or live page, and not while editing in Gutenberg.","qi-blocks");const Qe=()=>({hideOnDesktop:{type:"boolean",default:!1},hideOnTablet:{type:"boolean",default:!1},hideOnMobile:{type:"boolean",default:!1}}),Ze=e=>{const{attrNameTemplate:t,attrName:i}=e,a=e=>yt(t,i,e),n=!vt(e,"all")||(e.allowUnitControl??!0),o=vt(e,"all")&&e.disableDirections||[];let l={};return["Top","Right","Bottom","Left"].map(e=>{o.includes(e)||(l[a(e)]={type:"number",default:""},l[a(e+"Tablet")]={type:"number",default:""},l[a(e+"Mobile")]={type:"number",default:""},n&&(l[a(`${e}Decimal`)]={type:"number",default:""},l[a(`${e}DecimalTablet`)]={type:"number",default:""},l[a(`${e}DecimalMobile`)]={type:"number",default:""}))}),l[a("Unit")]={type:"string",default:"px"},l[a("UnitTablet")]={type:"string",default:"px"},l[a("UnitMobile")]={type:"string",default:"px"},l};Ze.defaultProps={attrNameTemplate:"",attrName:"",allowUnitControl:!0};const Xe=Ze,$e=e=>{const{blockAttributeKey:t}=e,i=!!vt(e,"all")&&(e.allowScreens??!1),a=!vt(e,"all")||(e.allowUnits??!0),n=vt(e,"all")&&e.optionType||"integer",o=vt(e,"all")&&e.defaultValue||"",l="decimal"===n?o:"";let r={};return"integer"===n&&(r[t]={type:"number",default:o}),r[yt(t,"Unit")]={type:"string",default:"px"},(a||"decimal"===n)&&(r[yt(t,"Decimal")]={type:"number",default:l}),i&&(r[yt(t,"Tablet")]={type:"number",default:""},r[yt(t,"Mobile")]={type:"number",default:""},r[yt(t,"UnitTablet")]={type:"string",default:"px"},r[yt(t,"UnitMobile")]={type:"string",default:"px"},a&&(r[yt(t,"DecimalTablet")]={type:"number",default:""},r[yt(t,"DecimalMobile")]={type:"number",default:""})),r};$e.defaultProps={allowScreens:!1,allowUnits:!0};const et=$e,tt=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=vt(e,"all")&&e.attrName||"Background",a=e=>yt(t,i+e),n=et({blockAttributeKey:a("XPosition"),allowScreens:!0}),o=et({blockAttributeKey:a("YPosition"),allowScreens:!0}),l=et({blockAttributeKey:a("SizeWidth"),allowScreens:!0});return{[a("Image")]:{type:"object",default:{id:null,url:"",alt:"",caption:""}},[a("ImageTablet")]:{type:"object",default:{id:null,url:"",alt:"",caption:""}},[a("ImageMobile")]:{type:"object",default:{id:null,url:"",alt:"",caption:""}},[a("Position")]:{type:"string",default:""},[a("PositionTablet")]:{type:"string",default:""},[a("PositionMobile")]:{type:"string",default:""},...n,...o,[a("Attachment")]:{type:"string",default:""},[a("Repeat")]:{type:"string",default:""},[a("RepeatTablet")]:{type:"string",default:""},[a("RepeatMobile")]:{type:"string",default:""},[a("Size")]:{type:"string",default:""},[a("SizeTablet")]:{type:"string",default:""},[a("SizeMobile")]:{type:"string",default:""},...l}};tt.defaultProps={attrNameTemplate:"",attrName:"Background"};const it=tt,at=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=e=>yt(t,e),a=!!vt(e,"all")&&(e.includeVideoBG??!1),n=it({attrNameTemplate:t});let o={[i("BackgroundType")]:{type:"string",default:""},[i("BackgroundColor")]:{type:"string",default:""},...n,[i("BackgroundGradientColor1")]:{type:"string",default:""},[i("BackgroundGradientLocation1")]:{type:"number",default:""},[i("BackgroundGradientColor2")]:{type:"string",default:""},[i("BackgroundGradientLocation2")]:{type:"number",default:""},[i("BackgroundGradientType")]:{type:"string",default:"linear"},[i("BackgroundGradientTypeAngle")]:{type:"number",default:""},[i("BackgroundGradientTypePosition")]:{type:"string",default:"center center"}};if(a){const e={[i("BackgroundVideoLink")]:{type:"object",default:{id:null,url:"",alt:""}},[i("BackgroundVideoStartTime")]:{type:"number",default:""},[i("BackgroundVideoEndTime")]:{type:"number",default:""},[i("BackgroundVideoStartTime")]:{type:"number",default:""},[i("BackgroundVideoPlayOnce")]:{type:"boolean",default:!1},[i("BackgroundVideoPlayOnMobile")]:{type:"boolean",default:!1},[i("BackgroundVideoFallbackImage")]:{type:"object",default:{id:null,url:"",alt:""}}};o={...o,...e}}return o};at.defaultProps={attrNameTemplate:"",includeVideoBG:!1};const nt=at,ot=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=vt(e,"all")&&e.attrName||"",a=vt(e,"all")&&e.defaultValue||"",n=e=>yt(t,i+e);return{[n("")]:{type:"string",default:a},[n("Tablet")]:{type:"string",default:""},[n("Mobile")]:{type:"string",default:""}}};ot.defaultProps={attrNameTemplate:"",attrName:"",defaultValue:""};const lt=ot,rt=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=vt(e,"all")&&e.disableWidthDirections||[],a=!vt(e,"all")||(e.allowBorderColor??!0),n=!vt(e,"all")||(e.allowBorderRadius??!0),o=e=>yt(t,e),l=Xe({attrNameTemplate:t,attrName:"BorderWidth",disableDirections:i,allowUnitControl:!1}),r=a?{[o("BorderColor")]:{type:"string",default:""}}:{},s=n?Xe({attrNameTemplate:t,attrName:"BorderRadius"}):{};return{[o("BorderStyle")]:{type:"string",default:""},...r,...l,...s}};rt.defaultProps={attrNameTemplate:"",allowBorderColor:!0,allowBorderRadius:!0};const st=rt,ut=e=>{const t=vt(e,"all")&&e.attrNameTemplate||"",i=e=>yt(t,e);return{[i("BoxShadowColor")]:{type:"string",default:""},[i("BoxShadowHorizontal")]:{type:"number",default:""},[i("BoxShadowVertical")]:{type:"number",default:""},[i("BoxShadowBlur")]:{type:"number",default:""},[i("BoxShadowSpread")]:{type:"number",default:""},[i("BoxShadowPosition")]:{type:"string",default:""}}};ut.defaultProps={attrNameTemplate:""};const ct=ut,ft=e=>{const t=vt(e,"all")&&e.excludePanels||[],i=vt(e,"all")&&e.includePanels||[];let a=i&&i.length?i:mt();const n=e=>yt("",e);t&&t.length&&t.forEach(e=>{a.splice(a.indexOf(e),1)});let o={};const l=Qe();if(a.includes("advanced")){const e=Xe({attrName:n("Margin")}),t=Xe({attrName:n("Padding")});o={...o,...e,...t,[n("zIndex")]:{type:"number",default:""},[n("cssId")]:{type:"string",default:""},[n("cssClasses")]:{type:"string",default:""}}}if(a.includes("motion-effects")&&(o={...o,[n("EntranceAnimation")]:{type:"string",default:""},[n("EntranceAnimationDuration")]:{type:"string",default:"normal"},[n("EntranceAnimationDelay")]:{type:"number",default:""}}),a.includes("background")){const e=nt({attrNameTemplate:"Advanced"});o={...o,...e}}if(a.includes("border")){const e=st({attrNameTemplate:"Advanced"}),t=ct({attrNameTemplate:"Advanced"});o={...o,...e,...t}}if(a.includes("positioning")){const e=lt({attrName:n("BlockWidth")}),t=et({blockAttributeKey:n("BlockCustomWidth"),allowScreens:!0}),i=et({blockAttributeKey:n("PositionHorizontalOffset"),allowScreens:!0}),a=et({blockAttributeKey:n("PositionVerticalOffset"),allowScreens:!0});o={...o,...e,...t,[n("BlockPosition")]:{type:"string",default:""},[n("PositionHorizontalOrientation")]:{type:"string",default:"left"},...i,[n("PositionVerticalOrientation")]:{type:"string",default:"top"},...a}}return a.includes("responsive")&&(o={...o,...l}),o};ft.defaultProps={excludePanels:[],includePanels:[]};const mt=()=>["advanced","motion-effects","background","border","positioning","responsive"];const yt=(t,i,a)=>(t=t||"",i=i||"",a=a||"",Je()((0,e.sprintf)("%s%s%s",t,i,a))),dt=e=>e?e.charAt(0).toUpperCase()+e.slice(1):"",pt=e=>e&&Ge!==e?dt(e):"",gt=(e,t)=>{let i=e.desktop;return"mobile"===t&&(i={...i,...e.tablet}),{...i,...e[t]}},bt=(e,t=!0)=>{let i="";return Object.entries(e).map(([e,a])=>{i+=`${e.replace(/([A-Z])/g,(e,t,i)=>(i>0?"-":"")+e.toLowerCase())}: ${a} ${t?"!important":""};`}),i},ht=e=>["px"].includes(e),St=e=>["em","rem","%","vw","vh"].includes(e),vt=(e,t="")=>{let i=void 0!==e&&""!==e;return"all"===t&&(i=void 0!==e&&e),i},wt=e=>{let t="";return 0===e||"0"===e?t=0:e&&(t=e),t},kt=(t,i=!0,a=[])=>{let n=[],o=[];if(t){switch(i&&(n=[{value:"",label:(0,e.__)("Default","qi-blocks")}]),t){case"no_yes":o=[{value:"no",label:(0,e.__)("No","qi-blocks")},{value:"yes",label:(0,e.__)("Yes","qi-blocks")}];break;case"yes_no":o=[{value:"yes",label:(0,e.__)("Yes","qi-blocks")},{value:"no",label:(0,e.__)("No","qi-blocks")}];break;case"link_target":o=[{value:"_self",label:(0,e.__)("Same Window","qi-blocks")},{value:"_blank",label:(0,e.__)("New Window","qi-blocks")}];break;case"column_gap":o=[{value:"huge",label:(0,e.__)("Huge (35)","qi-blocks")},{value:"large",label:(0,e.__)("Large (25)","qi-blocks")},{value:"medium",label:(0,e.__)("Medium (20)","qi-blocks")},{value:"normal",label:(0,e.__)("Normal (15)","qi-blocks")},{value:"small",label:(0,e.__)("Small (10)","qi-blocks")},{value:"tiny",label:(0,e.__)("Tiny (5)","qi-blocks")},{value:"no",label:(0,e.__)("No (0)","qi-blocks")}];break;case"columns_responsive":o=[{value:"predefined",label:(0,e.__)("Predefined","qi-blocks")},{value:"custom",label:(0,e.__)("Custom","qi-blocks")}];break;case"masonry_image_sizes":o=[{value:"square",label:(0,e.__)("Square","qi-blocks")},{value:"landscape",label:(0,e.__)("Landscape","qi-blocks")},{value:"portrait",label:(0,e.__)("Portrait","qi-blocks")},{value:"huge-square",label:(0,e.__)("Huge","qi-blocks")}];break;case"image_sizes":o=[{value:"full",label:(0,e.__)("Original","qi-blocks")},{value:"thumbnail",label:(0,e.__)("Thumbnail","qi-blocks")},{value:"medium",label:(0,e.__)("Medium","qi-blocks")},{value:"large",label:(0,e.__)("Large","qi-blocks")}];break;case"title_tag":o=[{value:"h1",label:(0,e.__)("H1","qi-blocks")},{value:"h2",label:(0,e.__)("H2","qi-blocks")},{value:"h3",label:(0,e.__)("H3","qi-blocks")},{value:"h4",label:(0,e.__)("H4","qi-blocks")},{value:"h5",label:(0,e.__)("H5","qi-blocks")},{value:"h6",label:(0,e.__)("H6","qi-blocks")},{value:"p",label:(0,e.__)("Paragraph","qi-blocks")}];break;case"font_weight":o=[{value:"normal",label:(0,e.__)("Normal","qi-blocks")},{value:"bold",label:(0,e.__)("Bold","qi-blocks")},{value:"100",label:(0,e.__)("Thin (100)","qi-blocks")},{value:"200",label:(0,e.__)("Extra Light (200)","qi-blocks")},{value:"300",label:(0,e.__)("Light (300)","qi-blocks")},{value:"400",label:(0,e.__)("Normal (400)","qi-blocks")},{value:"500",label:(0,e.__)("Medium (500)","qi-blocks")},{value:"600",label:(0,e.__)("Semi Bold (600)","qi-blocks")},{value:"700",label:(0,e.__)("Bold (700)","qi-blocks")},{value:"800",label:(0,e.__)("Extra Bold (800)","qi-blocks")},{value:"900",label:(0,e.__)("Black (900)","qi-blocks")}];break;case"text_transform":o=[{value:"none",label:(0,e.__)("None","qi-blocks")},{value:"uppercase",label:(0,e.__)("Uppercase","qi-blocks")},{value:"lowercase",label:(0,e.__)("Lowercase","qi-blocks")},{value:"capitalize",label:(0,e.__)("Capitalize","qi-blocks")},{value:"normal",label:(0,e.__)("Normal","qi-blocks")}];break;case"font_style":o=[{value:"normal",label:(0,e.__)("Normal","qi-blocks")},{value:"italic",label:(0,e.__)("Italic","qi-blocks")},{value:"oblique",label:(0,e.__)("Oblique","qi-blocks")}];break;case"text_decoration":o=[{value:"none",label:(0,e.__)("None","qi-blocks")},{value:"underline",label:(0,e.__)("Underline","qi-blocks")},{value:"overline",label:(0,e.__)("Overline","qi-blocks")},{value:"line-through",label:(0,e.__)("Line-Through","qi-blocks")}];break;case"background_position":o=[{value:"center center",label:(0,e.__)("Center Center","qi-blocks")},{value:"center left",label:(0,e.__)("Center Left","qi-blocks")},{value:"center right",label:(0,e.__)("Center Right","qi-blocks")},{value:"top center",label:(0,e.__)("Top Center","qi-blocks")},{value:"top left",label:(0,e.__)("Top Left","qi-blocks")},{value:"top right",label:(0,e.__)("Top Right","qi-blocks")},{value:"bottom center",label:(0,e.__)("Bottom Center","qi-blocks")},{value:"bottom left",label:(0,e.__)("Bottom Left","qi-blocks")},{value:"bottom right",label:(0,e.__)("Bottom Right","qi-blocks")}];break;case"background_attachment":o=[{value:"scroll",label:(0,e.__)("Scroll","qi-blocks")},{value:"fixed",label:(0,e.__)("Fixed","qi-blocks")}];break;case"background_repeat":o=[{value:"no-repeat",label:(0,e.__)("No-repeat","qi-blocks")},{value:"repeat",label:(0,e.__)("Repeat","qi-blocks")},{value:"repeat-x",label:(0,e.__)("Repeat-x","qi-blocks")},{value:"repeat-y",label:(0,e.__)("Repeat-y","qi-blocks")}];break;case"background_size":o=[{value:"auto",label:(0,e.__)("Auto","qi-blocks")},{value:"cover",label:(0,e.__)("Cover","qi-blocks")},{value:"contain",label:(0,e.__)("Contain","qi-blocks")}];break;case"horizontal_alignment":o=[{value:"left",label:(0,e.__)("Left","qi-blocks")},{value:"right",label:(0,e.__)("Right","qi-blocks")},{value:"center",label:(0,e.__)("Center","qi-blocks")}];break;case"vertical_alignment":o=[{value:"top",label:(0,e.__)("Top","qi-blocks")},{value:"middle",label:(0,e.__)("Middle","qi-blocks")},{value:"bottom",label:(0,e.__)("Bottom","qi-blocks")}];break;case"html_tag":o=[{value:"section",label:(0,e.__)("Section","qi-blocks")},{value:"div",label:(0,e.__)("Div","qi-blocks")},{value:"main",label:(0,e.__)("Main","qi-blocks")},{value:"article",label:(0,e.__)("Article","qi-blocks")},{value:"nav",label:(0,e.__)("Nav","qi-blocks")},{value:"footer",label:(0,e.__)("Footer","qi-blocks")},{value:"header",label:(0,e.__)("Header","qi-blocks")},{value:"aside",label:(0,e.__)("Aside","qi-blocks")}];break;case"appear_animation":o=[{value:"none",label:(0,e.__)("None","qi-blocks")},{value:"from-bottom",label:(0,e.__)("From Bottom","qi-blocks")},{value:"from-top",label:(0,e.__)("From Top","qi-blocks")},{value:"from-left",label:(0,e.__)("From Left","qi-blocks")},{value:"from-right",label:(0,e.__)("From Right","qi-blocks")},{value:"fade",label:(0,e.__)("Fade in","qi-blocks")}];break;case"appear_delay":o=[{value:"random",label:(0,e.__)("Random","qi-blocks")},{value:"ms",label:(0,e.__)("Set ms","qi-blocks")}];break;case"responsive_screens":o=[{value:"1024",label:(0,e.__)("Below 1024px","qi-blocks")},{value:"768",label:(0,e.__)("Below 768px","qi-blocks")},{value:"680",label:(0,e.__)("Below 680px","qi-blocks")},{value:"480",label:(0,e.__)("Below 480px","qi-blocks")}];break;case"order_by":o=[{value:"date",label:(0,e.__)("Date","qi-blocks")},{value:"id",label:(0,e.__)("ID","qi-blocks")},{value:"title",label:(0,e.__)("Title","qi-blocks")}];break;case"order":o=[{value:"desc",label:(0,e.__)("Descending","qi-blocks")},{value:"asc",label:(0,e.__)("Ascending","qi-blocks")}];break;case"border_style":o=[{value:"solid",label:(0,e.__)("Solid","qi-blocks")},{value:"dashed",label:(0,e.__)("Dashed","qi-blocks")},{value:"dotted",label:(0,e.__)("Dotted","qi-blocks")}]}n=[...n,...o],a&&(n=[...n,...a])}return(0,Te.applyFilters)("qi-blocks-filter-options-pool",n)};class Ct extends _e.Component{constructor(){super(...arguments),this.state={screen:Ge,isScreenPickerOpen:!1,isMouseOver:!1}}onChangeScreen(e,t){const i=this;i.state.isScreenPickerOpen?(i.props.onChangeScreen(e),i.setState({screen:e,isScreenPickerOpen:!1}),ze=e,!t&&i.changePreviewScreen(e),(0,Te.doAction)("qi-blocks-action-screen-change",e)):t||i.setState({isScreenPickerOpen:!0}),window.addEventListener("click",e=>{const t=document.querySelectorAll(".qodef-screens-option .qodef-screens.qodef--opened");t.length&&!t[0].contains(e.target)&&i.setState({isScreenPickerOpen:!1})})}onOtherScreenChange(e){this.props.onChangeScreen(e),this.setState({screen:e})}componentDidMount(){const{instanceId:e}=this.props;(0,Te.addAction)("qi-blocks-action-screen-change",`qi-blocks/components/screen-control-${e}`,this.onOtherScreenChange.bind(this))}componentWillUnmount(){const{instanceId:e}=this.props;(0,Te.removeAction)("qi-blocks-action-screen-change",`qi-blocks/components/screen-control-${e}`)}changeScreenControls(e){Ke()!==e.previewScreen&&this.onChangeScreen(e.previewScreen,!0)}changePreviewScreen(e){if(e!==this.props.previewScreen){const t=(0,o.dispatch)("core/edit-post")||"",i=(0,o.dispatch)("core/edit-site")||"";let a;if(t){let{__experimentalSetPreviewDeviceType:e}=t;a=e}if(i){const{__experimentalSetPreviewDeviceType:e}=i;a=e}a&&a(dt(e))}}render(){const e={...this.props},t={...this.state},{label:i,screens:a,isWidgetsArea:o,previewScreen:l}=e;let r=!1;return(a.length<1||o)&&(r=!0),Ge!==l&&t.screen!==l&&this.onOtherScreenChange(l),this.changeScreenControls(e),wp.element.createElement("div",{className:"qodef-screens-option"},Ge!==t.screen&&wp.element.createElement("style",null,"\n\t\t\t\t\t\t\t.qodef-screens-option .qodef-screens.qodef--opened {\n\t\t\t\t\t\t\t\ttop: calc(-4px - 22px * "+Object.keys(a).indexOf(t.screen)+");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t"),i&&wp.element.createElement("label",{className:"qodef-option-label"},i),!r&&wp.element.createElement("ul",{className:"qodef-screens "+(t.isScreenPickerOpen?"qodef--opened":"")},Object.entries(a).map(([e,i],o)=>o===Object.keys(a).indexOf(t.screen)||t.isScreenPickerOpen?wp.element.createElement("li",{className:"qodef-screen-item "+(e===t.screen?"qodef--selected":""),key:o},wp.element.createElement(n.Button,{className:"qodef-screen-item-button",onClick:()=>this.onChangeScreen(e),icon:i.icon,showTooltip:!1,label:i.label,"data-screen":e,onMouseEnter:()=>this.setState({isMouseOver:e}),onMouseLeave:()=>this.setState({isMouseOver:!1})}),e===t.isMouseOver&&wp.element.createElement("div",{className:"qodef-screen-item-tooltip"},i.label)):null)))}}Ct.defaultProps={label:"",screens:Ue,isWidgetsArea:!1,previewScreen:"desktop",onChangeScreen:()=>{}};const _t=(0,o.withSelect)(e=>{let t="desktop";return e("core/edit-post")&&(t="function"==typeof e("core/editor")?.getDeviceType?e("core/editor")?.getDeviceType()?.toLowerCase():e("core/edit-post").__experimentalGetPreviewDeviceType().toLowerCase()),e("core/edit-site")&&(t="function"==typeof e("core/editor")?.getDeviceType?e("core/editor")?.getDeviceType()?.toLowerCase():e("core/edit-site").__experimentalGetPreviewDeviceType().toLowerCase()),{isWidgetsArea:e("core/edit-widgets")&&!e("core/edit-post"),previewScreen:t}})((0,l.withInstanceId)(Ct));class Ot extends _e.Component{constructor(){super(...arguments),this.state={screen:Ke()}}getScreenLabelSuffix(e){const t=e||this.state.screen;return pt(t)}getAttributeValue(e,t=""){const{blockAttributes:i,allowScreens:a,repeater:n,repeaterItemIndex:o,repeaterItemKey:l,repeaterGetAttributes:r}=this.props;let s=e;a&&t&&(s=e+t);let u=i[s];return n&&(u=r({key:l,childKey:s},o)),wt(u)}setAttributeValue(e,t,i=this.getScreenLabelSuffix()){const{setAttributes:a,allowScreens:n,repeater:o,repeaterItemIndex:l,repeaterItemKey:r,repeaterSetAttributes:s}=this.props;let u=e;n&&i&&(u=e+i),o?s({key:r,childKey:u},t,l):a({[u]:t})}onChangeUnitsValues(e,t,i,a){const n={...this.props},{rangeMax:o,rangeDecimalMax:l,allowUnitsConvertor:r}=n;let s=this.getAttributeValue(t);const u=s;a?(s=parseInt(s,10),s>o&&(s=o)):!a&&s>l&&(s=l),r?["emToRem","remToEm","vwToVh","vhToVw"].includes(i)||(this.setAttributeValue(e,Me({convertorType:i,value:u,attributeKey:t}),""),this.setAttributeValue(t,"","")):(this.setAttributeValue(e,s,""),this.setAttributeValue(t,"",""))}render(){const e={...this.props},{label:t,unitType:i,blockAttributeKey:a,rangeMax:o,rangeMin:l,rangeStep:r,rangeDecimalMax:s,rangeDecimalMin:u,rangeDecimalStep:c,optionType:f,allowReset:m,allowScreens:y,allowUnits:d,repeater:p,repeaterItemKey:g,isSimpleRepeaterValue:b}=e,h=this.getScreenLabelSuffix();let S=p&&!b?g:a;const v=`${S}Decimal`,w=`${S}Unit`,k=`${S}Tablet`,C=`${v}Tablet`,_=`${w}Tablet`,O=`${S}Mobile`,P=`${v}Mobile`,x=`${w}Mobile`;return e.onChangeScreen=e=>{this.setState({screen:e})},e.onChangeUnit=e=>{e.preventDefault();const t=p?200:0,i=e.target.getAttribute("data-unit"),a=this.getAttributeValue(w,h)||"px";this.setAttributeValue(w,i),setTimeout(()=>{if(i!==a){const e=`${a}To${dt(i)}`;let t=S+h,n=v+h;"px"!==i&&(t=v+h,n=S+h),this.onChangeUnitsValues(t,n,e,"px"===i)}},t)},e.onChange=t=>{this.setAttributeValue(S,t),e.setCustomEventOnChange()},e.onChangeDecimal=t=>{let i=0;"decimal"===f&&void 0===t&&(i=200),setTimeout(()=>{this.setAttributeValue(v,t),e.setCustomEventOnChange()},i)},e.getPlaceholderValue=e=>{let t="";const i=this.getAttributeValue(S),a=this.getAttributeValue(v),n=this.getAttributeValue(k),o=this.getAttributeValue(C);return"Tablet"===h?e&&""===n?t=i:e||""!==o||(t=a):"Mobile"===h&&(e&&""===this.getAttributeValue(O)?t=""!==n?n:i:e||""!==this.getAttributeValue(P)||(t=""!==o?o:a)),t},wp.element.createElement(n.BaseControl,{className:"qodef-advanced-range-option"},wp.element.createElement("div",{className:"qodef-advanced-range-heading"},y?wp.element.createElement(_t,{label:t,onChangeScreen:e.onChangeScreen}):wp.element.createElement("label",{className:"qodef-option-label"},t),d&&wp.element.createElement(qe,{unitType:i,unitValue:this.getAttributeValue(w,h),onChangeUnit:e.onChangeUnit})),"desktop"===this.state.screen&&wp.element.createElement(wp.element.Fragment,null,(ht(this.getAttributeValue(w))&&"decimal"!==f||!d&&"integer"===f)&&wp.element.createElement(n.RangeControl,{min:l,max:o,step:r,value:this.getAttributeValue(S),onChange:e.onChange,allowReset:m}),(St(this.getAttributeValue(w))||!d&&"decimal"===f)&&wp.element.createElement(n.RangeControl,{min:u,max:s,step:c,value:this.getAttributeValue(v),onChange:e.onChangeDecimal,allowReset:m})),"tablet"===this.state.screen&&wp.element.createElement(wp.element.Fragment,null,(ht(this.getAttributeValue(_))&&"decimal"!==f||!d&&"integer"===f)&&wp.element.createElement(n.RangeControl,{min:l,max:o,step:r,value:this.getAttributeValue(k),afterIcon:e.getPlaceholderValue(!0),onChange:e.onChange,allowReset:m}),(St(this.getAttributeValue(_))||!d&&"decimal"===f)&&wp.element.createElement(n.RangeControl,{min:u,max:s,step:c,value:this.getAttributeValue(C),afterIcon:e.getPlaceholderValue(!1),onChange:e.onChangeDecimal,allowReset:m})),"mobile"===this.state.screen&&wp.element.createElement(wp.element.Fragment,null,(ht(this.getAttributeValue(x))&&"decimal"!==f||!d&&"integer"===f)&&wp.element.createElement(n.RangeControl,{min:l,max:o,step:r,value:this.getAttributeValue(O),afterIcon:e.getPlaceholderValue(!0),onChange:e.onChange,allowReset:m}),(St(this.getAttributeValue(x))||!d&&"decimal"===f)&&wp.element.createElement(n.RangeControl,{min:u,max:s,step:c,value:this.getAttributeValue(P),afterIcon:e.getPlaceholderValue(!1),onChange:e.onChangeDecimal,allowReset:m})))}}Ot.defaultProps={label:(0,e.__)("Default Label Text","qi-blocks"),unitType:"typography",blockAttributes:{},blockAttributeKey:"",setAttributes:()=>{},rangeMax:300,rangeMin:0,rangeStep:1,rangeDecimalMax:10,rangeDecimalMin:0,rangeDecimalStep:.01,optionType:"integer",allowReset:!0,screens:Ue,allowScreens:!1,allowUnits:!0,allowUnitsConvertor:!1,setCustomEventOnChange:()=>{},repeater:!1,repeaterItemIndex:0,repeaterItemKey:"",isSimpleRepeaterValue:!1,repeaterSetAttributes:()=>{},repeaterGetAttributes:()=>{}};const Pt=Ot;var xt=i(2243),qt=i.n(xt);let At=[];const It=qiBlocksEditor.vars.systemFontOptions,Et=e=>{if(qiBlocksEditor.qodefGetCurrentBlockElement.getIframe()&&(At=[]),At.includes(e))return;const t=qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument();if(t&&(e=>{let t=!0;return e||(t=!1),It&&It.map(({value:e})=>e).forEach(i=>{""!==i&&e===i&&(t=!1)}),t})(e)){const i=t.createElement("link");i.setAttribute("href",(e=>`https://fonts.googleapis.com/css?family=${e.replace(/ /g,"+")}:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic&subset=latin-ext`)(e)),i.setAttribute("rel","stylesheet"),i.setAttribute("type","text/css"),t.querySelector("head").appendChild(i)}At.push(e)},Mt=qiBlocksEditor.vars.fontOptions,Tt=e=>{const t=e.trim().toLowerCase(),i=t.length;return 0===i?[]:Mt.filter(e=>!["System","Google"].includes(e.value)&&e.label.toLowerCase().slice(0,i)===t)},Bt=e=>e.value,Nt=e=>wp.element.createElement("div",{className:"qodef-font-family-autosuggest-option","data-label":e.value},e.label);class Dt extends _e.Component{constructor(){super(...arguments),this.state={value:this.props.blockAttributes[this.props.blockAttributeKey]||"",suggestions:[]}}onChange=(e,{newValue:t})=>{let i=t;["System","Google"].includes(i)||(Mt.some(e=>e.value.toLowerCase()===i.toLowerCase()&&(i=e.value,Et(i),!0)),this.props.setAttributes({[this.props.blockAttributeKey]:i}),this.setState({value:i}))};onSuggestionsFetchRequested=({value:e})=>{this.setState({suggestions:""===e?Mt:Tt(e)})};onSuggestionsClearRequested=()=>{this.setState({suggestions:[]})};shouldRenderSuggestions(){return!0}componentDidMount(){void 0!==this.props.blockAttributes[this.props.blockAttributeKey]&&this.setState({value:this.props.blockAttributes[this.props.blockAttributeKey]||"",suggestions:Mt})}render(){const{label:e}=this.props,{value:t,suggestions:i}=this.state,a={value:t,type:"search",onChange:this.onChange};return wp.element.createElement(n.BaseControl,{className:"qodef-font-family-option"},wp.element.createElement("label",{className:"qodef-option-label"},e),wp.element.createElement("div",{className:"qodef-font-family-autosuggest"},wp.element.createElement(qt(),{suggestions:i,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,shouldRenderSuggestions:this.shouldRenderSuggestions,getSuggestionValue:Bt,renderSuggestion:Nt,inputProps:a})))}}Dt.defaultProps={label:(0,e.__)("Font Family","qi-blocks"),blockAttributeKey:"",blockAttributes:{},setAttributes:()=>{}};const jt=Dt,Lt=t=>{const i={...t},{attrNameTemplate:a,blockAttributes:o,setAttributes:l,popup:r,repeater:s,repeaterItemIndex:u,repeaterItemKey:c,repeaterSetAttributes:f,repeaterGetAttributes:m,allowReset:y}=i,[d,p]=(0,_e.useState)(!1);let g=["qodef-typography-panel"];r?g.push("qodef--has-popup"):g.push("qodef-base-section-label"),d&&g.push("qodef--opened"),i.onClick=()=>{p(e=>!e),window.addEventListener("click",e=>{const t=document.querySelectorAll(".qodef-typography-panel.qodef--opened");t.length&&t.forEach(t=>{t.contains(e.target)||p(!1)})})};const b=e=>yt(a,e);return i.getAttributeValue=e=>{let t=o[e];return s&&(t=m({key:c,childKey:e},u)),wt(t)},i.setAttributeValue=(e,t)=>{s?f({key:c,childKey:e},t,u):l({[e]:t})},wp.element.createElement(n.BaseControl,{label:r?"":i.label,className:g.join(" ")},r&&wp.element.createElement("div",{className:"qodef-typography-panel-heading"},wp.element.createElement("label",{className:"qodef-option-label"},i.label),wp.element.createElement(n.Button,{icon:"edit",showTooltip:!0,label:(0,e.__)("Open Typography","qi-blocks"),onClick:i.onClick})),wp.element.createElement("div",{className:"qodef-typography-panel-content"},wp.element.createElement(jt,{setAttributes:l,blockAttributes:o,blockAttributeKey:b("FontFamily"),repeater:s,repeaterItemIndex:u,repeaterItemKey:c,repeaterSetAttributes:f,repeaterGetAttributes:m}),wp.element.createElement(Pt,{label:(0,e.__)("Font Size","qi-blocks"),blockAttributeKey:b("FontSize"),setAttributes:l,blockAttributes:o,rangeDecimalMax:20,allowScreens:!0,allowUnitsConvertor:!0,repeater:s,repeaterItemIndex:u,repeaterItemKey:c,isSimpleRepeaterValue:!0,repeaterSetAttributes:f,repeaterGetAttributes:m,allowReset:y}),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Weight","qi-blocks"),options:kt("font_weight"),value:i.getAttributeValue(b("FontWeight")),onChange:e=>i.setAttributeValue(b("FontWeight"),e)}),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Transform","qi-blocks"),options:kt("text_transform"),value:i.getAttributeValue(b("TextTransform")),onChange:e=>i.setAttributeValue(b("TextTransform"),e)}),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Style","qi-blocks"),options:kt("font_style"),value:i.getAttributeValue(b("FontStyle")),onChange:e=>i.setAttributeValue(b("FontStyle"),e)}),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Decoration","qi-blocks"),options:kt("text_decoration"),value:i.getAttributeValue(b("TextDecoration")),onChange:e=>i.setAttributeValue(b("TextDecoration"),e)}),wp.element.createElement(Pt,{label:(0,e.__)("Line Height","qi-blocks"),setAttributes:l,blockAttributes:o,blockAttributeKey:b("LineHeight"),allowScreens:!0,allowUnitsConvertor:!0,repeater:s,repeaterItemIndex:u,repeaterItemKey:c,isSimpleRepeaterValue:!0,repeaterSetAttributes:f,repeaterGetAttributes:m,allowReset:y}),wp.element.createElement(Pt,{label:(0,e.__)("Letter Spacing","qi-blocks"),setAttributes:l,blockAttributes:o,blockAttributeKey:b("LetterSpacing"),rangeMin:-10,rangeMax:30,rangeStep:.1,rangeDecimalMin:-10,unitType:"pxEmRem",allowScreens:!0,repeater:s,repeaterItemIndex:u,repeaterItemKey:c,isSimpleRepeaterValue:!0,repeaterSetAttributes:f,repeaterGetAttributes:m,allowReset:y})))};Lt.defaultProps={label:(0,e.__)("Typography","qi-blocks"),attrNameTemplate:"",blockAttributes:{},setAttributes:()=>{},popup:!1,allowReset:!0,repeater:!1,repeaterItemIndex:0,repeaterItemKey:"",repeaterSetAttributes:()=>{},repeaterGetAttributes:()=>{}};const Rt=Lt,Ft=e=>{const{attrNameTemplate:t,attributes:i}=e,a=(e,i)=>yt(t,e,i);if(!i)return{};let n={},o={},l={};return i[a("FontFamily")]&&(n.fontFamily=`'${i[a("FontFamily")]}'`),i[a("FontWeight")]&&(n.fontWeight=i[a("FontWeight")]),i[a("TextTransform")]&&(n.textTransform=i[a("TextTransform")]),i[a("FontStyle")]&&(n.fontStyle=i[a("FontStyle")]),i[a("TextDecoration")]&&(n.textDecoration=i[a("TextDecoration")]),Object.entries(Ue).map(([e])=>{let t=pt(e),r={};(i[a("FontSize",t)]||i[a("FontSizeDecimal",t)])&&(ht(i[a("FontSizeUnit",t)])&&i[a("FontSize",t)]?r.fontSize=parseInt(i[a("FontSize",t)],10)+i[a("FontSizeUnit",t)]:St(i[a("FontSizeUnit",t)])&&i[a("FontSizeDecimal",t)]&&(r.fontSize=parseFloat(i[a("FontSizeDecimal",t)])+i[a("FontSizeUnit",t)])),(i[a("LineHeight",t)]||i[a("LineHeightDecimal",t)])&&(ht(i[a("LineHeightUnit",t)])&&i[a("LineHeight",t)]?r.lineHeight=parseInt(i[a("LineHeight",t)],10)+i[a("LineHeightUnit",t)]:St(i[a("LineHeightUnit",t)])&&i[a("LineHeightDecimal",t)]&&(r.lineHeight=parseFloat(i[a("LineHeightDecimal",t)])+i[a("LineHeightUnit",t)])),""===wt(i[a("LetterSpacing",t)])&&""===wt(i[a("LetterSpacingDecimal",t)])||(ht(i[a("LetterSpacingUnit",t)])&&""!==wt(i[a("LetterSpacing",t)])?r.letterSpacing=parseInt(i[a("LetterSpacing",t)],10)+i[a("LetterSpacingUnit",t)]:St(i[a("LetterSpacingUnit",t)])&&""!==wt(i[a("LetterSpacingDecimal",t)])&&(r.letterSpacing=parseFloat(i[a("LetterSpacingDecimal",t)])+i[a("LetterSpacingUnit",t)])),Object.keys(r).length>0&&Object.entries(r).map(([t,i])=>{switch(e){case"desktop":n[t]=i;break;case"tablet":o[t]=i;break;case"mobile":l[t]=i}})}),{desktop:n,tablet:o,mobile:l}};const Vt=()=>{const[t,i]=(0,_e.useState)([]),[a,o]=(0,_e.useState)(""),[l,r]=(0,_e.useState)({}),[s,u]=(0,_e.useState)("");if("object"==typeof wp&&"object"==typeof wp.api){const{loadPromise:c,models:f}=wp.api;let m=[],y={fontFamily:"",fontSize:"",fontSizeUnit:"px",fontSizeDecimal:"",fontSizeTablet:"",fontSizeMobile:"",fontSizeUnitTablet:"px",fontSizeUnitMobile:"px",fontSizeDecimalTablet:"",fontSizeDecimalMobile:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",lineHeight:"",lineHeightUnit:"px",lineHeightDecimal:"",lineHeightTablet:"",lineHeightMobile:"",lineHeightUnitTablet:"px",lineHeightUnitMobile:"px",lineHeightDecimalTablet:"",lineHeightDecimalMobile:"",letterSpacing:"",letterSpacingUnit:"px",letterSpacingDecimal:"",letterSpacingTablet:"",letterSpacingMobile:"",letterSpacingUnitTablet:"px",letterSpacingUnitMobile:"px",letterSpacingDecimalTablet:"",letterSpacingDecimalMobile:""};for(let e=1;e<=6;e++)m["h"+e]=y;m.p=y,(0,_e.useEffect)(()=>{c.then(()=>{(new f.Settings).fetch().then(e=>{let a=e?.qi_blocks_global_settings_typography||"",n=e?.qi_blocks_global_settings_typography_apply_to||"blocks-qi-native",o={};if(n&&u(n),a){if(a=Ce()(a),"object"==typeof a)for(const[e]of Object.entries(a)){for(const[t,i]of Object.entries(a[e]))!t.includes("Unit")&&(t.includes("fontSize")||t.includes("lineHeight")||t.includes("letterSpacing"))&&(Number.isNaN(i)?a[e][t]="":i&&(a[e][t]=Number(i)));o[e]=Ft({attributes:a[e]})}i(a||m),r(o)}else t.length||i(m)})})},[]);const d=e=>Se()(e,e=>be()(e)?void 0:pe()(e)),p=(a,n)=>{const s={...t,[a]:we()(t[a],n)};i(s);const u={...l,[a]:Ft({attributes:s[a]})};r(u);new f.Settings({qi_blocks_global_settings_typography:[d(s)]}).save(),o((0,e.__)(`${a.toUpperCase()} Saved`,"qi-blocks")),setTimeout(()=>{new f.Settings({qi_blocks_global_settings_typography_styles:v(u)||""}).save(),o("")},800)},g=a=>{const n=Ke();let s=m[a];if("desktop"!==n){let e=["fontSize","lineHeight","letterSpacing"];"mobile"===n&&e.push("fontSizeTablet","lineHeightTablet","letterSpacingTablet"),s=we()(ye()(s,e),fe()(t[a],e))}const u={...t,[a]:s};i(u);const c={...l,[a]:Ft({attributes:s})};r(c);new f.Settings({qi_blocks_global_settings_typography:[d(u)]}).save(),o((0,e.__)(`${a.toUpperCase()} Reset`,"qi-blocks")),setTimeout(()=>{new f.Settings({qi_blocks_global_settings_typography_styles:v(c)||""}).save(),o("")},800)},b=e=>{u(e);new f.Settings({qi_blocks_global_settings_typography_apply_to:e}).save(),setTimeout(()=>{new f.Settings({qi_blocks_global_settings_typography_styles:v(l)||""}).save()},800)},h=()=>{let e=S();setTimeout(()=>{const t=qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument();if(t){const i=t.querySelector("#qi-blocks-global-settings-styles"),a=t.querySelector("#qi-blocks-grid-editor-inline-css");if(i)i.innerHTML="",i.append(e);else if(e){const i=t.createElement("style");i.setAttribute("rel","stylesheet"),i.setAttribute("id","qi-blocks-global-settings-styles"),i.append(e),t.querySelector("body").appendChild(i)}a&&a.remove()}},300)},S=()=>{let e="";const t=s;for(const[i,a]of Object.entries(l)){const n=bt(gt(a,Ke()),!1);if(n){let a=[`.qodef-block ${i}`,`.qodef-typography-field-heading ${i}`];"blocks-qi-native"===t&&(a.push(`.editor-styles-wrapper ${i}[data-type^="core/"]`),a.push(`.editor-styles-wrapper [data-type^="core/"] ${i}`)),e+=`${a.join(",")} { ${n} }`}}return e},v=e=>{let t="",i="",a="",n="";if(e){const o=s;for(const[t,l]of Object.entries(e)){const e=bt(l?.desktop||{},!1),r=bt(l?.tablet||{},!1),s=bt(l?.mobile||{},!1);let u=[`.qodef-block ${t}`];"blocks-qi-native"===o&&(u.push(`${t}[data-type^="core/"]`),u.push(`[data-type^="core/"] ${t}`)),e&&(i+=`${u.join(",")} { ${e} }`),r&&(a+=`${u.join(",")} { ${r} }`),s&&(n+=`${u.join(",")} { ${s} }`)}i&&(t+=i),a&&(t+="@media (max-width: 1024px){ "+a+"}"),n&&(t+="@media (max-width: 680px){ "+n+"}")}return t};return wp.element.createElement(n.BaseControl,{className:"qodef-global-settings-control qodef-global-settings-typography-control"},wp.element.createElement(n.PanelBody,{title:(0,e.__)("Typography","qi-blocks"),initialOpen:!0},wp.element.createElement(wp.element.Fragment,null,h(),wp.element.createElement(n.SelectControl,{label:(0,e.__)("Apply Typography Styles To","qi-blocks"),help:(0,e.__)("Change the typography of your headings for all blocks in your site.","qi-blocks"),value:s,options:[{value:"blocks-qi-native",label:(0,e.__)("Qi and native blocks only","qi-blocks")},{value:"blocks-qi",label:(0,e.__)("Qi blocks only","qi-blocks")}],onChange:e=>b(e)}),wp.element.createElement("br",null),["h1","h2","h3","h4","h5","h6","p"].map(i=>{const o=i;return wp.element.createElement("div",{className:"qodef-typography-field"},wp.element.createElement("div",{className:"qodef-typography-notice "+(a?"qodef--active":"")},a),wp.element.createElement("div",{className:"qodef-typography-field-heading editor-styles-wrapper"},wp.element.createElement(o,null,(0,e.__)(`${i.toUpperCase()} Typography`,"qi-blocks"))),wp.element.createElement(Rt,{label:"",blockAttributes:t[i]||{},setAttributes:e=>p(i,e),popup:!0,allowReset:!1}),wp.element.createElement(n.Button,{icon:"image-rotate",showTooltip:!0,label:(0,e.__)(`Reset ${i.toUpperCase()}`,"qi-blocks"),onClick:()=>g(i)}))}))))}return wp.element.createElement("h2",null,(0,e.__)("WP API is not set","qi-blocks"))};(0,ae.registerPlugin)("qi-blocks-global-settings",{render:()=>{const t=wp.data?.select("core/editor")?.getCurrentPostType();return t?wp.element.createElement(ne.PluginSidebar,{name:"qi-blocks-global-settings",title:(0,e.__)("Qi Global Settings","qi-blocks"),icon:wp.element.createElement(ue,null)},wp.element.createElement(Vt,null)):null}});const Ht=JSON.parse('[{"family":"ABeeZee"},{"family":"ADLaM Display"},{"family":"AR One Sans"},{"family":"Abel"},{"family":"Abhaya Libre"},{"family":"Aboreto"},{"family":"Abril Fatface"},{"family":"Abyssinica SIL"},{"family":"Aclonica"},{"family":"Acme"},{"family":"Actor"},{"family":"Adamina"},{"family":"Advent Pro"},{"family":"Afacad"},{"family":"Afacad Flux"},{"family":"Agbalumo"},{"family":"Agdasima"},{"family":"Aguafina Script"},{"family":"Akatab"},{"family":"Akaya Kanadaka"},{"family":"Akaya Telivigala"},{"family":"Akronim"},{"family":"Akshar"},{"family":"Aladin"},{"family":"Alata"},{"family":"Alatsi"},{"family":"Albert Sans"},{"family":"Aldrich"},{"family":"Alef"},{"family":"Alegreya"},{"family":"Alegreya SC"},{"family":"Alegreya Sans"},{"family":"Alegreya Sans SC"},{"family":"Aleo"},{"family":"Alex Brush"},{"family":"Alexandria"},{"family":"Alfa Slab One"},{"family":"Alice"},{"family":"Alike"},{"family":"Alike Angular"},{"family":"Alkalami"},{"family":"Alkatra"},{"family":"Allan"},{"family":"Allerta"},{"family":"Allerta Stencil"},{"family":"Allison"},{"family":"Allura"},{"family":"Almarai"},{"family":"Almendra"},{"family":"Almendra Display"},{"family":"Almendra SC"},{"family":"Alumni Sans"},{"family":"Alumni Sans Collegiate One"},{"family":"Alumni Sans Inline One"},{"family":"Alumni Sans Pinstripe"},{"family":"Amarante"},{"family":"Amaranth"},{"family":"Amatic SC"},{"family":"Amethysta"},{"family":"Amiko"},{"family":"Amiri"},{"family":"Amiri Quran"},{"family":"Amita"},{"family":"Anaheim"},{"family":"Andada Pro"},{"family":"Andika"},{"family":"Anek Bangla"},{"family":"Anek Devanagari"},{"family":"Anek Gujarati"},{"family":"Anek Gurmukhi"},{"family":"Anek Kannada"},{"family":"Anek Latin"},{"family":"Anek Malayalam"},{"family":"Anek Odia"},{"family":"Anek Tamil"},{"family":"Anek Telugu"},{"family":"Angkor"},{"family":"Annapurna SIL"},{"family":"Annie Use Your Telescope"},{"family":"Anonymous Pro"},{"family":"Anta"},{"family":"Antic"},{"family":"Antic Didone"},{"family":"Antic Slab"},{"family":"Anton"},{"family":"Anton SC"},{"family":"Antonio"},{"family":"Anuphan"},{"family":"Anybody"},{"family":"Aoboshi One"},{"family":"Arapey"},{"family":"Arbutus"},{"family":"Arbutus Slab"},{"family":"Architects Daughter"},{"family":"Archivo"},{"family":"Archivo Black"},{"family":"Archivo Narrow"},{"family":"Are You Serious"},{"family":"Aref Ruqaa"},{"family":"Aref Ruqaa Ink"},{"family":"Arima"},{"family":"Arimo"},{"family":"Arizonia"},{"family":"Armata"},{"family":"Arsenal"},{"family":"Arsenal SC"},{"family":"Artifika"},{"family":"Arvo"},{"family":"Arya"},{"family":"Asap"},{"family":"Asap Condensed"},{"family":"Asar"},{"family":"Asset"},{"family":"Assistant"},{"family":"Astloch"},{"family":"Asul"},{"family":"Athiti"},{"family":"Atkinson Hyperlegible"},{"family":"Atma"},{"family":"Atomic Age"},{"family":"Aubrey"},{"family":"Audiowide"},{"family":"Autour One"},{"family":"Average"},{"family":"Average Sans"},{"family":"Averia Gruesa Libre"},{"family":"Averia Libre"},{"family":"Averia Sans Libre"},{"family":"Averia Serif Libre"},{"family":"Azeret Mono"},{"family":"B612"},{"family":"B612 Mono"},{"family":"BIZ UDGothic"},{"family":"BIZ UDMincho"},{"family":"BIZ UDPGothic"},{"family":"BIZ UDPMincho"},{"family":"Babylonica"},{"family":"Bacasime Antique"},{"family":"Bad Script"},{"family":"Bagel Fat One"},{"family":"Bahiana"},{"family":"Bahianita"},{"family":"Bai Jamjuree"},{"family":"Bakbak One"},{"family":"Ballet"},{"family":"Baloo 2"},{"family":"Baloo Bhai 2"},{"family":"Baloo Bhaijaan 2"},{"family":"Baloo Bhaina 2"},{"family":"Baloo Chettan 2"},{"family":"Baloo Da 2"},{"family":"Baloo Paaji 2"},{"family":"Baloo Tamma 2"},{"family":"Baloo Tammudu 2"},{"family":"Baloo Thambi 2"},{"family":"Balsamiq Sans"},{"family":"Balthazar"},{"family":"Bangers"},{"family":"Barlow"},{"family":"Barlow Condensed"},{"family":"Barlow Semi Condensed"},{"family":"Barriecito"},{"family":"Barrio"},{"family":"Basic"},{"family":"Baskervville"},{"family":"Baskervville SC"},{"family":"Battambang"},{"family":"Baumans"},{"family":"Bayon"},{"family":"Be Vietnam Pro"},{"family":"Beau Rivage"},{"family":"Bebas Neue"},{"family":"Beiruti"},{"family":"Belanosima"},{"family":"Belgrano"},{"family":"Bellefair"},{"family":"Belleza"},{"family":"Bellota"},{"family":"Bellota Text"},{"family":"BenchNine"},{"family":"Benne"},{"family":"Bentham"},{"family":"Berkshire Swash"},{"family":"Besley"},{"family":"Beth Ellen"},{"family":"Bevan"},{"family":"BhuTuka Expanded One"},{"family":"Big Shoulders Display"},{"family":"Big Shoulders Inline Display"},{"family":"Big Shoulders Inline Text"},{"family":"Big Shoulders Stencil Display"},{"family":"Big Shoulders Stencil Text"},{"family":"Big Shoulders Text"},{"family":"Bigelow Rules"},{"family":"Bigshot One"},{"family":"Bilbo"},{"family":"Bilbo Swash Caps"},{"family":"BioRhyme"},{"family":"BioRhyme Expanded"},{"family":"Birthstone"},{"family":"Birthstone Bounce"},{"family":"Biryani"},{"family":"Bitter"},{"family":"Black And White Picture"},{"family":"Black Han Sans"},{"family":"Black Ops One"},{"family":"Blaka"},{"family":"Blaka Hollow"},{"family":"Blaka Ink"},{"family":"Blinker"},{"family":"Bodoni Moda"},{"family":"Bodoni Moda SC"},{"family":"Bokor"},{"family":"Bona Nova"},{"family":"Bona Nova SC"},{"family":"Bonbon"},{"family":"Bonheur Royale"},{"family":"Boogaloo"},{"family":"Borel"},{"family":"Bowlby One"},{"family":"Bowlby One SC"},{"family":"Braah One"},{"family":"Brawler"},{"family":"Bree Serif"},{"family":"Bricolage Grotesque"},{"family":"Bruno Ace"},{"family":"Bruno Ace SC"},{"family":"Brygada 1918"},{"family":"Bubblegum Sans"},{"family":"Bubbler One"},{"family":"Buda"},{"family":"Buenard"},{"family":"Bungee"},{"family":"Bungee Hairline"},{"family":"Bungee Inline"},{"family":"Bungee Outline"},{"family":"Bungee Shade"},{"family":"Bungee Spice"},{"family":"Bungee Tint"},{"family":"Butcherman"},{"family":"Butterfly Kids"},{"family":"Cabin"},{"family":"Cabin Condensed"},{"family":"Cabin Sketch"},{"family":"Cactus Classical Serif"},{"family":"Caesar Dressing"},{"family":"Cagliostro"},{"family":"Cairo"},{"family":"Cairo Play"},{"family":"Caladea"},{"family":"Calistoga"},{"family":"Calligraffitti"},{"family":"Cambay"},{"family":"Cambo"},{"family":"Candal"},{"family":"Cantarell"},{"family":"Cantata One"},{"family":"Cantora One"},{"family":"Caprasimo"},{"family":"Capriola"},{"family":"Caramel"},{"family":"Carattere"},{"family":"Cardo"},{"family":"Carlito"},{"family":"Carme"},{"family":"Carrois Gothic"},{"family":"Carrois Gothic SC"},{"family":"Carter One"},{"family":"Castoro"},{"family":"Castoro Titling"},{"family":"Catamaran"},{"family":"Caudex"},{"family":"Caveat"},{"family":"Caveat Brush"},{"family":"Cedarville Cursive"},{"family":"Ceviche One"},{"family":"Chakra Petch"},{"family":"Changa"},{"family":"Changa One"},{"family":"Chango"},{"family":"Charis SIL"},{"family":"Charm"},{"family":"Charmonman"},{"family":"Chathura"},{"family":"Chau Philomene One"},{"family":"Chela One"},{"family":"Chelsea Market"},{"family":"Chenla"},{"family":"Cherish"},{"family":"Cherry Bomb One"},{"family":"Cherry Cream Soda"},{"family":"Cherry Swash"},{"family":"Chewy"},{"family":"Chicle"},{"family":"Chilanka"},{"family":"Chivo"},{"family":"Chivo Mono"},{"family":"Chocolate Classical Sans"},{"family":"Chokokutai"},{"family":"Chonburi"},{"family":"Cinzel"},{"family":"Cinzel Decorative"},{"family":"Clicker Script"},{"family":"Climate Crisis"},{"family":"Coda"},{"family":"Codystar"},{"family":"Coiny"},{"family":"Combo"},{"family":"Comfortaa"},{"family":"Comforter"},{"family":"Comforter Brush"},{"family":"Comic Neue"},{"family":"Coming Soon"},{"family":"Comme"},{"family":"Commissioner"},{"family":"Concert One"},{"family":"Condiment"},{"family":"Content"},{"family":"Contrail One"},{"family":"Convergence"},{"family":"Cookie"},{"family":"Copse"},{"family":"Corben"},{"family":"Corinthia"},{"family":"Cormorant"},{"family":"Cormorant Garamond"},{"family":"Cormorant Infant"},{"family":"Cormorant SC"},{"family":"Cormorant Unicase"},{"family":"Cormorant Upright"},{"family":"Courgette"},{"family":"Courier Prime"},{"family":"Cousine"},{"family":"Coustard"},{"family":"Covered By Your Grace"},{"family":"Crafty Girls"},{"family":"Creepster"},{"family":"Crete Round"},{"family":"Crimson Pro"},{"family":"Crimson Text"},{"family":"Croissant One"},{"family":"Crushed"},{"family":"Cuprum"},{"family":"Cute Font"},{"family":"Cutive"},{"family":"Cutive Mono"},{"family":"DM Mono"},{"family":"DM Sans"},{"family":"DM Serif Display"},{"family":"DM Serif Text"},{"family":"Dai Banna SIL"},{"family":"Damion"},{"family":"Dancing Script"},{"family":"Danfo"},{"family":"Dangrek"},{"family":"Darker Grotesque"},{"family":"Darumadrop One"},{"family":"David Libre"},{"family":"Dawning of a New Day"},{"family":"Days One"},{"family":"Dekko"},{"family":"Dela Gothic One"},{"family":"Delicious Handrawn"},{"family":"Delius"},{"family":"Delius Swash Caps"},{"family":"Delius Unicase"},{"family":"Della Respira"},{"family":"Denk One"},{"family":"Devonshire"},{"family":"Dhurjati"},{"family":"Didact Gothic"},{"family":"Diphylleia"},{"family":"Diplomata"},{"family":"Diplomata SC"},{"family":"Do Hyeon"},{"family":"Dokdo"},{"family":"Domine"},{"family":"Donegal One"},{"family":"Dongle"},{"family":"Doppio One"},{"family":"Dorsa"},{"family":"Dosis"},{"family":"DotGothic16"},{"family":"Doto"},{"family":"Dr Sugiyama"},{"family":"Duru Sans"},{"family":"DynaPuff"},{"family":"Dynalight"},{"family":"EB Garamond"},{"family":"Eagle Lake"},{"family":"East Sea Dokdo"},{"family":"Eater"},{"family":"Economica"},{"family":"Eczar"},{"family":"Edu AU VIC WA NT Arrows"},{"family":"Edu AU VIC WA NT Dots"},{"family":"Edu AU VIC WA NT Guides"},{"family":"Edu AU VIC WA NT Hand"},{"family":"Edu AU VIC WA NT Pre"},{"family":"Edu NSW ACT Foundation"},{"family":"Edu QLD Beginner"},{"family":"Edu SA Beginner"},{"family":"Edu TAS Beginner"},{"family":"Edu VIC WA NT Beginner"},{"family":"El Messiri"},{"family":"Electrolize"},{"family":"Elsie"},{"family":"Elsie Swash Caps"},{"family":"Emblema One"},{"family":"Emilys Candy"},{"family":"Encode Sans"},{"family":"Encode Sans Condensed"},{"family":"Encode Sans Expanded"},{"family":"Encode Sans SC"},{"family":"Encode Sans Semi Condensed"},{"family":"Encode Sans Semi Expanded"},{"family":"Engagement"},{"family":"Englebert"},{"family":"Enriqueta"},{"family":"Ephesis"},{"family":"Epilogue"},{"family":"Erica One"},{"family":"Esteban"},{"family":"Estonia"},{"family":"Euphoria Script"},{"family":"Ewert"},{"family":"Exo"},{"family":"Exo 2"},{"family":"Expletus Sans"},{"family":"Explora"},{"family":"Faculty Glyphic"},{"family":"Fahkwang"},{"family":"Familjen Grotesk"},{"family":"Fanwood Text"},{"family":"Farro"},{"family":"Farsan"},{"family":"Fascinate"},{"family":"Fascinate Inline"},{"family":"Faster One"},{"family":"Fasthand"},{"family":"Fauna One"},{"family":"Faustina"},{"family":"Federant"},{"family":"Federo"},{"family":"Felipa"},{"family":"Fenix"},{"family":"Festive"},{"family":"Figtree"},{"family":"Finger Paint"},{"family":"Finlandica"},{"family":"Fira Code"},{"family":"Fira Mono"},{"family":"Fira Sans"},{"family":"Fira Sans Condensed"},{"family":"Fira Sans Extra Condensed"},{"family":"Fjalla One"},{"family":"Fjord One"},{"family":"Flamenco"},{"family":"Flavors"},{"family":"Fleur De Leah"},{"family":"Flow Block"},{"family":"Flow Circular"},{"family":"Flow Rounded"},{"family":"Foldit"},{"family":"Fondamento"},{"family":"Fontdiner Swanky"},{"family":"Forum"},{"family":"Fragment Mono"},{"family":"Francois One"},{"family":"Frank Ruhl Libre"},{"family":"Fraunces"},{"family":"Freckle Face"},{"family":"Fredericka the Great"},{"family":"Fredoka"},{"family":"Freehand"},{"family":"Freeman"},{"family":"Fresca"},{"family":"Frijole"},{"family":"Fruktur"},{"family":"Fugaz One"},{"family":"Fuggles"},{"family":"Funnel Display"},{"family":"Funnel Sans"},{"family":"Fustat"},{"family":"Fuzzy Bubbles"},{"family":"GFS Didot"},{"family":"GFS Neohellenic"},{"family":"Ga Maamli"},{"family":"Gabarito"},{"family":"Gabriela"},{"family":"Gaegu"},{"family":"Gafata"},{"family":"Gajraj One"},{"family":"Galada"},{"family":"Galdeano"},{"family":"Galindo"},{"family":"Gamja Flower"},{"family":"Gantari"},{"family":"Gasoek One"},{"family":"Gayathri"},{"family":"Geist"},{"family":"Geist Mono"},{"family":"Gelasio"},{"family":"Gemunu Libre"},{"family":"Genos"},{"family":"Gentium Book Plus"},{"family":"Gentium Plus"},{"family":"Geo"},{"family":"Geologica"},{"family":"Georama"},{"family":"Geostar"},{"family":"Geostar Fill"},{"family":"Germania One"},{"family":"Gideon Roman"},{"family":"Gidugu"},{"family":"Gilda Display"},{"family":"Girassol"},{"family":"Give You Glory"},{"family":"Glass Antiqua"},{"family":"Glegoo"},{"family":"Gloock"},{"family":"Gloria Hallelujah"},{"family":"Glory"},{"family":"Gluten"},{"family":"Goblin One"},{"family":"Gochi Hand"},{"family":"Goldman"},{"family":"Golos Text"},{"family":"Gorditas"},{"family":"Gothic A1"},{"family":"Gotu"},{"family":"Goudy Bookletter 1911"},{"family":"Gowun Batang"},{"family":"Gowun Dodum"},{"family":"Graduate"},{"family":"Grand Hotel"},{"family":"Grandiflora One"},{"family":"Grandstander"},{"family":"Grape Nuts"},{"family":"Gravitas One"},{"family":"Great Vibes"},{"family":"Grechen Fuemen"},{"family":"Grenze"},{"family":"Grenze Gotisch"},{"family":"Grey Qo"},{"family":"Griffy"},{"family":"Gruppo"},{"family":"Gudea"},{"family":"Gugi"},{"family":"Gulzar"},{"family":"Gupter"},{"family":"Gurajada"},{"family":"Gwendolyn"},{"family":"Habibi"},{"family":"Hachi Maru Pop"},{"family":"Hahmlet"},{"family":"Halant"},{"family":"Hammersmith One"},{"family":"Hanalei"},{"family":"Hanalei Fill"},{"family":"Handjet"},{"family":"Handlee"},{"family":"Hanken Grotesk"},{"family":"Hanuman"},{"family":"Happy Monkey"},{"family":"Harmattan"},{"family":"Headland One"},{"family":"Hedvig Letters Sans"},{"family":"Hedvig Letters Serif"},{"family":"Heebo"},{"family":"Henny Penny"},{"family":"Hepta Slab"},{"family":"Herr Von Muellerhoff"},{"family":"Hi Melody"},{"family":"Hina Mincho"},{"family":"Hind"},{"family":"Hind Guntur"},{"family":"Hind Madurai"},{"family":"Hind Siliguri"},{"family":"Hind Vadodara"},{"family":"Holtwood One SC"},{"family":"Homemade Apple"},{"family":"Homenaje"},{"family":"Honk"},{"family":"Host Grotesk"},{"family":"Hubballi"},{"family":"Hubot Sans"},{"family":"Hurricane"},{"family":"IBM Plex Mono"},{"family":"IBM Plex Sans"},{"family":"IBM Plex Sans Arabic"},{"family":"IBM Plex Sans Condensed"},{"family":"IBM Plex Sans Devanagari"},{"family":"IBM Plex Sans Hebrew"},{"family":"IBM Plex Sans JP"},{"family":"IBM Plex Sans KR"},{"family":"IBM Plex Sans Thai"},{"family":"IBM Plex Sans Thai Looped"},{"family":"IBM Plex Serif"},{"family":"IM Fell DW Pica"},{"family":"IM Fell DW Pica SC"},{"family":"IM Fell Double Pica"},{"family":"IM Fell Double Pica SC"},{"family":"IM Fell English"},{"family":"IM Fell English SC"},{"family":"IM Fell French Canon"},{"family":"IM Fell French Canon SC"},{"family":"IM Fell Great Primer"},{"family":"IM Fell Great Primer SC"},{"family":"Ibarra Real Nova"},{"family":"Iceberg"},{"family":"Iceland"},{"family":"Imbue"},{"family":"Imperial Script"},{"family":"Imprima"},{"family":"Inclusive Sans"},{"family":"Inconsolata"},{"family":"Inder"},{"family":"Indie Flower"},{"family":"Ingrid Darling"},{"family":"Inika"},{"family":"Inknut Antiqua"},{"family":"Inria Sans"},{"family":"Inria Serif"},{"family":"Inspiration"},{"family":"Instrument Sans"},{"family":"Instrument Serif"},{"family":"Inter"},{"family":"Inter Tight"},{"family":"Irish Grover"},{"family":"Island Moments"},{"family":"Istok Web"},{"family":"Italiana"},{"family":"Italianno"},{"family":"Itim"},{"family":"Jacquard 12"},{"family":"Jacquard 12 Charted"},{"family":"Jacquard 24"},{"family":"Jacquard 24 Charted"},{"family":"Jacquarda Bastarda 9"},{"family":"Jacquarda Bastarda 9 Charted"},{"family":"Jacques Francois"},{"family":"Jacques Francois Shadow"},{"family":"Jaini"},{"family":"Jaini Purva"},{"family":"Jaldi"},{"family":"Jaro"},{"family":"Jersey 10"},{"family":"Jersey 10 Charted"},{"family":"Jersey 15"},{"family":"Jersey 15 Charted"},{"family":"Jersey 20"},{"family":"Jersey 20 Charted"},{"family":"Jersey 25"},{"family":"Jersey 25 Charted"},{"family":"JetBrains Mono"},{"family":"Jim Nightshade"},{"family":"Joan"},{"family":"Jockey One"},{"family":"Jolly Lodger"},{"family":"Jomhuria"},{"family":"Jomolhari"},{"family":"Josefin Sans"},{"family":"Josefin Slab"},{"family":"Jost"},{"family":"Joti One"},{"family":"Jua"},{"family":"Judson"},{"family":"Julee"},{"family":"Julius Sans One"},{"family":"Junge"},{"family":"Jura"},{"family":"Just Another Hand"},{"family":"Just Me Again Down Here"},{"family":"K2D"},{"family":"Kablammo"},{"family":"Kadwa"},{"family":"Kaisei Decol"},{"family":"Kaisei HarunoUmi"},{"family":"Kaisei Opti"},{"family":"Kaisei Tokumin"},{"family":"Kalam"},{"family":"Kalnia"},{"family":"Kalnia Glaze"},{"family":"Kameron"},{"family":"Kanit"},{"family":"Kantumruy Pro"},{"family":"Karantina"},{"family":"Karla"},{"family":"Karla Tamil Inclined"},{"family":"Karla Tamil Upright"},{"family":"Karma"},{"family":"Katibeh"},{"family":"Kaushan Script"},{"family":"Kavivanar"},{"family":"Kavoon"},{"family":"Kay Pho Du"},{"family":"Kdam Thmor Pro"},{"family":"Keania One"},{"family":"Kelly Slab"},{"family":"Kenia"},{"family":"Khand"},{"family":"Khmer"},{"family":"Khula"},{"family":"Kings"},{"family":"Kirang Haerang"},{"family":"Kite One"},{"family":"Kiwi Maru"},{"family":"Klee One"},{"family":"Knewave"},{"family":"KoHo"},{"family":"Kodchasan"},{"family":"Kode Mono"},{"family":"Koh Santepheap"},{"family":"Kolker Brush"},{"family":"Konkhmer Sleokchher"},{"family":"Kosugi"},{"family":"Kosugi Maru"},{"family":"Kotta One"},{"family":"Koulen"},{"family":"Kranky"},{"family":"Kreon"},{"family":"Kristi"},{"family":"Krona One"},{"family":"Krub"},{"family":"Kufam"},{"family":"Kulim Park"},{"family":"Kumar One"},{"family":"Kumar One Outline"},{"family":"Kumbh Sans"},{"family":"Kurale"},{"family":"LXGW WenKai Mono TC"},{"family":"LXGW WenKai TC"},{"family":"La Belle Aurore"},{"family":"Labrada"},{"family":"Lacquer"},{"family":"Laila"},{"family":"Lakki Reddy"},{"family":"Lalezar"},{"family":"Lancelot"},{"family":"Langar"},{"family":"Lateef"},{"family":"Lato"},{"family":"Lavishly Yours"},{"family":"League Gothic"},{"family":"League Script"},{"family":"League Spartan"},{"family":"Leckerli One"},{"family":"Ledger"},{"family":"Lekton"},{"family":"Lemon"},{"family":"Lemonada"},{"family":"Lexend"},{"family":"Lexend Deca"},{"family":"Lexend Exa"},{"family":"Lexend Giga"},{"family":"Lexend Mega"},{"family":"Lexend Peta"},{"family":"Lexend Tera"},{"family":"Lexend Zetta"},{"family":"Libre Barcode 128"},{"family":"Libre Barcode 128 Text"},{"family":"Libre Barcode 39"},{"family":"Libre Barcode 39 Extended"},{"family":"Libre Barcode 39 Extended Text"},{"family":"Libre Barcode 39 Text"},{"family":"Libre Barcode EAN13 Text"},{"family":"Libre Baskerville"},{"family":"Libre Bodoni"},{"family":"Libre Caslon Display"},{"family":"Libre Caslon Text"},{"family":"Libre Franklin"},{"family":"Licorice"},{"family":"Life Savers"},{"family":"Lilita One"},{"family":"Lily Script One"},{"family":"Limelight"},{"family":"Linden Hill"},{"family":"Linefont"},{"family":"Lisu Bosa"},{"family":"Literata"},{"family":"Liu Jian Mao Cao"},{"family":"Livvic"},{"family":"Lobster"},{"family":"Lobster Two"},{"family":"Londrina Outline"},{"family":"Londrina Shadow"},{"family":"Londrina Sketch"},{"family":"Londrina Solid"},{"family":"Long Cang"},{"family":"Lora"},{"family":"Love Light"},{"family":"Love Ya Like A Sister"},{"family":"Loved by the King"},{"family":"Lovers Quarrel"},{"family":"Luckiest Guy"},{"family":"Lugrasimo"},{"family":"Lumanosimo"},{"family":"Lunasima"},{"family":"Lusitana"},{"family":"Lustria"},{"family":"Luxurious Roman"},{"family":"Luxurious Script"},{"family":"M PLUS 1"},{"family":"M PLUS 1 Code"},{"family":"M PLUS 1p"},{"family":"M PLUS 2"},{"family":"M PLUS Code Latin"},{"family":"M PLUS Rounded 1c"},{"family":"Ma Shan Zheng"},{"family":"Macondo"},{"family":"Macondo Swash Caps"},{"family":"Mada"},{"family":"Madimi One"},{"family":"Magra"},{"family":"Maiden Orange"},{"family":"Maitree"},{"family":"Major Mono Display"},{"family":"Mako"},{"family":"Mali"},{"family":"Mallanna"},{"family":"Maname"},{"family":"Mandali"},{"family":"Manjari"},{"family":"Manrope"},{"family":"Mansalva"},{"family":"Manuale"},{"family":"Marcellus"},{"family":"Marcellus SC"},{"family":"Marck Script"},{"family":"Margarine"},{"family":"Marhey"},{"family":"Markazi Text"},{"family":"Marko One"},{"family":"Marmelad"},{"family":"Martel"},{"family":"Martel Sans"},{"family":"Martian Mono"},{"family":"Marvel"},{"family":"Mate"},{"family":"Mate SC"},{"family":"Matemasie"},{"family":"Material Icons"},{"family":"Material Icons Outlined"},{"family":"Material Icons Round"},{"family":"Material Icons Sharp"},{"family":"Material Icons Two Tone"},{"family":"Material Symbols Outlined"},{"family":"Material Symbols Rounded"},{"family":"Material Symbols Sharp"},{"family":"Maven Pro"},{"family":"McLaren"},{"family":"Mea Culpa"},{"family":"Meddon"},{"family":"MedievalSharp"},{"family":"Medula One"},{"family":"Meera Inimai"},{"family":"Megrim"},{"family":"Meie Script"},{"family":"Meow Script"},{"family":"Merienda"},{"family":"Merriweather"},{"family":"Merriweather Sans"},{"family":"Metal"},{"family":"Metal Mania"},{"family":"Metamorphous"},{"family":"Metrophobic"},{"family":"Michroma"},{"family":"Micro 5"},{"family":"Micro 5 Charted"},{"family":"Milonga"},{"family":"Miltonian"},{"family":"Miltonian Tattoo"},{"family":"Mina"},{"family":"Mingzat"},{"family":"Miniver"},{"family":"Miriam Libre"},{"family":"Mirza"},{"family":"Miss Fajardose"},{"family":"Mitr"},{"family":"Mochiy Pop One"},{"family":"Mochiy Pop P One"},{"family":"Modak"},{"family":"Modern Antiqua"},{"family":"Moderustic"},{"family":"Mogra"},{"family":"Mohave"},{"family":"Moirai One"},{"family":"Molengo"},{"family":"Molle"},{"family":"Mona Sans"},{"family":"Monda"},{"family":"Monofett"},{"family":"Monomaniac One"},{"family":"Monoton"},{"family":"Monsieur La Doulaise"},{"family":"Montaga"},{"family":"Montagu Slab"},{"family":"MonteCarlo"},{"family":"Montez"},{"family":"Montserrat"},{"family":"Montserrat Alternates"},{"family":"Montserrat Subrayada"},{"family":"Moo Lah Lah"},{"family":"Mooli"},{"family":"Moon Dance"},{"family":"Moul"},{"family":"Moulpali"},{"family":"Mountains of Christmas"},{"family":"Mouse Memoirs"},{"family":"Mr Bedfort"},{"family":"Mr Dafoe"},{"family":"Mr De Haviland"},{"family":"Mrs Saint Delafield"},{"family":"Mrs Sheppards"},{"family":"Ms Madi"},{"family":"Mukta"},{"family":"Mukta Mahee"},{"family":"Mukta Malar"},{"family":"Mukta Vaani"},{"family":"Mulish"},{"family":"Murecho"},{"family":"MuseoModerno"},{"family":"My Soul"},{"family":"Mynerve"},{"family":"Mystery Quest"},{"family":"NTR"},{"family":"Nabla"},{"family":"Namdhinggo"},{"family":"Nanum Brush Script"},{"family":"Nanum Gothic"},{"family":"Nanum Gothic Coding"},{"family":"Nanum Myeongjo"},{"family":"Nanum Pen Script"},{"family":"Narnoor"},{"family":"Neonderthaw"},{"family":"Nerko One"},{"family":"Neucha"},{"family":"Neuton"},{"family":"New Amsterdam"},{"family":"New Rocker"},{"family":"New Tegomin"},{"family":"News Cycle"},{"family":"Newsreader"},{"family":"Niconne"},{"family":"Niramit"},{"family":"Nixie One"},{"family":"Nobile"},{"family":"Nokora"},{"family":"Norican"},{"family":"Nosifer"},{"family":"Notable"},{"family":"Nothing You Could Do"},{"family":"Noticia Text"},{"family":"Noto Color Emoji"},{"family":"Noto Emoji"},{"family":"Noto Kufi Arabic"},{"family":"Noto Music"},{"family":"Noto Naskh Arabic"},{"family":"Noto Nastaliq Urdu"},{"family":"Noto Rashi Hebrew"},{"family":"Noto Sans"},{"family":"Noto Sans Adlam"},{"family":"Noto Sans Adlam Unjoined"},{"family":"Noto Sans Anatolian Hieroglyphs"},{"family":"Noto Sans Arabic"},{"family":"Noto Sans Armenian"},{"family":"Noto Sans Avestan"},{"family":"Noto Sans Balinese"},{"family":"Noto Sans Bamum"},{"family":"Noto Sans Bassa Vah"},{"family":"Noto Sans Batak"},{"family":"Noto Sans Bengali"},{"family":"Noto Sans Bhaiksuki"},{"family":"Noto Sans Brahmi"},{"family":"Noto Sans Buginese"},{"family":"Noto Sans Buhid"},{"family":"Noto Sans Canadian Aboriginal"},{"family":"Noto Sans Carian"},{"family":"Noto Sans Caucasian Albanian"},{"family":"Noto Sans Chakma"},{"family":"Noto Sans Cham"},{"family":"Noto Sans Cherokee"},{"family":"Noto Sans Chorasmian"},{"family":"Noto Sans Coptic"},{"family":"Noto Sans Cuneiform"},{"family":"Noto Sans Cypriot"},{"family":"Noto Sans Cypro Minoan"},{"family":"Noto Sans Deseret"},{"family":"Noto Sans Devanagari"},{"family":"Noto Sans Display"},{"family":"Noto Sans Duployan"},{"family":"Noto Sans Egyptian Hieroglyphs"},{"family":"Noto Sans Elbasan"},{"family":"Noto Sans Elymaic"},{"family":"Noto Sans Ethiopic"},{"family":"Noto Sans Georgian"},{"family":"Noto Sans Glagolitic"},{"family":"Noto Sans Gothic"},{"family":"Noto Sans Grantha"},{"family":"Noto Sans Gujarati"},{"family":"Noto Sans Gunjala Gondi"},{"family":"Noto Sans Gurmukhi"},{"family":"Noto Sans HK"},{"family":"Noto Sans Hanifi Rohingya"},{"family":"Noto Sans Hanunoo"},{"family":"Noto Sans Hatran"},{"family":"Noto Sans Hebrew"},{"family":"Noto Sans Imperial Aramaic"},{"family":"Noto Sans Indic Siyaq Numbers"},{"family":"Noto Sans Inscriptional Pahlavi"},{"family":"Noto Sans Inscriptional Parthian"},{"family":"Noto Sans JP"},{"family":"Noto Sans Javanese"},{"family":"Noto Sans KR"},{"family":"Noto Sans Kaithi"},{"family":"Noto Sans Kannada"},{"family":"Noto Sans Kawi"},{"family":"Noto Sans Kayah Li"},{"family":"Noto Sans Kharoshthi"},{"family":"Noto Sans Khmer"},{"family":"Noto Sans Khojki"},{"family":"Noto Sans Khudawadi"},{"family":"Noto Sans Lao"},{"family":"Noto Sans Lao Looped"},{"family":"Noto Sans Lepcha"},{"family":"Noto Sans Limbu"},{"family":"Noto Sans Linear A"},{"family":"Noto Sans Linear B"},{"family":"Noto Sans Lisu"},{"family":"Noto Sans Lycian"},{"family":"Noto Sans Lydian"},{"family":"Noto Sans Mahajani"},{"family":"Noto Sans Malayalam"},{"family":"Noto Sans Mandaic"},{"family":"Noto Sans Manichaean"},{"family":"Noto Sans Marchen"},{"family":"Noto Sans Masaram Gondi"},{"family":"Noto Sans Math"},{"family":"Noto Sans Mayan Numerals"},{"family":"Noto Sans Medefaidrin"},{"family":"Noto Sans Meetei Mayek"},{"family":"Noto Sans Mende Kikakui"},{"family":"Noto Sans Meroitic"},{"family":"Noto Sans Miao"},{"family":"Noto Sans Modi"},{"family":"Noto Sans Mongolian"},{"family":"Noto Sans Mono"},{"family":"Noto Sans Mro"},{"family":"Noto Sans Multani"},{"family":"Noto Sans Myanmar"},{"family":"Noto Sans NKo"},{"family":"Noto Sans NKo Unjoined"},{"family":"Noto Sans Nabataean"},{"family":"Noto Sans Nag Mundari"},{"family":"Noto Sans Nandinagari"},{"family":"Noto Sans New Tai Lue"},{"family":"Noto Sans Newa"},{"family":"Noto Sans Nushu"},{"family":"Noto Sans Ogham"},{"family":"Noto Sans Ol Chiki"},{"family":"Noto Sans Old Hungarian"},{"family":"Noto Sans Old Italic"},{"family":"Noto Sans Old North Arabian"},{"family":"Noto Sans Old Permic"},{"family":"Noto Sans Old Persian"},{"family":"Noto Sans Old Sogdian"},{"family":"Noto Sans Old South Arabian"},{"family":"Noto Sans Old Turkic"},{"family":"Noto Sans Oriya"},{"family":"Noto Sans Osage"},{"family":"Noto Sans Osmanya"},{"family":"Noto Sans Pahawh Hmong"},{"family":"Noto Sans Palmyrene"},{"family":"Noto Sans Pau Cin Hau"},{"family":"Noto Sans Phags Pa"},{"family":"Noto Sans Phoenician"},{"family":"Noto Sans Psalter Pahlavi"},{"family":"Noto Sans Rejang"},{"family":"Noto Sans Runic"},{"family":"Noto Sans SC"},{"family":"Noto Sans Samaritan"},{"family":"Noto Sans Saurashtra"},{"family":"Noto Sans Sharada"},{"family":"Noto Sans Shavian"},{"family":"Noto Sans Siddham"},{"family":"Noto Sans SignWriting"},{"family":"Noto Sans Sinhala"},{"family":"Noto Sans Sogdian"},{"family":"Noto Sans Sora Sompeng"},{"family":"Noto Sans Soyombo"},{"family":"Noto Sans Sundanese"},{"family":"Noto Sans Syloti Nagri"},{"family":"Noto Sans Symbols"},{"family":"Noto Sans Symbols 2"},{"family":"Noto Sans Syriac"},{"family":"Noto Sans Syriac Eastern"},{"family":"Noto Sans TC"},{"family":"Noto Sans Tagalog"},{"family":"Noto Sans Tagbanwa"},{"family":"Noto Sans Tai Le"},{"family":"Noto Sans Tai Tham"},{"family":"Noto Sans Tai Viet"},{"family":"Noto Sans Takri"},{"family":"Noto Sans Tamil"},{"family":"Noto Sans Tamil Supplement"},{"family":"Noto Sans Tangsa"},{"family":"Noto Sans Telugu"},{"family":"Noto Sans Thaana"},{"family":"Noto Sans Thai"},{"family":"Noto Sans Thai Looped"},{"family":"Noto Sans Tifinagh"},{"family":"Noto Sans Tirhuta"},{"family":"Noto Sans Ugaritic"},{"family":"Noto Sans Vai"},{"family":"Noto Sans Vithkuqi"},{"family":"Noto Sans Wancho"},{"family":"Noto Sans Warang Citi"},{"family":"Noto Sans Yi"},{"family":"Noto Sans Zanabazar Square"},{"family":"Noto Serif"},{"family":"Noto Serif Ahom"},{"family":"Noto Serif Armenian"},{"family":"Noto Serif Balinese"},{"family":"Noto Serif Bengali"},{"family":"Noto Serif Devanagari"},{"family":"Noto Serif Display"},{"family":"Noto Serif Dogra"},{"family":"Noto Serif Ethiopic"},{"family":"Noto Serif Georgian"},{"family":"Noto Serif Grantha"},{"family":"Noto Serif Gujarati"},{"family":"Noto Serif Gurmukhi"},{"family":"Noto Serif HK"},{"family":"Noto Serif Hebrew"},{"family":"Noto Serif JP"},{"family":"Noto Serif KR"},{"family":"Noto Serif Kannada"},{"family":"Noto Serif Khitan Small Script"},{"family":"Noto Serif Khmer"},{"family":"Noto Serif Khojki"},{"family":"Noto Serif Lao"},{"family":"Noto Serif Makasar"},{"family":"Noto Serif Malayalam"},{"family":"Noto Serif Myanmar"},{"family":"Noto Serif NP Hmong"},{"family":"Noto Serif Old Uyghur"},{"family":"Noto Serif Oriya"},{"family":"Noto Serif Ottoman Siyaq"},{"family":"Noto Serif SC"},{"family":"Noto Serif Sinhala"},{"family":"Noto Serif TC"},{"family":"Noto Serif Tamil"},{"family":"Noto Serif Tangut"},{"family":"Noto Serif Telugu"},{"family":"Noto Serif Thai"},{"family":"Noto Serif Tibetan"},{"family":"Noto Serif Toto"},{"family":"Noto Serif Vithkuqi"},{"family":"Noto Serif Yezidi"},{"family":"Noto Traditional Nushu"},{"family":"Noto Znamenny Musical Notation"},{"family":"Nova Cut"},{"family":"Nova Flat"},{"family":"Nova Mono"},{"family":"Nova Oval"},{"family":"Nova Round"},{"family":"Nova Script"},{"family":"Nova Slim"},{"family":"Nova Square"},{"family":"Numans"},{"family":"Nunito"},{"family":"Nunito Sans"},{"family":"Nuosu SIL"},{"family":"Odibee Sans"},{"family":"Odor Mean Chey"},{"family":"Offside"},{"family":"Oi"},{"family":"Ojuju"},{"family":"Old Standard TT"},{"family":"Oldenburg"},{"family":"Ole"},{"family":"Oleo Script"},{"family":"Oleo Script Swash Caps"},{"family":"Onest"},{"family":"Oooh Baby"},{"family":"Open Sans"},{"family":"Oranienbaum"},{"family":"Orbit"},{"family":"Orbitron"},{"family":"Oregano"},{"family":"Orelega One"},{"family":"Orienta"},{"family":"Original Surfer"},{"family":"Oswald"},{"family":"Outfit"},{"family":"Over the Rainbow"},{"family":"Overlock"},{"family":"Overlock SC"},{"family":"Overpass"},{"family":"Overpass Mono"},{"family":"Ovo"},{"family":"Oxanium"},{"family":"Oxygen"},{"family":"Oxygen Mono"},{"family":"PT Mono"},{"family":"PT Sans"},{"family":"PT Sans Caption"},{"family":"PT Sans Narrow"},{"family":"PT Serif"},{"family":"PT Serif Caption"},{"family":"Pacifico"},{"family":"Padauk"},{"family":"Padyakke Expanded One"},{"family":"Palanquin"},{"family":"Palanquin Dark"},{"family":"Palette Mosaic"},{"family":"Pangolin"},{"family":"Paprika"},{"family":"Parisienne"},{"family":"Parkinsans"},{"family":"Passero One"},{"family":"Passion One"},{"family":"Passions Conflict"},{"family":"Pathway Extreme"},{"family":"Pathway Gothic One"},{"family":"Patrick Hand"},{"family":"Patrick Hand SC"},{"family":"Pattaya"},{"family":"Patua One"},{"family":"Pavanam"},{"family":"Paytone One"},{"family":"Peddana"},{"family":"Peralta"},{"family":"Permanent Marker"},{"family":"Petemoss"},{"family":"Petit Formal Script"},{"family":"Petrona"},{"family":"Phetsarath"},{"family":"Philosopher"},{"family":"Phudu"},{"family":"Piazzolla"},{"family":"Piedra"},{"family":"Pinyon Script"},{"family":"Pirata One"},{"family":"Pixelify Sans"},{"family":"Plaster"},{"family":"Platypi"},{"family":"Play"},{"family":"Playball"},{"family":"Playfair"},{"family":"Playfair Display"},{"family":"Playfair Display SC"},{"family":"Playpen Sans"},{"family":"Playwrite AR"},{"family":"Playwrite AT"},{"family":"Playwrite AU NSW"},{"family":"Playwrite AU QLD"},{"family":"Playwrite AU SA"},{"family":"Playwrite AU TAS"},{"family":"Playwrite AU VIC"},{"family":"Playwrite BE VLG"},{"family":"Playwrite BE WAL"},{"family":"Playwrite BR"},{"family":"Playwrite CA"},{"family":"Playwrite CL"},{"family":"Playwrite CO"},{"family":"Playwrite CU"},{"family":"Playwrite CZ"},{"family":"Playwrite DE Grund"},{"family":"Playwrite DE LA"},{"family":"Playwrite DE SAS"},{"family":"Playwrite DE VA"},{"family":"Playwrite DK Loopet"},{"family":"Playwrite DK Uloopet"},{"family":"Playwrite ES"},{"family":"Playwrite ES Deco"},{"family":"Playwrite FR Moderne"},{"family":"Playwrite FR Trad"},{"family":"Playwrite GB J"},{"family":"Playwrite GB S"},{"family":"Playwrite HR"},{"family":"Playwrite HR Lijeva"},{"family":"Playwrite HU"},{"family":"Playwrite ID"},{"family":"Playwrite IE"},{"family":"Playwrite IN"},{"family":"Playwrite IS"},{"family":"Playwrite IT Moderna"},{"family":"Playwrite IT Trad"},{"family":"Playwrite MX"},{"family":"Playwrite NG Modern"},{"family":"Playwrite NL"},{"family":"Playwrite NO"},{"family":"Playwrite NZ"},{"family":"Playwrite PE"},{"family":"Playwrite PL"},{"family":"Playwrite PT"},{"family":"Playwrite RO"},{"family":"Playwrite SK"},{"family":"Playwrite TZ"},{"family":"Playwrite US Modern"},{"family":"Playwrite US Trad"},{"family":"Playwrite VN"},{"family":"Playwrite ZA"},{"family":"Plus Jakarta Sans"},{"family":"Podkova"},{"family":"Poetsen One"},{"family":"Poiret One"},{"family":"Poller One"},{"family":"Poltawski Nowy"},{"family":"Poly"},{"family":"Pompiere"},{"family":"Ponnala"},{"family":"Pontano Sans"},{"family":"Poor Story"},{"family":"Poppins"},{"family":"Port Lligat Sans"},{"family":"Port Lligat Slab"},{"family":"Potta One"},{"family":"Pragati Narrow"},{"family":"Praise"},{"family":"Prata"},{"family":"Preahvihear"},{"family":"Press Start 2P"},{"family":"Pridi"},{"family":"Princess Sofia"},{"family":"Prociono"},{"family":"Prompt"},{"family":"Prosto One"},{"family":"Protest Guerrilla"},{"family":"Protest Revolution"},{"family":"Protest Riot"},{"family":"Protest Strike"},{"family":"Proza Libre"},{"family":"Public Sans"},{"family":"Puppies Play"},{"family":"Puritan"},{"family":"Purple Purse"},{"family":"Qahiri"},{"family":"Quando"},{"family":"Quantico"},{"family":"Quattrocento"},{"family":"Quattrocento Sans"},{"family":"Questrial"},{"family":"Quicksand"},{"family":"Quintessential"},{"family":"Qwigley"},{"family":"Qwitcher Grypen"},{"family":"REM"},{"family":"Racing Sans One"},{"family":"Radio Canada"},{"family":"Radio Canada Big"},{"family":"Radley"},{"family":"Rajdhani"},{"family":"Rakkas"},{"family":"Raleway"},{"family":"Raleway Dots"},{"family":"Ramabhadra"},{"family":"Ramaraja"},{"family":"Rambla"},{"family":"Rammetto One"},{"family":"Rampart One"},{"family":"Ranchers"},{"family":"Rancho"},{"family":"Ranga"},{"family":"Rasa"},{"family":"Rationale"},{"family":"Ravi Prakash"},{"family":"Readex Pro"},{"family":"Recursive"},{"family":"Red Hat Display"},{"family":"Red Hat Mono"},{"family":"Red Hat Text"},{"family":"Red Rose"},{"family":"Redacted"},{"family":"Redacted Script"},{"family":"Reddit Mono"},{"family":"Reddit Sans"},{"family":"Reddit Sans Condensed"},{"family":"Redressed"},{"family":"Reem Kufi"},{"family":"Reem Kufi Fun"},{"family":"Reem Kufi Ink"},{"family":"Reenie Beanie"},{"family":"Reggae One"},{"family":"Rethink Sans"},{"family":"Revalia"},{"family":"Rhodium Libre"},{"family":"Ribeye"},{"family":"Ribeye Marrow"},{"family":"Righteous"},{"family":"Risque"},{"family":"Road Rage"},{"family":"Roboto"},{"family":"Roboto Condensed"},{"family":"Roboto Flex"},{"family":"Roboto Mono"},{"family":"Roboto Serif"},{"family":"Roboto Slab"},{"family":"Rochester"},{"family":"Rock 3D"},{"family":"Rock Salt"},{"family":"RocknRoll One"},{"family":"Rokkitt"},{"family":"Romanesco"},{"family":"Ropa Sans"},{"family":"Rosario"},{"family":"Rosarivo"},{"family":"Rouge Script"},{"family":"Rowdies"},{"family":"Rozha One"},{"family":"Rubik"},{"family":"Rubik 80s Fade"},{"family":"Rubik Beastly"},{"family":"Rubik Broken Fax"},{"family":"Rubik Bubbles"},{"family":"Rubik Burned"},{"family":"Rubik Dirt"},{"family":"Rubik Distressed"},{"family":"Rubik Doodle Shadow"},{"family":"Rubik Doodle Triangles"},{"family":"Rubik Gemstones"},{"family":"Rubik Glitch"},{"family":"Rubik Glitch Pop"},{"family":"Rubik Iso"},{"family":"Rubik Lines"},{"family":"Rubik Maps"},{"family":"Rubik Marker Hatch"},{"family":"Rubik Maze"},{"family":"Rubik Microbe"},{"family":"Rubik Mono One"},{"family":"Rubik Moonrocks"},{"family":"Rubik Pixels"},{"family":"Rubik Puddles"},{"family":"Rubik Scribble"},{"family":"Rubik Spray Paint"},{"family":"Rubik Storm"},{"family":"Rubik Vinyl"},{"family":"Rubik Wet Paint"},{"family":"Ruda"},{"family":"Rufina"},{"family":"Ruge Boogie"},{"family":"Ruluko"},{"family":"Rum Raisin"},{"family":"Ruslan Display"},{"family":"Russo One"},{"family":"Ruthie"},{"family":"Ruwudu"},{"family":"Rye"},{"family":"STIX Two Text"},{"family":"SUSE"},{"family":"Sacramento"},{"family":"Sahitya"},{"family":"Sail"},{"family":"Saira"},{"family":"Saira Condensed"},{"family":"Saira Extra Condensed"},{"family":"Saira Semi Condensed"},{"family":"Saira Stencil One"},{"family":"Salsa"},{"family":"Sanchez"},{"family":"Sancreek"},{"family":"Sankofa Display"},{"family":"Sansita"},{"family":"Sansita Swashed"},{"family":"Sarabun"},{"family":"Sarala"},{"family":"Sarina"},{"family":"Sarpanch"},{"family":"Sassy Frass"},{"family":"Satisfy"},{"family":"Sawarabi Gothic"},{"family":"Sawarabi Mincho"},{"family":"Scada"},{"family":"Scheherazade New"},{"family":"Schibsted Grotesk"},{"family":"Schoolbell"},{"family":"Scope One"},{"family":"Seaweed Script"},{"family":"Secular One"},{"family":"Sedan"},{"family":"Sedan SC"},{"family":"Sedgwick Ave"},{"family":"Sedgwick Ave Display"},{"family":"Sen"},{"family":"Send Flowers"},{"family":"Sevillana"},{"family":"Seymour One"},{"family":"Shadows Into Light"},{"family":"Shadows Into Light Two"},{"family":"Shalimar"},{"family":"Shantell Sans"},{"family":"Shanti"},{"family":"Share"},{"family":"Share Tech"},{"family":"Share Tech Mono"},{"family":"Shippori Antique"},{"family":"Shippori Antique B1"},{"family":"Shippori Mincho"},{"family":"Shippori Mincho B1"},{"family":"Shizuru"},{"family":"Shojumaru"},{"family":"Short Stack"},{"family":"Shrikhand"},{"family":"Siemreap"},{"family":"Sigmar"},{"family":"Sigmar One"},{"family":"Signika"},{"family":"Signika Negative"},{"family":"Silkscreen"},{"family":"Simonetta"},{"family":"Single Day"},{"family":"Sintony"},{"family":"Sirin Stencil"},{"family":"Six Caps"},{"family":"Sixtyfour"},{"family":"Sixtyfour Convergence"},{"family":"Skranji"},{"family":"Slabo 13px"},{"family":"Slabo 27px"},{"family":"Slackey"},{"family":"Slackside One"},{"family":"Smokum"},{"family":"Smooch"},{"family":"Smooch Sans"},{"family":"Smythe"},{"family":"Sniglet"},{"family":"Snippet"},{"family":"Snowburst One"},{"family":"Sofadi One"},{"family":"Sofia"},{"family":"Sofia Sans"},{"family":"Sofia Sans Condensed"},{"family":"Sofia Sans Extra Condensed"},{"family":"Sofia Sans Semi Condensed"},{"family":"Solitreo"},{"family":"Solway"},{"family":"Sometype Mono"},{"family":"Song Myung"},{"family":"Sono"},{"family":"Sonsie One"},{"family":"Sora"},{"family":"Sorts Mill Goudy"},{"family":"Sour Gummy"},{"family":"Source Code Pro"},{"family":"Source Sans 3"},{"family":"Source Serif 4"},{"family":"Space Grotesk"},{"family":"Space Mono"},{"family":"Special Elite"},{"family":"Spectral"},{"family":"Spectral SC"},{"family":"Spicy Rice"},{"family":"Spinnaker"},{"family":"Spirax"},{"family":"Splash"},{"family":"Spline Sans"},{"family":"Spline Sans Mono"},{"family":"Squada One"},{"family":"Square Peg"},{"family":"Sree Krushnadevaraya"},{"family":"Sriracha"},{"family":"Srisakdi"},{"family":"Staatliches"},{"family":"Stalemate"},{"family":"Stalinist One"},{"family":"Stardos Stencil"},{"family":"Stick"},{"family":"Stick No Bills"},{"family":"Stint Ultra Condensed"},{"family":"Stint Ultra Expanded"},{"family":"Stoke"},{"family":"Strait"},{"family":"Style Script"},{"family":"Stylish"},{"family":"Sue Ellen Francisco"},{"family":"Suez One"},{"family":"Sulphur Point"},{"family":"Sumana"},{"family":"Sunflower"},{"family":"Sunshiney"},{"family":"Supermercado One"},{"family":"Sura"},{"family":"Suranna"},{"family":"Suravaram"},{"family":"Suwannaphum"},{"family":"Swanky and Moo Moo"},{"family":"Syncopate"},{"family":"Syne"},{"family":"Syne Mono"},{"family":"Syne Tactile"},{"family":"Tac One"},{"family":"Tai Heritage Pro"},{"family":"Tajawal"},{"family":"Tangerine"},{"family":"Tapestry"},{"family":"Taprom"},{"family":"Tauri"},{"family":"Taviraj"},{"family":"Teachers"},{"family":"Teko"},{"family":"Tektur"},{"family":"Telex"},{"family":"Tenali Ramakrishna"},{"family":"Tenor Sans"},{"family":"Text Me One"},{"family":"Texturina"},{"family":"Thasadith"},{"family":"The Girl Next Door"},{"family":"The Nautigal"},{"family":"Tienne"},{"family":"Tillana"},{"family":"Tilt Neon"},{"family":"Tilt Prism"},{"family":"Tilt Warp"},{"family":"Timmana"},{"family":"Tinos"},{"family":"Tiny5"},{"family":"Tiro Bangla"},{"family":"Tiro Devanagari Hindi"},{"family":"Tiro Devanagari Marathi"},{"family":"Tiro Devanagari Sanskrit"},{"family":"Tiro Gurmukhi"},{"family":"Tiro Kannada"},{"family":"Tiro Tamil"},{"family":"Tiro Telugu"},{"family":"Titan One"},{"family":"Titillium Web"},{"family":"Tomorrow"},{"family":"Tourney"},{"family":"Trade Winds"},{"family":"Train One"},{"family":"Trirong"},{"family":"Trispace"},{"family":"Trocchi"},{"family":"Trochut"},{"family":"Truculenta"},{"family":"Trykker"},{"family":"Tsukimi Rounded"},{"family":"Tulpen One"},{"family":"Turret Road"},{"family":"Twinkle Star"},{"family":"Ubuntu"},{"family":"Ubuntu Condensed"},{"family":"Ubuntu Mono"},{"family":"Ubuntu Sans"},{"family":"Ubuntu Sans Mono"},{"family":"Uchen"},{"family":"Ultra"},{"family":"Unbounded"},{"family":"Uncial Antiqua"},{"family":"Underdog"},{"family":"Unica One"},{"family":"UnifrakturCook"},{"family":"UnifrakturMaguntia"},{"family":"Unkempt"},{"family":"Unlock"},{"family":"Unna"},{"family":"Updock"},{"family":"Urbanist"},{"family":"VT323"},{"family":"Vampiro One"},{"family":"Varela"},{"family":"Varela Round"},{"family":"Varta"},{"family":"Vast Shadow"},{"family":"Vazirmatn"},{"family":"Vesper Libre"},{"family":"Viaoda Libre"},{"family":"Vibes"},{"family":"Vibur"},{"family":"Victor Mono"},{"family":"Vidaloka"},{"family":"Viga"},{"family":"Vina Sans"},{"family":"Voces"},{"family":"Volkhov"},{"family":"Vollkorn"},{"family":"Vollkorn SC"},{"family":"Voltaire"},{"family":"Vujahday Script"},{"family":"Waiting for the Sunrise"},{"family":"Wallpoet"},{"family":"Walter Turncoat"},{"family":"Warnes"},{"family":"Water Brush"},{"family":"Waterfall"},{"family":"Wavefont"},{"family":"Wellfleet"},{"family":"Wendy One"},{"family":"Whisper"},{"family":"WindSong"},{"family":"Wire One"},{"family":"Wittgenstein"},{"family":"Wix Madefor Display"},{"family":"Wix Madefor Text"},{"family":"Work Sans"},{"family":"Workbench"},{"family":"Xanh Mono"},{"family":"Yaldevi"},{"family":"Yanone Kaffeesatz"},{"family":"Yantramanav"},{"family":"Yarndings 12"},{"family":"Yarndings 12 Charted"},{"family":"Yarndings 20"},{"family":"Yarndings 20 Charted"},{"family":"Yatra One"},{"family":"Yellowtail"},{"family":"Yeon Sung"},{"family":"Yeseva One"},{"family":"Yesteryear"},{"family":"Yomogi"},{"family":"Young Serif"},{"family":"Yrsa"},{"family":"Ysabeau"},{"family":"Ysabeau Infant"},{"family":"Ysabeau Office"},{"family":"Ysabeau SC"},{"family":"Yuji Boku"},{"family":"Yuji Hentaigana Akari"},{"family":"Yuji Hentaigana Akebono"},{"family":"Yuji Mai"},{"family":"Yuji Syuku"},{"family":"Yusei Magic"},{"family":"ZCOOL KuaiLe"},{"family":"ZCOOL QingKe HuangYou"},{"family":"ZCOOL XiaoWei"},{"family":"Zain"},{"family":"Zen Antique"},{"family":"Zen Antique Soft"},{"family":"Zen Dots"},{"family":"Zen Kaku Gothic Antique"},{"family":"Zen Kaku Gothic New"},{"family":"Zen Kurenaido"},{"family":"Zen Loop"},{"family":"Zen Maru Gothic"},{"family":"Zen Old Mincho"},{"family":"Zen Tokyo Zoo"},{"family":"Zeyada"},{"family":"Zhi Mang Xing"},{"family":"Zilla Slab"},{"family":"Zilla Slab Highlight"}]');Ht&&!qiBlocksEditor.vars.googleFontsDisabled&&(qiBlocksEditor.vars.fontOptions.push({label:(0,e.__)("Google Fonts","qi-blocks"),value:"Google"}),Ht.map(e=>{qiBlocksEditor.vars.fontOptions.push({label:e.family,value:e.family})}))})()})();
  • qi-blocks/trunk/assets/dist/main.js

    r3820229 r3837454  
    1 (()=>{"use strict";const e={n:t=>{const o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{if(Array.isArray(o))for(var i=0;i<o.length;){var n=o[i++],s=o[i++];e.o(t,n)?0===s&&i++:0===s?Object.defineProperty(t,n,{enumerable:!0,value:o[i++]}):Object.defineProperty(t,n,{enumerable:!0,get:s})}else for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.hasOwn(e,t)},t=jQuery;var o=e.n(t);const i={disable:function(){window.addEventListener&&window.addEventListener("wheel",i.preventDefaultValue,{passive:!1}),document.onkeydown=i.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",i.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){const t=[37,38,39,40];for(let o=t.length;o--;)if(e.keyCode===t[o])return void i.preventDefaultValue(e)}},n=i,s={check:function(e,t,i){if("object"!=typeof e||""===e||e.length||(e=o()(e)),e.length){const o=void 0!==e.data("viewport-offset")?e.data("viewport-offset"):.15,n=new IntersectionObserver(function(o){!0===o[0].isIntersecting&&(t.call(e),!1!==i&&n.disconnect())},{threshold:[o]});n.observe(e[0])}}},r={check:function(e,t){if("object"!=typeof e||""===e||e.length||(e=o()(e)),e.length){"function"!=typeof e.find&&(e=o()(e));const i=e.find("img");if(i.length){let o=0;for(let n=0;n<i.length;n++){let s=i[n];if(s.complete)o++,o===i.length&&t.call(e);else{let n=new Image;const r=function(){o++,o===i.length&&t.call(e)};n.addEventListener("load",r,!1),n.addEventListener("error",r,!1),n.src=s.src}}}else t.call(e)}}};function l(e=document){try{if("editor-canvas"===window.frameElement?.getAttribute?.("name"))return!0}catch(e){}const t=e?.body;return!!t&&(!!t.classList.contains("wp-admin")||(!!t.classList.contains("block-editor-iframe__body")||!!t.classList.contains("editor-styles-wrapper")))}const a={swiper:"",isEditorMode:!1,document,init:function(e,t){e&&(a.document=e);const o=e||document;this.holder=o.querySelectorAll(".qodef-block .qodef-block-swiper"),this.holder.length&&[...this.holder].map(e=>{a.initItem(e,t)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e,"> .qodef-block .qodef-block-swiper",!0)),e},initItem:function(e,t,o=0){const i=e;"object"==typeof qiBlocksEditor&&qiBlocksEditor.qodefGetCurrentBlockElement?a.document=qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():t||(a.document=document),a.isEditorMode=l(a.document),e=a.getRealCurrentItem(e);const n=NodeList.prototype.isPrototypeOf(e)&&0===e.length;if(!e||n||""===e){if(o<25&&"string"==typeof i&&""!==i){const e=!!a.isEditorMode&&qiBlocksEditor.qodefGetCurrentBlockElement.getIframe();setTimeout(()=>{a.initItem(i,t,o+1)},e?120:60)}return}if(t||(a.document=document),l(a.document)&&(a.isEditorMode=!0),!e)return;const s=!!a.isEditorMode&&qiBlocksEditor.qodefGetCurrentBlockElement.getIframe();let r=e;NodeList.prototype.isPrototypeOf(e)||s?r&&void 0===r.length&&(r=[e]):r=[e];const c="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;r.forEach(e=>{c.qodefWaitForImages.check(e,function(){setTimeout(()=>{const o=a.getOptions(e),i=a.getEvents(e,o);void 0!==e&&"object"==typeof e.swiper&&t&&e.swiper.destroy();const n=(t=0)=>{if("undefined"!=typeof Swiper)try{new Swiper(e,Object.assign(o,i))}catch(t){a.isEditorMode&&e.classList.add("qodef--initialized")}else t<40?setTimeout(()=>{n(t+1)},100):a.isEditorMode&&e.classList.add("qodef--initialized")};n()},s?800:200)})})},getOptions:function(e){let t=void 0!==e.getAttribute("data-options")?JSON.parse(e.getAttribute("data-options")):{},o=void 0!==t.direction&&""!==t.direction?t.direction:"horizontal",i=void 0!==t.partialValue&&""!==t.partialValue?parseFloat(t.partialValue):0,n=void 0!==t.disablePartialValue&&""!==t.disablePartialValue?parseInt(t.disablePartialValue):"never",s=void 0!==t.spaceBetween&&""!==t.spaceBetween?t.spaceBetween:0,r=void 0!==t.spaceBetweenTablet&&""!==t.spaceBetweenTablet?t.spaceBetweenTablet:s,l=void 0!==t.spaceBetweenMobile&&""!==t.spaceBetweenMobile?t.spaceBetweenMobile:s,c=void 0!==t.slidesPerView&&""!==t.slidesPerView?"auto"===t.slidesPerView?"auto":parseInt(t.slidesPerView)+i:1+i,d=void 0!==t.centeredSlides&&""!==t.centeredSlides&&t.centeredSlides,u=void 0!==t.sliderScroll&&""!==t.sliderScroll&&t.sliderScroll,f=void 0!==t.effect&&""!==t.effect?t.effect:"slide",p=void 0===t.loop||""===t.loop||t.loop,w=void 0===t.autoplay||""===t.autoplay||t.autoplay,g=void 0!==t.speed&&""!==t.speed?parseInt(t.speed,10):5e3,m=void 0!==t.speedAnimation&&""!==t.speedAnimation?parseInt(t.speedAnimation,10):800,h=void 0!==t.customStages&&""!==t.customStages&&t.customStages,b=void 0===t.dragging||""===t.dragging||t.dragging,q=void 0!==t.outsideNavigation&&"yes"===t.outsideNavigation,y=q?".swiper-button-next-"+t.unique:e.querySelector(".swiper-button-next"),v=q?".swiper-button-prev-"+t.unique:e.querySelector(".swiper-button-prev"),k=void 0!==t.outsidePagination&&"yes"===t.outsidePagination?".swiper-pagination-"+t.unique:e.querySelector(".swiper-pagination");!1!==w&&5e3!==g?w={delay:g,disableOnInteraction:!1}:!1!==w&&(w={disableOnInteraction:!1});let E=void 0!==t.slidesPerView1440&&""!==t.slidesPerView1440?parseInt(t.slidesPerView1440,10)+i:"auto"===t.slidesPerView?"auto":5+i,B=void 0!==t.slidesPerView1366&&""!==t.slidesPerView1366?parseInt(t.slidesPerView1366,10)+i:"auto"===t.slidesPerView?"auto":4+i,S=void 0!==t.slidesPerView1024&&""!==t.slidesPerView1024?parseInt(t.slidesPerView1024,10)+i:"auto"===t.slidesPerView?"auto":3+i,L=void 0!==t.slidesPerView768&&""!==t.slidesPerView768?parseInt(t.slidesPerView768,10)+i:"auto"===t.slidesPerView?"auto":2+i,I=void 0!==t.slidesPerView680&&""!==t.slidesPerView680?parseInt(t.slidesPerView680,10)+i:"auto"===t.slidesPerView?"auto":1+i,P=void 0!==t.slidesPerView480&&""!==t.slidesPerView480?parseInt(t.slidesPerView480,10)+i:"auto"===t.slidesPerView?"auto":1+i;if(a.isEditorMode&&(a.document?.body?.classList.contains("qi-preview-screen-tablet")&&(c=c<3?c:S,s=r),a.document?.body?.classList.contains("qi-preview-screen-mobile")&&(c=P,s=l),w=!1),h||(c<2?(E=c,B=c,S=c,L=c):c<3?(E=c,B=c,S=c):c<4?(E=c,B=c):c<5&&(E=c)),"never"!==n)switch(n){case 1024:S=Math.floor(S),a.isEditorMode&&a.document?.body.classList.contains("qi-preview-screen-tablet")&&(c=Math.floor(c<3?c:S));break;case 768:L=Math.floor(L);break;case 680:I=Math.floor(I);break;case 480:P=Math.floor(P),a.isEditorMode&&a.document?.body.classList.contains("qi-preview-screen-mobile")&&(c=Math.floor(P))}let M={direction:o,slidesPerView:c,centeredSlides:d,sliderScroll:u,loopedSlides:"12",spaceBetween:s,effect:f,autoplay:w,loop:p,speed:m,navigation:{nextEl:y,prevEl:v},pagination:{el:k,type:"bullets",clickable:!0},grabCursor:!a.isEditorMode,simulateTouch:!a.isEditorMode&&b,allowTouchMove:!a.isEditorMode,preventClicks:!a.isEditorMode,preventClicksPropagation:!a.isEditorMode,touchStartPreventDefault:!a.isEditorMode,noSwiping:a.isEditorMode,noSwipingClass:"swiper-slide",breakpoints:{0:{slidesPerView:P,spaceBetween:l},481:{slidesPerView:I,spaceBetween:l},681:{slidesPerView:L,spaceBetween:r},769:{slidesPerView:S,spaceBetween:r},1025:{slidesPerView:B},1367:{slidesPerView:E},1441:{slidesPerView:c}}};const V=a.getSliderDatas(e),x=Object.assign({},M,V);return x.pagination=M.pagination,x.navigation=M.navigation,Object.prototype.hasOwnProperty.call(M,"scrollbar")&&(x.scrollbar=M.scrollbar),x},bindEditorSliderControls:function(e){if(!a.isEditorMode||!e)return;const t=e.closest(".qodef-block")||e,o=".swiper-button-prev, .swiper-button-next, .swiper-pagination, .swiper-pagination-bullet";if(t.querySelectorAll(o).forEach(e=>{e.style.pointerEvents="auto"}),t.dataset.qiEditorSliderControlBound)return;t.dataset.qiEditorSliderControlBound="1";const i=i=>{const n=i.target.closest(o);if(n&&t.contains(n)&&(i.stopPropagation(),"click"===i.type&&e.swiper))if(n.classList.contains("swiper-button-next"))e.swiper.slideNext();else if(n.classList.contains("swiper-button-prev"))e.swiper.slidePrev();else if(n.classList.contains("swiper-pagination-bullet")){const o=t.querySelectorAll(".swiper-pagination-bullet"),i=Array.prototype.indexOf.call(o,n);i>-1&&(e.swiper.slideToLoop?e.swiper.slideToLoop(i):e.swiper.slideTo(i))}};["pointerdown","mousedown","click"].forEach(e=>{t.addEventListener(e,i,!0)})},getSliderDatas:function(e){const t=o()(e).data(),i={},n={direction:"string",slidesPerView:"numberOrAuto",spaceBetween:"number",speed:"number",loop:"boolean",autoplay:"boolean",effect:"string",centeredSlides:"boolean",grabCursor:"boolean",allowTouchMove:"boolean",simulateTouch:"boolean",freeMode:"boolean",watchOverflow:"boolean",resistanceRatio:"number",threshold:"number",longSwipesRatio:"number",followFinger:"boolean",shortSwipes:"boolean",longSwipes:"boolean",roundLengths:"boolean",watchSlidesProgress:"boolean",watchSlidesVisibility:"boolean"},s=["options","pagination","navigation","scrollbar","a11y","keyboard","mousewheel","hashNavigation","history","controller","thumbs","virtual","zoom","lazy","parallax","cubeEffect","coverflowEffect","flipEffect","creativeEffect","cardsEffect"];for(const e in t){if(!Object.prototype.hasOwnProperty.call(t,e))continue;if(s.includes(e)||0===e.indexOf("render"))continue;if(!Object.prototype.hasOwnProperty.call(n,e))continue;const o=t[e];if(void 0===o||""===o||"object"==typeof o&&null!==o)continue;const r=n[e];"boolean"===r&&"boolean"!=typeof o||("number"===r&&"number"!=typeof o||"string"===r&&"string"!=typeof o||"numberOrAuto"===r&&"number"!=typeof o&&"auto"!==o||(i[e]=o))}return i},getEvents:function(e,t){return{on:{beforeInit:function(){if("vertical"===t.direction){let o=0,i=0,n=e.querySelectorAll(".qodef-e");n.length&&n.forEach(e=>{i=e.offsetHeight,i>o&&(o=i)}),1===t.slidesPerView&&(e.style.height=o+"px",n.length&&n.forEach(e=>{e.style.height=o+"px"}))}},init:function(){if(e.classList.add("qodef--initialized"),a.isEditorMode?(a.bindEditorSliderControls(e),"object"==typeof qiBlocksEditor.qodefSetEditorLinkBehavior&&qiBlocksEditor.qodefSetEditorLinkBehavior.linkBehavior(e.querySelectorAll("a, button"))):qiBlocks?.qodefLightboxPopup&&qiBlocks.qodefLightboxPopup.init(e.parentNode),"object"!=typeof qiBlocksEditor&&t.sliderScroll){let i=!1,n=o()(e),s=e.classList.contains("qodef-block")?n:n.parents(".qodef-block"),r=s.hasClass("qodef--focus-in-viewport"),l=s.offset().top,a=s.offset().top+s.outerHeight();r&&window.addEventListener("wheel",function(e){let t=o()(window).scrollTop()+e.deltaY;(e.deltaY>0&&t<l||e.deltaY<0&&a<t+qiBlocks.windowHeight)&&qiBlocks.qodefIsInViewport.check(s,function(){qiBlocks.qodefScroll.disable(),o()("html, body").stop().animate({scrollTop:l},1200,function(){qiBlocks.qodefScroll.enable()})},!0)},{passive:!1}),n.off().on("wheel",function(n){t.loop?n.preventDefault():((n.originalEvent.deltaY<0&&!e.swiper.isBeginning||n.originalEvent.deltaY>0&&!e.swiper.isEnd)&&n.preventDefault(),r&&(n.originalEvent.deltaY<0&&e.swiper.isBeginning?(qiBlocks.qodefScroll.disable(),o()("html, body").stop().animate({scrollTop:Math.max(0,l-qiBlocks.windowHeight)},1200,function(){qiBlocks.qodefScroll.enable()})):n.originalEvent.deltaY>0&&e.swiper.isEnd&&(qiBlocks.qodefScroll.disable(),o()("html, body").stop().animate({scrollTop:a},1200,function(){qiBlocks.qodefScroll.enable()})))),i||(i=!0,n.originalEvent.deltaY>0?e.swiper.slideNext():e.swiper.slidePrev(),setTimeout(function(){i=!1},1e3))})}}}}}},c=a,d={masonry:[],isEditorMode:!1,init:function(){this.holder=document.querySelectorAll(".qodef-gutenberg-masonry-layout"),this.holder.length&&[...this.holder].map(e=>{d.createMasonry(e)})},reLayout:function(){const e=d.masonry;"object"==typeof e&&Object.keys(e).length&&Object.values(e).map(e=>{setTimeout(()=>{const t=e.element.querySelectorAll(".qodef-gutenberg-column"),o=parseFloat(window.getComputedStyle(e.element.querySelector(".qodef-gutenberg-masonry-sizer")).getPropertyValue("width")),i=parseInt(window.getComputedStyle(e.element).getPropertyValue("column-gap"),10);o&&(t.forEach(e=>{e.style.width=o+"px"}),e.element.parentNode.classList.contains("qodef-items--fixed")&&d.setFixedImageSize(e.element,t[0],o,i)),setTimeout(()=>{e.layout()},400)},400)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e,"> .qodef-block .qodef-gutenberg-masonry-layout")),e},initItem:function(e,t){const o=t||"string"==typeof e?e:"";(e=d.getRealCurrentItem(e))&&(l()&&(d.isEditorMode=!0),o&&d.masonry[o]&&e?d.reInit(e,o,t):d.createMasonry(e,o))},reInit:function(e,t,o){const i=(d.isEditorMode?qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():document).querySelectorAll(".qodef-gutenberg-masonry-layout");"function"==typeof Isotope&&i.length&&("object"==typeof d.masonry[t]&&"reinit"===o?d.masonry[t].layout():l()||!0!==e?d.createMasonry(e,t):d.masonry[t].layout())},createMasonry:function(e,t){if(!e)return;const o=e.querySelector(".qodef-gutenberg-row");if(o){const i=o.querySelector(".qodef-gutenberg-column");("object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor).qodefWaitForImages.check(o,function(){d.createMasonryLogic(e,o,i,t)})}},createMasonryLogic:function(e,t,o,i){if("function"==typeof Isotope&&(d.isEditorMode||!t.classList.contains("qodef--masonry-init"))){const n=t.querySelectorAll(".qodef-gutenberg-column"),s=parseFloat(window.getComputedStyle(t.querySelector(".qodef-gutenberg-masonry-sizer")).getPropertyValue("width")),r=parseInt(window.getComputedStyle(t).getPropertyValue("column-gap"),10);n.forEach(e=>{e.style.width=s+"px"}),e.classList.contains("qodef-items--fixed")&&d.setFixedImageSize(t,o,s,r);const l=new Isotope(t,{layoutMode:"packery",itemSelector:".qodef-gutenberg-column",percentPosition:!0,packery:{columnWidth:".qodef-gutenberg-masonry-sizer",gutter:r}});d.masonry[i]=l,setTimeout(()=>{l.layout()},d.isEditorMode?600:0),t.classList.contains("qodef--masonry-init")||t.classList.add("qodef--masonry-init")}},setFixedImageSize:function(e,t,o,i){const n=d.isEditorMode?document.body.classList.contains("qi-preview-screen-tablet")||document.body.classList.contains("qi-preview-screen-mobile"):qiBlocks.windowWidth<=680,s=e.parentElement.classList.contains("qodef-col-num--1"),r=e.querySelectorAll(".qodef-gutenberg-column");r&&r.forEach(e=>{let t=o,r=o;s?(e.classList.contains("qodef-item--landscape")&&(r=Math.round(o/2)),e.classList.contains("qodef-item--portrait")&&(r=Math.round(2*o))):(e.classList.contains("qodef-item--landscape")&&(t=Math.round(2*o+i),n&&(t=Math.round(o),r=Math.round(o/2))),e.classList.contains("qodef-item--portrait")&&(r=Math.round(2*o+i)),e.classList.contains("qodef-item--huge-square")&&(t=Math.round(2*o+i),r=Math.round(2*o+i),n&&(t=Math.round(o),r=Math.round(o)))),e.style.width=t+"px",e.style.height=r+"px"})}},u=d;var f={init:function(e){e?setTimeout(()=>{f.initItem(e)},2e3):(this.holder=document.querySelectorAll(".qi-block-fslightbox-popup"),this.holder.length&&[...this.holder].map(e=>{f.initItem(e)}))},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e)),e},initItem:function(e,t){if(!l("object"==typeof qiBlocksEditor&&qiBlocksEditor.qodefGetCurrentBlockElement?qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():document)&&(e=f.getRealCurrentItem(e))&&"undefined"!=typeof refreshFsLightbox){refreshFsLightbox();for(const e in fsLightboxInstances){let t=fsLightboxInstances[e].props.sources,o=[],i=0;t.forEach(e=>{o.includes(e)||(o.push(e),i++)});let n=i!==t.length?t.length-i:0;fsLightboxInstances[e].props.onOpen=function(){const t=fsLightboxInstances[e].elements.container.querySelectorAll(".fslightbox-slide-number-container");if(n>0&&t.length){const o=t[0].querySelector(".fslightbox-flex-centered > *:first-child"),s=t[0].querySelector(".fslightbox-flex-centered > *:last-child");new MutationObserver(()=>{let e=Number(o.innerText),t=e;e>i&&(t=n>i&&e>n?e-n:e-i),o.innerText=t,s.innerText=i}).observe(fsLightboxInstances[e].elements.container,{subtree:!0,attributes:!0,attributeFilter:["class"]})}},fsLightboxInstances[e].props.onInit=()=>{const t=fsLightboxInstances[e].elements.container,o=t.querySelectorAll(".fslightbox-slide-btn-container-previous > .fslightbox-slide-btn"),i=t.querySelectorAll(".fslightbox-slide-btn-container-next > .fslightbox-slide-btn"),n=t.querySelectorAll('[title="Close"]'),s="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;o.length&&(o[0].innerHTML=s.vars.arrowLeftIcon),i.length&&(i[0].innerHTML=s.vars.arrowRightIcon),n.length&&(n[0].innerHTML=s.vars.closeIcon)}}}}};const p=f,w={init:function(){l()||(this.holder=document.querySelectorAll(".qodef-image--hover-follow-info"),this.holder.length&&[...this.holder].map(e=>{w.initItem(e)}))},initItem:function(e){if(window.innerWidth>1024){const t=e.querySelectorAll(".qodef-image-wrapper");t.length&&[...t].map(e=>{w.initItemBehavior(e)})}},initItemBehavior:function(e){if(e){const t=e.querySelector(".qodef-e-content");t&&e.addEventListener("mousemove",e=>{e.clientX+t.offsetWidth+20>window.innerWidth?t.classList.add("qodef--right"):t.classList.remove("qodef--right"),t.style.top=e.clientY+20+"px",t.style.left=e.clientX+20+"px"})}}},g=w;void 0===window.qiBlocks&&(window.qiBlocks={}),void 0===window.qodefBlocksEmptyCallback&&(window.qodefBlocksEmptyCallback=function(){}),qiBlocks.body=o()("body"),qiBlocks.html=o()("html"),qiBlocks.windowWidth=o()(window).width(),qiBlocks.windowHeight=o()(window).height(),qiBlocks.scroll=0,qiBlocks.qodefScroll=n,qiBlocks.qodefIsInViewport=s,qiBlocks.qodefWaitForImages=r,qiBlocks.qodefSwiper=c,qiBlocks.qodefMasonryLayout=u,qiBlocks.qodefLightboxPopup=p,o()(document).ready(function(){qiBlocks.scroll=o()(window).scrollTop(),m.init(),c.init(),u.init(),l()||(p.init(),g.init())}),o()(window).resize(function(){qiBlocks.windowWidth=o()(window).width(),qiBlocks.windowHeight=o()(window).height(),u.reInit(!0),g.init()}),o()(window).scroll(function(){qiBlocks.scroll=o()(window).scrollTop()});const m={init:function(){const e=document.querySelectorAll(".qodef-entrance-animation--on");e.length&&e.forEach(e=>{m.setClasses(e)})},setClasses:function(e){e.classList.contains("qodef-animation--appeared")||qiBlocks.qodefIsInViewport.check(e,function(){e.classList.add("qodef-animation--appeared"),e.getAttribute("data-animation")&&e.classList.add("animate__"+e.getAttribute("data-animation"))})}};qiBlocks.qodefTriggerAnimation=m})();
     1(()=>{"use strict";const e={n:t=>{const o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{if(Array.isArray(o))for(var i=0;i<o.length;){var n=o[i++],s=o[i++];e.o(t,n)?0===s&&i++:0===s?Object.defineProperty(t,n,{enumerable:!0,value:o[i++]}):Object.defineProperty(t,n,{enumerable:!0,get:s})}else for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.hasOwn(e,t)},t=jQuery;var o=e.n(t);const i={disable:function(){window.addEventListener&&window.addEventListener("wheel",i.preventDefaultValue,{passive:!1}),document.onkeydown=i.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",i.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){const t=[37,38,39,40];for(let o=t.length;o--;)if(e.keyCode===t[o])return void i.preventDefaultValue(e)}},n=i,s={check:function(e,t,i){if("object"!=typeof e||""===e||e.length||(e=o()(e)),e.length){const o=void 0!==e.data("viewport-offset")?e.data("viewport-offset"):.15,n=new IntersectionObserver(function(o){!0===o[0].isIntersecting&&(t.call(e),!1!==i&&n.disconnect())},{threshold:[o]});n.observe(e[0])}}},r={check:function(e,t){if("object"!=typeof e||""===e||e.length||(e=o()(e)),e.length){"function"!=typeof e.find&&(e=o()(e));const i=e.find("img");if(i.length){let o=0;for(let n=0;n<i.length;n++){let s=i[n];if(s.complete)o++,o===i.length&&t.call(e);else{let n=new Image;const r=function(){o++,o===i.length&&t.call(e)};n.addEventListener("load",r,!1),n.addEventListener("error",r,!1),n.src=s.src}}}else t.call(e)}}};function l(e=document){try{if("editor-canvas"===window.frameElement?.getAttribute?.("name"))return!0}catch(e){}const t=e?.body;return!!t&&(!!t.classList.contains("wp-admin")||(!!t.classList.contains("block-editor-iframe__body")||!!t.classList.contains("editor-styles-wrapper")))}const a={swiper:"",isEditorMode:!1,document,init:function(e,t){e&&(a.document=e);const o=e||document;this.holder=o.querySelectorAll(".qodef-block .qodef-block-swiper"),this.holder.length&&[...this.holder].map(e=>{a.initItem(e,t)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e,"> .qodef-block .qodef-block-swiper",!0)),e},initItem:function(e,t,o=0){const i=e;"object"==typeof qiBlocksEditor&&qiBlocksEditor.qodefGetCurrentBlockElement?a.document=qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():t||(a.document=document),a.isEditorMode=l(a.document),e=a.getRealCurrentItem(e);const n=NodeList.prototype.isPrototypeOf(e)&&0===e.length;if(!e||n||""===e){if(o<25&&"string"==typeof i&&""!==i){const e=!!a.isEditorMode&&qiBlocksEditor.qodefGetCurrentBlockElement.getIframe();setTimeout(()=>{a.initItem(i,t,o+1)},e?120:60)}return}if(t||(a.document=document),l(a.document)&&(a.isEditorMode=!0),!e)return;const s=!!a.isEditorMode&&qiBlocksEditor.qodefGetCurrentBlockElement.getIframe();let r=e;NodeList.prototype.isPrototypeOf(e)||s?r&&void 0===r.length&&(r=[e]):r=[e];const c="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;r.forEach(e=>{c.qodefWaitForImages.check(e,function(){setTimeout(()=>{const o=a.getOptions(e),i=a.getEvents(e,o);void 0!==e&&"object"==typeof e.swiper&&t&&e.swiper.destroy();const n=(t=0)=>{if("undefined"!=typeof Swiper)try{new Swiper(e,Object.assign(o,i))}catch(t){a.isEditorMode&&e.classList.add("qodef--initialized")}else t<40?setTimeout(()=>{n(t+1)},100):a.isEditorMode&&e.classList.add("qodef--initialized")};n()},s?800:200)})})},getOptions:function(e){let t=void 0!==e.getAttribute("data-options")?JSON.parse(e.getAttribute("data-options")):{},o=void 0!==t.direction&&""!==t.direction?t.direction:"horizontal",i=void 0!==t.partialValue&&""!==t.partialValue?parseFloat(t.partialValue):0,n=void 0!==t.disablePartialValue&&""!==t.disablePartialValue?parseInt(t.disablePartialValue):"never",s=void 0!==t.spaceBetween&&""!==t.spaceBetween?t.spaceBetween:0,r=void 0!==t.spaceBetweenTablet&&""!==t.spaceBetweenTablet?t.spaceBetweenTablet:s,l=void 0!==t.spaceBetweenMobile&&""!==t.spaceBetweenMobile?t.spaceBetweenMobile:s,c=void 0!==t.slidesPerView&&""!==t.slidesPerView?"auto"===t.slidesPerView?"auto":parseInt(t.slidesPerView)+i:1+i,d=void 0!==t.centeredSlides&&""!==t.centeredSlides&&t.centeredSlides,u=void 0!==t.sliderScroll&&""!==t.sliderScroll&&t.sliderScroll,f=void 0!==t.effect&&""!==t.effect?t.effect:"slide",p=void 0===t.loop||""===t.loop||t.loop,w=void 0===t.autoplay||""===t.autoplay||t.autoplay,g=void 0!==t.speed&&""!==t.speed?parseInt(t.speed,10):5e3,m=void 0!==t.speedAnimation&&""!==t.speedAnimation?parseInt(t.speedAnimation,10):800,h=void 0!==t.customStages&&""!==t.customStages&&t.customStages,b=void 0===t.dragging||""===t.dragging||t.dragging,q=void 0!==t.outsideNavigation&&"yes"===t.outsideNavigation,y=q?".swiper-button-next-"+t.unique:e.querySelector(".swiper-button-next"),v=q?".swiper-button-prev-"+t.unique:e.querySelector(".swiper-button-prev"),k=void 0!==t.outsidePagination&&"yes"===t.outsidePagination?".swiper-pagination-"+t.unique:e.querySelector(".swiper-pagination");!1!==w&&5e3!==g?w={delay:g,disableOnInteraction:!1}:!1!==w&&(w={disableOnInteraction:!1});let E=void 0!==t.slidesPerView1440&&""!==t.slidesPerView1440?parseInt(t.slidesPerView1440,10)+i:"auto"===t.slidesPerView?"auto":5+i,B=void 0!==t.slidesPerView1366&&""!==t.slidesPerView1366?parseInt(t.slidesPerView1366,10)+i:"auto"===t.slidesPerView?"auto":4+i,S=void 0!==t.slidesPerView1024&&""!==t.slidesPerView1024?parseInt(t.slidesPerView1024,10)+i:"auto"===t.slidesPerView?"auto":3+i,L=void 0!==t.slidesPerView768&&""!==t.slidesPerView768?parseInt(t.slidesPerView768,10)+i:"auto"===t.slidesPerView?"auto":2+i,I=void 0!==t.slidesPerView680&&""!==t.slidesPerView680?parseInt(t.slidesPerView680,10)+i:"auto"===t.slidesPerView?"auto":1+i,P=void 0!==t.slidesPerView480&&""!==t.slidesPerView480?parseInt(t.slidesPerView480,10)+i:"auto"===t.slidesPerView?"auto":1+i;if(a.isEditorMode&&(a.document?.body?.classList.contains("qi-preview-screen-tablet")&&(c=c<3?c:S,s=r),a.document?.body?.classList.contains("qi-preview-screen-mobile")&&(c=P,s=l),w=!1),h||(c<2?(E=c,B=c,S=c,L=c):c<3?(E=c,B=c,S=c):c<4?(E=c,B=c):c<5&&(E=c)),"never"!==n)switch(n){case 1024:S=Math.floor(S),a.isEditorMode&&a.document?.body.classList.contains("qi-preview-screen-tablet")&&(c=Math.floor(c<3?c:S));break;case 768:L=Math.floor(L);break;case 680:I=Math.floor(I);break;case 480:P=Math.floor(P),a.isEditorMode&&a.document?.body.classList.contains("qi-preview-screen-mobile")&&(c=Math.floor(P))}let M={direction:o,slidesPerView:c,centeredSlides:d,sliderScroll:u,loopedSlides:"12",spaceBetween:s,effect:f,autoplay:w,loop:p,speed:m,navigation:{nextEl:y,prevEl:v},pagination:{el:k,type:"bullets",clickable:!0},grabCursor:!a.isEditorMode,simulateTouch:!a.isEditorMode&&b,allowTouchMove:!a.isEditorMode,preventClicks:!a.isEditorMode,preventClicksPropagation:!a.isEditorMode,touchStartPreventDefault:!a.isEditorMode,noSwiping:a.isEditorMode,noSwipingClass:"swiper-slide",breakpoints:{0:{slidesPerView:P,spaceBetween:l},481:{slidesPerView:I,spaceBetween:l},681:{slidesPerView:L,spaceBetween:r},769:{slidesPerView:S,spaceBetween:r},1025:{slidesPerView:B},1367:{slidesPerView:E},1441:{slidesPerView:c}}};const V=a.getSliderDatas(e),x=Object.assign({},M,V);return x.pagination=M.pagination,x.navigation=M.navigation,Object.prototype.hasOwnProperty.call(M,"scrollbar")&&(x.scrollbar=M.scrollbar),x},bindEditorSliderControls:function(e){if(!a.isEditorMode||!e)return;const t=e.closest(".qodef-block")||e,o=".swiper-button-prev, .swiper-button-next, .swiper-pagination, .swiper-pagination-bullet";if(t.querySelectorAll(o).forEach(e=>{e.style.pointerEvents="auto"}),t.dataset.qiEditorSliderControlBound)return;t.dataset.qiEditorSliderControlBound="1";const i=i=>{const n=i.target.closest(o);if(n&&t.contains(n)&&(i.stopPropagation(),"click"===i.type&&e.swiper))if(n.classList.contains("swiper-button-next"))e.swiper.slideNext();else if(n.classList.contains("swiper-button-prev"))e.swiper.slidePrev();else if(n.classList.contains("swiper-pagination-bullet")){const o=t.querySelectorAll(".swiper-pagination-bullet"),i=Array.prototype.indexOf.call(o,n);i>-1&&(e.swiper.slideToLoop?e.swiper.slideToLoop(i):e.swiper.slideTo(i))}};["pointerdown","mousedown","click"].forEach(e=>{t.addEventListener(e,i,!0)})},getSliderDatas:function(e){const t=o()(e).data(),i={},n={direction:"string",slidesPerView:"numberOrAuto",spaceBetween:"number",speed:"number",loop:"boolean",autoplay:"boolean",effect:"string",centeredSlides:"boolean",grabCursor:"boolean",allowTouchMove:"boolean",simulateTouch:"boolean",freeMode:"boolean",watchOverflow:"boolean",resistanceRatio:"number",threshold:"number",longSwipesRatio:"number",followFinger:"boolean",shortSwipes:"boolean",longSwipes:"boolean",roundLengths:"boolean",watchSlidesProgress:"boolean",watchSlidesVisibility:"boolean"},s=["options","pagination","navigation","scrollbar","a11y","keyboard","mousewheel","hashNavigation","history","controller","thumbs","virtual","zoom","lazy","parallax","cubeEffect","coverflowEffect","flipEffect","creativeEffect","cardsEffect"];for(const e in t){if(!Object.prototype.hasOwnProperty.call(t,e))continue;if(s.includes(e)||0===e.indexOf("render"))continue;if(!Object.prototype.hasOwnProperty.call(n,e))continue;const o=t[e];if(void 0===o||""===o||"object"==typeof o&&null!==o)continue;const r=n[e];"boolean"===r&&"boolean"!=typeof o||("number"===r&&"number"!=typeof o||"string"===r&&"string"!=typeof o||"numberOrAuto"===r&&"number"!=typeof o&&"auto"!==o||(i[e]=o))}return i},getEvents:function(e,t){return{on:{beforeInit:function(){if("vertical"===t.direction){let o=0,i=0,n=e.querySelectorAll(".qodef-e");n.length&&n.forEach(e=>{i=e.offsetHeight,i>o&&(o=i)}),1===t.slidesPerView&&(e.style.height=o+"px",n.length&&n.forEach(e=>{e.style.height=o+"px"}))}},init:function(){if(e.classList.add("qodef--initialized"),a.isEditorMode?(a.bindEditorSliderControls(e),"object"==typeof qiBlocksEditor.qodefSetEditorLinkBehavior&&qiBlocksEditor.qodefSetEditorLinkBehavior.linkBehavior(e.querySelectorAll("a, button"))):qiBlocks?.qodefLightboxPopup&&qiBlocks.qodefLightboxPopup.init(e.parentNode),"object"!=typeof qiBlocksEditor&&t.sliderScroll){let i=!1,n=o()(e),s=e.classList.contains("qodef-block")?n:n.parents(".qodef-block"),r=s.hasClass("qodef--focus-in-viewport"),l=s.offset().top,a=s.offset().top+s.outerHeight();r&&window.addEventListener("wheel",function(e){let t=o()(window).scrollTop()+e.deltaY;(e.deltaY>0&&t<l||e.deltaY<0&&a<t+qiBlocks.windowHeight)&&qiBlocks.qodefIsInViewport.check(s,function(){qiBlocks.qodefScroll.disable(),o()("html, body").stop().animate({scrollTop:l},1200,function(){qiBlocks.qodefScroll.enable()})},!0)},{passive:!1}),n.off().on("wheel",function(n){t.loop?n.preventDefault():((n.originalEvent.deltaY<0&&!e.swiper.isBeginning||n.originalEvent.deltaY>0&&!e.swiper.isEnd)&&n.preventDefault(),r&&(n.originalEvent.deltaY<0&&e.swiper.isBeginning?(qiBlocks.qodefScroll.disable(),o()("html, body").stop().animate({scrollTop:Math.max(0,l-qiBlocks.windowHeight)},1200,function(){qiBlocks.qodefScroll.enable()})):n.originalEvent.deltaY>0&&e.swiper.isEnd&&(qiBlocks.qodefScroll.disable(),o()("html, body").stop().animate({scrollTop:a},1200,function(){qiBlocks.qodefScroll.enable()})))),i||(i=!0,n.originalEvent.deltaY>0?e.swiper.slideNext():e.swiper.slidePrev(),setTimeout(function(){i=!1},1e3))})}}}}}},c=a,d={masonry:[],isEditorMode:!1,init:function(){this.holder=document.querySelectorAll(".qodef-gutenberg-masonry-layout"),this.holder.length&&[...this.holder].map(e=>{d.createMasonry(e)})},reLayout:function(){const e=d.masonry;"object"==typeof e&&Object.keys(e).length&&Object.values(e).map(e=>{setTimeout(()=>{const t=e.element.querySelectorAll(".qodef-gutenberg-column"),o=parseFloat(window.getComputedStyle(e.element.querySelector(".qodef-gutenberg-masonry-sizer")).getPropertyValue("width")),i=parseInt(window.getComputedStyle(e.element).getPropertyValue("column-gap"),10);o&&(t.forEach(e=>{e.style.width=o+"px"}),e.element.parentNode.classList.contains("qodef-items--fixed")&&d.setFixedImageSize(e.element,t[0],o,i)),setTimeout(()=>{e.layout()},400)},400)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e,"> .qodef-block .qodef-gutenberg-masonry-layout")),e},initItem:function(e,t){const o=t||"string"==typeof e?e:"";(e=d.getRealCurrentItem(e))&&(l()&&(d.isEditorMode=!0),o&&d.masonry[o]&&e?d.reInit(e,o,t):d.createMasonry(e,o))},reInit:function(e,t,o){const i=(d.isEditorMode?qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():document).querySelectorAll(".qodef-gutenberg-masonry-layout");"function"==typeof Isotope&&i.length&&("object"==typeof d.masonry[t]&&"reinit"===o?d.masonry[t].layout():l()||!0!==e?d.createMasonry(e,t):d.masonry[t].layout())},createMasonry:function(e,t){if(!e)return;const o=e.querySelector(".qodef-gutenberg-row");if(o){const i=o.querySelector(".qodef-gutenberg-column");("object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor).qodefWaitForImages.check(o,function(){d.createMasonryLogic(e,o,i,t)})}},createMasonryLogic:function(e,t,o,i){if("function"==typeof Isotope&&(d.isEditorMode||!t.classList.contains("qodef--masonry-init"))){const n=t.querySelectorAll(".qodef-gutenberg-column"),s=parseFloat(window.getComputedStyle(t.querySelector(".qodef-gutenberg-masonry-sizer")).getPropertyValue("width")),r=parseInt(window.getComputedStyle(t).getPropertyValue("column-gap"),10);n.forEach(e=>{e.style.width=s+"px"}),e.classList.contains("qodef-items--fixed")&&d.setFixedImageSize(t,o,s,r);const l=new Isotope(t,{layoutMode:"packery",itemSelector:".qodef-gutenberg-column",percentPosition:!0,isJQueryFiltering:!1,packery:{columnWidth:".qodef-gutenberg-masonry-sizer",gutter:r}});d.masonry[i]=l,setTimeout(()=>{l.layout()},d.isEditorMode?600:0),t.classList.contains("qodef--masonry-init")||t.classList.add("qodef--masonry-init")}},setFixedImageSize:function(e,t,o,i){const n=d.isEditorMode?document.body.classList.contains("qi-preview-screen-tablet")||document.body.classList.contains("qi-preview-screen-mobile"):qiBlocks.windowWidth<=680,s=e.parentElement.classList.contains("qodef-col-num--1"),r=e.querySelectorAll(".qodef-gutenberg-column");r&&r.forEach(e=>{let t=o,r=o;s?(e.classList.contains("qodef-item--landscape")&&(r=Math.round(o/2)),e.classList.contains("qodef-item--portrait")&&(r=Math.round(2*o))):(e.classList.contains("qodef-item--landscape")&&(t=Math.round(2*o+i),n&&(t=Math.round(o),r=Math.round(o/2))),e.classList.contains("qodef-item--portrait")&&(r=Math.round(2*o+i)),e.classList.contains("qodef-item--huge-square")&&(t=Math.round(2*o+i),r=Math.round(2*o+i),n&&(t=Math.round(o),r=Math.round(o)))),e.style.width=t+"px",e.style.height=r+"px"})}},u=d;var f={init:function(e){e?setTimeout(()=>{f.initItem(e)},2e3):(this.holder=document.querySelectorAll(".qi-block-fslightbox-popup"),this.holder.length&&[...this.holder].map(e=>{f.initItem(e)}))},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e)),e},initItem:function(e,t){if(!l("object"==typeof qiBlocksEditor&&qiBlocksEditor.qodefGetCurrentBlockElement?qiBlocksEditor.qodefGetCurrentBlockElement.getCurrentDocument():document)&&(e=f.getRealCurrentItem(e))&&"undefined"!=typeof refreshFsLightbox){refreshFsLightbox();for(const e in fsLightboxInstances){let t=fsLightboxInstances[e].props.sources,o=[],i=0;t.forEach(e=>{o.includes(e)||(o.push(e),i++)});let n=i!==t.length?t.length-i:0;fsLightboxInstances[e].props.onOpen=function(){const t=fsLightboxInstances[e].elements.container.querySelectorAll(".fslightbox-slide-number-container");if(n>0&&t.length){const o=t[0].querySelector(".fslightbox-flex-centered > *:first-child"),s=t[0].querySelector(".fslightbox-flex-centered > *:last-child");new MutationObserver(()=>{let e=Number(o.innerText),t=e;e>i&&(t=n>i&&e>n?e-n:e-i),o.innerText=t,s.innerText=i}).observe(fsLightboxInstances[e].elements.container,{subtree:!0,attributes:!0,attributeFilter:["class"]})}},fsLightboxInstances[e].props.onInit=()=>{const t=fsLightboxInstances[e].elements.container,o=t.querySelectorAll(".fslightbox-slide-btn-container-previous > .fslightbox-slide-btn"),i=t.querySelectorAll(".fslightbox-slide-btn-container-next > .fslightbox-slide-btn"),n=t.querySelectorAll('[title="Close"]'),s="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;o.length&&(o[0].innerHTML=s.vars.arrowLeftIcon),i.length&&(i[0].innerHTML=s.vars.arrowRightIcon),n.length&&(n[0].innerHTML=s.vars.closeIcon)}}}}};const p=f,w={init:function(){l()||(this.holder=document.querySelectorAll(".qodef-image--hover-follow-info"),this.holder.length&&[...this.holder].map(e=>{w.initItem(e)}))},initItem:function(e){if(window.innerWidth>1024){const t=e.querySelectorAll(".qodef-image-wrapper");t.length&&[...t].map(e=>{w.initItemBehavior(e)})}},initItemBehavior:function(e){if(e){const t=e.querySelector(".qodef-e-content");t&&e.addEventListener("mousemove",e=>{e.clientX+t.offsetWidth+20>window.innerWidth?t.classList.add("qodef--right"):t.classList.remove("qodef--right"),t.style.top=e.clientY+20+"px",t.style.left=e.clientX+20+"px"})}}},g=w;void 0===window.qiBlocks&&(window.qiBlocks={}),void 0===window.qodefBlocksEmptyCallback&&(window.qodefBlocksEmptyCallback=function(){}),qiBlocks.body=o()("body"),qiBlocks.html=o()("html"),qiBlocks.windowWidth=o()(window).width(),qiBlocks.windowHeight=o()(window).height(),qiBlocks.scroll=0,qiBlocks.qodefScroll=n,qiBlocks.qodefIsInViewport=s,qiBlocks.qodefWaitForImages=r,qiBlocks.qodefSwiper=c,qiBlocks.qodefMasonryLayout=u,qiBlocks.qodefLightboxPopup=p,o()(document).ready(function(){qiBlocks.scroll=o()(window).scrollTop(),m.init(),c.init(),u.init(),l()||(p.init(),g.init())}),o()(window).resize(function(){qiBlocks.windowWidth=o()(window).width(),qiBlocks.windowHeight=o()(window).height(),u.reInit(!0),g.init()}),o()(window).scroll(function(){qiBlocks.scroll=o()(window).scrollTop()});const m={init:function(){const e=document.querySelectorAll(".qodef-entrance-animation--on");e.length&&e.forEach(e=>{m.setClasses(e)})},setClasses:function(e){e.classList.contains("qodef-animation--appeared")||qiBlocks.qodefIsInViewport.check(e,function(){e.classList.add("qodef-animation--appeared"),e.getAttribute("data-animation")&&e.classList.add("animate__"+e.getAttribute("data-animation"))})}};qiBlocks.qodefTriggerAnimation=m})();
  • qi-blocks/trunk/class-qi-blocks.php

    r3820229 r3837454  
    66Author URI: https://qodeinteractive.com/
    77Plugin URI: https://qodeinteractive.com/qi-blocks-for-gutenberg/
    8 Version: 1.5.5
     8Version: 1.5.6
    99Requires at least: 6.3
    1010Requires PHP: 7.4
  • qi-blocks/trunk/constants.php

    r3820229 r3837454  
    66}
    77
    8 define( 'QI_BLOCKS_VERSION', '1.5.5' );
     8define( 'QI_BLOCKS_VERSION', '1.5.6' );
    99define( 'QI_BLOCKS_ABS_PATH', __DIR__ );
    1010define( 'QI_BLOCKS_REL_PATH', dirname( plugin_basename( __FILE__ ) ) );
  • qi-blocks/trunk/inc/comments/helper.php

    r3114910 r3837454  
    6565
    6666                return $args;
     67        }
     68}
     69
     70if ( ! function_exists( 'qi_blocks_encode_shortcode_brackets' ) ) {
     71        /**
     72         * Neutralize shortcodes in visitor-controlled text that is later printed
     73         * inside the_content (do_blocks runs before do_shortcode).
     74         *
     75         * @param string $text Raw HTML or text.
     76         *
     77         * @return string
     78         */
     79        function qi_blocks_encode_shortcode_brackets( $text ) {
     80                if ( ! is_string( $text ) || '' === $text ) {
     81                        return $text;
     82                }
     83
     84                return str_replace( array( '[', ']' ), array( '&#91;', '&#93;' ), $text );
    6785        }
    6886}
    … …  
    123141                                        </div>
    124142                                </div>
    125                                 <h5 class="qodef-e-title vcard"><?php echo sprintf( '<span class="fn">%s%s</span>', esc_attr( $is_specific_comment ) ? sprintf( '%s: ', esc_attr( ucwords( $comment->comment_type ) ) ) : '', get_comment_author_link() ); ?></h5>
     143                                <h5 class="qodef-e-title vcard"><?php echo sprintf( '<span class="fn">%s%s</span>', esc_attr( $is_specific_comment ) ? sprintf( '%s: ', esc_attr( ucwords( $comment->comment_type ) ) ) : '', qi_blocks_encode_shortcode_brackets( get_comment_author_link() ) ); ?></h5>
    126144                                <?php if ( ! $is_specific_comment ) { ?>
    127                                         <div class="qodef-e-text"><?php comment_text( $comment ); ?></div>
     145                                        <div class="qodef-e-text"><?php
     146                                        ob_start();
     147                                        comment_text( $comment );
     148                                        echo qi_blocks_encode_shortcode_brackets( ob_get_clean() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     149                                        ?></div>
    128150                                <?php } ?>
    129151                        </div>
  • qi-blocks/trunk/inc/masonry/assets/plugins/isotope.pkgd.min.js

    r2780495 r3837454  
    1111 * Added isElement function to be used instead of instanceof HTMLElement on line 214 (unminified version)
    1212 */
    13 !function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(h){var l=h[e];if(l&&"_"!=e.charAt(0)){var d=l.apply(h,o);n=void 0===n?d:n}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==n?n:t}(this,t,n.call(arguments,1)):(function(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}(this,t),this)},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function i(){if(!u){u=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var s=document.body||document.documentElement;s.appendChild(i);var r=e(i);n=200==Math.round(t(r.width)),o.isBoxSizeOuter=n,s.removeChild(i)}}function o(o){if(i(),"string"==typeof o&&(o=document.querySelector(o)),o&&"object"==typeof o&&o.nodeType){var s=e(o);if("none"==s.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<a;e++)t[r[e]]=0;return t}();var u={};u.width=o.offsetWidth,u.height=o.offsetHeight;for(var h=u.isBorderBox="border-box"==s.boxSizing,l=0;l<a;l++){var d=r[l],f=s[d],c=parseFloat(f);u[d]=isNaN(c)?0:c}var m=u.paddingLeft+u.paddingRight,p=u.paddingTop+u.paddingBottom,y=u.marginLeft+u.marginRight,g=u.marginTop+u.marginBottom,v=u.borderLeftWidth+u.borderRightWidth,_=u.borderTopWidth+u.borderBottomWidth,z=h&&n,I=t(s.width);!1!==I&&(u.width=I+(z?0:m+v));var x=t(s.height);return!1!==x&&(u.height=x+(z?0:p+_)),u.innerWidth=u.width-(m+v),u.innerHeight=u.height-(p+_),u.outerWidth=u.width+y,u.outerHeight=u.height+g,u}}var n,s="undefined"==typeof console?function(){}:function(t){console.error(t)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=r.length,u=!1;return o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if((r=t)&&"object"==typeof r&&null!==r&&1===r.nodeType&&"string"==typeof r.nodeName){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}var r}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),l=r+"-options",d=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(l);try{i=s&&JSON.parse(s)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);d&&d.data(t,o,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var o=document.documentElement.style,n="string"==typeof o.transition?"transition":"WebkitTransition",s="string"==typeof o.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:s,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},u=i.prototype=Object.create(t.prototype);u.constructor=i,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[a[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(s);u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";function s(t,e){var i=o.getQueryElement(t);if(i){this.element=i,u&&(this.$element=u(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,d[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var a=t.console,u=t.jQuery,h=function(){},l=0,d={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=s.prototype;o.extend(f,e.prototype),f.option=function(t){o.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},f._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];return i.length?(i=parseFloat(i))*(c[o]||1):0}(t),this.stagger)},f._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},f._getContainerSize=h,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){++r==s&&i()}var n=this,s=e.length;if(e&&s){var r=0;e.forEach(function(e){e.once(t,o)})}else i()},f.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),u)if(this.$element=this.$element||u(this.element),e){var n=u.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),o.makeArray(t)},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=h,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},f.handleEvent=o.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&d[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var c={ms:1,s:1e3};return s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?o.left:o.right,s=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,h=r;h<=a;h++)this.colYs[h]=Math.max(u,this.colYs[h])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=s,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(){return function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(o&&o[1],i),s=h.sortDataParsers[e[1]];return s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}}}();h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a)return(r>a?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});
     13!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(h){var l=h[e];if(l&&"_"!=e.charAt(0)){var d=l.apply(h,o);n=void 0===n?d:n}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==n?n:t}(this,t,n.call(arguments,1)):(function(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}(this,t),this)},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function i(){if(!u){u=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var s=document.body||document.documentElement;s.appendChild(i);var r=e(i);n=200==Math.round(t(r.width)),o.isBoxSizeOuter=n,s.removeChild(i)}}function o(o){if(i(),"string"==typeof o&&(o=document.querySelector(o)),o&&"object"==typeof o&&o.nodeType){var s=e(o);if("none"==s.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<a;e++)t[r[e]]=0;return t}();var u={};u.width=o.offsetWidth,u.height=o.offsetHeight;for(var h=u.isBorderBox="border-box"==s.boxSizing,l=0;l<a;l++){var d=r[l],f=s[d],c=parseFloat(f);u[d]=isNaN(c)?0:c}var m=u.paddingLeft+u.paddingRight,p=u.paddingTop+u.paddingBottom,y=u.marginLeft+u.marginRight,g=u.marginTop+u.marginBottom,v=u.borderLeftWidth+u.borderRightWidth,_=u.borderTopWidth+u.borderBottomWidth,z=h&&n,I=t(s.width);!1!==I&&(u.width=I+(z?0:m+v));var x=t(s.height);return!1!==x&&(u.height=x+(z?0:p+_)),u.innerWidth=u.width-(m+v),u.innerHeight=u.height-(p+_),u.outerWidth=u.width+y,u.outerHeight=u.height+g,u}}var n,s="undefined"==typeof console?function(){}:function(t){console.error(t)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=r.length,u=!1;return o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if((r=t)&&"object"==typeof r&&null!==r&&1===r.nodeType&&"string"==typeof r.nodeName){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}var r}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(){}})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var o=document.documentElement.style,n="string"==typeof o.transition?"transition":"WebkitTransition",s="string"==typeof o.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:s,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},u=i.prototype=Object.create(t.prototype);u.constructor=i,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[a[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(s);u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";function s(t,e){var i=o.getQueryElement(t);if(i){this.element=i,u&&(this.$element=u(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,d[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var a=t.console,u=t.jQuery,h=function(){},l=0,d={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=s.prototype;o.extend(f,e.prototype),f.option=function(t){o.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},f._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];return i.length?(i=parseFloat(i))*(c[o]||1):0}(t),this.stagger)},f._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},f._getContainerSize=h,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){++r==s&&i()}var n=this,s=e.length;if(e&&s){var r=0;e.forEach(function(e){e.once(t,o)})}else i()},f.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),u)if(this.$element=this.$element||u(this.element),e){var n=u.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),o.makeArray(t)},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=h,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},f.handleEvent=o.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&d[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var c={ms:1,s:1e3};return s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?o.left:o.right,s=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,h=r;h<=a;h++)this.colYs[h]=Math.max(u,this.colYs[h])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!1,sortAscending:!0});h.Item=s,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(){return function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(o&&o[1],i),s=h.sortDataParsers[e[1]];return s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}}}();h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a)return(r>a?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});
  • qi-blocks/trunk/readme.txt

    r3820229 r3837454  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.5.5
     7Stable tag: 1.5.6
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
    … …  
    292292
    293293== Changelog ==
     294
     295= 1.5.6 - 01-12-2026 =
     296- Disabled Isotope data-api auto-init from data-isotope attributes in the bundled library (stored XSS)
     297- Forced Isotope isJQueryFiltering to false in the library defaults and plugin masonry init so filter strings are never passed through jQuery().is()
     298- Encoded square brackets in Comments Template author names and comment text so visitor-controlled shortcodes cannot run through the_content
    294299
    295300= 1.5.5 - 23-11-2026 =
Note: See TracChangeset for help on using the changeset viewer.