@lowdefy/blocks-color-selectors 3.23.0-alpha.0 → 4.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocks/ChromeColorSelector/ChromeColorSelector.js +58 -0
- package/dist/blocks/ChromeColorSelector/index.js +33 -0
- package/dist/blocks/ChromeColorSelector/schema.json +99 -0
- package/dist/blocks/ChromeColorSelector/style.less +17 -0
- package/dist/blocks/CircleColorSelector/CircleColorSelector.js +77 -0
- package/dist/blocks/CircleColorSelector/index.js +32 -0
- package/dist/blocks/CircleColorSelector/schema.json +156 -0
- package/dist/blocks/CircleColorSelector/style.less +17 -0
- package/dist/blocks/ColorSelector/ColorSelector.js +56 -0
- package/dist/blocks/ColorSelector/index.js +32 -0
- package/dist/blocks/ColorSelector/schema.json +131 -0
- package/dist/blocks/ColorSelector/style.less +17 -0
- package/dist/blocks/CompactColorSelector/CompactColorSelector.js +54 -0
- package/dist/blocks/CompactColorSelector/index.js +33 -0
- package/dist/blocks/CompactColorSelector/schema.json +144 -0
- package/dist/blocks/CompactColorSelector/style.less +17 -0
- package/dist/blocks/GithubColorSelector/GithubColorSelector.js +56 -0
- package/dist/blocks/GithubColorSelector/index.js +33 -0
- package/dist/blocks/GithubColorSelector/schema.json +138 -0
- package/dist/blocks/GithubColorSelector/style.less +17 -0
- package/dist/blocks/SliderColorSelector/SliderColorSelector.js +53 -0
- package/dist/blocks/SliderColorSelector/index.js +32 -0
- package/dist/blocks/SliderColorSelector/schema.json +96 -0
- package/dist/blocks/SliderColorSelector/style.less +17 -0
- package/dist/blocks/SwatchesColorSelector/SwatchesColorSelector.js +56 -0
- package/dist/blocks/SwatchesColorSelector/index.js +32 -0
- package/dist/blocks/SwatchesColorSelector/schema.json +146 -0
- package/dist/blocks/SwatchesColorSelector/style.less +17 -0
- package/dist/blocks/TwitterColorSelector/TwitterColorSelector.js +50 -0
- package/dist/blocks/TwitterColorSelector/index.js +32 -0
- package/dist/blocks/TwitterColorSelector/schema.json +125 -0
- package/dist/blocks/TwitterColorSelector/style.less +17 -0
- package/dist/index.js +37 -0
- package/package.json +27 -42
- package/dist/151.js +0 -1
- package/dist/181.js +0 -1
- package/dist/206.js +0 -1
- package/dist/307.js +0 -1
- package/dist/348.js +0 -1
- package/dist/402.js +0 -1
- package/dist/474.js +0 -1
- package/dist/488.js +0 -2
- package/dist/488.js.LICENSE.txt +0 -8
- package/dist/523.js +0 -1
- package/dist/551.js +0 -2
- package/dist/551.js.LICENSE.txt +0 -9
- package/dist/705.js +0 -2
- package/dist/705.js.LICENSE.txt +0 -23
- package/dist/737.js +0 -2
- package/dist/737.js.LICENSE.txt +0 -36
- package/dist/742.js +0 -1
- package/dist/757.js +0 -1
- package/dist/879.js +0 -1
- package/dist/894.js +0 -1
- package/dist/917.js +0 -1
- package/dist/964.js +0 -2
- package/dist/964.js.LICENSE.txt +0 -14
- package/dist/main.js +0 -1
- package/dist/meta/ChromeColorSelector.json +0 -1
- package/dist/meta/CircleColorSelector.json +0 -1
- package/dist/meta/ColorSelector.json +0 -1
- package/dist/meta/CompactColorSelector.json +0 -1
- package/dist/meta/GithubColorSelector.json +0 -1
- package/dist/meta/SliderColorSelector.json +0 -1
- package/dist/meta/SwatchesColorSelector.json +0 -1
- package/dist/meta/TwitterColorSelector.json +0 -1
- package/dist/remoteEntry.js +0 -1
package/dist/348.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_lowdefy_blocks_color_selectors=self.webpackChunk_lowdefy_blocks_color_selectors||[]).push([[348],{14030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(73233))&&n.__esModule?n:{default:n};t.default=e=>{var{schemaErrors:t}=e;return t&&0!==t.length?a.default.createElement("div",{style:{padding:10,fontSize:"0.8rem",border:"1px solid red",background:"#fBB",width:"100%"}},a.default.createElement("div",null,a.default.createElement("b",null,"Schema Errors")),t.map(((e,t)=>a.default.createElement("div",{key:t},a.default.createElement("br",null),a.default.createElement("div",null,a.default.createElement("b",null,"keyword:")," ",e.keyword),a.default.createElement("div",null,a.default.createElement("b",null,"message:")," ",e.message),a.default.createElement("div",null,a.default.createElement("b",null,"params:")," ",JSON.stringify(e.params)),a.default.createElement("div",null,a.default.createElement("b",null,"dataPath:")," ",e.dataPath),a.default.createElement("div",null,a.default.createElement("b",null,"schemaPath:")," ",e.schemaPath))))):""}},19176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(73233)),o=(n=r(77199))&&n.__esModule?n:{default:n};function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}class s extends a.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}render(){var{children:e,description:t,fallback:r,fullPage:n,message:i,name:s}=this.props,{hasError:l,error:u}=this.state;return l?r?r(u):n?a.default.createElement(o.default,{code:u.number,description:t||u.description,message:i||u.message,name:s||u.name}):"":e}}var l=s;t.default=l},77199:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(73233))&&n.__esModule?n:{default:n};t.default=e=>{var{code:t,description:r,message:n,name:o}=e;return a.default.createElement("div",{style:{height:"100%",fontFamily:"system-ui",margin:0,display:"flex",justifyContent:"center",alignItems:"center"}},a.default.createElement("div",{style:{flex:"0 1 auto",fontSize:"4.3em",fontWeight:"100",paddingRight:30}},t||500),a.default.createElement("div",{style:{flex:"0 1 auto",paddingLeft:30,maxWidth:400,borderLeft:"1px solid #aeaeae"}},a.default.createElement("div",{style:{fontSize:"1.3em",fontWeight:"300",paddingBottom:10}},o||"Error"),a.default.createElement("div",{style:{fontSize:"0.9em"}},n||"An error has occurred."),a.default.createElement("div",{style:{fontSize:"0.9em"}},r),a.default.createElement("div",{style:{paddingTop:20}},a.default.createElement("a",{href:"/"},"Return to home page"))))}},15529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73233)),a=i(r(73328)),o=r(88151);function i(e){return e&&e.__esModule?e:{default:e}}class s extends n.default.Component{constructor(e){super(e),this.div={innerHTML:""}}componentDidMount(){var e=o.type.isNone(this.props.html)?"":this.props.html.toString();this.div.innerHTML=a.default.sanitize(e)}componentDidUpdate(){var e=o.type.isNone(this.props.html)?"":this.props.html.toString();this.div.innerHTML=a.default.sanitize(e)}render(){var{div:e,id:t,methods:r,style:a}=this.props;return!0===e?n.default.createElement("div",{id:t,"data-testid":t,ref:e=>{e&&(this.div=e)},className:r.makeCssClass(a)}):n.default.createElement("span",{id:t,"data-testid":t,ref:e=>{e&&(this.div=e)},className:r.makeCssClass(a)})}}var l=s;t.default=l},86457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(73233)),a=c(r(48034)),o=c(r(86337)),i=c(r(53109)),s=c(r(22253)),l=c(r(92319)),u=c(r(3617)),d=c(r(60771));function c(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{var{type:t,properties:r}=e;switch(t){case"IconSpinner":return n.default.createElement(a.default,{properties:r});case"Skeleton":return n.default.createElement(o.default,{properties:r});case"SkeletonAvatar":return n.default.createElement(i.default,{properties:r});case"SkeletonButton":return n.default.createElement(s.default,{properties:r});case"SkeletonInput":return n.default.createElement(l.default,{properties:r});case"SkeletonParagraph":return n.default.createElement(u.default,{properties:r});case"Spinner":return n.default.createElement(d.default,{properties:r});default:return n.default.createElement("div",null)}}},86337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(73233)),a=o(r(54799));function o(e){return e&&e.__esModule?e:{default:e}}r(10634);var i=e=>{var{properties:t,methods:r}=e;return n.default.createElement("div",{className:"skeleton "+r.makeCssClass(t.style),style:{width:t.width||"100%",height:t.height||"100%"}})};i.defaultProps=a.default;var s=i;t.default=s},53109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(73233)),a=r(88151),o=s(r(54799)),i=s(r(86337));function s(e){return e&&e.__esModule?e:{default:e}}var l=e=>{var{properties:t,methods:r}=e,o=t.size||32;if(a.type.isString(o))switch(t.size){case"small":o=24;break;case"large":o=40;break;default:o=32}return n.default.createElement(i.default,{methods:r,properties:{style:{borderRadius:"square"===t.shape?"0":o/2},width:o,height:o}})};l.defaultProps=o.default;var u=l;t.default=u},22253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73233)),a=i(r(54799)),o=i(r(86337));function i(e){return e&&e.__esModule?e:{default:e}}var s=e=>{var t,{properties:r,methods:a}=e;switch(r.size){case"small":t=24;break;case"large":t=40;break;default:t=32}return n.default.createElement(o.default,{methods:a,properties:{style:{borderRadius:"round"===r.shape&&t/2},width:r.width||"100%",height:t}})};s.defaultProps=a.default;var l=s;t.default=l},92319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73233)),a=i(r(54799)),o=i(r(86337));function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=e=>{var t,{properties:r,methods:a}=e;switch(r.size){case"small":t=24;break;case"large":t=40;break;default:t=32}return n.default.createElement("div",null,!1!==r.label&&n.default.createElement(o.default,{methods:a,properties:{width:r.labelWidth||r.width||"30%",height:r.labelHeight||20,style:l(l({},{marginBottom:10}),r.style)}}),n.default.createElement(o.default,{methods:a,properties:{width:r.width||"100%",height:r.inputHeight||t}}))};d.defaultProps=a.default;var c=d;t.default=c},3617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73233)),a=i(r(54799)),o=i(r(86337));function i(e){return e&&e.__esModule?e:{default:e}}var s=e=>{var{properties:t,methods:r}=e,a=[...Array(t.lines||4).keys()];return n.default.createElement("div",{style:{width:t.width||"100%"}},a.map((e=>n.default.createElement(o.default,{key:e,methods:r,properties:{height:"1.25rem",width:e===a.length-1&&0!==e?"40%":"100%",style:{marginBottom:"1rem"}}}))))};s.defaultProps=a.default;var l=s;t.default=l},48034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73233)),a=r(88151),o=i(r(54799));function i(e){return e&&e.__esModule?e:{default:e}}r(32170);var s=e=>{var{properties:t,methods:r}=e,o=t.size||20;if(a.type.isString(o))switch(t.size){case"small":o=20;break;case"large":o=32;break;default:o=24}return n.default.createElement("span",{className:r.makeCssClass({height:o,display:"flex",alignItems:"center",justifyContent:"center"})},n.default.createElement("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"loading-3-quarters",width:o,height:o,fill:"currentColor","aria-hidden":"true",className:"icon-spinner"},n.default.createElement("path",{fill:"#bfbfbf",d:"M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.2C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z"})))};s.defaultProps=o.default;var l=s;t.default=l},5527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(73233))&&n.__esModule?n:{default:n};r(69363);t.default=e=>{var{color:t,barColor:r}=e;return a.default.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 94 91",version:"1.1"},a.default.createElement("g",null,a.default.createElement("path",{d:"M94,18.634c0,-10.284 -8.35,-18.634 -18.634,-18.634l-56.732,0c-10.284,0 -18.634,8.35 -18.634,18.634l0,53.732c0,10.284 8.35,18.634 18.634,18.634l56.732,0c10.284,0 18.634,-8.35 18.634,-18.634l0,-53.732Z",style:{fill:t||"#bfbfbf"}}),a.default.createElement("rect",{className:"loading-bar",x:16,y:15,width:30,height:59,style:{fill:r||"#f1f1f1"}}),a.default.createElement("rect",{className:"loading-bar-sm",x:53,y:52,width:25,height:25,style:{fill:r||"#f1f1f1"}})))}},60771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73233)),a=i(r(5527)),o=i(r(54799));function i(e){return e&&e.__esModule?e:{default:e}}var s=e=>{var{properties:t,methods:r}=e;return n.default.createElement("div",{className:r.makeCssClass({height:t.height||"100%",display:"flex",alignItems:"center",justifyContent:"center",background:!0===t.shaded&&"#f1f1f1"})},n.default.createElement("div",{style:{width:t.size||50,margin:"auto",height:t.size||50}},n.default.createElement(a.default,{color:t.color,barColor:t.barColor||(!0===t.shaded?"#f1f1f1":"#fff")}),n.default.createElement("div",{className:r.makeCssClass({textAlign:"center",color:"#bfbfbf",fontSize:12,paddingTop:2,fontFamily:'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'})},"Lowdefy")))};s.defaultProps=o.default;var l=s;t.default=l},54799:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={basePath:"",blockId:"undefined_id",content:{},events:{},list:[],menus:[],methods:{makeCssClass:((n=r(84977))&&n.__esModule?n:{default:n}).default,registerEvent:()=>{},registerMethod:()=>{},triggerEvent:()=>{}},properties:{},user:{},required:!1,validation:{status:null,errors:[],warnings:[]}};t.default=a},91569:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(86801))&&n.__esModule?n:{default:n},o=null;t.default=()=>{try{if(!o){var{css:e}=(0,a.default)({container:document.getElementById("emotion")});o=e}return o}catch(e){throw new Error("Emotion failed to initilize: "+e.message)}}},25348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"blockDefaultProps",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"BlockSchemaErrors",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"ErrorBoundary",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"HtmlComponent",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"IconSpinner",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Loading",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"loadWebpackFederatedModule",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"makeCssClass",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"mediaToCssObject",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"mockBlock",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"renderHtml",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"runBlockSchemaTests",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"runMockMethodTests",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"runMockRenderTests",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"runRenderTests",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"Skeleton",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"SkeletonAvatar",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"SkeletonButton",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"SkeletonInput",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"SkeletonParagraph",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"Spinner",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"stubBlockProps",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"useDynamicScript",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"useRunAfterUpdate",{enumerable:!0,get:function(){return _.default}});var n=M(r(54799)),a=M(r(14030)),o=M(r(19176)),i=M(r(15529)),s=M(r(48034)),l=M(r(86457)),u=M(r(46922)),d=M(r(84977)),c=M(r(13673)),f=M(r(95179)),p=M(r(74142)),m=M(r(62382)),y=M(r(3701)),h=M(r(9523)),b=M(r(62146)),v=M(r(86337)),g=M(r(53109)),O=M(r(22253)),j=M(r(92319)),w=M(r(3617)),k=M(r(60771)),E=M(r(31598)),P=M(r(74306)),_=M(r(29961));function M(e){return e&&e.__esModule?e:{default:e}}},46922:(e,t,r)=>{"use strict";function n(e,t,r,n,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function s(e){n(i,a,o,s,l,"next",e)}function l(e){n(i,a,o,s,l,"throw",e)}s(void 0)}))}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t){return a((function*(){yield r.I("default");var n=window[e];return yield n.init(r.S.default),(yield window[e].get("./".concat(t)))()}))}},84977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(88151),a=i(r(13673)),o=i(r(91569));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,o.default)();return t.styleObjectOnly?(0,a.default)((0,n.mergeObjects)(e),t):r((0,a.default)((0,n.mergeObjects)(e),t))}},13673:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.mq=t.breakpoints=void 0;var r=[576,768,992,1200,1600];t.breakpoints=r;var n=[{name:"xs",breakpoints:r[0],media:"@media screen and (max-width: ".concat(r[0],"px)"),mediaReact:"@media screen and (maxWidth: ".concat(r[0],"px)")},{name:"sm",breakpoints:r[0],media:"@media screen and (min-width: ".concat(r[0],"px)"),mediaReact:"@media screen and (minWidth: ".concat(r[0],"px)")},{name:"md",breakpoints:r[1],media:"@media screen and (min-width: ".concat(r[1],"px)"),mediaReact:"@media screen and (minWidth: ".concat(r[1],"px)")},{name:"lg",breakpoints:r[2],media:"@media screen and (min-width: ".concat(r[2],"px)"),mediaReact:"@media screen and (minWidth: ".concat(r[2],"px)")},{name:"xl",breakpoints:r[3],media:"@media screen and (min-width: ".concat(r[3],"px)"),mediaReact:"@media screen and (minWidth: ".concat(r[3],"px)")},{name:"xxl",breakpoints:r[4],media:"@media screen and (min-width: ".concat(r[4],"px)"),mediaReact:"@media screen and (minWidth: ".concat(r[4],"px)")}];t.mq=n;t.default=(e,t)=>{var r=[],a=(t||{}).react?"mediaReact":"media";Object.keys(e||{}).forEach((t=>{switch(t){case"xs":r.push({key:n[0][a],value:e.xs});break;case"sm":r.push({key:n[0][a],value:e.sm});break;case"md":r.push({key:n[1][a],value:e.md});break;case"lg":r.push({key:n[2][a],value:e.lg});break;case"xl":r.push({key:n[3][a],value:e.xl});break;case"xxl":r.push({key:n[4][a],value:e.xxl});break;default:r.push({key:t,value:e[t]})}})),r.reverse();var o={};return r.forEach((e=>{o[e.key]=e.value})),o}},95179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(31598))&&n.__esModule?n:{default:n};t.default=e=>{var{meta:t,logger:n}=e,o=Object.create(r.g.Math);o.random=()=>.5,r.g.Math=o;var i=jest.fn(),s=jest.fn(),l=jest.fn(),u=jest.fn(),d=jest.fn(),c=jest.fn(),f=jest.fn(),p=jest.fn(),m=jest.fn(),y=jest.fn(),h=(e,t)=>JSON.stringify({style:e,options:t});return{before:()=>{m.mockReset(),i.mockReset(),i.mockImplementation(h),s.mockReset(),l.mockReset(),u.mockReset(),c.mockReset(),d.mockReset(),f.mockReset(),p.mockReset(),y.mockReset(),window.matchMedia||Object.defineProperty(window,"matchMedia",{writable:!0,value:jest.fn().mockImplementation((e=>({matches:!1,media:e.includes("max-width"),onchange:null,addListener:jest.fn(),removeListener:jest.fn(),addEventListener:jest.fn(),removeEventListener:jest.fn(),dispatchEvent:jest.fn()})))}),"undefined"!=typeof window&&(window.resizeTo=(e,t)=>{window.innerWidth=e||window.innerWidth,window.innerHeight=t||window.innerHeight,window.dispatchEvent(new Event("resize"))},window.scrollTo=()=>{},window.AnimationEvent=window.AnimationEvent||(()=>{}),window.TransitionEvent=window.TransitionEvent||(()=>{}))},methods:{makeCssClass:i,moveItemDown:s,moveItemUp:l,pushItem:u,registerEvent:d,registerMethod:c,removeItem:f,setValue:p,triggerEvent:m,unshiftItem:y},getProps:e=>(0,a.default)({block:e,meta:t,logger:n})}}},74142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73233)),a=r(88151),o=i(r(15529));function i(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{var{div:t,html:r,id:i,methods:s,style:l}=e;return a.type.isNone(r)?void 0:n.default.createElement(o.default,{div:t,html:r,id:i,methods:s,style:l})}},62382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(79938))&&n.__esModule?n:{default:n};t.default=e=>{var{examples:t,meta:r}=e,n=(0,a.default)(r.schema);t.forEach((e=>{test("Test Schema ".concat(e.id),(()=>{var t=n(e);expect(t).toMatchSnapshot(),expect(n.errors).toMatchSnapshot()}))}))}},3701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73233)),a=r(88151),o=i(r(95179));function i(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{var{Block:t,enzyme:r,examples:i,logger:l,meta:d,mocks:c}=e,{before:f,methods:p,getProps:m}=(0,o.default)({meta:d,logger:l});beforeEach((()=>{f()}));var y=d.values?[a.type.enforceType(d.valueType,null),...d.values]:[a.type.enforceType(d.valueType,null)];i.forEach((e=>{y.forEach(((a,o)=>{d.test&&d.test.methods&&d.test.methods.forEach((i=>{c.forEach((l=>{test("Mock for method: ".concat(JSON.stringify(i)," - ").concat(e.id," - value[").concat(o,"] - ").concat(l.name),(()=>{var o=()=>{var r=m(e);return r.methods=u(u({},p),{},{registerMethod:r.methods.registerMethod}),n.default.createElement(n.default.Fragment,null,n.default.createElement(t,s({},r,{value:a})),n.default.createElement("button",{id:"".concat(e.id,"_button"),onClick:()=>{r.methods[i.name](i.args)},"data-testid":"btn_method"}))};r.mount(n.default.createElement(o,null)).find('[data-testid="btn_method"]').simulate("click"),expect(l.fn.mock.calls).toMatchSnapshot()}))}))}))}))}))}},9523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(73233)),a=r(88151),o=r(62630),i=s(r(95179));function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{var{Block:t,enzyme:r,examples:s,logger:u,meta:c,mocks:f,reset:p=(()=>null)}=e,{before:m,methods:y,getProps:h}=(0,i.default)({meta:c,logger:u});beforeEach((()=>{p(),m()}));var b=c.values?[a.type.enforceType(c.valueType,null),...c.values]:[a.type.enforceType(c.valueType,null)];s.forEach((e=>{b.forEach(((a,i)=>{f.forEach((s=>{test("Mock render - ".concat(e.id," - value[").concat(i,"] - ").concat(s.name),(()=>{var i=()=>{var r=h(e);return n.default.createElement(t,l({},r,{methods:d(d({},r.methods),{},{makeCssClass:y.makeCssClass}),value:a}))};r.mount(n.default.createElement(o.MemoryRouter,null,n.default.createElement(i,null))),expect(s.fn.mock.calls).toMatchSnapshot()}))}))}))}))}},62146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(73233)),a=l(r(92758)),o=r(88151),i=r(62630),s=l(r(95179));function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=e=>{var{Block:t,examples:r,logger:l,meta:d,reset:c=(()=>null),validationsExamples:f}=e,{before:p,methods:m,getProps:y}=(0,s.default)({meta:d,logger:l});beforeEach((()=>{c(),p()})),r.forEach((e=>{var r=[o.type.enforceType(d.valueType,null)];o.type.isNone(e.value)||r.push(e.value),o.type.isArray(d.values)&&r.push(...d.values),r.forEach(((r,o)=>{test("Render ".concat(e.id," - value[").concat(o,"]"),(()=>{var o=()=>n.default.createElement(t,u({},y(e),{value:r,methods:m})),s=a.default.create(n.default.createElement(i.MemoryRouter,null,n.default.createElement(o,null))),l=s.toJSON();expect(l).toMatchSnapshot(),s.unmount()})),d.test&&d.test.validation&&(f||[]).map((s=>{test("Render validation.status = ".concat(s.status," ").concat(e.id," - value[").concat(o,"]"),(()=>{var o=()=>n.default.createElement(t,u({},y(e),{value:r,methods:m,validation:s})),l=a.default.create(n.default.createElement(i.MemoryRouter,null,n.default.createElement(o,null))),d=l.toJSON();expect(d).toMatchSnapshot(),l.unmount()}))})),d.test&&d.test.required&&test("Render required = true ".concat(e.id," - value[").concat(o,"]"),(()=>{var o=()=>n.default.createElement(t,u({},y(e),{value:r,methods:m,required:!0})),s=a.default.create(n.default.createElement(i.MemoryRouter,null,n.default.createElement(o,null))),l=s.toJSON();expect(l).toMatchSnapshot(),s.unmount()}))}))}))}},79938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(73381)),a=i(r(73599)),o=i(r(26184));function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d,c,f={value:{},methods:{type:"object"},schemaErrors:{},eventLog:{type:"array"},pageId:{type:"string"},blockId:{type:"string"},content:{type:"object"},list:{type:"array"}},p=(c=new n.default(l({allErrors:!0,jsonPointers:!0},d)),(0,a.default)(c,d),c);t.default=e=>(o.default.properties=l(l(l({},o.default.properties),e),f),p.compile(o.default))},31598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(73233)),a=r(88151),o=s(r(84977)),i=s(r(79938));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f={};t.default=e=>{var{block:t,meta:r,logger:s,initialValue:l}=e,[u,c]=(0,n.useState)(a.type.enforceType(r.valueType,t.value||l)),p=alert;if(s&&(p=s),!f[t.type])try{f[t.type]=(0,i.default)(r.schema)}catch(e){throw new Error("Schema error in ".concat(t.type," - ").concat(e.message))}return t.schemaErrors=!f[t.type](t),t.schemaErrors&&(t.schemaErrors=f[t.type].errors),t.blockId=t.id,"list"!==r.category&&"container"!==r.category&&"context"!==r.category||(t.areas||(t.areas={}),t.areas.content||(t.areas.content={}),t.blocks&&(t.areas.content.blocks=t.blocks)),t.events=t.events||{},t.eventLog=[],t.methods={makeCssClass:o.default,registerEvent:e=>{var{name:r,actions:n}=e;t.events[r]=n},registerMethod:(e,r)=>{t.methods[e]=r},triggerEvent:e=>t.eventLog.unshift(e)},"list"===r.category&&(t.list=[],(t.areas.content.blocks||[]).forEach((e=>{t.list.push({content:()=>n.default.createElement("div",{key:e.id,style:{border:"1px solid red",padding:10}},e.id)})})),t.methods=d({pushItem:()=>p("List pushItem"),unshiftItem:()=>p("List unshiftItem"),removeItem:e=>p("List removeItem ".concat(e)),moveItemDown:e=>p("List moveItemDown ".concat(e)),moveItemUp:e=>p("List moveItemUp ".concat(e))},t.methods)),"container"!==r.category&&"context"!==r.category||(t.content={},Object.keys(t.areas).forEach((e=>{t.content[e]=()=>n.default.createElement("div",{key:e,style:{border:"1px solid red",padding:10}},e)}))),"input"===r.category&&(t.methods=d({setValue:e=>{c(a.type.enforceType(r.valueType,e))}},t.methods),t.value=u),t}},74306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(73233))&&n.__esModule?n:{default:n},o=new Set;t.default=e=>{var{src:t}=e,[r,n]=a.default.useState(!1),[i,s]=a.default.useState(!1);return a.default.useEffect((()=>{if(t){if(!o.has(t)){var e=document.createElement("script");return e.src=t,e.type="text/javascript",e.async=!0,e.onload=()=>{o.add(t),n(!0)},e.onerror=e=>{console.error("Dynamic Script Error: ".concat(t),e),n(!1),s(!0)},document.head.appendChild(e),()=>{}}n(!0)}}),[t]),{ready:r,failed:i}}},29961:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(73233);t.default=()=>{var e=(0,n.useRef)(null);return(0,n.useLayoutEffect)((()=>{e.current&&(e.current(),e.current=null)})),t=>{e.current=t}}},55783:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(56045),a=r.n(n)()((function(e){return e[1]}));a.push([e.id,'/*\n Copyright 2020-2021 Lowdefy, Inc\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\n.skeleton {\n position: relative;\n overflow: hidden;\n background: #f1f1f1;\n}\n\n.skeleton::before {\n content: \'\';\n display: block;\n position: absolute;\n left: -100%;\n max-width: 600px;\n top: 0;\n height: 200%;\n width: 100%;\n background: linear-gradient(to right, transparent 0%, #eaeaea 50%, transparent 100%);\n background: -webkit-linear-gradient(to right, transparent 0%, #eaeaea 50%, transparent 100%);\n animation: load 1.8s infinite;\n /* transform: rotate(45deg); */\n}\n\n@keyframes load {\n from {\n left: -100%;\n }\n to {\n left: 100%;\n }\n}\n',""]);const o=a},67212:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(56045),a=r.n(n)()((function(e){return e[1]}));a.push([e.id,'/*\n Copyright 2020-2021 Lowdefy, Inc\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\n.icon-spinner {\n animation: spin-animation 1s infinite linear;\n display: inline-block;\n}\n\n@keyframes spin-animation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(359deg);\n }\n}\n',""]);const o=a},63496:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(56045),a=r.n(n)()((function(e){return e[1]}));a.push([e.id,'/*\n Copyright 2020-2021 Lowdefy, Inc\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an "AS IS" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\n.loading-bar {\n animation: loading-bar-morph 0.5s linear alternate 0s infinite;\n transform-origin: bottom;\n}\n\n@keyframes loading-bar-morph {\n 0% {\n transform: scaleY(0.6);\n }\n 100% {\n transform: scaleY(0.95) translateY(5%);\n }\n}\n\n.loading-bar-sm {\n animation: loading-bar-morph-sm 0.5s linear alternate 0s infinite;\n transform-origin: bottom;\n}\n\n@keyframes loading-bar-morph-sm {\n 0% {\n transform: scaleY(1.4) translateY(5%);\n }\n 100% {\n transform: scaleY(0.9);\n }\n}\n',""]);const o=a},10634:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(42463),a=r.n(n),o=r(55783);a()(o.Z,{insert:"head",singleton:!1});const i=o.Z.locals||{}},32170:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(42463),a=r.n(n),o=r(67212);a()(o.Z,{insert:"head",singleton:!1});const i=o.Z.locals||{}},69363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(42463),a=r.n(n),o=r(63496);a()(o.Z,{insert:"head",singleton:!1});const i=o.Z.locals||{}},26184:e=>{"use strict";e.exports=JSON.parse('{"type":"object","additionalProperties":false,"required":["id","type"],"properties":{"id":{"type":"string"},"required":{"type":["boolean","object"]},"type":{"type":"string"},"properties":{"type":"object"},"style":{"type":"object"},"layout":{"type":"object"},"blocks":{"type":"array","items":{"type":"object"}},"events":{"type":"object"},"menus":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Menu id."},"links":{"type":"array","items":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"Menu item id."},"type":{"type":"string","enum":["MenuLink","MenuGroup"],"description":"Menu item type."},"pageId":{"type":"string","description":"Page to link to."},"style":{"type":"object","description":"Css style to applied to link."},"properties":{"type":"object","description":"properties from menu item.","properties":{"title":{"type":"string","description":"Menu item title."},"icon":{"type":["string","object"],"description":"Name of an Ant Design Icon or properties of an Icon block to customize icon on menu item."},"danger":{"type":"boolean","description":"Apply danger style to menu item."}}},"links":{"type":"array","items":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"Menu item id."},"type":{"type":"string","enum":["MenuLink","MenuGroup"],"description":"Menu item type."},"style":{"type":"object","description":"Css style to applied to sub-link."},"pageId":{"type":"string","description":"Page to link to."},"properties":{"type":"object","description":"properties from menu item.","properties":{"title":{"type":"string","description":"Menu item title."},"danger":{"type":"boolean","description":"Apply danger style to menu item."}},"links":{"type":"array","items":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"Menu item id."},"type":{"type":"string","enum":["MenuLink"],"description":"Menu item type."},"style":{"type":"object","description":"Css style to applied to sub-link."},"pageId":{"type":"string","description":"Page to link to."},"properties":{"type":"object","description":"properties from menu item.","properties":{"title":{"type":"string","description":"Menu item title."},"danger":{"type":"boolean","description":"Apply danger style to menu item."}}}}}}}}}}}}}}}},"areas":{"type":"object","patternProperties":{"^.*$":{"type":"object","properties":{"blocks":{"type":"array","items":{"type":"object"}}}}}}}}')}}]);
|
package/dist/402.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_lowdefy_blocks_color_selectors=self.webpackChunk_lowdefy_blocks_color_selectors||[]).push([[402],{78402:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var o=r(73233),n=r.n(o),c=r(79132),l=r(49493),a=r(25240);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=e=>{var{blockId:t,loading:r,methods:o,properties:a,required:i,validation:p,value:u}=e;return n().createElement(l.Label,{blockId:t,loading:r,methods:o,properties:s({title:a.title,size:a.size},a.label),required:i,validation:p,content:{content:()=>n().createElement(c.CompactPicker,{id:"".concat(t,"_input"),className:o.makeCssClass([{marginBottom:"0px !important"},a.inputStyle]),color:u||a.defaultColor||"#000000",colors:a.colors,onChangeComplete:e=>{o.setValue(e.hex?e.hex:"#000000"),o.triggerEvent({name:"onChange"})}})}})};u.defaultProps=a.blockDefaultProps;const b=u}}]);
|
package/dist/474.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_lowdefy_blocks_color_selectors=self.webpackChunk_lowdefy_blocks_color_selectors||[]).push([[474],{80474:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var o=r(73233),n=r.n(o),l=r(79132),c=r(49493),i=r(25240);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=e=>{var{blockId:t,loading:r,methods:o,properties:i,required:a,validation:u,value:p}=e;return n().createElement(c.Label,{blockId:t,loading:r,methods:o,properties:s({title:i.title,size:i.size},i.label),required:a,validation:u,content:{content:()=>n().createElement(l.GithubPicker,{id:"".concat(t,"_input"),className:o.makeCssClass([{marginBottom:"0px !important"},i.inputStyle]),color:p||i.defaultColor||"#000000",colors:i.colors,triangle:i.triangle||"hide",width:i.width||"100%",onChangeComplete:e=>{o.setValue(e.hex?e.hex:"#000000"),o.triggerEvent({name:"onChange"})}})}})};p.defaultProps=i.blockDefaultProps;const b=p}}]);
|
package/dist/488.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 488.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunk_lowdefy_blocks_color_selectors=self.webpackChunk_lowdefy_blocks_color_selectors||[]).push([[488],{56045:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),e.push(u))}},e}},62630:(t,e,n)=>{"use strict";n.r(e),n.d(e,{BrowserRouter:()=>gt,HashRouter:()=>bt,Link:()=>Et,MemoryRouter:()=>K,NavLink:()=>At,Prompt:()=>G,Redirect:()=>tt,Route:()=>ot,Router:()=>V,StaticRouter:()=>lt,Switch:()=>ft,generatePath:()=>X,matchPath:()=>rt,useHistory:()=>dt,useLocation:()=>vt,useParams:()=>yt,useRouteMatch:()=>mt,withRouter:()=>pt});var r=n(58098);function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,r.Z)(t,e)}var i=n(73233),a=n.n(i),c=n(1001),u=n.n(c),s=n(85225);function l(t){return"/"===t.charAt(0)}function f(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}function p(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}const h=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));if("object"==typeof e||"object"==typeof n){var r=p(e),o=p(n);return r!==e||o!==n?t(r,o):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1};const d=function(t,e){if(!t)throw new Error("Invariant failed")};function v(t){return"/"===t.charAt(0)?t:"/"+t}function y(t){return"/"===t.charAt(0)?t.substr(1):t}function m(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}function g(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function b(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function w(t,e,n,r){var o;"string"==typeof t?(o=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t)).state=e:(void 0===(o=(0,s.Z)({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],o=e&&e.split("/")||[],i=t&&l(t),a=e&&l(e),c=i||a;if(t&&l(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var u=o[o.length-1];n="."===u||".."===u||""===u}else n=!1;for(var s=0,p=o.length;p>=0;p--){var h=o[p];"."===h?f(o,p):".."===h?(f(o,p),s++):s&&(f(o,p),s--)}if(!c)for(;s--;s)o.unshift("..");!c||""===o[0]||o[0]&&l(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d}(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function _(){var t=null,e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,o){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(t){return t.apply(void 0,n)}))}}}var x=!("undefined"==typeof window||!window.document||!window.document.createElement);function O(t,e){e(window.confirm(t))}var j="popstate",E="hashchange";function C(){try{return window.history.state||{}}catch(t){return{}}}function k(t){void 0===t&&(t={}),x||d(!1);var e,n=window.history,r=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=t,a=i.forceRefresh,c=void 0!==a&&a,u=i.getUserConfirmation,l=void 0===u?O:u,f=i.keyLength,p=void 0===f?6:f,h=t.basename?g(v(t.basename)):"";function y(t){var e=t||{},n=e.key,r=e.state,o=window.location,i=o.pathname+o.search+o.hash;return h&&(i=m(i,h)),w(i,r,n)}function k(){return Math.random().toString(36).substr(2,p)}var A=_();function S(t){(0,s.Z)(z,t),z.length=n.length,A.notifyListeners(z.location,z.action)}function P(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||$(y(t.state))}function R(){$(y(C()))}var T=!1;function $(t){T?(T=!1,S()):A.confirmTransitionTo(t,"POP",l,(function(e){e?S({action:"POP",location:t}):function(t){var e=z.location,n=F.indexOf(e.key);-1===n&&(n=0);var r=F.indexOf(t.key);-1===r&&(r=0);var o=n-r;o&&(T=!0,L(o))}(t)}))}var U=y(C()),F=[U.key];function M(t){return h+b(t)}function L(t){n.go(t)}var N=0;function I(t){1===(N+=t)&&1===t?(window.addEventListener(j,P),o&&window.addEventListener(E,R)):0===N&&(window.removeEventListener(j,P),o&&window.removeEventListener(E,R))}var Z=!1,z={length:n.length,action:"POP",location:U,createHref:M,push:function(t,e){var o="PUSH",i=w(t,e,k(),z.location);A.confirmTransitionTo(i,o,l,(function(t){if(t){var e=M(i),a=i.key,u=i.state;if(r)if(n.pushState({key:a,state:u},null,e),c)window.location.href=e;else{var s=F.indexOf(z.location.key),l=F.slice(0,s+1);l.push(i.key),F=l,S({action:o,location:i})}else window.location.href=e}}))},replace:function(t,e){var o="REPLACE",i=w(t,e,k(),z.location);A.confirmTransitionTo(i,o,l,(function(t){if(t){var e=M(i),a=i.key,u=i.state;if(r)if(n.replaceState({key:a,state:u},null,e),c)window.location.replace(e);else{var s=F.indexOf(z.location.key);-1!==s&&(F[s]=i.key),S({action:o,location:i})}else window.location.replace(e)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(t){void 0===t&&(t=!1);var e=A.setPrompt(t);return Z||(I(1),Z=!0),function(){return Z&&(Z=!1,I(-1)),e()}},listen:function(t){var e=A.appendListener(t);return I(1),function(){I(-1),e()}}};return z}var A="hashchange",S={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+y(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:y,decodePath:v},slash:{encodePath:v,decodePath:v}};function P(t){var e=t.indexOf("#");return-1===e?t:t.slice(0,e)}function R(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)}function T(t){window.location.replace(P(window.location.href)+"#"+t)}function $(t){void 0===t&&(t={}),x||d(!1);var e=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),t),r=n.getUserConfirmation,o=void 0===r?O:r,i=n.hashType,a=void 0===i?"slash":i,c=t.basename?g(v(t.basename)):"",u=S[a],l=u.encodePath,f=u.decodePath;function p(){var t=f(R());return c&&(t=m(t,c)),w(t)}var h=_();function y(t){(0,s.Z)(Z,t),Z.length=e.length,h.notifyListeners(Z.location,Z.action)}var j=!1,E=null;function C(){var t,e,n=R(),r=l(n);if(n!==r)T(r);else{var i=p(),a=Z.location;if(!j&&(e=i,(t=a).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash))return;if(E===b(i))return;E=null,function(t){if(j)j=!1,y();else{h.confirmTransitionTo(t,"POP",o,(function(e){e?y({action:"POP",location:t}):function(t){var e=Z.location,n=F.lastIndexOf(b(e));-1===n&&(n=0);var r=F.lastIndexOf(b(t));-1===r&&(r=0);var o=n-r;o&&(j=!0,M(o))}(t)}))}}(i)}}var k=R(),$=l(k);k!==$&&T($);var U=p(),F=[b(U)];function M(t){e.go(t)}var L=0;function N(t){1===(L+=t)&&1===t?window.addEventListener(A,C):0===L&&window.removeEventListener(A,C)}var I=!1,Z={length:e.length,action:"POP",location:U,createHref:function(t){var e=document.querySelector("base"),n="";return e&&e.getAttribute("href")&&(n=P(window.location.href)),n+"#"+l(c+b(t))},push:function(t,e){var n="PUSH",r=w(t,void 0,void 0,Z.location);h.confirmTransitionTo(r,n,o,(function(t){if(t){var e=b(r),o=l(c+e);if(R()!==o){E=e,function(t){window.location.hash=t}(o);var i=F.lastIndexOf(b(Z.location)),a=F.slice(0,i+1);a.push(e),F=a,y({action:n,location:r})}else y()}}))},replace:function(t,e){var n="REPLACE",r=w(t,void 0,void 0,Z.location);h.confirmTransitionTo(r,n,o,(function(t){if(t){var e=b(r),o=l(c+e);R()!==o&&(E=e,T(o));var i=F.indexOf(b(Z.location));-1!==i&&(F[i]=e),y({action:n,location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(t){void 0===t&&(t=!1);var e=h.setPrompt(t);return I||(N(1),I=!0),function(){return I&&(I=!1,N(-1)),e()}},listen:function(t){var e=h.appendListener(t);return N(1),function(){N(-1),e()}}};return Z}function U(t,e,n){return Math.min(Math.max(t,e),n)}function F(t){void 0===t&&(t={});var e=t,n=e.getUserConfirmation,r=e.initialEntries,o=void 0===r?["/"]:r,i=e.initialIndex,a=void 0===i?0:i,c=e.keyLength,u=void 0===c?6:c,l=_();function f(t){(0,s.Z)(m,t),m.length=m.entries.length,l.notifyListeners(m.location,m.action)}function p(){return Math.random().toString(36).substr(2,u)}var h=U(a,0,o.length-1),d=o.map((function(t){return w(t,void 0,"string"==typeof t?p():t.key||p())})),v=b;function y(t){var e=U(m.index+t,0,m.entries.length-1),r=m.entries[e];l.confirmTransitionTo(r,"POP",n,(function(t){t?f({action:"POP",location:r,index:e}):f()}))}var m={length:d.length,action:"POP",location:d[h],index:h,entries:d,createHref:v,push:function(t,e){var r="PUSH",o=w(t,e,p(),m.location);l.confirmTransitionTo(o,r,n,(function(t){if(t){var e=m.index+1,n=m.entries.slice(0);n.length>e?n.splice(e,n.length-e,o):n.push(o),f({action:r,location:o,index:e,entries:n})}}))},replace:function(t,e){var r="REPLACE",o=w(t,e,p(),m.location);l.confirmTransitionTo(o,r,n,(function(t){t&&(m.entries[m.index]=o,f({action:r,location:o}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(t){var e=m.index+t;return e>=0&&e<m.entries.length},block:function(t){return void 0===t&&(t=!1),l.setPrompt(t)},listen:function(t){return l.appendListener(t)}};return m}var M=1073741823,L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function N(t){var e=[];return{on:function(t){e.push(t)},off:function(t){e=e.filter((function(e){return e!==t}))},get:function(){return t},set:function(n,r){t=n,e.forEach((function(e){return e(t,r)}))}}}const I=a().createContext||function(t,e){var n,r,a,c="__create-react-context-"+((L[a="__global_unique_id__"]=(L[a]||0)+1)+"__"),s=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).emitter=N(e.props.value),e}o(n,t);var r=n.prototype;return r.getChildContext=function(){var t;return(t={})[c]=this.emitter,t},r.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n,r=this.props.value,o=t.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof e?e(r,o):M,0!=(n|=0)&&this.emitter.set(t.value,n))}var i,a},r.render=function(){return this.props.children},n}(i.Component);s.childContextTypes=((n={})[c]=u().object.isRequired,n);var l=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(e,n){0!=((0|t.observedBits)&n)&&t.setState({value:t.getValue()})},t}o(n,e);var r=n.prototype;return r.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=null==e?M:e},r.componentDidMount=function(){this.context[c]&&this.context[c].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?M:t},r.componentWillUnmount=function(){this.context[c]&&this.context[c].off(this.onUpdate)},r.getValue=function(){return this.context[c]?this.context[c].get():t},r.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(i.Component);return l.contextTypes=((r={})[c]=u().object,r),{Provider:s,Consumer:l}};var Z=n(71372),z=n.n(Z),B=(n(93869),n(72195)),D=n(71299),H=n.n(D),q=function(t){var e=I();return e.displayName="Router-History",e}(),W=function(t){var e=I();return e.displayName="Router",e}(),V=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen((function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t}))),n}o(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return a().createElement(W.Provider,{value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a().createElement(q.Provider,{children:this.props.children||null,value:this.props.history}))},e}(a().Component),K=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).history=F(e.props),e}return o(e,t),e.prototype.render=function(){return a().createElement(V,{history:this.history,children:this.props.children})},e}(a().Component),J=function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var n=e.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},e}(a().Component);function G(t){var e=t.message,n=t.when,r=void 0===n||n;return a().createElement(W.Consumer,null,(function(t){if(t||d(!1),!r||t.staticContext)return null;var n=t.history.block;return a().createElement(J,{onMount:function(t){t.release=n(e)},onUpdate:function(t,r){r.message!==e&&(t.release(),t.release=n(e))},onUnmount:function(t){t.release()},message:e})}))}var Y={},Q=0;function X(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:function(t){if(Y[t])return Y[t];var e=z().compile(t);return Q<1e4&&(Y[t]=e,Q++),e}(t)(e,{pretty:!0})}function tt(t){var e=t.computedMatch,n=t.to,r=t.push,o=void 0!==r&&r;return a().createElement(W.Consumer,null,(function(t){t||d(!1);var r=t.history,i=t.staticContext,c=o?r.push:r.replace,u=w(e?"string"==typeof n?X(n,e.params):(0,s.Z)({},n,{pathname:X(n.pathname,e.params)}):n);return i?(c(u),null):a().createElement(J,{onMount:function(){c(u)},onUpdate:function(t,e){var n,r,o=w(e.to);n=o,r=(0,s.Z)({},u,{key:o.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&h(n.state,r.state)||c(u)},to:n})}))}var et={},nt=0;function rt(t,e){void 0===e&&(e={}),("string"==typeof e||Array.isArray(e))&&(e={path:e});var n=e,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(e,n){if(!n&&""!==n)return null;if(e)return e;var r=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=et[n]||(et[n]={});if(r[t])return r[t];var o=[],i={regexp:z()(t,o,e),keys:o};return nt<1e4&&(r[t]=i,nt++),i}(n,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(t);if(!u)return null;var l=u[0],f=u.slice(1),p=t===l;return i&&!p?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:p,params:a.reduce((function(t,e,n){return t[e.name]=f[n],t}),{})}}),null)}var ot=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){var t=this;return a().createElement(W.Consumer,null,(function(e){e||d(!1);var n=t.props.location||e.location,r=t.props.computedMatch?t.props.computedMatch:t.props.path?rt(n.pathname,t.props):e.match,o=(0,s.Z)({},e,{location:n,match:r}),i=t.props,c=i.children,u=i.component,l=i.render;return Array.isArray(c)&&0===c.length&&(c=null),a().createElement(W.Provider,{value:o},o.match?c?"function"==typeof c?c(o):c:u?a().createElement(u,o):l?l(o):null:"function"==typeof c?c(o):null)}))},e}(a().Component);function it(t){return"/"===t.charAt(0)?t:"/"+t}function at(t,e){if(!t)return e;var n=it(t);return 0!==e.pathname.indexOf(n)?e:(0,s.Z)({},e,{pathname:e.pathname.substr(n.length)})}function ct(t){return"string"==typeof t?t:b(t)}function ut(t){return function(){d(!1)}}function st(){}var lt=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handlePush=function(t){return e.navigateTo(t,"PUSH")},e.handleReplace=function(t){return e.navigateTo(t,"REPLACE")},e.handleListen=function(){return st},e.handleBlock=function(){return st},e}o(e,t);var n=e.prototype;return n.navigateTo=function(t,e){var n=this.props,r=n.basename,o=void 0===r?"":r,i=n.context,a=void 0===i?{}:i;a.action=e,a.location=function(t,e){return t?(0,s.Z)({},e,{pathname:it(t)+e.pathname}):e}(o,w(t)),a.url=ct(a.location)},n.render=function(){var t=this.props,e=t.basename,n=void 0===e?"":e,r=t.context,o=void 0===r?{}:r,i=t.location,c=void 0===i?"/":i,u=(0,B.Z)(t,["basename","context","location"]),l={createHref:function(t){return it(n+ct(t))},action:"POP",location:at(n,w(c)),push:this.handlePush,replace:this.handleReplace,go:ut(),goBack:ut(),goForward:ut(),listen:this.handleListen,block:this.handleBlock};return a().createElement(V,(0,s.Z)({},u,{history:l,staticContext:o}))},e}(a().Component),ft=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){var t=this;return a().createElement(W.Consumer,null,(function(e){e||d(!1);var n,r,o=t.props.location||e.location;return a().Children.forEach(t.props.children,(function(t){if(null==r&&a().isValidElement(t)){n=t;var i=t.props.path||t.props.from;r=i?rt(o.pathname,(0,s.Z)({},t.props,{path:i})):e.match}})),r?a().cloneElement(n,{location:o,computedMatch:r}):null}))},e}(a().Component);function pt(t){var e="withRouter("+(t.displayName||t.name)+")",n=function(e){var n=e.wrappedComponentRef,r=(0,B.Z)(e,["wrappedComponentRef"]);return a().createElement(W.Consumer,null,(function(e){return e||d(!1),a().createElement(t,(0,s.Z)({},r,e,{ref:n}))}))};return n.displayName=e,n.WrappedComponent=t,H()(n,t)}var ht=a().useContext;function dt(){return ht(q)}function vt(){return ht(W).location}function yt(){var t=ht(W).match;return t?t.params:{}}function mt(t){var e=vt(),n=ht(W).match;return t?rt(e.pathname,t):n}var gt=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).history=k(e.props),e}return o(e,t),e.prototype.render=function(){return a().createElement(V,{history:this.history,children:this.props.children})},e}(a().Component),bt=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).history=$(e.props),e}return o(e,t),e.prototype.render=function(){return a().createElement(V,{history:this.history,children:this.props.children})},e}(a().Component),wt=function(t,e){return"function"==typeof t?t(e):t},_t=function(t,e){return"string"==typeof t?w(t,null,null,e):t},xt=function(t){return t},Ot=a().forwardRef;void 0===Ot&&(Ot=xt);var jt=Ot((function(t,e){var n=t.innerRef,r=t.navigate,o=t.onClick,i=(0,B.Z)(t,["innerRef","navigate","onClick"]),c=i.target,u=(0,s.Z)({},i,{onClick:function(t){try{o&&o(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||c&&"_self"!==c||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return u.ref=xt!==Ot&&e||n,a().createElement("a",u)})),Et=Ot((function(t,e){var n=t.component,r=void 0===n?jt:n,o=t.replace,i=t.to,c=t.innerRef,u=(0,B.Z)(t,["component","replace","to","innerRef"]);return a().createElement(W.Consumer,null,(function(t){t||d(!1);var n=t.history,l=_t(wt(i,t.location),t.location),f=l?n.createHref(l):"",p=(0,s.Z)({},u,{href:f,navigate:function(){var e=wt(i,t.location);(o?n.replace:n.push)(e)}});return xt!==Ot?p.ref=e||c:p.innerRef=c,a().createElement(r,p)}))})),Ct=function(t){return t},kt=a().forwardRef;void 0===kt&&(kt=Ct);var At=kt((function(t,e){var n=t["aria-current"],r=void 0===n?"page":n,o=t.activeClassName,i=void 0===o?"active":o,c=t.activeStyle,u=t.className,l=t.exact,f=t.isActive,p=t.location,h=t.sensitive,v=t.strict,y=t.style,m=t.to,g=t.innerRef,b=(0,B.Z)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a().createElement(W.Consumer,null,(function(t){t||d(!1);var n=p||t.location,o=_t(wt(m,n),n),w=o.pathname,_=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=_?rt(n.pathname,{path:_,exact:l,sensitive:h,strict:v}):null,O=!!(f?f(x,n):x),j=O?function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).join(" ")}(u,i):u,E=O?(0,s.Z)({},y,{},c):y,C=(0,s.Z)({"aria-current":O&&r||null,className:j,style:E,to:o},b);return Ct!==kt?C.ref=e||g:C.innerRef=g,a().createElement(Et,C)}))}))},42463:(t,e,n)=>{"use strict";var r,o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),i=[];function a(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function c(t,e){for(var n={},r=[],o=0;o<t.length;o++){var c=t[o],u=e.base?c[0]+e.base:c[0],s=n[u]||0,l="".concat(u," ").concat(s);n[u]=s+1;var f=a(l),p={css:c[1],media:c[2],sourceMap:c[3]};-1!==f?(i[f].references++,i[f].updater(p)):i.push({identifier:l,updater:v(p,e),references:1}),r.push(l)}return r}function u(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var s,l=(s=[],function(t,e){return s[t]=e,s.filter(Boolean).join("\n")});function f(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=l(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function p(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var h=null,d=0;function v(t,e){var n,r,o;if(e.singleton){var i=d++;n=h||(h=u(e)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=u(e),r=p.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=a(n[r]);i[o].references--}for(var u=c(t,e),s=0;s<n.length;s++){var l=a(n[s]);0===i[l].references&&(i[l].updater(),i.splice(l,1))}n=u}}}},85225:(t,e,n)=>{"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,{Z:()=>r})},72195:(t,e,n)=>{"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,{Z:()=>r})},58098:(t,e,n)=>{"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,{Z:()=>r})},87661:t=>{"use strict";var e="%[a-f0-9]{2}",n=new RegExp(e,"gi"),r=new RegExp("("+e+")+","gi");function o(t,e){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;e=e||1;var n=t.slice(0,e),r=t.slice(e);return Array.prototype.concat.call([],o(n),o(r))}function i(t){try{return decodeURIComponent(t)}catch(i){for(var e=t.match(n),r=1;r<e.length;r++)e=(t=o(e,r).join("")).match(n);return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var e={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(t);n;){try{e[n[0]]=decodeURIComponent(n[0])}catch(t){var o=i(n[0]);o!==n[0]&&(e[n[0]]=o)}n=r.exec(t)}e["%C2"]="�";for(var a=Object.keys(e),c=0;c<a.length;c++){var u=a[c];t=t.replace(new RegExp(u,"g"),e[u])}return t}(t)}}},62817:t=>{"use strict";t.exports=function(t,e){for(var n={},r=Object.keys(t),o=Array.isArray(e),i=0;i<r.length;i++){var a=r[i],c=t[a];(o?-1!==e.indexOf(a):e(a,c,t))&&(n[a]=c)}return n}},71299:(t,e,n)=>{"use strict";var r=n(93869),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(t){return r.isMemo(t)?a:c[t.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(d){var o=h(n);o&&o!==d&&t(e,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var c=u(e),v=u(n),y=0;y<a.length;++y){var m=a[y];if(!(i[m]||r&&r[m]||v&&v[m]||c&&c[m])){var g=p(n,m);try{s(e,m,g)}catch(t){}}}}return e}},74720:t=>{t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},77608:(t,e,n)=>{t=n.nmd(t);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",c="[object Object]",u=/^\[object .+?Constructor\]$/,s=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[i]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[a]=l["[object Map]"]=l["[object Number]"]=l[c]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,h=f||p||Function("return this")(),d=e&&!e.nodeType&&e,v=d&&t&&!t.nodeType&&t,y=v&&v.exports===d,m=y&&f.process,g=function(){try{return v&&v.require&&v.require("util").types||m&&m.binding&&m.binding("util")}catch(t){}}(),b=g&&g.isTypedArray;function w(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var _,x,O,j=Array.prototype,E=Function.prototype,C=Object.prototype,k=h["__core-js_shared__"],A=E.toString,S=C.hasOwnProperty,P=(_=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",R=C.toString,T=A.call(Object),$=RegExp("^"+A.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=y?h.Buffer:void 0,F=h.Symbol,M=h.Uint8Array,L=(U&&U.allocUnsafe,x=Object.getPrototypeOf,O=Object,function(t){return x(O(t))}),N=Object.create,I=C.propertyIsEnumerable,Z=j.splice,z=F?F.toStringTag:void 0,B=function(){try{var t=ct(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),D=U?U.isBuffer:void 0,H=Math.max,q=Date.now,W=ct(h,"Map"),V=ct(Object,"create"),K=function(){function t(){}return function(e){if(!bt(e))return{};if(N)return N(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function J(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function G(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Y(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Q(t){var e=this.__data__=new G(t);this.size=e.size}function X(t,e,n){(void 0!==n&&!pt(t[e],n)||void 0===n&&!(e in t))&&nt(t,e,n)}function tt(t,e,n){var r=t[e];S.call(t,e)&&pt(r,n)&&(void 0!==n||e in t)||nt(t,e,n)}function et(t,e){for(var n=t.length;n--;)if(pt(t[n][0],e))return n;return-1}function nt(t,e,n){"__proto__"==e&&B?B(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}J.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},J.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},J.prototype.get=function(t){var e=this.__data__;if(V){var n=e[t];return n===r?void 0:n}return S.call(e,t)?e[t]:void 0},J.prototype.has=function(t){var e=this.__data__;return V?void 0!==e[t]:S.call(e,t)},J.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=V&&void 0===e?r:e,this},G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(t){var e=this.__data__,n=et(e,t);return!(n<0||(n==e.length-1?e.pop():Z.call(e,n,1),--this.size,0))},G.prototype.get=function(t){var e=this.__data__,n=et(e,t);return n<0?void 0:e[n][1]},G.prototype.has=function(t){return et(this.__data__,t)>-1},G.prototype.set=function(t,e){var n=this.__data__,r=et(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new(W||G),string:new J}},Y.prototype.delete=function(t){var e=at(this,t).delete(t);return this.size-=e?1:0,e},Y.prototype.get=function(t){return at(this,t).get(t)},Y.prototype.has=function(t){return at(this,t).has(t)},Y.prototype.set=function(t,e){var n=at(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new G,this.size=0},Q.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Q.prototype.get=function(t){return this.__data__.get(t)},Q.prototype.has=function(t){return this.__data__.has(t)},Q.prototype.set=function(t,e){var n=this.__data__;if(n instanceof G){var r=n.__data__;if(!W||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Y(r)}return n.set(t,e),this.size=n.size,this};function rt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":z&&z in Object(t)?function(t){var e=S.call(t,z),n=t[z];try{t[z]=void 0;var r=!0}catch(t){}var o=R.call(t);return r&&(e?t[z]=n:delete t[z]),o}(t):function(t){return R.call(t)}(t)}function ot(t){return wt(t)&&rt(t)==i}function it(t,e,n,r,o){t!==e&&function(t,e,n){for(var r=-1,o=Object(t),i=n(t),a=i.length;a--;){var c=i[++r];if(!1===e(o[c],c,o))break}}(e,(function(i,a){if(o||(o=new Q),bt(i))!function(t,e,n,r,o,i,a){var u=lt(t,n),s=lt(e,n),l=a.get(s);if(l)X(t,n,l);else{var f,p,h,d,v,y=i?i(u,s,n+"",t,e,a):void 0,m=void 0===y;if(m){var g=dt(s),b=!g&&yt(s),w=!g&&!b&&_t(s);y=s,g||b||w?dt(u)?y=u:wt(v=u)&&vt(v)?y=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}(u):b?(m=!1,y=function(t,e){return t.slice()}(s)):w?(m=!1,d=new(h=(f=s).buffer).constructor(h.byteLength),new M(d).set(new M(h)),p=d,y=new f.constructor(p,f.byteOffset,f.length)):y=[]:function(t){if(!wt(t)||rt(t)!=c)return!1;var e=L(t);if(null===e)return!0;var n=S.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&A.call(n)==T}(s)||ht(s)?(y=u,ht(u)?y=function(t){return function(t,e,n,r){var o=!n;n||(n={});for(var i=-1,a=e.length;++i<a;){var c=e[i],u=void 0;void 0===u&&(u=t[c]),o?nt(n,c,u):tt(n,c,u)}return n}(t,xt(t))}(u):bt(u)&&!mt(u)||(y=function(t){return"function"!=typeof t.constructor||st(t)?{}:K(L(t))}(s))):m=!1}m&&(a.set(s,y),o(y,s,r,i,a),a.delete(s)),X(t,n,y)}}(t,e,a,n,it,r,o);else{var u=r?r(lt(t,a),i,a+"",t,e,o):void 0;void 0===u&&(u=i),X(t,a,u)}}),xt)}function at(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function ct(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!bt(t)||function(t){return!!P&&P in t}(t))&&(mt(t)?$:u).test(function(t){if(null!=t){try{return A.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}(n)?n:void 0}function ut(t,e){var n=typeof t;return!!(e=null==e?o:e)&&("number"==n||"symbol"!=n&&s.test(t))&&t>-1&&t%1==0&&t<e}function st(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||C)}function lt(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var ft=function(t){var e=0,n=0;return function(){var r=q(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(B?function(t,e){return B(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Et);function pt(t,e){return t===e||t!=t&&e!=e}var ht=ot(function(){return arguments}())?ot:function(t){return wt(t)&&S.call(t,"callee")&&!I.call(t,"callee")},dt=Array.isArray;function vt(t){return null!=t&>(t.length)&&!mt(t)}var yt=D||function(){return!1};function mt(t){if(!bt(t))return!1;var e=rt(t);return e==a||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function gt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}function bt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function wt(t){return null!=t&&"object"==typeof t}var _t=b?function(t){return function(e){return t(e)}}(b):function(t){return wt(t)&>(t.length)&&!!l[rt(t)]};function xt(t){return vt(t)?function(t,e){var n=dt(t),r=!n&&ht(t),o=!n&&!r&&yt(t),i=!n&&!r&&!o&&_t(t),a=n||r||o||i,c=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],u=c.length;for(var s in t)!e&&!S.call(t,s)||a&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ut(s,u))||c.push(s);return c}(t,!0):function(t){if(!bt(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=st(t),n=[];for(var r in t)("constructor"!=r||!e&&S.call(t,r))&&n.push(r);return n}(t)}var Ot,jt=(Ot=function(t,e,n){it(t,e,n)},function(t,e){return ft(function(t,e,n){return e=H(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=H(r.length-e,0),a=Array(i);++o<i;)a[o]=r[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=r[o];return c[e]=n(a),w(t,this,c)}}(t,e,Et),t+"")}((function(t,e){var n=-1,r=e.length,o=r>1?e[r-1]:void 0,i=r>2?e[2]:void 0;for(o=Ot.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(t,e,n){if(!bt(n))return!1;var r=typeof e;return!!("number"==r?vt(n)&&ut(e,n.length):"string"==r&&e in n)&&pt(n[e],t)}(e[0],e[1],i)&&(o=r<3?void 0:o,r=1),t=Object(t);++n<r;){var a=e[n];a&&Ot(t,a,n)}return t})));function Et(t){return t}t.exports=jt},71372:(t,e,n)=>{var r=n(74720);t.exports=function t(e,n,o){return r(n)||(o=n||o,n=[]),o=o||{},e instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(t,e)}(e,n):r(e)?function(e,n,r){for(var o=[],i=0;i<e.length;i++)o.push(t(e[i],n,r).source);return l(new RegExp("(?:"+o.join("|")+")",f(r)),n)}(e,n,o):function(t,e,n){return p(i(t,n),e,n)}(e,n,o)},t.exports.parse=i,t.exports.compile=function(t,e){return c(i(t,e),e)},t.exports.tokensToFunction=c,t.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(t,e){for(var n,r=[],i=0,a=0,c="",l=e&&e.delimiter||"/";null!=(n=o.exec(t));){var f=n[0],p=n[1],h=n.index;if(c+=t.slice(a,h),a=h+f.length,p)c+=p[1];else{var d=t[a],v=n[2],y=n[3],m=n[4],g=n[5],b=n[6],w=n[7];c&&(r.push(c),c="");var _=null!=v&&null!=d&&d!==v,x="+"===b||"*"===b,O="?"===b||"*"===b,j=n[2]||l,E=m||g;r.push({name:y||i++,prefix:v||"",delimiter:j,optional:O,repeat:x,partial:_,asterisk:!!w,pattern:E?s(E):w?".*":"[^"+u(j)+"]+?"})}}return a<t.length&&(c+=t.substr(a)),c&&r.push(c),r}function a(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function c(t,e){for(var n=new Array(t.length),o=0;o<t.length;o++)"object"==typeof t[o]&&(n[o]=new RegExp("^(?:"+t[o].pattern+")$",f(e)));return function(e,o){for(var i="",c=e||{},u=(o||{}).pretty?a:encodeURIComponent,s=0;s<t.length;s++){var l=t[s];if("string"!=typeof l){var f,p=c[l.name];if(null==p){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(p)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(f=u(p[h]),!n[s].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===h?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(p).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):u(p),!n[s].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');i+=l.prefix+f}}else i+=l}return i}}function u(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function l(t,e){return t.keys=e,t}function f(t){return t&&t.sensitive?"":"i"}function p(t,e,n){r(e)||(n=e||n,e=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",c=0;c<t.length;c++){var s=t[c];if("string"==typeof s)a+=u(s);else{var p=u(s.prefix),h="(?:"+s.pattern+")";e.push(s),s.repeat&&(h+="(?:"+p+h+")*"),a+=h=s.optional?s.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var d=u(n.delimiter||"/"),v=a.slice(-d.length)===d;return o||(a=(v?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=i?"$":o&&v?"":"(?="+d+"|$)",l(new RegExp("^"+a,f(n)),e)}},67004:(t,e,n)=>{"use strict";var r=n(72140);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},1001:(t,e,n)=>{t.exports=n(67004)()},72140:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55858:(t,e,n)=>{"use strict";const r=n(71279),o=n(87661),i=n(38519),a=n(62817);function c(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(t,e){return e.encode?e.strict?r(t):encodeURIComponent(t):t}function s(t,e){return e.decode?o(t):t}function l(t){return Array.isArray(t)?t.sort():"object"==typeof t?l(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function f(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function p(t){const e=(t=f(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function h(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function d(t,e){c((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);const n=function(t){let e;switch(t.arrayFormat){case"index":return(t,n,r)=>{e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===r[t]&&(r[t]={}),r[t][e[1]]=n):r[t]=n};case"bracket":return(t,n,r)=>{e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==r[t]?r[t]=[].concat(r[t],n):r[t]=[n]:r[t]=n};case"comma":case"separator":return(e,n,r)=>{const o="string"==typeof n&&n.includes(t.arrayFormatSeparator),i="string"==typeof n&&!o&&s(n,t).includes(t.arrayFormatSeparator);n=i?s(n,t):n;const a=o||i?n.split(t.arrayFormatSeparator).map((e=>s(e,t))):null===n?n:s(n,t);r[e]=a};case"bracket-separator":return(e,n,r)=>{const o=/(\[\])$/.test(e);if(e=e.replace(/\[\]$/,""),!o)return void(r[e]=n?s(n,t):n);const i=null===n?[]:n.split(t.arrayFormatSeparator).map((e=>s(e,t)));void 0!==r[e]?r[e]=[].concat(r[e],i):r[e]=i};default:return(t,e,n)=>{void 0!==n[t]?n[t]=[].concat(n[t],e):n[t]=e}}}(e),r=Object.create(null);if("string"!=typeof t)return r;if(!(t=t.trim().replace(/^[?#&]/,"")))return r;for(const o of t.split("&")){if(""===o)continue;let[t,a]=i(e.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?a:s(a,e),n(s(t,e),a,r)}for(const t of Object.keys(r)){const n=r[t];if("object"==typeof n&&null!==n)for(const t of Object.keys(n))n[t]=h(n[t],e);else r[t]=h(n,e)}return!1===e.sort?r:(!0===e.sort?Object.keys(r).sort():Object.keys(r).sort(e.sort)).reduce(((t,e)=>{const n=r[e];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?t[e]=l(n):t[e]=n,t}),Object.create(null))}e.extract=p,e.parse=d,e.stringify=(t,e)=>{if(!t)return"";c((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);const n=n=>e.skipNull&&null==t[n]||e.skipEmptyString&&""===t[n],r=function(t){switch(t.arrayFormat){case"index":return e=>(n,r)=>{const o=n.length;return void 0===r||t.skipNull&&null===r||t.skipEmptyString&&""===r?n:null===r?[...n,[u(e,t),"[",o,"]"].join("")]:[...n,[u(e,t),"[",u(o,t),"]=",u(r,t)].join("")]};case"bracket":return e=>(n,r)=>void 0===r||t.skipNull&&null===r||t.skipEmptyString&&""===r?n:null===r?[...n,[u(e,t),"[]"].join("")]:[...n,[u(e,t),"[]=",u(r,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,t),e,u(o,t)].join("")]:[[r,u(o,t)].join(t.arrayFormatSeparator)])}default:return e=>(n,r)=>void 0===r||t.skipNull&&null===r||t.skipEmptyString&&""===r?n:null===r?[...n,u(e,t)]:[...n,[u(e,t),"=",u(r,t)].join("")]}}(e),o={};for(const e of Object.keys(t))n(e)||(o[e]=t[e]);const i=Object.keys(o);return!1!==e.sort&&i.sort(e.sort),i.map((n=>{const o=t[n];return void 0===o?"":null===o?u(n,e):Array.isArray(o)?0===o.length&&"bracket-separator"===e.arrayFormat?u(n,e)+"[]":o.reduce(r(n),[]).join("&"):u(n,e)+"="+u(o,e)})).filter((t=>t.length>0)).join("&")},e.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);const[n,r]=i(t,"#");return Object.assign({url:n.split("?")[0]||"",query:d(p(t),e)},e&&e.parseFragmentIdentifier&&r?{fragmentIdentifier:s(r,e)}:{})},e.stringifyUrl=(t,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=f(t.url).split("?")[0]||"",o=e.extract(t.url),i=e.parse(o,{sort:!1}),a=Object.assign(i,t.query);let c=e.stringify(a,n);c&&(c=`?${c}`);let s=function(t){let e="";const n=t.indexOf("#");return-1!==n&&(e=t.slice(n)),e}(t.url);return t.fragmentIdentifier&&(s=`#${u(t.fragmentIdentifier,n)}`),`${r}${c}${s}`},e.pick=(t,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:o,query:i,fragmentIdentifier:c}=e.parseUrl(t,r);return e.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:c},r)},e.exclude=(t,n,r)=>{const o=Array.isArray(n)?t=>!n.includes(t):(t,e)=>!n(t,e);return e.pick(t,o,r)}},91141:(t,e)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,d=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case l:case f:case i:case c:case a:case h:return t;default:switch(t=t&&t.$$typeof){case s:case p:case y:case v:case u:return t;default:return e}}case o:return e}}}function x(t){return _(t)===f}e.AsyncMode=l,e.ConcurrentMode=f,e.ContextConsumer=s,e.ContextProvider=u,e.Element=r,e.ForwardRef=p,e.Fragment=i,e.Lazy=y,e.Memo=v,e.Portal=o,e.Profiler=c,e.StrictMode=a,e.Suspense=h,e.isAsyncMode=function(t){return x(t)||_(t)===l},e.isConcurrentMode=x,e.isContextConsumer=function(t){return _(t)===s},e.isContextProvider=function(t){return _(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return _(t)===p},e.isFragment=function(t){return _(t)===i},e.isLazy=function(t){return _(t)===y},e.isMemo=function(t){return _(t)===v},e.isPortal=function(t){return _(t)===o},e.isProfiler=function(t){return _(t)===c},e.isStrictMode=function(t){return _(t)===a},e.isSuspense=function(t){return _(t)===h},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===f||t===c||t===a||t===h||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===v||t.$$typeof===u||t.$$typeof===s||t.$$typeof===p||t.$$typeof===g||t.$$typeof===b||t.$$typeof===w||t.$$typeof===m)},e.typeOf=_},93869:(t,e,n)=>{"use strict";t.exports=n(91141)},38519:t=>{"use strict";t.exports=(t,e)=>{if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];const n=t.indexOf(e);return-1===n?[t]:[t.slice(0,n),t.slice(n+e.length)]}},71279:t=>{"use strict";t.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`))}}]);
|
package/dist/488.js.LICENSE.txt
DELETED
package/dist/523.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_lowdefy_blocks_color_selectors=self.webpackChunk_lowdefy_blocks_color_selectors||[]).push([[523],{90523:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var o=r(73233),n=r.n(o),l=r(79132),c=r(49493),a=r(25240);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=e=>{var{blockId:t,loading:r,methods:o,properties:a,required:i,validation:u,value:p}=e;return n().createElement(c.Label,{blockId:t,loading:r,methods:o,properties:s({title:a.title,size:a.size},a.label),required:i,validation:u,content:{content:()=>n().createElement(l.SliderPicker,{id:"".concat(t,"_input"),className:o.makeCssClass([{marginBottom:"0px !important"},a.inputStyle]),color:p||a.defaultColor||"#000000",onChangeComplete:e=>{o.setValue(e.hex?e.hex:"#000000"),o.triggerEvent({name:"onChange"})}})}})};p.defaultProps=a.blockDefaultProps;const b=p}}]);
|