@secretstache/wordpress-gutenberg 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.css +48 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.css
CHANGED
@@ -1,3 +1,35 @@
|
|
1
|
+
.block-editor__container .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
|
2
|
+
margin-top: 10px !important;
|
3
|
+
margin-bottom: 10px !important; }
|
4
|
+
.block-editor__container .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper h1.editor-post-title {
|
5
|
+
margin: 0;
|
6
|
+
border-bottom: 1px dashed #ddd;
|
7
|
+
padding-bottom: 10px;
|
8
|
+
font-weight: normal;
|
9
|
+
font-size: 30px !important;
|
10
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
11
|
+
text-align: center; }
|
12
|
+
|
13
|
+
.block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container.has-background {
|
14
|
+
transition: background 1s, color 1s; }
|
15
|
+
|
16
|
+
.block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-list-appender.wp-block:only-child p {
|
17
|
+
margin-top: 0;
|
18
|
+
margin-bottom: 0; }
|
19
|
+
|
20
|
+
.block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .block-list-appender.wp-block:only-child,
|
21
|
+
.block-editor__container .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > p.wp-block:only-child {
|
22
|
+
margin: 2rem 0; }
|
23
|
+
|
24
|
+
.block-editor__container .block-editor-block-types-list > [role=presentation] {
|
25
|
+
justify-content: center; }
|
26
|
+
|
27
|
+
.block-editor__container .components-base-control .block-editor-url-input input.block-editor-url-input__input {
|
28
|
+
width: 100%; }
|
29
|
+
|
30
|
+
.block-editor__container .components-range-control__mark-label {
|
31
|
+
margin-top: 7px !important; }
|
32
|
+
|
1
33
|
.block-editor__container .bc-animation-block-json-file {
|
2
34
|
display: flex;
|
3
35
|
align-items: center;
|
@@ -68,6 +100,8 @@
|
|
68
100
|
|
69
101
|
.block-editor__container .bc-selected-media {
|
70
102
|
width: 100%; }
|
103
|
+
.block-editor__container .bc-selected-media--image {
|
104
|
+
max-height: 300px; }
|
71
105
|
|
72
106
|
.block-editor__container .bc-select-btn,
|
73
107
|
.block-editor__container .bc-remove-btn {
|
@@ -81,7 +115,20 @@
|
|
81
115
|
.block-editor__container .bc-responsive-spacing-tab:last-child {
|
82
116
|
margin-bottom: 2rem; }
|
83
117
|
|
84
|
-
.block-editor__container .
|
118
|
+
.block-editor__container .bc-spacing-control-wrapper {
|
119
|
+
margin-bottom: 35px; }
|
120
|
+
|
121
|
+
.block-editor__container .bc-spacing-range-control {
|
122
|
+
padding: 0 6px; }
|
123
|
+
.block-editor__container .bc-spacing-range-control .components-base-control__label {
|
124
|
+
margin-left: -9px; }
|
125
|
+
.block-editor__container .bc-spacing-range-control .components-range-control__root .components-range-control__wrapper {
|
126
|
+
margin-bottom: 0; }
|
127
|
+
.block-editor__container .bc-spacing-range-control .components-range-control__root .components-range-control__wrapper .components-range-control__marks .components-range-control__mark-label {
|
128
|
+
left: 8px !important;
|
129
|
+
margin-top: 7px !important; }
|
130
|
+
|
131
|
+
.block-editor__container .bc-add-new-child-btn {
|
85
132
|
display: flex;
|
86
133
|
margin: 20px auto !important;
|
87
134
|
align-items: center;
|
package/build/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import{ToggleControl as e,Button as t,BaseControl as n,ColorPalette as o,Icon as r,CheckboxControl as i,RadioControl as a,RangeControl as l,TabPanel as c,Notice as s,Spinner as u,Placeholder as d,SelectControl as p}from"@wordpress/components";import{useState as g,useRef as f,useEffect as b,useLayoutEffect as m,useMemo as h}from"@wordpress/element";import{jsx as v,jsxs as I,Fragment as y}from"react/jsx-runtime";import{useSelect as C,useDispatch as x}from"@wordpress/data";import A from"@wordpress/api-fetch";import{store as w,MediaUploadCheck as G,MediaUpload as N,MediaPlaceholder as W,URLInput as B}from"@wordpress/block-editor";import{plus as T,edit as V,trash as O,page as X}from"@wordpress/icons";import*as S from"react";import{forwardRef as E,useContext as R,useLayoutEffect as Z,useEffect as k,useRef as H,useState as P,useMemo as L,useCallback as F,createContext as D,Component as M,Fragment as Y,createRef as J,createElement as z}from"react";import{createPortal as j,findDOMNode as U}from"react-dom";import{addFilter as Q}from"@wordpress/hooks";const _="Enable Preview",K="Please check this option to see how the block will actually look and behave on the frontend.",$=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{disabled:n=!1,label:o=_,helpText:r=K}=t,[i,a]=g(!1),l=()=>a((e=>!e));return{isPreview:i,renderPreviewToggle:()=>v(e,{label:o,help:r,checked:i,onChange:l,disabled:n})}},q=e=>{let{isEnabled:t,setupSlider:n,dependencies:o=[]}=e;const r=f(null),i=f(null);return b((()=>(t&&null!=r&&r.current&&(i.current=n(r.current)),()=>{var e;i.current&&(null===(e=i.current)||void 0===e||e.destroy(),i.current=null)})),[t,...o]),{sliderElRef:r,sliderInstance:i.current}},ee=(e,t)=>C((n=>{const{getBlock:o,getBlockParents:r,getSelectedBlock:i}=n("core/block-editor"),a=i();if(!a)return null;const l=r(a.clientId,!0);if(!l.includes(t))return null;if((null==a?void 0:a.name)===e)return a;if(null!=l&&l.length)for(let n=0;n<l.length;n++){const r=l[n],i=o(r);if((null==i?void 0:i.name)===e)return i;if(t&&r===t)break}return null}),[e,t]),te=(e,t)=>(n,o)=>{const r=e.find((e=>e.color===n));t({[o]:r?{value:n,slug:r.slug}:null})},ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return C((t=>{var n;const{getSettings:o}=t("core/block-editor"),r=null===(n=o())||void 0===n?void 0:n.colors;return e.length>0?null==r?void 0:r.filter((t=>e.includes(t.slug))):r}),[])},oe=e=>(t,n)=>{e({[t]:n})},re={linkLabel:{type:"string",default:""},linkSource:{type:"string",default:"#"},linkIsOpenInNewTab:{type:"boolean",default:!1}},ie={media:{type:"object",default:{id:null,url:"",alt:"",filename:""}}},ae={title:{type:"string",default:"Title"},description:{type:"string",default:"Description"}},le={animationFile:{type:"object",default:{id:null,url:null,name:null,filename:null,mime:null}},isAnimationLooped:{type:"boolean",default:!0}},ce={curatedPosts:{type:"array",default:[],items:{type:"object",properties:{value:{type:"number"},label:{type:"string"}}}}},se={curatedCategories:{type:"array",default:[],items:{type:"object",properties:{value:{type:"number"},label:{type:"string"}}}}},ue={numberOfPosts:{type:"number",default:5}},de=function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={type:"string"};e&&(null==e?void 0:e.length)>0&&(i.enum=e,i.default=e[0]);let a={type:"string"};return t&&(null==t?void 0:t.length)>0&&(a.enum=[...t],a.default=t[0]),{dataSource:i,queryType:a,...n?ce:{},...o?se:{},...r?ue:{}}},pe={isIncludeBackgroundMedia:{type:"boolean",default:!1},backgroundMediaType:{type:"string",default:"color"},backgroundColor:{type:"object",default:{value:"#ffffff",slug:"white"}},backgroundImage:{type:"object",default:{id:null,url:""}},backgroundVideo:{type:"object",default:{id:null,url:""}},isIncludeOverlay:{type:"boolean",default:!1}},ge={spacing:{type:"object",default:{margin:{top:0,bottom:0},padding:{top:0,bottom:0}}}},fe={spacing:{type:"object",default:{desktop:{margin:{top:0,bottom:0},padding:{top:0,bottom:0}},mobile:{margin:{top:0,bottom:0},padding:{top:0,bottom:0}}}}},be={LATEST:"latest",CURATED:"curated",BY_CATEGORY:"by_category"},me={IMAGE:"image",VIDEO:"video",ANIMATION:"animation"},he={[me.IMAGE]:"Image",[me.VIDEO]:"Video",[me.ANIMATION]:"Animation"};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ie,ye,Ce={exports:{}};ye=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(n,o){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(o="string"==typeof o?{replacement:o}:o||{}).locale]||{},i=void 0===o.replacement?"-":o.replacement,a=void 0===o.trim||o.trim,l=n.normalize().split("").reduce((function(t,n){var a=r[n];return void 0===a&&(a=e[n]),void 0===a&&(a=n),a===i&&(a=" "),t+a.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return o.strict&&(l=l.replace(/[^A-Za-z0-9\s]/g,"")),a&&(l=l.trim()),l=l.replace(/\s+/g,i),o.lower&&(l=l.toLowerCase()),l}return n.extend=function(t){Object.assign(e,t)},n},(Ie=Ce).exports=ye(),Ie.exports.default=ye();var xe=ve(Ce.exports);const Ae=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=await A({path:"/wp/v2/".concat(t,"?search=").concat(encodeURIComponent(e))});return n?null==o?void 0:o.map(n):null==o?void 0:o.map((e=>{var t;const n=document.createElement("div");return n.innerHTML=null==e||null===(t=e.title)||void 0===t?void 0:t.rendered,{value:e.id,label:n.textContent||n.innerText||""}}))},we=e=>xe(e,{replacement:"-",lower:!0,strict:!0}),Ge=e=>{if(e.startsWith("<?xml")){const t=e.indexOf("?>");-1!==t&&(e=e.substring(t+2))}return e=e.trim()},Ne="image/svg+xml",We=async e=>{const t=(null==e?void 0:e.mime)===Ne||(null==e?void 0:e.mime_type)===Ne,n={isSvg:t,imageUrl:null,svgCode:null,width:null==e?void 0:e.width,height:null==e?void 0:e.height};return t?n.svgCode=await fetch(e.url).then((e=>e.text())).then(Ge):n.imageUrl=null==e?void 0:e.url,n},Be=e=>{if(!e)return"";let t=e;const n=e.match(/^\+\d(\d{3})(\d{3})(\d{4})$/);return n&&(t="".concat(n[1],"-").concat(n[2],"-").concat(n[3])),t},Te=e=>{const{street_number:t="",street_name:n="",city:o="",state_short:r="",post_code:i=""}=e;let a=["".concat(t," ").concat(n).trim()];o&&a.push("<br>".concat(o));let l=[];r&&l.push(r),i&&l.push(i);let c=l.join(" ");return c&&a.push("".concat(a.length>0?", ":"").concat(c)),a.join("")},Ve=e=>{const{getPostType:t,queryType:n,curatedPostsIds:o=[],categoriesTaxonomy:r,curatedCategoriesIds:i=[],numberOfPosts:a=-1,extraQueryArgs:l,dependencies:c}=e;return C((e=>{const c={per_page:a,order:"desc",orderby:"date",_embed:!0,...l};n===be.BY_CATEGORY&&r&&(null==i?void 0:i.length)>0?c[r]=i.join(","):n===be.CURATED&&(null==o?void 0:o.length)>0&&(c.include=o,c.orderby="include");const s=t(),u=e("core").getEntityRecords("postType",s,c);return{postsToShow:u,isLoading:e("core/data").isResolving("core","getEntityRecords",["postType",s,c])||void 0===u}}),c)},Oe=(e,t,n,o)=>{const r=e===t,i=f(null),a=()=>{var e;const t=null===(e=i.current)||void 0===e?void 0:e.querySelector(o);t&&(t.style.maxHeight=t.scrollHeight+"px")};return b((()=>{r?a():(()=>{var e;const t=null===(e=i.current)||void 0===e?void 0:e.querySelector(o);t&&(t.style.maxHeight=0)})()}),[r]),b((()=>{if(!r||!i.current)return;const e=new ResizeObserver((e=>{for(const t of e)t.contentBoxSize&&a()}));return e.observe(i.current),()=>e.disconnect()}),[r]),{blockRef:i,toggleContent:()=>{n(r?null:e)},isActive:r}},Xe=(e,n,o)=>{const{insertBlock:r}=x(w),{childBlocks:i,innerBlocksCount:a,selectedBlock:l,selectedBlockClientId:c,parentBlockId:s,getBlockRootClientId:u}=C((t=>{var n;const{getBlock:o,getBlockCount:r,getSelectedBlock:i,getSelectedBlockClientId:a,getBlockRootClientId:l}=t(w);return{childBlocks:(null===(n=o(e))||void 0===n?void 0:n.innerBlocks)||[],innerBlocksCount:r(e),selectedBlock:i(),selectedBlockClientId:a(),parentBlockId:l(a()),getBlockRootClientId:l}}),[e]),[d,p]=g(null);m((()=>{i.length>0&&!d&&p(i[0].clientId)}),[i,d]);const f=ee(null==l?void 0:l.clientId,n);m((()=>{f?p(f.clientId):e===s&&null!=l&&l.clientId&&p(l.clientId)}),[l,f,e,s]);const b=()=>{const t=function(t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;const i=o(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return r(i,n,e),i}(n);p(t.clientId)};return{childBlocks:i,innerBlocksCount:a,selectedBlock:l,selectedBlockClientId:c,parentBlockId:s,activeItemId:d,setActiveItemId:p,getBlockRootClientId:u,AddNewTabButton:e=>{let{label:n="Add new tab"}=e;return v(t,{className:"add-new-child-btn",icon:T,label:n,onClick:b})}}},Se=(e,t)=>{const n=C((e=>e("core/blocks").getBlockTypes()),[]);return h((()=>{var o;return null==n||null===(o=n.filter((n=>{const o=!(null==n||!n.parent),r=!(null==n||!n.ancestor),i=(null==n?void 0:n.parent)&&n.parent.includes(e),a=(null==n?void 0:n.ancestor)&&n.ancestor.includes(e);return!t.includes(n.name)&&(!o||i)&&(!r||a)})))||void 0===o?void 0:o.map((e=>e.name))}),[n,t,e])},Ee=e=>{let{label:t="Color",value:r,attributeName:i,setAttributes:a,allowedColors:l}=e;const c=ne(l),s=te(c,a);return v(n,{label:t,children:v(o,{colors:c,value:r,disableCustomColors:!0,onChange:e=>s(e,i)})})},Re=e=>{let{imageId:n,imageUrl:o,imageAlt:i,svgCode:a,onSelect:l,onRemove:c}=e;const s=n&&o,u=s&&a;return v(G,{children:v(N,{onSelect:l,allowedTypes:["image"],value:n,render:e=>{let{open:n}=e;return s?I("div",{className:"bc-image-wrapper",children:[s&&(u?v("div",{className:"svg-container",dangerouslySetInnerHTML:{__html:a}}):v("img",{src:o,alt:i||"icon"})),I("div",{className:"bc-image-wrapper__actions",children:[v(t,{className:"bc-image-wrapper__btn bc-image-wrapper__replace-btn",type:"button",onClick:n,children:v(r,{icon:V,size:20,className:"bc-image-wrapper__btn-icon"})}),v(t,{className:"bc-image-wrapper__btn bc-image-wrapper__remove-btn",type:"button",onClick:c,children:v(r,{icon:O,size:20,className:"bc-image-wrapper__btn-icon"})})]}),v("div",{className:"bc-image-wrapper__overlay"})]}):v(W,{icon:"format-image",onSelect:l,allowedTypes:["image","image/svg+xml"],labels:{title:"Icon Image"}})}})})},Ze=e=>{let{imageId:n,imageUrl:o,imageAlt:r,placeholder:i=!1,onSelectImage:a,onRemoveImage:l,className:c=""}=e;const s=n&&o;return v(G,{children:v(N,{onSelect:a,allowedTypes:["image"],value:n,render:e=>{let{open:n}=e;return s?I("div",{className:"bc-image-wrapper ".concat(c),children:[v("img",{src:o,alt:r,onClick:n}),I("div",{className:"bc-image-wrapper__actions",children:[v(t,{className:"bc-image-wrapper__btn bc-image-wrapper__replace-btn",type:"button",onClick:n,children:"Replace"}),v(t,{className:"bc-image-wrapper__btn bc-image-wrapper__remove-btn",type:"button",onClick:l,children:"Remove"})]}),v("div",{className:"bc-image-wrapper__overlay"})]}):i?v(W,{className:"media-placeholder",icon:"format-image",onSelect:a,allowedTypes:["image"],labels:{title:"Image",instructions:"Upload an image file or pick one from your media library."}}):null}})})},ke=e=>{let{url:t={value:"#",attrName:"linkSource"},isOpenInNewTab:o={value:!1,attrName:"linkIsOpenInNewTab"},setAttributes:r,label:a="Source"}=e;return I(y,{children:[v(n,{label:a,children:v(B,{className:"bc-url-input",value:t.value,onChange:e=>r({[t.attrName]:e})})}),v(i,{checked:o.value,label:"Open in a new tab",onChange:e=>r({[o.attrName]:e})})]})},He=e=>{let{imageId:n,imageUrl:o,onImageClick:r,onRemoveClick:i,onSelectClick:a}=e;return n&&o?I(y,{children:[v("div",{className:"bc-selected-media-wrapper",children:v("img",{src:o,className:"bc-selected-media bc-selected-media--image",alt:"Selected Image",onClick:r})}),v(t,{className:"bc-remove-btn",onClick:i,isSecondary:!0,isDestructive:!0,children:"Remove Image"})]}):v(t,{variant:"secondary",onClick:a,className:"bc-select-btn",children:"Select Image"})},Pe=e=>{let{videoId:n,videoUrl:o,onRemoveClick:r,onSelectClick:i}=e;return n&&o?I(y,{children:[v("div",{className:"bc-selected-media-wrapper",children:v("video",{src:o,className:"bc-selected-media bc-selected-media--video",controls:!0})}),v(t,{className:"bc-remove-btn",onClick:r,isSecondary:!0,isDestructive:!0,children:"Remove Video"})]}):v(t,{variant:"secondary",onClick:i,className:"bc-select-btn",children:"Select Video"})},Le=e=>{let{animationFileId:n,animationFileUrl:o,animationFileName:i,onSelectClick:a,onRemoveClick:l}=e;return n&&o?I(y,{children:[I("div",{className:"bc-animation-block-json-file",onClick:a,children:[v(r,{icon:X,size:36}),v("span",{children:i})]}),v(t,{variant:"secondary",isDestructive:!0,className:"bc-remove-btn",onClick:l,children:"Remove File"})]}):v(t,{variant:"secondary",onClick:a,children:"Select File"})},Fe=e=>{let{mediaId:t,mediaUrl:n,mediaFileName:o="",onSelect:r,onRemove:i,type:a=me.IMAGE,...l}=e;if(a===me.IMAGE)return v(G,{children:v(N,{onSelect:r,allowedTypes:["image","image/svg+xml"],accept:"image/*",value:t,render:e=>{let{open:o}=e;return v(He,{imageId:t,imageUrl:n,onImageClick:o,onSelectClick:o,onRemoveClick:i})},...l})});if(a===me.VIDEO)return v(G,{children:v(N,{onSelect:r,allowedTypes:["video"],value:t,render:e=>{let{open:o}=e;return v(Pe,{videoId:t,videoUrl:n,onSelectClick:o,onRemoveClick:i})},...l})});if(a===me.ANIMATION)return v(G,{children:v(N,{onSelect:r,allowedTypes:["application/json","text/plain","application/lottie"],value:t,render:e=>{let{open:r}=e;return v(Le,{animationFileId:t,animationFileUrl:n,animationFileName:o,onSelectClick:r,onRemoveClick:i})},...l})});throw new Error("Unrecognized media type.")};function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},De.apply(this,arguments)}function Me(e){return Me="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},Me(e)}function Ye(e){var t=function(e,t){if("object"!=Me(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Me(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Me(t)?t:t+""}function Je(e,t,n){return(t=Ye(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){Je(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Ye(o.key),o)}}function _e(e,t,n){return t&&Qe(e.prototype,t),n&&Qe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ke(e,t){return Ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ke(e,t)}function $e(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ke(e,t)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qe(e)}function et(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(et=function(){return!!e})()}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){if(t&&("object"===Me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return tt(e)}function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function rt(e,t){if(e){if("string"==typeof e)return ot(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ot(e,t):void 0}}function it(e){return function(e){if(Array.isArray(e))return ot(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||rt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var at=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{o.insertRule(e,o.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),lt="-ms-",ct="-moz-",st="-webkit-",ut="comm",dt="rule",pt="decl",gt="@keyframes",ft=Math.abs,bt=String.fromCharCode,mt=Object.assign;function ht(e){return e.trim()}function vt(e,t,n){return e.replace(t,n)}function It(e,t){return e.indexOf(t)}function yt(e,t){return 0|e.charCodeAt(t)}function Ct(e,t,n){return e.slice(t,n)}function xt(e){return e.length}function At(e){return e.length}function wt(e,t){return t.push(e),e}var Gt=1,Nt=1,Wt=0,Bt=0,Tt=0,Vt="";function Ot(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Gt,column:Nt,length:a,return:""}}function Xt(e,t){return mt(Ot("",null,null,"",null,null,0),e,{length:-e.length},t)}function St(){return Tt=Bt>0?yt(Vt,--Bt):0,Nt--,10===Tt&&(Nt=1,Gt--),Tt}function Et(){return Tt=Bt<Wt?yt(Vt,Bt++):0,Nt++,10===Tt&&(Nt=1,Gt++),Tt}function Rt(){return yt(Vt,Bt)}function Zt(){return Bt}function kt(e,t){return Ct(Vt,e,t)}function Ht(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pt(e){return Gt=Nt=1,Wt=xt(Vt=e),Bt=0,[]}function Lt(e){return Vt="",e}function Ft(e){return ht(kt(Bt-1,Yt(91===e?e+2:40===e?e+1:e)))}function Dt(e){for(;(Tt=Rt())&&Tt<33;)Et();return Ht(e)>2||Ht(Tt)>3?"":" "}function Mt(e,t){for(;--t&&Et()&&!(Tt<48||Tt>102||Tt>57&&Tt<65||Tt>70&&Tt<97););return kt(e,Zt()+(t<6&&32==Rt()&&32==Et()))}function Yt(e){for(;Et();)switch(Tt){case e:return Bt;case 34:case 39:34!==e&&39!==e&&Yt(Tt);break;case 40:41===e&&Yt(e);break;case 92:Et()}return Bt}function Jt(e,t){for(;Et()&&e+Tt!==57&&(e+Tt!==84||47!==Rt()););return"/*"+kt(t,Bt-1)+"*"+bt(47===e?e:Et())}function zt(e){for(;!Ht(Rt());)Et();return kt(e,Bt)}function jt(e){return Lt(Ut("",null,null,null,[""],e=Pt(e),0,[0],e))}function Ut(e,t,n,o,r,i,a,l,c){for(var s=0,u=0,d=a,p=0,g=0,f=0,b=1,m=1,h=1,v=0,I="",y=r,C=i,x=o,A=I;m;)switch(f=v,v=Et()){case 40:if(108!=f&&58==yt(A,d-1)){-1!=It(A+=vt(Ft(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:A+=Ft(v);break;case 9:case 10:case 13:case 32:A+=Dt(f);break;case 92:A+=Mt(Zt()-1,7);continue;case 47:switch(Rt()){case 42:case 47:wt(_t(Jt(Et(),Zt()),t,n),c);break;default:A+="/"}break;case 123*b:l[s++]=xt(A)*h;case 125*b:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==h&&(A=vt(A,/\f/g,"")),g>0&&xt(A)-d&&wt(g>32?Kt(A+";",o,n,d-1):Kt(vt(A," ","")+";",o,n,d-2),c);break;case 59:A+=";";default:if(wt(x=Qt(A,t,n,s,u,r,l,I,y=[],C=[],d),i),123===v)if(0===u)Ut(A,t,x,x,y,i,d,l,C);else switch(99===p&&110===yt(A,3)?100:p){case 100:case 108:case 109:case 115:Ut(e,x,x,o&&wt(Qt(e,x,x,0,0,r,l,I,r,y=[],d),C),r,C,d,l,o?y:C);break;default:Ut(A,x,x,x,[""],C,0,l,C)}}s=u=g=0,b=h=1,I=A="",d=a;break;case 58:d=1+xt(A),g=f;default:if(b<1)if(123==v)--b;else if(125==v&&0==b++&&125==St())continue;switch(A+=bt(v),v*b){case 38:h=u>0?1:(A+="\f",-1);break;case 44:l[s++]=(xt(A)-1)*h,h=1;break;case 64:45===Rt()&&(A+=Ft(Et())),p=Rt(),u=d=xt(I=A+=zt(Zt())),v++;break;case 45:45===f&&2==xt(A)&&(b=0)}}return i}function Qt(e,t,n,o,r,i,a,l,c,s,u){for(var d=r-1,p=0===r?i:[""],g=At(p),f=0,b=0,m=0;f<o;++f)for(var h=0,v=Ct(e,d+1,d=ft(b=a[f])),I=e;h<g;++h)(I=ht(b>0?p[h]+" "+v:vt(v,/&\f/g,p[h])))&&(c[m++]=I);return Ot(e,t,n,0===r?dt:l,c,s,u)}function _t(e,t,n){return Ot(e,t,n,ut,bt(Tt),Ct(e,2,-2),0)}function Kt(e,t,n,o){return Ot(e,t,n,pt,Ct(e,0,o),Ct(e,o+1,-1),o)}function $t(e,t){for(var n="",o=At(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function qt(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case pt:return e.return=e.return||e.value;case ut:return"";case gt:return e.return=e.value+"{"+$t(e.children,o)+"}";case dt:e.value=e.props.join(",")}return xt(n=$t(e.children,o))?e.return=e.value+"{"+n+"}":""}function en(e){var t=At(e);return function(n,o,r,i){for(var a="",l=0;l<t;l++)a+=e[l](n,o,r,i)||"";return a}}function tn(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var nn=function(e,t,n){for(var o=0,r=0;o=r,r=Rt(),38===o&&12===r&&(t[n]=1),!Ht(r);)Et();return kt(e,Bt)},on=function(e,t){return Lt(function(e,t){var n=-1,o=44;do{switch(Ht(o)){case 0:38===o&&12===Rt()&&(t[n]=1),e[n]+=nn(Bt-1,t,n);break;case 2:e[n]+=Ft(o);break;case 4:if(44===o){e[++n]=58===Rt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=bt(o)}}while(o=Et());return e}(Pt(e),t))},rn=new WeakMap,an=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||rn.get(n))&&!o){rn.set(e,!0);for(var r=[],i=on(t,r),a=n.props,l=0,c=0;l<i.length;l++)for(var s=0;s<a.length;s++,c++)e.props[c]=r[l]?i[l].replace(/&\f/g,a[s]):a[s]+" "+i[l]}}},ln=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},cn=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},sn=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},un=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},dn=function(e,t,n){sn(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),un(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!sn(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),un(e)))};function pn(e,t){switch(function(e,t){return 45^yt(e,0)?(((t<<2^yt(e,0))<<2^yt(e,1))<<2^yt(e,2))<<2^yt(e,3):0}(e,t)){case 5103:return st+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return st+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return st+e+ct+e+lt+e+e;case 6828:case 4268:return st+e+lt+e+e;case 6165:return st+e+lt+"flex-"+e+e;case 5187:return st+e+vt(e,/(\w+).+(:[^]+)/,st+"box-$1$2"+lt+"flex-$1$2")+e;case 5443:return st+e+lt+"flex-item-"+vt(e,/flex-|-self/,"")+e;case 4675:return st+e+lt+"flex-line-pack"+vt(e,/align-content|flex-|-self/,"")+e;case 5548:return st+e+lt+vt(e,"shrink","negative")+e;case 5292:return st+e+lt+vt(e,"basis","preferred-size")+e;case 6060:return st+"box-"+vt(e,"-grow","")+st+e+lt+vt(e,"grow","positive")+e;case 4554:return st+vt(e,/([^-])(transform)/g,"$1"+st+"$2")+e;case 6187:return vt(vt(vt(e,/(zoom-|grab)/,st+"$1"),/(image-set)/,st+"$1"),e,"")+e;case 5495:case 3959:return vt(e,/(image-set\([^]*)/,st+"$1$`$1");case 4968:return vt(vt(e,/(.+:)(flex-)?(.*)/,st+"box-pack:$3"+lt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+st+e+e;case 4095:case 3583:case 4068:case 2532:return vt(e,/(.+)-inline(.+)/,st+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xt(e)-1-t>6)switch(yt(e,t+1)){case 109:if(45!==yt(e,t+4))break;case 102:return vt(e,/(.+:)(.+)-([^]+)/,"$1"+st+"$2-$3$1"+ct+(108==yt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~It(e,"stretch")?pn(vt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==yt(e,t+1))break;case 6444:switch(yt(e,xt(e)-3-(~It(e,"!important")&&10))){case 107:return vt(e,":",":"+st)+e;case 101:return vt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+st+(45===yt(e,14)?"inline-":"")+"box$3$1"+st+"$2$3$1"+lt+"$2box$3")+e}break;case 5936:switch(yt(e,t+11)){case 114:return st+e+lt+vt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return st+e+lt+vt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return st+e+lt+vt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return st+e+lt+e+e}return e}var gn,fn,bn,mn="undefined"!=typeof document,hn=mn?void 0:(gn=function(){return tn((function(){var e={};return function(t){return e[t]}}))},fn=new WeakMap,function(e){if(fn.has(e))return fn.get(e);var t=gn(e);return fn.set(e,t),t}),vn=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case pt:e.return=pn(e.value,e.length);break;case gt:return $t([Xt(e,{value:vt(e.value,"@","@"+st)})],o);case dt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return $t([Xt(e,{props:[vt(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return $t([Xt(e,{props:[vt(t,/:(plac\w+)/,":"+st+"input-$1")]}),Xt(e,{props:[vt(t,/:(plac\w+)/,":-moz-$1")]}),Xt(e,{props:[vt(t,/:(plac\w+)/,lt+"input-$1")]})],o)}return""}))}}],In=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(mn&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||vn;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var r,i,a={},l=[];mn&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)})));var c,s=[an,ln];if("production"!==process.env.NODE_ENV&&s.push(function(e){return function(t,n,o){if("rule"===t.type&&!e.compat){var r=t.value.match(/(:first|:nth|:nth-last)-child/g);if(r){for(var i=t.parent?t.parent.children:o,a=i.length-1;a>=0;a--){var l=i[a];if(l.line<t.line)break;if(l.column<t.column){if(cn(l))return;break}}r.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return h.compat}}),dn),mn){var u,d=[qt,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==ut&&u.insert(e.value+"{}"))}:(c=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],p=en(s.concat(o,d));i=function(e,t,n,o){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),$t(jt(e?e+"{"+t.styles+"}":t.styles),p),o&&(h.inserted[t.name]=!0)}}else{var g=[qt],f=en(s.concat(o,g)),b=hn(o)(t),m=function(e,t){var n=t.name;return void 0===b[n]&&(b[n]=$t(jt(e?e+"{"+t.styles+"}":t.styles),f)),b[n]};i=function(e,t,n,o){var r=t.name,i=m(e,t);return void 0===h.compat?(o&&(h.inserted[r]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):o?void(h.inserted[r]=i):i}}var h={key:t,sheet:new at({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(l),h},yn={exports:{}},Cn={};var xn,An,wn={};
|
1
|
+
import{ToggleControl as e,Button as t,BaseControl as n,ColorPalette as o,Icon as r,CheckboxControl as i,RadioControl as a,RangeControl as l,TabPanel as c,Notice as s,Spinner as u,Placeholder as d,SelectControl as p}from"@wordpress/components";import{useState as g,useRef as f,useEffect as b,useLayoutEffect as m,useMemo as h}from"@wordpress/element";import{jsx as v,jsxs as I,Fragment as y}from"react/jsx-runtime";import{useSelect as C,useDispatch as x}from"@wordpress/data";import A from"@wordpress/api-fetch";import{store as w,MediaUploadCheck as G,MediaUpload as N,MediaPlaceholder as W,URLInput as B}from"@wordpress/block-editor";import{plus as T,edit as V,trash as O,page as X}from"@wordpress/icons";import*as S from"react";import{forwardRef as E,useContext as R,useLayoutEffect as Z,useEffect as k,useRef as H,useState as P,useMemo as L,useCallback as F,createContext as D,Component as M,Fragment as Y,createRef as J,createElement as z}from"react";import{createPortal as j,findDOMNode as U}from"react-dom";import{addFilter as Q}from"@wordpress/hooks";const _="Enable Preview",K="Please check this option to see how the block will actually look and behave on the frontend.",$=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{disabled:n=!1,label:o=_,helpText:r=K}=t,[i,a]=g(!1),l=()=>a((e=>!e));return{isPreview:i,renderPreviewToggle:()=>v(e,{label:o,help:r,checked:i,onChange:l,disabled:n})}},q=e=>{let{isEnabled:t,setupSlider:n,dependencies:o=[]}=e;const r=f(null),i=f(null);return b((()=>(t&&null!=r&&r.current&&(i.current=n(r.current)),()=>{var e;i.current&&(null===(e=i.current)||void 0===e||e.destroy(),i.current=null)})),[t,...o]),{sliderElRef:r,sliderInstance:i.current}},ee=(e,t)=>C((n=>{const{getBlock:o,getBlockParents:r,getSelectedBlock:i}=n("core/block-editor"),a=i();if(!a)return null;const l=r(a.clientId,!0);if(!l.includes(t))return null;if((null==a?void 0:a.name)===e)return a;if(null!=l&&l.length)for(let n=0;n<l.length;n++){const r=l[n],i=o(r);if((null==i?void 0:i.name)===e)return i;if(t&&r===t)break}return null}),[e,t]),te=(e,t)=>(n,o)=>{const r=e.find((e=>e.color===n));t({[o]:r?{value:n,slug:r.slug}:null})},ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return C((t=>{var n;const{getSettings:o}=t("core/block-editor"),r=(null===(n=o())||void 0===n?void 0:n.colors)||[];if(e.length>0){const t=new Map(r.map((e=>[e.slug,e])));return e.map((e=>t.get(e))).filter(Boolean)}return r}),[e])},oe=e=>(t,n)=>{e({[t]:n})},re={linkLabel:{type:"string",default:""},linkSource:{type:"string",default:"#"},linkIsOpenInNewTab:{type:"boolean",default:!1}},ie={media:{type:"object",default:{id:null,url:"",alt:"",filename:""}}},ae={title:{type:"string",default:"Title"},description:{type:"string",default:"Description"}},le={animationFile:{type:"object",default:{id:null,url:null,name:null,filename:null,mime:null}},isAnimationLooped:{type:"boolean",default:!0}},ce={curatedPosts:{type:"array",default:[],items:{type:"object",properties:{value:{type:"number"},label:{type:"string"}}}}},se={curatedCategories:{type:"array",default:[],items:{type:"object",properties:{value:{type:"number"},label:{type:"string"}}}}},ue={numberOfPosts:{type:"number",default:5}},de=function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={type:"string"};e&&(null==e?void 0:e.length)>0&&(i.enum=e,i.default=e[0]);let a={type:"string"};return t&&(null==t?void 0:t.length)>0&&(a.enum=[...t],a.default=t[0]),{dataSource:i,queryType:a,...n?ce:{},...o?se:{},...r?ue:{}}},pe={isIncludeBackgroundMedia:{type:"boolean",default:!1},backgroundMediaType:{type:"string",default:"color"},backgroundColor:{type:"object",default:{value:"#ffffff",slug:"white"}},backgroundImage:{type:"object",default:{id:null,url:""}},backgroundVideo:{type:"object",default:{id:null,url:""}},isIncludeOverlay:{type:"boolean",default:!1}},ge={spacing:{type:"object",default:{margin:{top:0,bottom:0},padding:{top:0,bottom:0}}}},fe={spacing:{type:"object",default:{desktop:{margin:{top:0,bottom:0},padding:{top:0,bottom:0}},mobile:{margin:{top:0,bottom:0},padding:{top:0,bottom:0}}}}},be={LATEST:"latest",CURATED:"curated",BY_CATEGORY:"by_category"},me={IMAGE:"image",VIDEO:"video",ANIMATION:"animation"},he={[me.IMAGE]:"Image",[me.VIDEO]:"Video",[me.ANIMATION]:"Animation"};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ie,ye,Ce={exports:{}};ye=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(n,o){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=t[(o="string"==typeof o?{replacement:o}:o||{}).locale]||{},i=void 0===o.replacement?"-":o.replacement,a=void 0===o.trim||o.trim,l=n.normalize().split("").reduce((function(t,n){var a=r[n];return void 0===a&&(a=e[n]),void 0===a&&(a=n),a===i&&(a=" "),t+a.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return o.strict&&(l=l.replace(/[^A-Za-z0-9\s]/g,"")),a&&(l=l.trim()),l=l.replace(/\s+/g,i),o.lower&&(l=l.toLowerCase()),l}return n.extend=function(t){Object.assign(e,t)},n},(Ie=Ce).exports=ye(),Ie.exports.default=ye();var xe=ve(Ce.exports);const Ae=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=await A({path:"/wp/v2/".concat(t,"?search=").concat(encodeURIComponent(e))});return n?null==o?void 0:o.map(n):null==o?void 0:o.map((e=>{var t;const n=document.createElement("div");return n.innerHTML=null==e||null===(t=e.title)||void 0===t?void 0:t.rendered,{value:e.id,label:n.textContent||n.innerText||""}}))},we=e=>xe(e,{replacement:"-",lower:!0,strict:!0}),Ge=e=>{if(e.startsWith("<?xml")){const t=e.indexOf("?>");-1!==t&&(e=e.substring(t+2))}return e=e.trim()},Ne="image/svg+xml",We=async e=>{const t=(null==e?void 0:e.mime)===Ne||(null==e?void 0:e.mime_type)===Ne,n={isSvg:t,imageUrl:null,svgCode:null,width:null==e?void 0:e.width,height:null==e?void 0:e.height};return t?n.svgCode=await fetch(e.url).then((e=>e.text())).then(Ge):n.imageUrl=null==e?void 0:e.url,n},Be=e=>{if(!e)return"";let t=e;const n=e.match(/^\+\d(\d{3})(\d{3})(\d{4})$/);return n&&(t="".concat(n[1],"-").concat(n[2],"-").concat(n[3])),t},Te=e=>{const{street_number:t="",street_name:n="",city:o="",state_short:r="",post_code:i=""}=e;let a=["".concat(t," ").concat(n).trim()];o&&a.push("<br>".concat(o));let l=[];r&&l.push(r),i&&l.push(i);let c=l.join(" ");return c&&a.push("".concat(a.length>0?", ":"").concat(c)),a.join("")},Ve=e=>{const{getPostType:t,queryType:n,curatedPostsIds:o=[],categoriesTaxonomy:r,curatedCategoriesIds:i=[],numberOfPosts:a=-1,extraQueryArgs:l,dependencies:c}=e;return C((e=>{const c={per_page:a,order:"desc",orderby:"date",_embed:!0,...l};n===be.BY_CATEGORY&&r&&(null==i?void 0:i.length)>0?c[r]=i.join(","):n===be.CURATED&&(null==o?void 0:o.length)>0&&(c.include=o,c.orderby="include");const s=t(),u=e("core").getEntityRecords("postType",s,c);return{postsToShow:u,isLoading:e("core/data").isResolving("core","getEntityRecords",["postType",s,c])||void 0===u}}),c)},Oe=(e,t,n,o)=>{const r=e===t,i=f(null),a=()=>{var e;const t=null===(e=i.current)||void 0===e?void 0:e.querySelector(o);t&&(t.style.maxHeight=t.scrollHeight+"px")};return b((()=>{r?a():(()=>{var e;const t=null===(e=i.current)||void 0===e?void 0:e.querySelector(o);t&&(t.style.maxHeight=0)})()}),[r]),b((()=>{if(!r||!i.current)return;const e=new ResizeObserver((e=>{for(const t of e)t.contentBoxSize&&a()}));return e.observe(i.current),()=>e.disconnect()}),[r]),{blockRef:i,toggleContent:()=>{n(r?null:e)},isActive:r}},Xe=(e,n,o)=>{const{insertBlock:r}=x(w),{childBlocks:i,innerBlocksCount:a,selectedBlock:l,selectedBlockClientId:c,parentBlockId:s,getBlockRootClientId:u}=C((t=>{var n;const{getBlock:o,getBlockCount:r,getSelectedBlock:i,getSelectedBlockClientId:a,getBlockRootClientId:l}=t(w);return{childBlocks:(null===(n=o(e))||void 0===n?void 0:n.innerBlocks)||[],innerBlocksCount:r(e),selectedBlock:i(),selectedBlockClientId:a(),parentBlockId:l(a()),getBlockRootClientId:l}}),[e]),[d,p]=g(null);m((()=>{i.length>0&&!d&&p(i[0].clientId)}),[i,d]);const f=ee(null==l?void 0:l.clientId,n);m((()=>{f?p(f.clientId):e===s&&null!=l&&l.clientId&&p(l.clientId)}),[l,f,e,s]);const b=()=>{const t=function(t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;const i=o(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return r(i,n,e),i}(n);p(t.clientId)};return{childBlocks:i,innerBlocksCount:a,selectedBlock:l,selectedBlockClientId:c,parentBlockId:s,activeItemId:d,setActiveItemId:p,getBlockRootClientId:u,AddNewTabButton:e=>{let{label:n="Add new tab"}=e;return v(t,{className:"add-new-child-btn",icon:T,label:n,onClick:b})}}},Se=(e,t)=>{const n=C((e=>e("core/blocks").getBlockTypes()),[]);return h((()=>{var o;return null==n||null===(o=n.filter((n=>{const o=!(null==n||!n.parent),r=!(null==n||!n.ancestor),i=(null==n?void 0:n.parent)&&n.parent.includes(e),a=(null==n?void 0:n.ancestor)&&n.ancestor.includes(e);return!t.includes(n.name)&&(!o||i)&&(!r||a)})))||void 0===o?void 0:o.map((e=>e.name))}),[n,t,e])},Ee=e=>{let{label:t="Color",value:r,attributeName:i,setAttributes:a,allowedColors:l}=e;const c=ne(l),s=te(c,a);return v(n,{label:t,children:v(o,{colors:c,value:r,disableCustomColors:!0,onChange:e=>s(e,i)})})},Re=e=>{let{imageId:n,imageUrl:o,imageAlt:i,svgCode:a,onSelect:l,onRemove:c}=e;const s=n&&o,u=s&&a;return v(G,{children:v(N,{onSelect:l,allowedTypes:["image"],value:n,render:e=>{let{open:n}=e;return s?I("div",{className:"bc-image-wrapper",children:[s&&(u?v("div",{className:"svg-container",dangerouslySetInnerHTML:{__html:a}}):v("img",{src:o,alt:i||"icon"})),I("div",{className:"bc-image-wrapper__actions",children:[v(t,{className:"bc-image-wrapper__btn bc-image-wrapper__replace-btn",type:"button",onClick:n,children:v(r,{icon:V,size:20,className:"bc-image-wrapper__btn-icon"})}),v(t,{className:"bc-image-wrapper__btn bc-image-wrapper__remove-btn",type:"button",onClick:c,children:v(r,{icon:O,size:20,className:"bc-image-wrapper__btn-icon"})})]}),v("div",{className:"bc-image-wrapper__overlay"})]}):v(W,{icon:"format-image",onSelect:l,allowedTypes:["image","image/svg+xml"],labels:{title:"Icon Image"}})}})})},Ze=e=>{let{imageId:n,imageUrl:o,imageAlt:r,placeholder:i=!1,onSelectImage:a,onRemoveImage:l,className:c=""}=e;const s=n&&o;return v(G,{children:v(N,{onSelect:a,allowedTypes:["image"],value:n,render:e=>{let{open:n}=e;return s?I("div",{className:"bc-image-wrapper ".concat(c),children:[v("img",{src:o,alt:r,onClick:n}),I("div",{className:"bc-image-wrapper__actions",children:[v(t,{className:"bc-image-wrapper__btn bc-image-wrapper__replace-btn",type:"button",onClick:n,children:"Replace"}),v(t,{className:"bc-image-wrapper__btn bc-image-wrapper__remove-btn",type:"button",onClick:l,children:"Remove"})]}),v("div",{className:"bc-image-wrapper__overlay"})]}):i?v(W,{className:"media-placeholder",icon:"format-image",onSelect:a,allowedTypes:["image"],labels:{title:"Image",instructions:"Upload an image file or pick one from your media library."}}):null}})})},ke=e=>{let{url:t={value:"#",attrName:"linkSource"},isOpenInNewTab:o={value:!1,attrName:"linkIsOpenInNewTab"},setAttributes:r,label:a="Source"}=e;return I(y,{children:[v(n,{label:a,children:v(B,{className:"bc-url-input",value:t.value,onChange:e=>r({[t.attrName]:e})})}),v(i,{checked:o.value,label:"Open in a new tab",onChange:e=>r({[o.attrName]:e})})]})},He=e=>{let{imageId:n,imageUrl:o,onImageClick:r,onRemoveClick:i,onSelectClick:a}=e;return n&&o?I(y,{children:[v("div",{className:"bc-selected-media-wrapper",children:v("img",{src:o,className:"bc-selected-media bc-selected-media--image",alt:"Selected Image",onClick:r})}),v(t,{className:"bc-remove-btn",onClick:i,isSecondary:!0,isDestructive:!0,children:"Remove Image"})]}):v(t,{variant:"secondary",onClick:a,className:"bc-select-btn",children:"Select Image"})},Pe=e=>{let{videoId:n,videoUrl:o,onRemoveClick:r,onSelectClick:i}=e;return n&&o?I(y,{children:[v("div",{className:"bc-selected-media-wrapper",children:v("video",{src:o,className:"bc-selected-media bc-selected-media--video",controls:!0})}),v(t,{className:"bc-remove-btn",onClick:r,isSecondary:!0,isDestructive:!0,children:"Remove Video"})]}):v(t,{variant:"secondary",onClick:i,className:"bc-select-btn",children:"Select Video"})},Le=e=>{let{animationFileId:n,animationFileUrl:o,animationFileName:i,onSelectClick:a,onRemoveClick:l}=e;return n&&o?I(y,{children:[I("div",{className:"bc-animation-block-json-file",onClick:a,children:[v(r,{icon:X,size:36}),v("span",{children:i})]}),v(t,{variant:"secondary",isDestructive:!0,className:"bc-remove-btn",onClick:l,children:"Remove File"})]}):v(t,{variant:"secondary",onClick:a,children:"Select File"})},Fe=e=>{let{mediaId:t,mediaUrl:n,mediaFileName:o="",onSelect:r,onRemove:i,type:a=me.IMAGE,...l}=e;if(a===me.IMAGE)return v(G,{children:v(N,{onSelect:r,allowedTypes:["image","image/svg+xml"],accept:"image/*",value:t,render:e=>{let{open:o}=e;return v(He,{imageId:t,imageUrl:n,onImageClick:o,onSelectClick:o,onRemoveClick:i})},...l})});if(a===me.VIDEO)return v(G,{children:v(N,{onSelect:r,allowedTypes:["video"],value:t,render:e=>{let{open:o}=e;return v(Pe,{videoId:t,videoUrl:n,onSelectClick:o,onRemoveClick:i})},...l})});if(a===me.ANIMATION)return v(G,{children:v(N,{onSelect:r,allowedTypes:["application/json","text/plain","application/lottie"],value:t,render:e=>{let{open:r}=e;return v(Le,{animationFileId:t,animationFileUrl:n,animationFileName:o,onSelectClick:r,onRemoveClick:i})},...l})});throw new Error("Unrecognized media type.")};function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},De.apply(this,arguments)}function Me(e){return Me="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},Me(e)}function Ye(e){var t=function(e,t){if("object"!=Me(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Me(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Me(t)?t:t+""}function Je(e,t,n){return(t=Ye(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){Je(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Ye(o.key),o)}}function _e(e,t,n){return t&&Qe(e.prototype,t),n&&Qe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ke(e,t){return Ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ke(e,t)}function $e(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ke(e,t)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qe(e)}function et(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(et=function(){return!!e})()}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){if(t&&("object"===Me(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return tt(e)}function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function rt(e,t){if(e){if("string"==typeof e)return ot(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ot(e,t):void 0}}function it(e){return function(e){if(Array.isArray(e))return ot(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||rt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var at=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{o.insertRule(e,o.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),lt="-ms-",ct="-moz-",st="-webkit-",ut="comm",dt="rule",pt="decl",gt="@keyframes",ft=Math.abs,bt=String.fromCharCode,mt=Object.assign;function ht(e){return e.trim()}function vt(e,t,n){return e.replace(t,n)}function It(e,t){return e.indexOf(t)}function yt(e,t){return 0|e.charCodeAt(t)}function Ct(e,t,n){return e.slice(t,n)}function xt(e){return e.length}function At(e){return e.length}function wt(e,t){return t.push(e),e}var Gt=1,Nt=1,Wt=0,Bt=0,Tt=0,Vt="";function Ot(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Gt,column:Nt,length:a,return:""}}function Xt(e,t){return mt(Ot("",null,null,"",null,null,0),e,{length:-e.length},t)}function St(){return Tt=Bt>0?yt(Vt,--Bt):0,Nt--,10===Tt&&(Nt=1,Gt--),Tt}function Et(){return Tt=Bt<Wt?yt(Vt,Bt++):0,Nt++,10===Tt&&(Nt=1,Gt++),Tt}function Rt(){return yt(Vt,Bt)}function Zt(){return Bt}function kt(e,t){return Ct(Vt,e,t)}function Ht(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pt(e){return Gt=Nt=1,Wt=xt(Vt=e),Bt=0,[]}function Lt(e){return Vt="",e}function Ft(e){return ht(kt(Bt-1,Yt(91===e?e+2:40===e?e+1:e)))}function Dt(e){for(;(Tt=Rt())&&Tt<33;)Et();return Ht(e)>2||Ht(Tt)>3?"":" "}function Mt(e,t){for(;--t&&Et()&&!(Tt<48||Tt>102||Tt>57&&Tt<65||Tt>70&&Tt<97););return kt(e,Zt()+(t<6&&32==Rt()&&32==Et()))}function Yt(e){for(;Et();)switch(Tt){case e:return Bt;case 34:case 39:34!==e&&39!==e&&Yt(Tt);break;case 40:41===e&&Yt(e);break;case 92:Et()}return Bt}function Jt(e,t){for(;Et()&&e+Tt!==57&&(e+Tt!==84||47!==Rt()););return"/*"+kt(t,Bt-1)+"*"+bt(47===e?e:Et())}function zt(e){for(;!Ht(Rt());)Et();return kt(e,Bt)}function jt(e){return Lt(Ut("",null,null,null,[""],e=Pt(e),0,[0],e))}function Ut(e,t,n,o,r,i,a,l,c){for(var s=0,u=0,d=a,p=0,g=0,f=0,b=1,m=1,h=1,v=0,I="",y=r,C=i,x=o,A=I;m;)switch(f=v,v=Et()){case 40:if(108!=f&&58==yt(A,d-1)){-1!=It(A+=vt(Ft(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:A+=Ft(v);break;case 9:case 10:case 13:case 32:A+=Dt(f);break;case 92:A+=Mt(Zt()-1,7);continue;case 47:switch(Rt()){case 42:case 47:wt(_t(Jt(Et(),Zt()),t,n),c);break;default:A+="/"}break;case 123*b:l[s++]=xt(A)*h;case 125*b:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==h&&(A=vt(A,/\f/g,"")),g>0&&xt(A)-d&&wt(g>32?Kt(A+";",o,n,d-1):Kt(vt(A," ","")+";",o,n,d-2),c);break;case 59:A+=";";default:if(wt(x=Qt(A,t,n,s,u,r,l,I,y=[],C=[],d),i),123===v)if(0===u)Ut(A,t,x,x,y,i,d,l,C);else switch(99===p&&110===yt(A,3)?100:p){case 100:case 108:case 109:case 115:Ut(e,x,x,o&&wt(Qt(e,x,x,0,0,r,l,I,r,y=[],d),C),r,C,d,l,o?y:C);break;default:Ut(A,x,x,x,[""],C,0,l,C)}}s=u=g=0,b=h=1,I=A="",d=a;break;case 58:d=1+xt(A),g=f;default:if(b<1)if(123==v)--b;else if(125==v&&0==b++&&125==St())continue;switch(A+=bt(v),v*b){case 38:h=u>0?1:(A+="\f",-1);break;case 44:l[s++]=(xt(A)-1)*h,h=1;break;case 64:45===Rt()&&(A+=Ft(Et())),p=Rt(),u=d=xt(I=A+=zt(Zt())),v++;break;case 45:45===f&&2==xt(A)&&(b=0)}}return i}function Qt(e,t,n,o,r,i,a,l,c,s,u){for(var d=r-1,p=0===r?i:[""],g=At(p),f=0,b=0,m=0;f<o;++f)for(var h=0,v=Ct(e,d+1,d=ft(b=a[f])),I=e;h<g;++h)(I=ht(b>0?p[h]+" "+v:vt(v,/&\f/g,p[h])))&&(c[m++]=I);return Ot(e,t,n,0===r?dt:l,c,s,u)}function _t(e,t,n){return Ot(e,t,n,ut,bt(Tt),Ct(e,2,-2),0)}function Kt(e,t,n,o){return Ot(e,t,n,pt,Ct(e,0,o),Ct(e,o+1,-1),o)}function $t(e,t){for(var n="",o=At(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function qt(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case pt:return e.return=e.return||e.value;case ut:return"";case gt:return e.return=e.value+"{"+$t(e.children,o)+"}";case dt:e.value=e.props.join(",")}return xt(n=$t(e.children,o))?e.return=e.value+"{"+n+"}":""}function en(e){var t=At(e);return function(n,o,r,i){for(var a="",l=0;l<t;l++)a+=e[l](n,o,r,i)||"";return a}}function tn(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var nn=function(e,t,n){for(var o=0,r=0;o=r,r=Rt(),38===o&&12===r&&(t[n]=1),!Ht(r);)Et();return kt(e,Bt)},on=function(e,t){return Lt(function(e,t){var n=-1,o=44;do{switch(Ht(o)){case 0:38===o&&12===Rt()&&(t[n]=1),e[n]+=nn(Bt-1,t,n);break;case 2:e[n]+=Ft(o);break;case 4:if(44===o){e[++n]=58===Rt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=bt(o)}}while(o=Et());return e}(Pt(e),t))},rn=new WeakMap,an=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||rn.get(n))&&!o){rn.set(e,!0);for(var r=[],i=on(t,r),a=n.props,l=0,c=0;l<i.length;l++)for(var s=0;s<a.length;s++,c++)e.props[c]=r[l]?i[l].replace(/&\f/g,a[s]):a[s]+" "+i[l]}}},ln=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},cn=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},sn=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},un=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},dn=function(e,t,n){sn(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),un(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!sn(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),un(e)))};function pn(e,t){switch(function(e,t){return 45^yt(e,0)?(((t<<2^yt(e,0))<<2^yt(e,1))<<2^yt(e,2))<<2^yt(e,3):0}(e,t)){case 5103:return st+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return st+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return st+e+ct+e+lt+e+e;case 6828:case 4268:return st+e+lt+e+e;case 6165:return st+e+lt+"flex-"+e+e;case 5187:return st+e+vt(e,/(\w+).+(:[^]+)/,st+"box-$1$2"+lt+"flex-$1$2")+e;case 5443:return st+e+lt+"flex-item-"+vt(e,/flex-|-self/,"")+e;case 4675:return st+e+lt+"flex-line-pack"+vt(e,/align-content|flex-|-self/,"")+e;case 5548:return st+e+lt+vt(e,"shrink","negative")+e;case 5292:return st+e+lt+vt(e,"basis","preferred-size")+e;case 6060:return st+"box-"+vt(e,"-grow","")+st+e+lt+vt(e,"grow","positive")+e;case 4554:return st+vt(e,/([^-])(transform)/g,"$1"+st+"$2")+e;case 6187:return vt(vt(vt(e,/(zoom-|grab)/,st+"$1"),/(image-set)/,st+"$1"),e,"")+e;case 5495:case 3959:return vt(e,/(image-set\([^]*)/,st+"$1$`$1");case 4968:return vt(vt(e,/(.+:)(flex-)?(.*)/,st+"box-pack:$3"+lt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+st+e+e;case 4095:case 3583:case 4068:case 2532:return vt(e,/(.+)-inline(.+)/,st+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xt(e)-1-t>6)switch(yt(e,t+1)){case 109:if(45!==yt(e,t+4))break;case 102:return vt(e,/(.+:)(.+)-([^]+)/,"$1"+st+"$2-$3$1"+ct+(108==yt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~It(e,"stretch")?pn(vt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==yt(e,t+1))break;case 6444:switch(yt(e,xt(e)-3-(~It(e,"!important")&&10))){case 107:return vt(e,":",":"+st)+e;case 101:return vt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+st+(45===yt(e,14)?"inline-":"")+"box$3$1"+st+"$2$3$1"+lt+"$2box$3")+e}break;case 5936:switch(yt(e,t+11)){case 114:return st+e+lt+vt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return st+e+lt+vt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return st+e+lt+vt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return st+e+lt+e+e}return e}var gn,fn,bn,mn="undefined"!=typeof document,hn=mn?void 0:(gn=function(){return tn((function(){var e={};return function(t){return e[t]}}))},fn=new WeakMap,function(e){if(fn.has(e))return fn.get(e);var t=gn(e);return fn.set(e,t),t}),vn=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case pt:e.return=pn(e.value,e.length);break;case gt:return $t([Xt(e,{value:vt(e.value,"@","@"+st)})],o);case dt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return $t([Xt(e,{props:[vt(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return $t([Xt(e,{props:[vt(t,/:(plac\w+)/,":"+st+"input-$1")]}),Xt(e,{props:[vt(t,/:(plac\w+)/,":-moz-$1")]}),Xt(e,{props:[vt(t,/:(plac\w+)/,lt+"input-$1")]})],o)}return""}))}}],In=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(mn&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||vn;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var r,i,a={},l=[];mn&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)})));var c,s=[an,ln];if("production"!==process.env.NODE_ENV&&s.push(function(e){return function(t,n,o){if("rule"===t.type&&!e.compat){var r=t.value.match(/(:first|:nth|:nth-last)-child/g);if(r){for(var i=t.parent?t.parent.children:o,a=i.length-1;a>=0;a--){var l=i[a];if(l.line<t.line)break;if(l.column<t.column){if(cn(l))return;break}}r.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return h.compat}}),dn),mn){var u,d=[qt,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==ut&&u.insert(e.value+"{}"))}:(c=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],p=en(s.concat(o,d));i=function(e,t,n,o){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),$t(jt(e?e+"{"+t.styles+"}":t.styles),p),o&&(h.inserted[t.name]=!0)}}else{var g=[qt],f=en(s.concat(o,g)),b=hn(o)(t),m=function(e,t){var n=t.name;return void 0===b[n]&&(b[n]=$t(jt(e?e+"{"+t.styles+"}":t.styles),f)),b[n]};i=function(e,t,n,o){var r=t.name,i=m(e,t);return void 0===h.compat?(o&&(h.inserted[r]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?i+t.map:i):o?void(h.inserted[r]=i):i}}var h={key:t,sheet:new at({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(l),h},yn={exports:{}},Cn={};var xn,An,wn={};
|
2
2
|
/** @license React v16.13.1
|
3
3
|
* react-is.development.js
|
4
4
|
*
|