You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
amis/demo/scripts/chunk/3565.cb9ae955.js

2 lines
112 KiB

1 year ago
(self.webpackChunkamis_editor_demo=self.webpackChunkamis_editor_demo||[]).push([[3565],{70597:function(e,t,r){"use strict";var n,o=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},a=(n=r(67294))&&n.__esModule?n:{default:n};t.Z=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,i=void 0===n?24:n,l=e.height,s=void 0===l?24:l,u=e.style,c=void 0===u?{}:u,p=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:i,height:s},c)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},43891:function(e,t,r){"use strict";var n,o=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},a=(n=r(67294))&&n.__esModule?n:{default:n};t.Z=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,i=void 0===n?24:n,l=e.height,s=void 0===l?24:l,u=e.style,c=void 0===u?{}:u,p=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:i,height:s},c)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},2525:function(e,t,r){var n=r(47816),o=r(54290);e.exports=function(e,t){return e&&n(e,o(t))}},35161:function(e,t,r){var n=r(29932),o=r(67206),a=r(69199),i=r(1469);e.exports=function(e,t){return(i(e)?n:a)(e,o(t,3))}},93565:function(e,t,r){"use strict";r.d(t,{Lf:function(){return va},xS:function(){return Pa}});var n=r(67294),o=r(79941),a={},i=function(e,t,r,n){var o=e+"-"+t+"-"+r+(n?"-server":"");if(a[o])return a[o];var i=function(e,t,r,n){if("undefined"==typeof document&&!n)return null;var o=n?new n:document.createElement("canvas");o.width=2*r,o.height=2*r;var a=o.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,o.width,o.height),a.fillStyle=t,a.fillRect(0,0,r,r),a.translate(r,r),a.fillRect(0,0,r,r),o.toDataURL()):null}(e,t,r,n);return a[o]=i,i},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},s=function(e){var t=e.white,r=e.grey,a=e.size,s=e.renderers,u=e.borderRadius,c=e.boxShadow,p=e.children,h=(0,o.ZP)({default:{grid:{borderRadius:u,boxShadow:c,absolute:"0px 0px 0px 0px",background:"url("+i(t,r,a,s.canvas)+") center left"}}});return(0,n.isValidElement)(p)?n.cloneElement(p,l({},p.props,{style:l({},p.props.style,h.grid)})):n.createElement("div",{style:h.grid})};s.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var u=s,c=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},p=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.handleChange=function(e){var t=function(e,t,r,n,o){var a=o.clientWidth,i=o.clientHeight,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touch