WordPress/wp-includes/js/dist/block-library.min.js

42 lines
479 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="K51g")}({"1K8p":function(e,t,n){"use strict";var o=n("jrfk"),r=n("ez49");function a(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=40,r*=40):(o*=800,r*=800)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}a.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=a},"1Yn1":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));t.a=a},"1ZqX":function(e,t){e.exports=window.wp.data},"1iEr":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=a},"2gm7":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=a},"4eJC":function(e,t,n){e.exports=function(e,t){var n,o,r=0;function a(){var a,c,l=n,i=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(c=0;c<i;c++)if(l.args[c]!==arguments[c]){l=l.next;continue e}return l!==n&&(l===o&&(o=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return l={args:a,val:e.apply(null,a)},n?(n.prev=l,l.next=n):o=l,r===t.maxSize?(o=o.prev).next=null:r++,n=l,l.val}return t=t||{},a.clear=function(){n=null,o=null,r=0},a}},"A/WM":function(e,t,n){var o;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,o=0;o<n;++o)r(e,t[o])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var o=/\s+/;function r(e,r){if(r){var a=typeof r;"string"===a?function(e,t){for(var n=t.split(o),r=n.length,a=0;a<r;++a)e[n[a]]=!0}(e,r):Array.isArray(r)?t(e,r):"object"===a?function(e,t){if(t.toString===Object.prototype.toString)for(var o in t)n.call(t,o)&&(e[o]=!!t[o]);else e[t.toString()]=!0}(e,r):"number"===a&&function(e,t){e[t]=!0}(e,r)}}return function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];var a=new e;t(a,o);var c=[];for(var l in a)a[l]&&c.push(l);return c.join(" ")}}();e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},B9Az:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");var a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.a=a},Bpkj:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=a},FEKF:function(e,t,n){
/*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var c,l=e[Symbol.iterator]();!(o=(c=l.next()).done)&&(n.push(c.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}return function(){function n(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n)}var o,r,a;return o=n,(r=[{key:"getColorAsync",value:function(e,t,n){e.complete?t.call(e,this.getColor(e,n),n&&n.data):this._bindImageEvents(e,t,n)}},{key:"getColor",value:function(e,t){t=t||{};var n=this._getDefaultColor(t),o=this._getOriginalSize(e),r=this._prepareSizeAndPosition(o,t),a=null,c=n;if(!(r.srcWidth&&r.srcHeight&&r.destWidth&&r.destHeight))return this._prepareResult(n,new Error("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))return this._prepareResult(n,new Error("FastAverageColor: Canvas Context 2D is not supported in this browser."));this._canvas.width=r.destWidth,this._canvas.height=r.destHeight;try{this._ctx.clearRect(0,0,r.destWidth,r.destHeight),this._ctx.drawImage(e,r.srcLeft,r.srcTop,r.srcWidth,r.srcHeight,0,0,r.destWidth,r.destHeight);var l=this._ctx.getImageData(0,0,r.destWidth,r.destHeight).data;c=this.getColorFromArray4(l,t)}catch(e){a=e}return this._prepareResult(c,a)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};var n=e.length;if(n<4)return this._getDefaultColor(t);var o=n-n%4,r=4*(t.step||1),a="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeof this[a])throw new Error("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));return this[a](e,o,r)}},{key:"destroy",value:function(){delete this._canvas,delete this._ctx}},{key:"_getDefaultColor",value:function(e){return this._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,n){return void 0===e[t]?n:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){var n,o=this._getOption(t,"left",0),r=this._getOption(t,"top",0),a=this._getOption(t,"width",e.width),c=this._getOption(t,"height",e.height),l=a,i=c;return"precision"===t.mode||(a>c?(n=a/c,l=100,i=Math.round(l/n)):(n=c/a,i=100,l=Math.round(i/n)),(l>a||i>c||l<10||i<10)&&(l=a,i=c)),{srcLeft:o,srcTop:r,srcWidth:a,srcHeight:c,destWidth:l,destHeight:i}}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=0,i=0;i<t;i+=n){var s=e[i+3];o+=e[i]*s,r+=e[i+1]*s,a+=e[i+2]*s,c+=s,l++}return c?[Math.round(o/c),Math.round(r/c),Math.round(a/c),Math.round(c/l)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,c=0,l=0,i=0;i<t;i+=n){var s=e[i],u=e[i+1],d=e[i+2],m=e[i+3];o+=s*s*m,r+=u*u*m,a+=d*d*m,c+=m,l++}return c?[Math.round(Math.sqrt(o/c)),Math.round(Math.sqrt(r/c)),Math.round(Math.sqrt(a/c)),Math.round(c/l)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,n,o){for(var r={},a=0;a<n;a+=o){var c=e[a],l=e[a+1],i=e[a+2],s=e[a+3],u=Math.round(c/24)+","+Math.round(l/24)+","+Math.round(i/24);r[u]?r[u]=[r[u][0]+c*s,r[u][1]+l*s,r[u][2]+i*s,r[u][3]+s,r[u][4]+1]:r[u]=[c*s,l*s,i*s,s,1]}var d=t(Object.keys(r).map((function(e){return r[e]})).sort((function(e,t){var n=e[4],o=t[4];return n>o?-1:n===o?0:1}))[0],5),m=d[0],b=d[1],p=d[2],g=d[3],h=d[4];return g?[Math.round(m/g),Math.round(b/g),Math.round(p/g),Math.round(g/h)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var o=this,r=(n=n||{})&&n.data,a=this._getDefaultColor(n),c=function(){s(),t.call(e,o.getColor(e,n),r)},l=function(){s(),t.call(e,o._prepareResult(a,new Error("Image error")),r)},i=function(){s(),t.call(e,o._prepareResult(a,new Error("Image abort")),r)},s=function(){e.removeEventListener("load",c),e.remo
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var ot=function(e,t){return(ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};var rt=function(){return(rt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.create;Object.create;var at=n("cDcd"),ct=n.n(at),lt=n("wJiJ"),it=n.n(lt);function st(e,t,n,o,r,a){void 0===a&&(a=0);var c=ft(e,t,a),l=c.width,i=c.height,s=Math.min(l,n),u=Math.min(i,o);return s>u*r?{width:u*r,height:u}:{width:s,height:s/r}}function ut(e,t,n,o,r){void 0===r&&(r=0);var a=ft(t.width,t.height,r),c=a.width,l=a.height;return{x:dt(e.x,c,n.width,o),y:dt(e.y,l,n.height,o)}}function dt(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function mt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function bt(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function pt(e,t,n,o,r,a,c){void 0===a&&(a=0),void 0===c&&(c=!0);var l=c&&0===a?gt:ht,i={x:l(100,((t.width-n.width/r)/2-e.x/r)/t.width*100),y:l(100,((t.height-n.height/r)/2-e.y/r)/t.height*100),width:l(100,n.width/t.width*100/r),height:l(100,n.height/t.height*100/r)},s=Math.round(l(t.naturalWidth,i.width*t.naturalWidth/100)),u=Math.round(l(t.naturalHeight,i.height*t.naturalHeight/100)),d=t.naturalWidth>=t.naturalHeight*o?{width:Math.round(u*o),height:u}:{width:s,height:Math.round(s/o)};return{croppedAreaPercentages:i,croppedAreaPixels:rt(rt({},d),{x:Math.round(l(t.naturalWidth-d.width,i.x*t.naturalWidth/100)),y:Math.round(l(t.naturalHeight-d.height,i.y*t.naturalHeight/100))})}}function gt(e,t){return Math.min(e,Math.max(0,t))}function ht(e,t){return t}function vt(e,t,n){var o=t.width/t.naturalWidth,r=function(e,t,n){var o=t.width/t.naturalWidth;if(n)return n.height>n.width?n.height/o/e.height:n.width/o/e.width;var r=e.width/e.height;return t.naturalWidth>=t.naturalHeight*r?t.naturalHeight/e.height:t.naturalWidth/e.width}(e,t,n),a=o*r;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*a,y:((t.naturalHeight-e.height)/2-e.y)*a},zoom:r}}function Ot(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function jt(e,t,n,o,r){var a=Math.cos,c=Math.sin,l=r*Math.PI/180;return[(e-n)*a(l)-(t-o)*c(l)+n,(e-n)*c(l)+(t-o)*a(l)+o]}function ft(e,t,n){var o=e/2,r=t/2,a=[jt(0,0,o,r,n),jt(e,0,o,r,n),jt(e,t,o,r,n),jt(0,t,o,r,n)],c=Math.min.apply(Math,a.map((function(e){return e[0]}))),l=Math.max.apply(Math,a.map((function(e){return e[0]}))),i=Math.min.apply(Math,a.map((function(e){return e[1]})));return{width:l-c,height:Math.max.apply(Math,a.map((function(e){return e[1]})))-i}}function yt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return"string"==typeof e&&e.length>0})).join(" ").trim()}var wt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.imageRef=null,n.videoRef=null,n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.state={cropSize:null,hasWheelJustStarted:!1},n.preventZoomSafari=function(e){return e.preventDefault()},n.cleanEvents=function(){document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onDragStopped),document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onDragStopped)},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){n.computeSizes(),n.emitCropData(),n.setInitialCrop(),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(){var e=n.props,t=e.initialCroppedAreaPixels,o=e.cropSize;if(t){var r=vt(t,n.mediaSize,o),a=r.crop,c=r.zo
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var c=r.apply(null,o);c&&e.push(c)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var l in o)n.call(o,l)&&o[l]&&e.push(l);else e.push(o.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},UuzZ:function(e,t){e.exports=window.wp.autop},YLtl:function(e,t){e.exports=window.lodash},Zss7:function(e,t,n){var o;!function(r){var a=/^\s+/,c=/\s+$/,l=0,i=r.round,s=r.min,u=r.max,d=r.random;function m(e,t){if(t=t||{},(e=e||"")instanceof m)return e;if(!(this instanceof m))return new m(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,o=null,l=null,i=null,d=!1,m=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(c,"").toLowerCase();var t,n=!1;if(T[e])e=T[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=G.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=G.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=G.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=G.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=G.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=G.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=G.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:I(t[4]),format:n?"name":"hex8"};if(t=G.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=G.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=G.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(b=e.r,p=e.g,g=e.b,t={r:255*M(b,255),g:255*M(p,255),b:255*M(g,255)},d=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(o=H(e.s),l=H(e.v),t=function(e,t,n){e=6*M(e,360),t=M(t,100),n=M(n,100);var o=r.floor(e),a=e-o,c=n*(1-t),l=n*(1-a*t),i=n*(1-(1-a)*t),s=o%6;return{r:255*[n,l,c,c,i,n][s],g:255*[i,n,n,l,c,c][s],b:255*[c,c,i,n,n,l][s]}}(e.h,o,l),d=!0,m="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(o=H(e.s),i=H(e.l),t=function(e,t,n){var o,r,a;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=M(e,360),t=M(t,100),n=M(n,100),0===t)o=r=a=n;else{var l=n<.5?n*(1+t):n+t-n*t,i=2*n-l;o=c(i,l,e+1/3),r=c(i,l,e),a=c(i,l,e-1/3)}return{r:255*o,g:255*r,b:255*a}}(e.h,o,i),d=!0,m="hsl"),e.hasOwnProperty("a")&&(n=e.a));var b,p,g;return n=P(n),{ok:d,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=i(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=n.ok,this._tc_id=l++}function b(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var o,r,a=u(e,t,n),c=s(e,t,n),l=(a+c)/2;if(a==c)o=r=0;else{var i=a-c;switch(r=l>.5?i/(2-a-c):i/(a+c),a){case e:o=(t-n)/i+(t<n?6:0);break;case t:o=(n-e)/i+2;break;case n:o=(e-t)/i+4}o/=6}return{h:o,s:r,l:l}}function p(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var o,r,a=u(e,t,n),c=s(e,t,n),l=a,i=a-c;if(r=0===a?0:i/a,a==c)o=0;else{switch(a){case e:o=(t-n)/i+(t<n?6:0);break;case t:o=(n-e)/i+2;break;case n:o=(e-t)/i+4}o/=6}return{h:o,s:r,v:l}}function g(e,t,n,o){var r=[V(i(e).toString(16)),V(i(t).toString(16)),V(i(n).toString(16))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function h(e,t,n,o){return[V(L(o)),V(i(e).toString(16)),V(i(t).toString(16)),V(i(n).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var n=m(e).toHsl();return n.s-=t/100,n.s=N(n.s),m(n)}function O(e,t){t=0===t?0:t||10;var n=m(e).toHsl();return n.s+=t/100,n.s=N(n.s),m(n)}function j(e){return m(
/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/,e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var c=document.createElement("div");c.setAttribute(n,"return;"),a="function"==typeof c[n]}return!a&&o&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}},g56x:function(e,t){e.exports=window.wp.hooks},iClF:function(e,t,n){"use strict";var o=n("GRId");t.a=function({icon:e,size:t=24,...n}){return Object(o.cloneElement)(e,{width:t,height:t,...n})}},jSdM:function(e,t){e.exports=window.wp.editor},jZUy:function(e,t){e.exports=window.wp.coreData},jrfk:function(e,t){var n,o,r,a,c,l,i,s,u,d,m,b,p,g,h,v=!1;function O(){if(!v){v=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),O=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(b=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),g=/FBAN\/\w+;/i.exec(e),h=/Mobile/i.exec(e),m=!!/Win64/.exec(e),t){(n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var j=/(?:Trident\/(\d+.\d+))/.exec(e);l=j?parseFloat(j[1])+4:n,o=t[2]?parseFloat(t[2]):NaN,r=t[3]?parseFloat(t[3]):NaN,(a=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),c=t&&t[1]?parseFloat(t[1]):NaN):c=NaN}else n=o=r=c=a=NaN;if(O){if(O[1]){var f=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);i=!f||parseFloat(f[1].replace("_","."))}else i=!1;s=!!O[2],u=!!O[3]}else i=s=u=!1}}var j={ie:function(){return O()||n},ieCompatibilityMode:function(){return O()||l>n},ie64:function(){return j.ie()&&m},firefox:function(){return O()||o},opera:function(){return O()||r},webkit:function(){return O()||a},safari:function(){return j.webkit()},chrome:function(){return O()||c},windows:function(){return O()||s},osx:function(){return O()||i},linux:function(){return O()||u},iphone:function(){return O()||b},mobile:function(){return O()||b||p||d||h},nativeApp:function(){return O()||g},android:function(){return O()||d},ipad:function(){return O()||p}};e.exports=j},l3Sj:function(e,t){e.exports=window.wp.i18n},o97j:function(e,t,n){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen,isInWorker:!o};e.exports=r},oMoS:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));t.a=a},onLe:function(e,t){e.exports=window.wp.notices},qRz9:function(e,t){e.exports=window.wp.richText},"tI+e":function(e,t){e.exports=window.wp.components},wJiJ:function(e,t,n){e.exports=n("1K8p")},wx14:function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return o}))},wy2R:function(e,t){e.exports=window.moment},xTGt:function(e,t){e.exports=window.wp.blob},ywyh:function(e,t){e.exports=window.wp.apiFetch}});