this.wp=this.wp||{},this.wp.components=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=304)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.lodash}()},function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},,,,function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(15);function r(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t,n){"use strict";var o=n(35);var r=n(36);function a(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(o=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(r)throw a}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return a})},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.moment}()},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)})(e)}n.d(t,"a",function(){return r})},function(e,t,n){e.exports=n(109)()},function(e,t){!function(){e.exports=this.wp.apiFetch}()},,function(e,t,n){"use strict";function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return o})},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},,,function(e,t,n){e.exports=n(229)},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},,function(e,t,n){"use strict";var o=n(63),r=n(141),a=n(142),i=n(225),c=a();o(c,{getPolyfill:a,implementation:r,shim:i}),e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="Interact with the calendar and add the check-in date for your trip.",r="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",c="Home and end keys",s="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",h="Return to the date input field.",f="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},v=function(e){return e.date},m=function(e){var t=e.date;return"Not available. "+String(t)},y=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:o,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:o,jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y},t.DateRangePickerInputPhrases={focusStartDate:o,clearDates:"Clear Dates",keyboardNavigationInstructions:f},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:f},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h},t.DayPickerNavigationPhrases={jumpToPrevMonth:r,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y}},function(e,t){!function(){e.exports=this.wp.a11y}()},function(e,t,n){var o;!function(r){var a=/^\s+/,i=/\s+$/,c=0,s=r.round,l=r.min,u=r.max,d=r.random;function h(e,t){if(t=t||{},(e=e||"")instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,o=null,c=null,s=null,d=!1,h=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=K.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=K.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=K.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=K.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=K.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=K.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=K.hex8.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),a:A(t[4]),format:n?"name":"hex8"};if(t=K.hex6.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),format:n?"name":"hex"};if(t=K.hex4.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),a:A(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=K.hex3.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(f=e.r,p=e.g,b=e.b,t={r:255*I(f,255),g:255*I(p,255),b:255*I(b,255)},d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(o=R(e.s),c=R(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var o=r.floor(e),a=e-o,i=n*(1-t),c=n*(1-a*t),s=n*(1-(1-a)*t),l=o%6;return{r:255*[n,c,i,i,s,n][l],g:255*[s,n,n,c,i,i][l],b:255*[i,i,s,n,n,c][l]}}(e.h,o,c),d=!0,h="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(o=R(e.s),s=R(e.l),t=function(e,t,n){var o,r,a;function i(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=I(e,360),t=I(t,100),n=I(n,100),0===t)o=r=a=n;else{var c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;o=i(s,c,e+1/3),r=i(s,c,e),a=i(s,c,e-1/3)}return{r:255*o,g:255*r,b:255*a}}(e.h,o,s),d=!0,h="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,b;return n=T(n),{ok:d,format:e.format||h,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(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=s(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=c++}function f(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var o,r,a=u(e,t,n),i=l(e,t,n),c=(a+i)/2;if(a==i)o=r=0;else{var s=a-i;switch(r=c>.5?s/(2-a-i):s/(a+i),a){case e:o=(t-n)/s+(t>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(h(o));return a}function P(e,t){t=t||6;for(var n=h(e).toHsv(),o=n.h,r=n.s,a=n.v,i=[],c=1/t;t--;)i.push(h({h:o,s:r,v:a})),a=(a+c)%1;return i}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=s(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=s(360*e.h),n=s(100*e.s),o=s(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=s(360*e.h),n=s(100*e.s),o=s(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var a=[N(s(e).toString(16)),N(s(t).toString(16)),N(s(n).toString(16)),N(L(o))];if(r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*I(this._r,255))+"%",g:s(100*I(this._g,255))+"%",b:s(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%)":"rgba("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=h(e);n="#"+v(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(M,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:R(e[o]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:d(),g:d(),b:d()})},h.mix=function(e,t,n){n=0===n?0:n||50;var o=h(e).toRgb(),r=h(t).toRgb(),a=n/100;return h({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},h.readability=function(e,t){var n=h(e),o=h(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},h.isReadable=function(e,t,n){var o,r,a=h.readability(e,t);switch(r=!1,(o=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+o.size){case"AAsmall":case"AAAlarge":r=a>=4.5;break;case"AAlarge":r=a>=3;break;case"AAAsmall":r=a>=7}return r},h.mostReadable=function(e,t,n){var o,r,a,i,c=null,s=0;r=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;ls&&(s=o,c=h(t[l]));return h.isReadable(e,c,{level:a,size:i})||!r?c:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var E=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function x(e){return l(1,u(0,e))}function H(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function L(e){return r.round(255*parseFloat(e)).toString(16)}function A(e){return H(e)/255}var F,V,B,K=(V="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",B="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!K.CSS_UNIT.exec(e)}e.exports?e.exports=h:void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o)}(Math)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce(function(e,t){return(0,o.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,r.default.oneOfType([r.default.string,r.default.func,r.default.node])))},{})};var o=a(n(42)),r=a(n(29));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){e.exports=this.ReactDOM}()},,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,i=void 0===n?"styles":n,u=t.themePropName,h=void 0===u?"theme":u,p=t.cssPropName,y=void 0===p?"css":p,g=t.flushBefore,O=void 0!==g&&g,k=t.pureComponent,_=void 0!==k&&k,D=void 0,w=void 0,S=void 0,M=void 0,j=function(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}(_);function C(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function P(t,n){var o=function(e){return e===l.DIRECTIONS.LTR?S:M}(t),r=t===l.DIRECTIONS.LTR?D:w,a=d.default.get();if(r&&o===a)return r;var i=t===l.DIRECTIONS.RTL;return i?(w=e?d.default.createRTL(e):b,M=a,r=w):(D=e?d.default.createLTR(e):b,S=a,r=D),r}function E(e,t){return{resolveMethod:C(e),styleDef:P(e,t)}}return function(){return function(e){var t=e.displayName||e.name||"Component",n=function(n){function c(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var o=function(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}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e,n)),r=o.context[l.CHANNEL]?o.context[l.CHANNEL].getState():m;return o.state=E(r,t),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,n),r(c,[{key:"componentDidMount",value:function(){return function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe(function(n){e.setState(E(n,t))}))}}()},{key:"componentWillUnmount",value:function(){return function(){this.channelUnsubscribe&&this.channelUnsubscribe()}}()},{key:"render",value:function(){return function(){var t;O&&d.default.flush();var n=this.state,r=n.resolveMethod,c=n.styleDef;return a.default.createElement(e,o({},this.props,(f(t={},h,d.default.get()),f(t,i,c()),f(t,y,r),t)))}}()}]),c}(j);n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=v,e.propTypes&&(n.propTypes=(0,s.default)({},e.propTypes),delete n.propTypes[i],delete n.propTypes[h],delete n.propTypes[y]);e.defaultProps&&(n.defaultProps=(0,s.default)({},e.defaultProps));return(0,c.default)(n,e)}}()};var a=h(n(26)),i=h(n(29)),c=h(n(126)),s=h(n(230)),l=n(231),u=h(n(232)),d=h(n(139));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:i.default.object.isRequired,theme:i.default.object.isRequired,css:i.default.func.isRequired};var p={},b=function(){return p};var v=f({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,function(e,t,n){var o=n(27),r=n(227),a=n(228);e.exports={momentObj:a.createMomentChecker("object",function(e){return"object"==typeof e},function(e){return r.isValidMoment(e)},"Moment"),momentString:a.createMomentChecker("string",function(e){return"string"==typeof e},function(e){return r.isValidMoment(o(e))},"Moment"),momentDurationObj:a.createMomentChecker("object",function(e){return"object"==typeof e},function(e){return o.isDuration(e)},"Duration")}},function(e,t,n){var o=n(77),r=n(78);e.exports=function(e,t,n){var a=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var c=0;c<16;++c)t[a+c]=i[c];return t||r(i)}},,function(e,t,n){"use strict";e.exports=n(118)},,,,,function(e,t,n){"use strict";var o=n(127),r=n(206),a="function"==typeof Symbol&&"symbol"==typeof Symbol(),i=Object.prototype.toString,c=Object.defineProperty&&function(){var e={};try{for(var t in Object.defineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),s=function(e,t,n,o){var r;t in e&&("function"!=typeof(r=o)||"[object Function]"!==i.call(r)||!o())||(c?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},l=function(e,t){var n=arguments.length>2?arguments[2]:{},i=o(t);a&&(i=i.concat(Object.getOwnPropertySymbols(t))),r(i,function(o){s(e,o,t[o],n[o])})};l.supportsDescriptors=!!c,e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o},i=n(34);t.default=a.default.oneOf(i.WEEKDAYS)},,,,function(e,t,n){"use strict";var o=n(207);e.exports=Function.prototype.bind||o},function(e,t,n){"use strict";var o=n(226);e.exports=function(e,t,n){return!o(e.props,t)||!o(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!a.default.isMoment(e)||!a.default.isMoment(t))&&e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year()};var o,r=n(27),a=(o=r)&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,i.DISPLAY_FORMAT,i.ISO_FORMAT]:[i.DISPLAY_FORMAT,i.ISO_FORMAT],o=(0,a.default)(e,n,!0);return o.isValid()?o.hour(12):null};var o,r=n(27),a=(o=r)&&o.__esModule?o:{default:o},i=n(34)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o},i=n(34);t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION,i.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o},i=n(34);t.default=a.default.oneOf([i.OPEN_DOWN,i.OPEN_UP])},,,function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var o=new Uint8Array(16);e.exports=function(){return n(o),o}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},function(e,t){for(var n=[],o=0;o<256;++o)n[o]=(o+256).toString(16).substr(1);e.exports=function(e,t){var o=t||0,r=n;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o},i=n(34);t.default=a.default.oneOf([i.ICON_BEFORE_POSITION,i.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o},i=n(34);t.default=a.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t)||(0,r.default)(e,t))};var o=a(n(27)),r=a(n(83));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!a.default.isMoment(e)||!a.default.isMoment(t))return!1;var n=e.year(),o=e.month(),r=t.year(),i=t.month(),c=n===r,s=o===i;return c&&s?e.date()2?n-2:0),r=2;r=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["wrappedRef"]);return i.createElement(e,o({},a,{ref:function(e){t.__wrappedInstance=e,t.__domNode=c.findDOMNode(e),r&&r(e)}}))}}]),n}();return n.displayName="clickOutside("+t+")",a(n,e)}},,,,,,,,,,function(e,t,n){"use strict";var o=Function.prototype.toString,r=/^\s*class\b/,a=function(e){try{var t=o.call(e);return r.test(t)}catch(e){return!1}},i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(c)return function(e){try{return!a(e)&&(o.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=i.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){var o=n(68).call(Function.call,Object.prototype.hasOwnProperty),r=Object.assign;e.exports=function(e,t){if(r)return r(e,t);for(var n in t)o(t,n)&&(e[n]=t[n]);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var o=Object.assign||function(e){for(var t=1;t0?!0===i?o.scrollTop(t,g.top+O.top):!1===i?o.scrollTop(t,g.top+k.top):O.top<0?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+k.top):a||((i=void 0===i||!!i)?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+k.top)),r&&(O.left<0||k.left>0?!0===c?o.scrollLeft(t,g.left+O.left):!1===c?o.scrollLeft(t,g.left+k.left):O.left<0?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+k.left):a||((c=void 0===c||!!c)?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+k.left)))}},function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t0&&!o.call(e,0))for(var b=0;b0)for(var v=0;v0&&void 0!==arguments[0]&&(n=o.ToInteger(arguments[0]));var a=o.ArraySpeciesCreate(e,0);return function e(t,n,a,i,c){for(var s=i,l=0;l0&&(h=o.IsArray(d)),h)s=e(t,d,o.ToLength(o.Get(d,"length")),s,c-1);else{if(s>=r)throw new TypeError("index too large");o.CreateDataPropertyOrThrow(t,o.ToString(s),d),s+=1}}l+=1}return s}(a,e,t,0,n),a}},function(e,t,n){"use strict";var o=n(209),r=n(107),a=r(r({},o),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)}});e.exports=a},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var o=Object.prototype.toString;if(n(213)()){var r=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==o.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(r.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},function(e,t,n){"use strict";var o=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,a=Object.getPrototypeOf||function(e){return e.__proto__},i=void 0,c="undefined"==typeof Uint8Array?void 0:a(Uint8Array),s={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":r?a([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":i&&r&&Symbol.asyncIterator?i[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":r?a(a([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&r?a((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&r?a((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":r?a(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":r?Symbol:void 0,"$ %SymbolPrototype%":r?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":o,"$ %TypedArray%":c,"$ %TypedArrayPrototype%":c?c.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in s))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===s[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return s[n]}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var o=n(128);e.exports=function(){return Array.prototype.flat||o}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=void 0,r=void 0;function a(e,t){var n=t(e(r));return function(){return n}}function i(e){return a(e,o.createLTR||o.create)}function c(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var r="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||o?window.getComputedStyle(e):null,c=e.offsetWidth,s=e.offsetHeight,l="width"===t?c:s;n||(l-=parseFloat(i["padding"+r])+parseFloat(i["padding"+a])+parseFloat(i["border"+r+"Width"])+parseFloat(i["border"+a+"Width"]));o&&(l+=parseFloat(i["margin"+r])+parseFloat(i["margin"+a]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=r&&at.clientHeight?t:r(t)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=o(),i=r(e);return t.set(i,i.style.overflowY),i===n?t:a(i,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0&&(L||H||i!==k)){var Y=y||this.today;V=this.deleteModifierFromRange(V,Y,Y.clone().add(k,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,Y,Y.clone().add(k,"days"),"blocked")}(L||x)&&(0,d.default)(P).forEach(function(e){Object.keys(e).forEach(function(e){var n=(0,u.default)(e),o=!1;(L||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),o=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(L||T)&&(s(n)?(V=t.addModifier(V,n,"blocked-calendar"),o=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=o?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(L||I)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))})}),i>0&&n&&r===E.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked"));var $=(0,u.default)();if((0,m.default)(this.today,$)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,$,"today"),this.today=$),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},P,V)}),L||h!==S){var G=N(h,r);this.setState({phrases:(0,a.default)({},h,{chooseAvailableDate:G})})}}}()},{key:"onDayClick",value:function(){return function(e,t){var n=this.props,o=n.keepOpenOnDateSelect,r=n.minimumNights,a=n.onBlur,i=n.focusedInput,c=n.onFocusChange,s=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,h=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var f=this.props,p=f.startDate,v=f.endDate;if(u||d)p=(0,_.default)(u,e),v=(0,_.default)(d,e),o||(c(null),s({startDate:p,endDate:v}));else if(i===E.START_DATE){var m=v&&v.clone().subtract(r,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,v),k=h===E.END_DATE;k&&O||(p=e,O&&(v=null)),k&&!O?(c(null),s({startDate:p,endDate:v})):k||c(E.END_DATE)}else if(i===E.END_DATE){var D=p&&p.clone().add(r,"days");p?(0,b.default)(e,D)?(v=e,o||(c(null),s({startDate:p,endDate:v}))):h!==E.START_DATE&&(p=e,v=null):(v=e,c(E.START_DATE))}l({startDate:p,endDate:v}),a()}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,o=t.endDate,r=t.focusedInput,i=t.minimumNights,c=t.startDateOffset,s=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,h=null;if(r){var f=c||s,p={};if(f){var b=(0,_.default)(c,e),v=(0,_.default)(s,e,function(e){return e.add(1,"day")});h={start:b,end:v},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,b,v,"hovered-offset")}if(!f){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!o&&r===E.END_DATE){if((0,y.default)(u,n)){var O=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,O,"hovered-span")}if(!this.isBlocked(e)&&(0,y.default)(e,n)){var k=e.clone().add(1,"day");p=this.addModifierToRange(p,n,k,"hovered-span")}}if(!n&&o&&r===E.START_DATE&&((0,g.default)(u,o)&&(p=this.deleteModifierFromRange(p,u,o,"hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,o)&&(p=this.addModifierToRange(p,e,o,"hovered-span"))),n){var D=n.clone().add(1,"day"),w=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,D,w,"after-hovered-start"),(0,m.default)(e,n)){var S=n.clone().add(1,"day"),M=n.clone().add(i+1,"days");p=this.addModifierToRange(p,S,M,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:h,visibleDays:(0,a.default)({},d,p)})}}}}()},{key:"onDayMouseLeave",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=t.minimumNights,i=this.state,c=i.hoverDate,s=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&c){var u={};if(u=this.deleteModifier(u,c,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!o&&(0,y.default)(c,n)){var d=c.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&o&&(0,y.default)(o,c)&&(u=this.deleteModifierFromRange(u,c,o,"hovered-span")),n&&(0,m.default)(e,n)){var h=n.clone().add(1,"day"),f=n.clone().add(r+1,"days");u=this.deleteModifierFromRange(u,h,f,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,a.default)({},s,u)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(2,"months"),u=(0,O.default)(l,1,o,!0),d=i.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[e]});var l=i.clone().add(n+1,"month"),u=(0,O.default)(l,1,o,!0),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onMultiplyScrollableMonths",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,o=this.state,r=o.currentMonth,i=o.visibleDays,c=Object.keys(i).length,s=r.clone().add(c,"month"),l=(0,O.default)(s,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,r=n.startDate,a=n.endDate,i=n.focusedInput,c=n.minimumNights,s=n.numberOfMonths,l=e.clone().startOf("month");if(i===E.START_DATE&&r?l=r.clone():i===E.END_DATE&&!a&&r?l=r.clone().add(c,"days"):i===E.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(s-1,"months").endOf("month"),h=l.clone();!(0,y.default)(h,d);)h=h.clone().add(1,"day"),u.push(h);var f=u.filter(function(e){return!t.isBlocked(e)});f.length>0&&(l=o(f,1)[0])}return l}}()},{key:"getModifiers",value:function(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]={},e[o].forEach(function(e){n[o][(0,D.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,o=e.numberOfMonths,r=e.enableOutsideDays,a=e.orientation,i=e.startDate,c=(n||(i?function(){return i}:function(){return t.today}))(),s=a===E.VERTICAL_SCROLLABLE;return{currentMonth:c,visibleDays:this.getModifiers((0,O.default)(c,o,r,s))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,D.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.add(n),(0,a.default)({},t,I({},o,(0,a.default)({},r,I({},f,i))))},p);else{var b=(0,w.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.add(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,m))))}return p}}()},{key:"addModifierToRange",value:function(){return function(e,t,n,o){for(var r=e,a=t.clone();(0,g.default)(a,n);)r=this.addModifier(r,a,o),a=a.clone().add(1,"day");return r}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,D.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.delete(n),(0,a.default)({},t,I({},o,(0,a.default)({},r,I({},f,i))))},p);else{var b=(0,w.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.delete(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,m))))}return p}}()},{key:"deleteModifierFromRange",value:function(){return function(e,t,n,o){for(var r=e,a=t.clone();(0,g.default)(a,n);)r=this.deleteModifier(r,a,o),a=a.clone().add(1,"day");return r}}()},{key:"doesNotMeetMinimumNights",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.isOutsideRange,r=t.focusedInput,a=t.minimumNights;if(r!==E.END_DATE)return!1;if(n){var i=e.diff(n.clone().startOf("day").hour(12),"days");return i=0}return o((0,u.default)(e).subtract(a,"days"))}}()},{key:"isDayAfterHoveredStartDate",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=t.minimumNights,a=(this.state||{}).hoverDate;return!!n&&!o&&!this.isBlocked(e)&&(0,v.default)(a,e)&&r>0&&(0,m.default)(a,n)}}()},{key:"isEndDate",value:function(){return function(e){var t=this.props.endDate;return(0,m.default)(e,t)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}}()},{key:"isInHoveredSpan",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=(this.state||{}).hoverDate,a=!!n&&!o&&(e.isBetween(n,r)||(0,m.default)(r,e)),i=!!o&&!n&&(e.isBetween(r,o)||(0,m.default)(r,e)),c=r&&!this.isBlocked(r);return(a||i)&&c}}()},{key:"isInSelectedSpan",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate;return e.isBetween(n,o)}}()},{key:"isLastInRange",value:function(){return function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,v.default)(e,t)}}()},{key:"isStartDate",value:function(){return function(e){var t=this.props.startDate;return(0,m.default)(e,t)}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,o=t.isOutsideRange;return n(e)||o(e)||this.doesNotMeetMinimumNights(e)}}()},{key:"isToday",value:function(){return function(e){return(0,m.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,o=e.monthFormat,r=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,h=e.firstDayOfWeek,f=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.focusedInput,v=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,D=e.showKeyboardShortcuts,w=e.isRTL,S=e.weekDayFormat,M=e.dayAriaLabelFormat,j=e.verticalHeight,C=e.noBorder,P=e.transitionDuration,E=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.phrases,N=I.visibleDays;return i.default.createElement(z.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:o,renderMonthText:r,withPortal:u,hidden:!b,initialVisibleMonth:function(){return x},daySize:p,onOutsideClick:l,navPrev:a,navNext:c,noNavButtons:s,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:h,hideKeyboardShortcutsPanel:f,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:D,phrases:H,isRTL:w,weekDayFormat:S,dayAriaLabelFormat:M,verticalHeight:j,verticalBorderSpacing:E,noBorder:C,transitionDuration:P,horizontalMonthPadding:T})}}()}]),t}();t.default=R,R.propTypes=x,R.defaultProps=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!o.default.isMoment(e)||!o.default.isMoment(t))return!1;var n=(0,o.default)(e).add(1,"day");return(0,r.default)(n,t)};var o=a(n(27)),r=a(n(70));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!o.default.isMoment(e))return{};for(var i={},c=a?e.clone():e.clone().subtract(1,"month"),s=0;s<(a?t:t+2);s+=1){var l=[],u=c.clone(),d=u.clone().startOf("month").hour(12),h=u.clone().endOf("month").hour(12),f=d.clone();if(n)for(var p=0;p0&&this.setState({visibleDays:(0,a.default)({},D,z)})}}()},{key:"componentWillUpdate",value:function(){return function(){this.today=(0,u.default)()}}()},{key:"onDayClick",value:function(){return function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,o=n.onDateChange,r=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;o(e),r||(a({focused:!1}),i({date:e}))}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,o=t.visibleDays,r=this.deleteModifier({},n,"hovered");r=this.addModifier(r,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},o,r)})}}}()},{key:"onDayMouseLeave",value:function(){return function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var o=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,o)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,o);this.setState({currentMonth:l,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(l.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[e]});var l=i.clone().add(n,"month"),u=(0,m.default)(l,1,o),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,r=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(r&&(i=r.clone()),this.isBlocked(i)){for(var c=[],s=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,v.default)(l,s);)l=l.clone().add(1,"day"),c.push(l);var u=c.filter(function(e){return!t.isBlocked(e)&&(0,v.default)(e,i)});if(u.length>0){var d=o(u,1);i=d[0]}}return i}}()},{key:"getModifiers",value:function(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]={},e[o].forEach(function(e){n[o][(0,g.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,o=e.date,r=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(o?function(){return o}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,m.default)(i,r,a))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.add(n),(0,a.default)({},t,j({},o,(0,a.default)({},r,j({},f,i))))},p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.add(n),p=(0,a.default)({},p,j({},b,(0,a.default)({},v,j({},f,m))))}return p}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.delete(n),(0,a.default)({},t,j({},o,(0,a.default)({},r,j({},f,i))))},p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.delete(n),p=(0,a.default)({},p,j({},b,(0,a.default)({},v,j({},f,m))))}return p}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,o=t.isOutsideRange;return n(e)||o(e)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return(0,b.default)(e,t)}}()},{key:"isSelected",value:function(){return function(e){var t=this.props.date;return(0,b.default)(e,t)}}()},{key:"isToday",value:function(){return function(e){return(0,b.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,o=e.monthFormat,r=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,h=e.hideKeyboardShortcutsPanel,f=e.daySize,p=e.firstDayOfWeek,b=e.renderCalendarDay,v=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,D=e.dayAriaLabelFormat,w=e.onBlur,M=e.showKeyboardShortcuts,j=e.weekDayFormat,C=e.verticalHeight,P=e.noBorder,E=e.transitionDuration,z=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.visibleDays;return i.default.createElement(S.default,{orientation:n,enableOutsideDays:d,modifiers:H,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:o,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:h,initialVisibleMonth:function(){return x},firstDayOfWeek:p,onOutsideClick:s,navPrev:a,navNext:c,renderMonthText:r,renderCalendarDay:b,renderDayContents:v,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:w,phrases:_,daySize:f,isRTL:k,showKeyboardShortcuts:M,weekDayFormat:j,dayAriaLabelFormat:D,verticalHeight:C,noBorder:P,transitionDuration:E,verticalBorderSpacing:z,horizontalMonthPadding:T})}}()}]),t}();t.default=E,E.propTypes=C,E.defaultProps=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=p(n(29)),r=p(n(55)),a=n(39),i=n(43),c=p(n(47)),s=p(n(80)),l=p(n(153)),u=p(n(154)),d=p(n(74)),h=p(n(64)),f=p(n(81));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:r.default.momentObj,onDateChange:o.default.func.isRequired,focused:o.default.bool,onFocusChange:o.default.func.isRequired,id:o.default.string.isRequired,placeholder:o.default.string,disabled:o.default.bool,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDate:o.default.bool,customCloseIcon:o.default.node,showDefaultInputIcon:o.default.bool,inputIconPosition:s.default,customInputIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,initialVisibleMonth:o.default.func,firstDayOfWeek:h.default,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDate:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:f.default,hideKeyboardShortcutsPanel:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,navPrev:o.default.node,navNext:o.default.node,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,onClose:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,c.default)(i.SingleDatePickerPhrases)),dayAriaLabelFormat:o.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===o(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,c.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}();function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var o,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":r(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(e),o.removeAllRanges(),o.addRange(r),t=o.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},h=1;h<20;++h)s[111+h]="f"+h;for(h=0;h<=9;++h)s[h+96]=h.toString();y.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},y.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},y.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},y.prototype.reset=function(){return this._callbacks={},this._directMap={},this},y.prototype.stopCallback=function(e,t){return!((" "+t.className+" ").indexOf(" mousetrap ")>-1)&&(!function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable))},y.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=null},y.init=function(){var e=y(a);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),r.Mousetrap=y,e.exports&&(e.exports=y),void 0===(o=function(){return y}.call(t,n,t,e))||(e.exports=o)}function f(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return s[e.which]?s[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function b(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!c)for(var e in c={},s)e>95&&e<112||s.hasOwnProperty(e)&&(c[s[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function m(e,t){var n,o,r,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),r=0;r1?h(e,c,n,o):(i=m(e,o),t._callbacks[i.key]=t._callbacks[i.key]||[],l(i.key,i.modifiers,{type:i.action},r,e,a),t._callbacks[i.key][r?"unshift":"push"]({callback:n,modifiers:i.modifiers,action:i.action,seq:r,level:a,combo:e}))}t._handleKey=function(e,t,n){var o,r=l(e,t,n),a={},d=0,h=!1;for(o=0;o=0&&"[object Function]"===o.call(e.callee)),n}},function(e,t){var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=function(e,t,r){if("[object Function]"!==o.call(t))throw new TypeError("iterator must be a function");var a=e.length;if(a===+a)for(var i=0;i= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n}});delete a.EnumerableOwnNames,e.exports=a},function(e,t,n){"use strict";var o=n(88),r=n(210),a=n(133),i=a("%TypeError%"),c=a("%SyntaxError%"),s=a("%Array%"),l=a("%String%"),u=a("%Object%"),d=a("%Number%"),h=a("%Symbol%",!0),f=a("%RegExp%"),p=!!h,b=n(134),v=n(135),m=d.MAX_SAFE_INTEGER||Math.pow(2,53)-1,y=n(107),g=n(136),O=n(137),k=n(214),_=parseInt,D=n(68),w=D.call(Function.call,s.prototype.slice),S=D.call(Function.call,l.prototype.slice),M=D.call(Function.call,f.prototype.test,/^0b[01]+$/i),j=D.call(Function.call,f.prototype.test,/^0o[0-7]+$/i),C=D.call(Function.call,f.prototype.exec),P=new f("["+["…","​","￾"].join("")+"]","g"),E=D.call(Function.call,f.prototype.test,P),z=D.call(Function.call,f.prototype.test,/^[-+]0x[0-9a-f]+$/i),T=D.call(Function.call,l.prototype.charCodeAt),I=D.call(Function.call,Object.prototype.toString),x=Math.floor,H=Math.abs,N=Object.create,R=u.getOwnPropertyDescriptor,L=u.isExtensible,A=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),F=new RegExp("(^["+A+"]+)|(["+A+"]+$)","g"),V=D.call(Function.call,l.prototype.replace),B=n(215),K=n(217),W=y(y({},B),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new i(e+" is not a function");return e.apply(t,n)},ToPrimitive:r,ToNumber:function(e){var t=k(e)?e:r(e,d);if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a number");if("string"==typeof t){if(M(t))return this.ToNumber(_(S(t,2),2));if(j(t))return this.ToNumber(_(S(t,2),8));if(E(t)||z(t))return NaN;var n=function(e){return V(e,F,"")}(t);if(n!==t)return this.ToNumber(n)}return d(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(b(t)||0===t||!v(t))return 0;var n=g(t)*x(H(t));return O(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(b(t)||t<=0)return 0;if(t>=255)return 255;var n=x(e);return n+.5m?m:t},CanonicalNumericIndexString:function(e){if("[object String]"!==I(e))throw new i("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:B.CheckObjectCoercible,IsArray:s.isArray||function(e){return"[object Array]"===I(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!k(e)&&L(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||b(e)||!v(e))return!1;var t=H(e);return x(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(p){var t=e[h.match];if(void 0!==t)return B.ToBoolean(t)}return K(e)},SameValueZero:function(e,t){return e===t||b(e)&&b(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new i(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":B.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new i("O.constructor is not an Object");var o=p&&h.species?n[h.species]:void 0;if(null==o)return t;if(this.IsConstructor(o))return o;throw new i("no constructor found")},CompletePropertyDescriptor:function(e){if(!this.IsPropertyDescriptor(e))throw new i("Desc must be a Property Descriptor");return this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(o(e,"[[Value]]")||(e["[[Value]]"]=void 0),o(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(o(e,"[[Get]]")||(e["[[Get]]"]=void 0),o(e,"[[Set]]")||(e["[[Set]]"]=void 0)),o(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),o(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,o){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");if("Boolean"!==this.Type(o))throw new i("Throw must be a Boolean");if(o)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return o(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(p&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");var n=w(arguments,2),o=this.GetV(e,t);return this.Call(o,e,n)},GetIterator:function(e,t){if(!p)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var o=this.Call(n,e);if("Object"!==this.Type(o))throw new i("iterator must return an object");return o},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new i("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new i("Assertion failed: completion is not a thunk for a Completion Record");var n,o=t,r=this.GetMethod(e,"return");if(void 0===r)return o();try{var a=this.Call(r,e,[])}catch(e){throw n=o(),o=null,e}if(n=o(),o=null,"Object"!==this.Type(a))throw new i("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new i("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new i("R must be an Object");if("String"!==this.Type(t))throw new i("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var o=this.Call(n,e,[t]);if(null===o||"Object"===this.Type(o))return o;throw new i('"exec" method must return `null` or an Object')}return C(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");var n,o=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&p&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return s(o);if(!this.IsConstructor(n))throw new i("C must be a constructor");return new n(o)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=R(e,t),r=o||"function"!=typeof L||L(e);if(o&&(!o.writable||!o.configurable)||!r)return!1;var a={configurable:!0,enumerable:!0,value:n,writable:!0};return Object.defineProperty(e,t,a),!0},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var o=this.CreateDataProperty(e,t,n);if(!o)throw new i("unable to create data property");return o},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new i("Assertion failed: proto must be null or an object");if((arguments.length<2?[]:t).length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!N)throw new c("native Object.create support is required to create null objects");return N(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new i("S must be a String");if(!this.IsInteger(t)||t<0||t>m)throw new i("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new i("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var o=T(e,t);if(o<55296||o>56319)return t+1;var r=T(e,t+1);return r<56320||r>57343?t+1:t+2}});delete W.CheckObjectCoercible,e.exports=W},function(e,t,n){"use strict";e.exports=n(211)},function(e,t,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,r=n(130),a=n(106),i=n(212),c=n(131);e.exports=function(e){if(r(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),o&&(Symbol.toPrimitive?t=function(e,t){var n=e[t];if(null!=n){if(!a(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}}(e,Symbol.toPrimitive):c(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var s=t.call(e,n);if(r(s))return s;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||c(e))&&(n="string"),function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,o,i,c="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!s(t))return 0;var n=l(t)*Math.floor(Math.abs(t));return u(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),r(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new a(t||"Cannot call method on "+e);return e},IsCallable:d,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(f(e,n)&&!t[n])return!1;var o=f(e,"[[Value]]"),r=f(e,"[[Get]]")||f(e,"[[Set]]");if(o&&r)throw new a("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Get]]")&&!f(e,"[[Set]]"))},IsDataDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!(!f(e,"[[Value]]")&&!f(e,"[[Writable]]"))},IsGenericDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");return!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e)},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(!this.IsPropertyDescriptor(e))throw new a("Desc must be a Property Descriptor");if(this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new a("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new a("ToPropertyDescriptor requires an object");var t={};if(f(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),f(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),f(e,"value")&&(t["[[Value]]"]=e.value),f(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),f(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(f(e,"set")){var o=e.set;if(void 0!==o&&!this.IsCallable(o))throw new a("setter must be a function");t["[[Set]]"]=o}if((f(t,"[[Get]]")||f(t,"[[Set]]"))&&(f(t,"[[Value]]")||f(t,"[[Writable]]")))throw new a("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=p},function(e,t,n){"use strict";var o=Object.prototype.toString,r=n(130),a=n(106),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===o.call(e)?String:Number)===String||t===Number){var n,i,c=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i1?i(e,arguments[1]):i(e)}},function(e,t,n){"use strict";var o=n(88),r=RegExp.prototype.exec,a=Object.getOwnPropertyDescriptor,i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c)return"[object RegExp]"===i.call(e);var t=a(e,"lastIndex");return!(!t||!o(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,r.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";var o=n(63),r=n(138);e.exports=function(){var e=r();return o(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";(function(t){var o=n(63),r=n(131),a="__ global cache key __";"function"==typeof Symbol&&r(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},c=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,o(t,e,n)}return t[a]},s=c(),l=function(e){return r(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],s=c()},delete:function(e){return u(e),delete s[l(e)],!d.has(e)},get:function(e){return u(e),s[l(e)]},has:function(e){return u(e),l(e)in s},set:function(e,t){u(e);var n=l(e),r={};r[n]=t;var a={};return a[n]=i,o(s,r,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n(51))},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,o={},r=0;r>",baseInvalidMessage:"Invalid "};function o(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var o=e.bind(null,!1,t);return o.isRequired=e.bind(null,!0,t),o},t}function r(e,t,o){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+o+"`.")}var a=-1;e.exports={constructPropValidatorVariations:o,createMomentChecker:function(e,t,i,c){return o(function(o,s,l,u,d,h,f){var p=l[u],b=typeof p,v=function(e,t,n,o){var i=void 0===o,c=null===o;if(e){if(i)return r(n,t,"undefined");if(c)return r(n,t,"null")}return i||c?null:a}(o,d=d||n.anonymousMessage,f=f||u,p);if(v!==a)return v;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+e+"`.");if(!i(p))return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`, expected `"+c+"`.");if(s&&!s(p)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+h+" `"+u+"` of type `"+b+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null})},messages:n}},function(e,t){function n(){return null}function o(){return n}n.isRequired=n,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:n,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){var n;return t&&!0===t.clone&&o(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e}function i(e,t,n){var r=e.slice();return t.forEach(function(t,i){void 0===r[i]?r[i]=a(t,n):o(t)?r[i]=c(e[i],t,n):-1===e.indexOf(t)&&r.push(a(t,n))}),r}function c(e,t,n){var r=Array.isArray(t);return r===Array.isArray(e)?r?((n||{arrayMerge:i}).arrayMerge||i)(e,t,n):function(e,t,n){var r={};return o(e)&&Object.keys(e).forEach(function(t){r[t]=a(e[t],n)}),Object.keys(t).forEach(function(i){o(t[i])&&e[i]?r[i]=c(e[i],t[i],n):r[i]=a(t[i],n)}),r}(e,t,n):a(t,n)}c.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,n){return c(e,n,t)})};var s=c;e.exports=s},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(29),a=(o=r)&&o.__esModule?o:{default:o};t.default=a.default.shape({getState:a.default.func,setState:a.default.func,subscribe:a.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var o=c(n(26)),r=n(39),a=c(n(108)),i=c(n(235));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.forbidExtraProps)({children:(0,r.or)([(0,r.childrenOfType)(a.default),(0,r.childrenOfType)(i.default)]).isRequired});function l(e){var t=e.children;return o.default.createElement("tr",null,t)}l.propTypes=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:a.default.localeData().firstDayOfWeek();if(!a.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var o=e.clone().startOf("month").hour(12),r=e.clone().endOf("month").hour(12),c=(o.day()+7-n)%7,s=(n+6-r.day())%7,l=o.clone().subtract(c,"day"),u=r.clone().add(s,"day").diff(l,"days")+1,d=l.clone(),h=[],f=0;f=c&&f=t||n<0||m&&e-b>=d}function k(){var e=r();if(O(e))return _(e);f=setTimeout(k,function(e){var n=t-(e-p);return m?s(n,d-(e-b)):n}(e))}function _(e){return f=void 0,y&&l?g(e):(l=u=void 0,h)}function D(){var e=r(),n=O(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return b=e,f=setTimeout(k,t),v?g(e):h}(p);if(m)return f=setTimeout(k,t),g(p)}return void 0===f&&(f=setTimeout(k,t)),h}return t=a(t)||0,o(n)&&(v=!!n.leading,d=(m="maxWait"in n)?c(a(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),D.cancel=function(){void 0!==f&&clearTimeout(f),b=0,l=p=u=f=void 0},D.flush=function(){return void 0===f?h:_(r())},D}},function(e,t,n){var o=n(162);e.exports=function(){return o.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(51))},function(e,t,n){var o=n(114),r=n(249),a=NaN,i=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):c.test(e)?a:+e}},function(e,t,n){var o=n(250),r=n(253),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||r(e)&&o(e)==a}},function(e,t,n){var o=n(163),r=n(251),a=n(252),i="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:i:s&&s in Object(e)?r(e):a(e)}},function(e,t,n){var o=n(163),r=Object.prototype,a=r.hasOwnProperty,i=r.toString,c=o?o.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var o=!0}catch(e){}var r=i.call(e);return o&&(t?e[c]=n:delete e[c]),r}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return e?n(e(t.clone())):t};var o=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:a.default.localeData().firstDayOfWeek(),n=function(e,t){return(e.day()-t+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var o,r=n(27),a=(o=r)&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=n.split(" "),i=Object(x.a)(a,2),c=i[0],s=i[1],l=void 0===s?"center":s,u=function(e,t,n){var o,r=t.height,a=e.top+e.height/2,i={popoverTop:a,contentHeight:(a-r/2>0?r/2:a)+(a+r/2>window.innerHeight?window.innerHeight-a:r/2)},c={popoverTop:e.top,contentHeight:e.top-H-r>0?r:e.top-H},s={popoverTop:e.bottom,contentHeight:e.bottom+H+r>window.innerHeight?window.innerHeight-H-e.bottom:r},l=null;if("middle"===n&&i.contentHeight===r)o="middle";else if("top"===n&&c.contentHeight===r)o="top";else if("bottom"===n&&s.contentHeight===r)o="bottom";else{var u="top"==(o=c.contentHeight>s.contentHeight?"top":"bottom")?c.contentHeight:s.contentHeight;l=u!==r?u:null}return{yAxis:o,popoverTop:"middle"===o?i.popoverTop:"top"===o?c.popoverTop:s.popoverTop,contentHeight:l}}(e,t,c),d=function(e,t,n,o){var r=t.width;"left"===n&&R()?n="right":"right"===n&&R()&&(n="left");var a,i=Math.round(e.left+e.width/2),c={popoverLeft:i,contentWidth:(i-r/2>0?r/2:i)+(i+r/2>window.innerWidth?window.innerWidth-i:r/2)},s="middle"===o?e.left:i,l={popoverLeft:s,contentWidth:s-r>0?r:s},u="middle"===o?e.right:i,d={popoverLeft:u,contentWidth:u+r>window.innerWidth?window.innerWidth-u:r},h=null;if("center"===n&&c.contentWidth===r)a="center";else if("left"===n&&l.contentWidth===r)a="left";else if("right"===n&&d.contentWidth===r)a="right";else{var f="left"==(a=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;h=f!==r?f:null}return{xAxis:a,popoverLeft:"center"===a?c.popoverLeft:"left"===a?l.popoverLeft:d.popoverLeft,contentWidth:h}}(e,t,l,u.yAxis);return Object(o.a)({isMobile:N()&&r},d,u)}var A=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).setIsFocusedTrue=function(){return e.isFocused=!0},e.setIsFocusedFalse=function(){return e.isFocused=!1},e.activeElementOnMount=document.activeElement,e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused;if(e){var n=document,o=n.body,r=n.activeElement;(t||null===r||o===r)&&e.focus()}}},{key:"render",value:function(){return Object(r.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"withFocusReturn"),F=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).focusContainRef=Object(r.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===_.TAB){var t=M.focus.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],o=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),o.focus()):(e.shiftKey||e.target!==o)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(r.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"withConstrainedTabbing"),V=n(96),B=n.n(V),K=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleClickOutside",value:function(e){var t=this.props.onClickOutside;t&&t(e)}},{key:"render",value:function(){return this.props.children}}]),t}(r.Component),W=B()(K);var U=function(e){var t,n,o=e.shortcut,a=e.className;return o?(Object(k.isString)(o)&&(t=o),Object(k.isObject)(o)&&(t=o.display,n=o.ariaLabel),Object(r.createElement)("span",{className:a,"aria-label":n},t)):null},Y=700,$=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).delayedSetIsOver=Object(k.debounce)(function(t){return e.setState({isOver:t})},Y),e.state={isOver:!1},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel()}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===r.Children.count(n)){var o=r.Children.only(n);"function"==typeof o.props[e]&&o.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(o){if(n.emitToChild(e,o),!o.currentTarget.disabled){n.delayedSetIsOver.cancel();var r=Object(k.includes)(["focus","mouseenter"],o.type);r!==n.state.isOver&&(t?n.delayedSetIsOver(r):n.setState({isOver:r}))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,o=e.text,a=e.shortcut;if(1!==r.Children.count(t))return t;var i=r.Children.only(t),c=this.state.isOver;return Object(r.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),children:Object(r.concatChildren)(i.props.children,c&&Object(r.createElement)(de,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true"},o,Object(r.createElement)(U,{className:"components-tooltip__shortcut",shortcut:a})))})}}]),t}(r.Component),G=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.icon!==e.icon||this.props.size!==e.size||this.props.className!==e.className}},{key:"render",value:function(){var e,t=this.props,n=t.icon,o=t.className,a=t.size,i=void 0===a?20:a;switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var s=["dashicon","dashicons-"+n,o].filter(Boolean).join(" ");return Object(r.createElement)(u,{"aria-hidden":!0,role:"img",focusable:"false",className:s,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20"},Object(r.createElement)(c,{d:e}))}}]),t}(r.Component),q=function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"render",value:function(){var e=this.props,t=e.icon,n=e.children,o=e.label,a=e.className,i=e.tooltip,c=e.shortcut,s=e.labelPosition,l=Object(E.a)(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),u=O()("components-icon-button",a),d=i||o,h=!l.disabled&&(i||c||!!o&&(!n||Object(k.isArray)(n)&&!n.length)&&!1!==i),f=Object(r.createElement)(z,Object(j.a)({"aria-label":o},l,{className:u}),Object(k.isString)(t)?Object(r.createElement)(G,{icon:t}):t,n);return h&&(f=Object(r.createElement)($,{text:d,shortcut:c,position:s},f)),f}}]),t}(r.Component);var Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,o=e.className,a=void 0===o?"lockscroll":o,i=0,c=0;function s(e){var t=n.scrollingElement||n.body;e&&(c=t.scrollTop);var o=e?"add":"remove";t.classList[o](a),n.documentElement.classList[o](a),e||(t.scrollTop=c)}return function(e){function t(){return Object(h.a)(this,t),Object(f.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){0===i&&s(!0),++i}},{key:"componentWillUnmount",value:function(){1===i&&s(!1),--i}},{key:"render",value:function(){return null}}]),t}(r.Component)}(),X=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(E.a)(e,["children"]);return Object(r.createElement)("div",Object(j.a)({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(r.Component),Q=Object(r.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){}}),J=Q.Provider,ee=Q.Consumer,te=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Object(m.a)(Object(m.a)(e))),e.registerFill=e.registerFill.bind(Object(m.a)(Object(m.a)(e))),e.unregisterSlot=e.unregisterSlot.bind(Object(m.a)(Object(m.a)(e))),e.unregisterFill=e.unregisterFill.bind(Object(m.a)(Object(m.a)(e))),e.getSlot=e.getSlot.bind(Object(m.a)(Object(m.a)(e))),e.getFills=e.getFills.bind(Object(m.a)(Object(m.a)(e))),e.slots={},e.fills={},e.state={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"registerSlot",value:function(e,t){this.slots[e]=t,this.forceUpdateFills(e),this.forceUpdateSlot(e)}},{key:"registerFill",value:function(e,t){this.fills[e]=Object(y.a)(this.fills[e]||[]).concat([t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e){delete this.slots[e],this.forceUpdateFills(e)}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(k.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e){return Object(k.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(k.forEach)(this.fills[e],function(e){e.resetOccurrence()})}},{key:"forceUpdateFills",value:function(e){Object(k.forEach)(this.fills[e],function(e){e.forceUpdate()})}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"render",value:function(){return Object(r.createElement)(J,{value:this.state},this.props.children)}}]),t}(r.Component),ne=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,o=t.unregisterSlot,r=t.registerSlot;e.name!==n&&(o(e.name),r(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,o=e.bubblesVirtually,a=void 0!==o&&o,i=e.fillProps,c=void 0===i?{}:i,s=e.getFills;if(a)return Object(r.createElement)("div",{ref:this.bindNode});var l=Object(k.map)(s(n),function(e){var t=e.occurrence,n=Object(k.isFunction)(e.props.children)?e.props.children(c):e.props.children;return r.Children.map(n,function(e,n){if(!e||Object(k.isString)(e))return e;var o="".concat(t,"---").concat(e.key||n);return Object(r.cloneElement)(e,{key:o})})}).filter(Object(k.negate)(r.isEmptyElement));return Object(r.createElement)(r.Fragment,null,Object(k.isFunction)(t)?t(l):l)}}]),t}(r.Component),oe=function(e){return Object(r.createElement)(ee,null,function(t){var n=t.registerSlot,o=t.unregisterSlot,a=t.getFills;return Object(r.createElement)(ne,Object(j.a)({},e,{registerSlot:n,unregisterSlot:o,getFills:a}))})},re=0,ae=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).occurrence=++re,e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){(0,this.props.registerFill)(this.props.name,this)}},{key:"componentWillUpdate",value:function(){this.occurrence||(this.occurrence=++re);var e=(0,this.props.getSlot)(this.props.name);e&&!e.props.bubblesVirtually&&e.forceUpdate()}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterFill)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,o=t.unregisterFill,r=t.registerFill;e.name!==n&&(o(e.name,this),r(n,this))}},{key:"resetOccurrence",value:function(){this.occurrence=null}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.getSlot,o=this.props.children,a=n(t);return a&&a.props.bubblesVirtually?(Object(k.isFunction)(o)&&(o=o(a.props.fillProps)),Object(r.createPortal)(o,a.node)):null}}]),t}(r.Component),ie=function(e){return Object(r.createElement)(ee,null,function(t){var n=t.getSlot,o=t.registerFill,a=t.unregisterFill;return Object(r.createElement)(ae,Object(j.a)({},e,{getSlot:n,registerFill:o,unregisterFill:a}))})};function ce(e){var t=function(t){return Object(r.createElement)(ie,Object(j.a)({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(r.createElement)(oe,Object(j.a)({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var se=F(A(function(e){return e.children})),le=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).getAnchorRect=e.getAnchorRect.bind(Object(m.a)(Object(m.a)(e))),e.computePopoverPosition=e.computePopoverPosition.bind(Object(m.a)(Object(m.a)(e))),e.maybeClose=e.maybeClose.bind(Object(m.a)(Object(m.a)(e))),e.throttledRefresh=e.throttledRefresh.bind(Object(m.a)(Object(m.a)(e))),e.refresh=e.refresh.bind(Object(m.a)(Object(m.a)(e))),e.refreshOnAnchorMove=e.refreshOnAnchorMove.bind(Object(m.a)(Object(m.a)(e))),e.contentNode=Object(r.createRef)(),e.anchorNode=Object(r.createRef)(),e.state={popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1,popoverSize:null},e.anchorRect={},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.toggleAutoRefresh(!0),this.refresh(),this.focusTimeout=setTimeout(function(){e.focus()},0)}},{key:"componentDidUpdate",value:function(e){e.position!==this.props.position&&this.computePopoverPosition(this.state.popoverSize,this.anchorRect)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.focusTimeout),this.toggleAutoRefresh(!1)}},{key:"toggleAutoRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle);var t=e?"addEventListener":"removeEventListener";window[t]("resize",this.throttledRefresh),window[t]("scroll",this.throttledRefresh,!0),e?this.autoRefresh=setInterval(this.refreshOnAnchorMove,500):clearInterval(this.autoRefresh)}},{key:"throttledRefresh",value:function(e){window.cancelAnimationFrame(this.rafHandle),e&&"scroll"===e.type&&this.contentNode.current.contains(e.target)||(this.rafHandle=window.requestAnimationFrame(this.refresh))}},{key:"refreshOnAnchorMove",value:function(){var e=this.props.getAnchorRect,t=(void 0===e?this.getAnchorRect:e)(this.anchorNode.current);!I()(t,this.anchorRect)&&(this.anchorRect=t,this.computePopoverPosition(this.state.popoverSize,t))}},{key:"refresh",value:function(){var e=this.props.getAnchorRect,t=(void 0===e?this.getAnchorRect:e)(this.anchorNode.current),n=this.contentNode.current.getBoundingClientRect(),o={width:n.width,height:n.height};(!this.state.popoverSize||o.width!==this.state.popoverSize.width||o.height!==this.state.popoverSize.height)&&this.setState({popoverSize:o}),this.anchorRect=t,this.computePopoverPosition(o,t)}},{key:"focus",value:function(){var e=this.props.focusOnMount;if(e&&this.contentNode.current)if("firstElement"!==e)"container"===e&&this.contentNode.current.focus();else{var t=M.focus.tabbable.find(this.contentNode.current)[0];t?t.focus():this.contentNode.current.focus()}}},{key:"getAnchorRect",value:function(e){if(e&&e.parentNode){var t=e.parentNode.getBoundingClientRect(),n=window.getComputedStyle(e.parentNode),o=n.paddingTop,r=n.paddingBottom,a=parseInt(o,10),i=parseInt(r,10);return{x:t.left,y:t.top+a,width:t.width,height:t.height-a-i,left:t.left,right:t.right,top:t.top+a,bottom:t.bottom-i}}}},{key:"computePopoverPosition",value:function(e,t){var n=this.props,o=n.position,r=L(t,e,void 0===o?"top":o,n.expandOnMobile);this.state.yAxis===r.yAxis&&this.state.xAxis===r.xAxis&&this.state.popoverLeft===r.popoverLeft&&this.state.popoverTop===r.popoverTop&&this.state.contentHeight===r.contentHeight&&this.state.contentWidth===r.contentWidth&&this.state.isMobile===r.isMobile||this.setState(r)}},{key:"maybeClose",value:function(e){var t=this.props,n=t.onKeyDown,o=t.onClose;e.keyCode===_.ESCAPE&&o&&(e.stopPropagation(),o()),n&&n(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.headerTitle,o=t.onClose,a=t.children,i=t.className,c=t.onClickOutside,s=void 0===c?o:c,l=t.noArrow,u=(t.position,t.range,t.focusOnMount),d=(t.getAnchorRect,t.expandOnMobile),h=Object(E.a)(t,["headerTitle","onClose","children","className","onClickOutside","noArrow","position","range","focusOnMount","getAnchorRect","expandOnMobile"]),f=this.state,p=f.popoverLeft,b=f.popoverTop,v=f.yAxis,m=f.xAxis,y=f.contentHeight,g=f.contentWidth,k=f.popoverSize,_=f.isMobile,D=O()("components-popover",i,"is-"+v,"is-"+m,{"is-mobile":_,"is-without-arrow":l||"center"===m&&"middle"===v}),w=Object(r.createElement)(W,{onClickOutside:s},Object(r.createElement)(X,Object(j.a)({className:D,style:{top:!_&&b?b+"px":void 0,left:!_&&p?p+"px":void 0,visibility:k?void 0:"hidden"}},h,{onKeyDown:this.maybeClose}),_&&Object(r.createElement)("div",{className:"components-popover__header"},Object(r.createElement)("span",{className:"components-popover__header-title"},n),Object(r.createElement)(q,{className:"components-popover__close",icon:"no-alt",onClick:o})),Object(r.createElement)("div",{ref:this.contentNode,className:"components-popover__content",style:{maxHeight:!_&&y?y+"px":void 0,maxWidth:!_&&g?g+"px":void 0},tabIndex:"-1"},a)));return u&&(w=Object(r.createElement)(se,null,w)),Object(r.createElement)(ee,null,function(t){var n=t.getSlot;return n&&n("Popover")&&(w=Object(r.createElement)(ie,{name:"Popover"},w)),Object(r.createElement)("span",{ref:e.anchorNode},w,_&&d&&Object(r.createElement)(Z,null))})}}]),t}(r.Component);le.defaultProps={focusOnMount:"firstElement",noArrow:!1};var ue=le;ue.Slot=function(){return Object(r.createElement)(oe,{bubblesVirtually:!0,name:"Popover"})};var de=ue,he=n(44),fe=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).debouncedSpeak=Object(k.debounce)(e.speak.bind(Object(m.a)(Object(m.a)(e))),500),e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(he.speak)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(r.createElement)(e,Object(j.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(r.Component)},"withSpokenMessages");function pe(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=[],r=0;r0,b=p?"components-autocomplete-listbox-".concat(o):null,v=p?"components-autocomplete-item-".concat(o,"-").concat(d):null;return Object(r.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:p,listBoxId:b,activeId:v}),p&&Object(r.createElement)(de,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:be},Object(r.createElement)("div",{id:b,role:"listbox",className:"components-autocomplete__results"},p&&Object(k.map)(l,function(t,n){return Object(r.createElement)(z,{key:t.key,id:"components-autocomplete-item-".concat(o,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:O()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(r.Component),me=Object(w.compose)([fe,w.withInstanceId,P])(ve);var ye=function(e){var t=e.id,n=e.label,o=e.help,a=e.className,i=e.children;return Object(r.createElement)("div",{className:O()("components-base-control",a)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n),n&&!t&&Object(r.createElement)("span",{className:"components-base-control__label"},n),i),!!o&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},o))};var ge=function(e){var t=e.className,n=Object(E.a)(e,["className"]),o=O()("components-button-group",t);return Object(r.createElement)("div",Object(j.a)({},n,{className:o,role:"group"}))};var Oe=Object(w.withInstanceId)(function(e){var t=e.label,n=e.className,o=e.heading,a=e.checked,i=e.help,c=e.instanceId,s=e.onChange,l=Object(E.a)(e,["label","className","heading","checked","help","instanceId","onChange"]),u="inspector-checkbox-control-".concat(c);return Object(r.createElement)(ye,{label:o,id:u,help:i,className:n},Object(r.createElement)("input",Object(j.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return s(e.target.checked)},checked:a,"aria-describedby":i?u+"__help":void 0},l)),Object(r.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))}),ke=n(185),_e=n.n(ke),De=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(m.a)(Object(m.a)(e))),e.onCopy=e.onCopy.bind(Object(m.a)(Object(m.a)(e))),e.getText=e.getText.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this.container,t=this.getText,n=this.onCopy,o=e.firstChild;this.clipboard=new _e.a(o,{text:t,container:e}),this.clipboard.on("success",n)}},{key:"componentWillUnmount",value:function(){this.clipboard.destroy(),delete this.clipboard,clearTimeout(this.onCopyTimeout)}},{key:"bindContainer",value:function(e){this.container=e}},{key:"onCopy",value:function(e){e.clearSelection();var t=this.props,n=t.onCopy,o=t.onFinishCopy;n&&(n(),o&&(clearTimeout(this.onCopyTimeout),this.onCopyTimeout=setTimeout(o,4e3)))}},{key:"getText",value:function(){var e=this.props.text;return"function"==typeof e&&(e=e()),e}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,o=(e.onCopy,e.onFinishCopy,e.text,Object(E.a)(e,["className","children","onCopy","onFinishCopy","text"])),a=o.icon,i=O()("components-clipboard-button",t),c=a?q:z;return Object(r.createElement)("span",{ref:this.bindContainer,onCopy:function(e){e.target.focus()}},Object(r.createElement)(c,Object(j.a)({},o,{className:i}),n))}}]),t}(r.Component),we=function(e){var t=e.className,n=e.colorValue,o=Object(E.a)(e,["className","colorValue"]);return Object(r.createElement)("span",Object(j.a)({className:O()("component-color-indicator",t),style:{background:n}},o))},Se=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(m.a)(Object(m.a)(e))),e.close=e.close.bind(Object(m.a)(Object(m.a)(e))),e.closeIfClickOutside=e.closeIfClickOutside.bind(Object(m.a)(Object(m.a)(e))),e.containerRef=Object(r.createRef)(),e.state={isOpen:!1},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,o=this.props.onToggle;t.isOpen!==n&&o&&o(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfClickOutside",value:function(e){this.containerRef.current.contains(e.target)||this.close()}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,o=t.renderToggle,a=t.position,i=void 0===a?"bottom":a,c=t.className,s=t.contentClassName,l=t.expandOnMobile,u=t.headerTitle,d={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(r.createElement)("div",{className:c,ref:this.containerRef},o(d),e&&Object(r.createElement)(de,{className:s,position:i,onClose:this.close,onClickOutside:this.closeIfClickOutside,expandOnMobile:l,headerTitle:u},n(d)))}}]),t}(r.Component),Me=n(45),je=n.n(Me);function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?je()(e.hex):je()(e),o=n.toHsl();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.l=Math.round(100*o.l);var r=n.toHsv();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.v=Math.round(100*r.v);var a=n.toRgb(),i=n.toHex();return 0===o.s&&(o.h=t||0,r.h=t||0),{color:n,hex:"000000"===i&&0===a.a?"transparent":"#".concat(i),hsl:o,hsv:r,oldHue:e.h||t||o.h,rgb:a,source:e.source}}function Pe(e,t){e.preventDefault();var n=t.getBoundingClientRect(),o=n.left,r=n.top,a=n.width,i=n.height,c="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=c-(o+window.pageXOffset),u=s-(r+window.pageYOffset);return l<0?l=0:l>a?l=a:u<0?u=0:u>i&&(u=i),{top:u,left:l,width:a,height:i}}var Ee=n(186),ze=n.n(Ee),Te=(n(198),function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new ze.a(n),Object(k.forEach)(this.props.shortcuts,function(t,n){var o=e.props,r=o.bindGlobal,a=o.eventName,i=r?"bindGlobal":"bind";e.mousetrap[i](n,t,a)})}},{key:"componentWillUnmount",value:function(){this.mousetrap.reset()}},{key:"bindKeyTarget",value:function(e){this.keyTarget=e}},{key:"render",value:function(){var e=this.props.children;return r.Children.count(e)?Object(r.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(r.Component)),Ie=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(m.a)(Object(m.a)(e))),e.decrease=e.decrease.bind(Object(m.a)(Object(m.a)(e))),e.handleChange=e.handleChange.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,o=t.onChange,r=void 0===o?k.noop:o;e=parseInt(100*e,10),r({h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"})}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,o=t.onChange,r=void 0===o?k.noop:o,a=parseInt(100*n.a,10)-parseInt(100*e,10);r({h:n.h,s:n.s,l:n.l,a:n.a<=e?0:a/100,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.left,a=o.width,i=r<0?0:Math.round(100*r/a)/100;return t.hsl.a!==i?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:i,source:"rgb"}:null}(e,this.props,this.container.current);o&&n(o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==_.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),o={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},a={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(r.createElement)(Te,{shortcuts:i},Object(r.createElement)("div",{className:"components-color-picker__alpha"},Object(r.createElement)("div",{className:"components-color-picker__alpha-gradient",style:o}),Object(r.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":Object(D.__)("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:a,onKeyDown:this.preventKeyEvents}))))}}]),t}(r.Component),xe=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).container=Object(r.createRef)(),e.increase=e.increase.bind(Object(m.a)(Object(m.a)(e))),e.decrease=e.decrease.bind(Object(m.a)(Object(m.a)(e))),e.handleChange=e.handleChange.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.handleMouseUp=e.handleMouseUp.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,o=t.onChange;(void 0===o?k.noop:o)({h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,o=t.onChange;(void 0===o?k.noop:o)({h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.left,a=o.width,i=r>=a?359:100*r/a*360/100;return t.hsl.h!==i?{h:i,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);o&&n(o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==_.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,o=void 0===n?{}:n,a=t.instanceId,i={left:"".concat(100*o.h/360,"%")},c={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(r.createElement)(Te,{shortcuts:c},Object(r.createElement)("div",{className:"components-color-picker__hue"},Object(r.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(r.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(r.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":o.h,"aria-orientation":"horizontal","aria-label":Object(D.__)("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(a),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(r.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(a)},Object(D.__)("Move the arrow left or right to change hue.")))))}}]),t}(r.Component),He=Object(w.withInstanceId)(xe);var Ne=Object(w.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.className,i=e.instanceId,c=e.onChange,s=e.type,l=void 0===s?"text":s,u=Object(E.a)(e,["label","value","help","className","instanceId","onChange","type"]),d="inspector-text-control-".concat(i);return Object(r.createElement)(ye,{label:t,id:d,help:o,className:a},Object(r.createElement)("input",Object(j.a)({className:"components-text-control__input",type:l,id:d,value:n,onChange:function(e){return c(e.target.value)},"aria-describedby":o?d+"__help":void 0},u)))}),Re=function(e){function t(e){var n,o=e.value;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={value:String(o).toLowerCase()},n.handleBlur=n.handleBlur.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n.handleKeyDown=n.handleKeyDown.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillReceiveProps",value:function(e){e.value!==this.props.value&&this.setState({value:String(e.value).toLowerCase()})}},{key:"handleBlur",value:function(){var e=this.props,t=e.valueKey,n=e.onChange,o=this.state.value;n(Object(d.a)({},t,o))}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,o=t.onChange;e.length>4&&o(Object(d.a)({},n,e)),this.setState({value:e})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===_.ENTER||t===_.UP||t===_.DOWN){var n=this.state.value,o=this.props,r=o.valueKey;(0,o.onChange)(Object(d.a)({},r,n))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,o=Object(E.a)(t,["label"]),a=this.state.value;return Object(r.createElement)(Ne,Object(j.a)({className:"components-color-picker__inputs-field",label:n,value:a,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(k.omit)(o,["onChange","value","valueKey"])))}}]),t}(r.Component),Le=function(e){function t(e){var n,o=e.hsl;Object(h.a)(this,t),n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments));var r=1===o.a?"hex":"rgb";return n.state={view:r},n.toggleViews=n.toggleViews.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"}),Object(he.speak)(Object(D.__)("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"}),Object(he.speak)(Object(D.__)("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"}),Object(he.speak)(Object(D.__)("Hex color mode active"))):(this.setState({view:"rgb"}),Object(he.speak)(Object(D.__)("RGB mode active"))))}},{key:"handleChange",value:function(e){var t,n;e.hex?(t=e.hex,n="#"===String(t).charAt(0)?1:0,t.length!==4+n&&t.length<7+n&&je()(t).isValid()&&this.props.onChange({hex:e.hex,source:"hex"})):e.r||e.g||e.b?this.props.onChange({r:e.r||this.props.rgb.r,g:e.g||this.props.rgb.g,b:e.b||this.props.rgb.b,source:"rgb"}):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),this.props.onChange({h:this.props.hsl.h,s:this.props.hsl.s,l:this.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"})):(e.h||e.s||e.l)&&this.props.onChange({h:e.h||this.props.hsl.h,s:e.s||this.props.hsl.s,l:e.l||this.props.hsl.l,source:"hsl"})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:Object(D.__)("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(D.__)("Color value in RGB")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Re,{label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(r.createElement)(Re,{label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(r.createElement)(Re,{label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"screen-reader-text"},Object(D.__)("Color value in HSL")),Object(r.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(r.createElement)(Re,{label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(r.createElement)(Re,{label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(r.createElement)(Re,{label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(r.createElement)(Re,{label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(r.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(r.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(r.createElement)(q,{icon:"arrow-down-alt2",label:Object(D.__)("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component),Ae=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).throttle=Object(k.throttle)(function(e,t,n){e(t,n)},50),n.container=Object(r.createRef)(),n.saturate=n.saturate.bind(Object(m.a)(Object(m.a)(n))),n.brighten=n.brighten.bind(Object(m.a)(Object(m.a)(n))),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n.handleMouseDown=n.handleMouseDown.bind(Object(m.a)(Object(m.a)(n))),n.handleMouseUp=n.handleMouseUp.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,o=t.onChange,r=void 0===o?k.noop:o,a=Object(k.clamp)(n.s+Math.round(100*e),0,100);r({h:n.h,s:a,v:n.v,a:n.a,source:"rgb"})}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,o=t.onChange,r=void 0===o?k.noop:o,a=Object(k.clamp)(n.v+Math.round(100*e),0,100);r({h:n.h,s:n.s,v:a,a:n.a,source:"rgb"})}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?k.noop:t,o=function(e,t,n){var o=Pe(e,n),r=o.top,a=o.left,i=o.width,c=o.height,s=a<0?0:100*a/i,l=r>=c?0:-100*r/c+100;return l<1&&(l=0),{h:t.hsl.h,s:s,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,o,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==_.TAB&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,o=t.hsl,a=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},c={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(r.createElement)(Te,{shortcuts:c},Object(r.createElement)("div",{style:{background:"hsl(".concat(o.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(r.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(r.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(r.createElement)("button",{"aria-label":Object(D.__)("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(a),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(r.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(a)},Object(D.__)("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to increase saturation, and right to decrease saturation."))))}}]),t}(r.Component),Fe=Object(w.withInstanceId)(Ae),Ve=function(e){function t(e){var n,o=e.color,r=void 0===o?"0071a1":o;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state=Ce(r),n.handleChange=n.handleChange.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleChange",value:function(e){var t=this.props,n=t.oldHue,o=t.onChangeComplete,r=void 0===o?k.noop:o;if(function(e){var t=0,n=0;return Object(k.each)(["r","g","b","a","h","s","l","v"],function(o){e[o]&&(t+=1,isNaN(e[o])||(n+=1))}),t===n&&e}(e)){var a=Ce(e,e.h||n);this.setState(a,Object(k.debounce)(Object(k.partial)(r,a),100))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,o=this.state,a=o.color,i=o.hex,c=o.hsl,s=o.hsv,l=o.rgb,u=O()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(r.createElement)("div",{className:u},Object(r.createElement)("div",{className:"components-color-picker__saturation"},Object(r.createElement)(Fe,{hsl:c,hsv:s,onChange:this.handleChange})),Object(r.createElement)("div",{className:"components-color-picker__body"},Object(r.createElement)("div",{className:"components-color-picker__controls"},Object(r.createElement)("div",{className:"components-color-picker__swatch"},Object(r.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:a&&a.toRgbString()}})),Object(r.createElement)("div",{className:"components-color-picker__toggles"},Object(r.createElement)(He,{hsl:c,onChange:this.handleChange}),n?null:Object(r.createElement)(Ie,{rgb:l,hsl:c,onChange:this.handleChange}))),Object(r.createElement)(Le,{rgb:l,hsl:c,hex:i,onChange:this.handleChange,disableAlpha:n})))}}]),t}(r.Component);function Be(e){var t=e.colors,n=e.disableCustomColors,o=void 0!==n&&n,a=e.value,i=e.onChange,c=e.className;function s(e){return function(){return i(a===e?void 0:e)}}var l=Object(D.__)("Custom color picker"),u=O()("components-color-palette",c);return Object(r.createElement)("div",{className:u},Object(k.map)(t,function(e){var t=e.color,n=e.name,o={color:t},i=O()("components-color-palette__item",{"is-active":a===t});return Object(r.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(r.createElement)($,{text:n||Object(D.sprintf)(Object(D.__)("Color code: %s"),t)},Object(r.createElement)("button",{type:"button",className:i,style:o,onClick:s(t),"aria-label":n?Object(D.sprintf)(Object(D.__)("Color: %s"),n):Object(D.sprintf)(Object(D.__)("Color code: %s"),t),"aria-pressed":a===t})))}),!o&&Object(r.createElement)(Se,{className:"components-color-palette__item-wrapper components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)($,{text:l},Object(r.createElement)("button",{type:"button","aria-expanded":t,className:"components-color-palette__item",onClick:n,"aria-label":l},Object(r.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))},renderContent:function(){return Object(r.createElement)(Ve,{color:a,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),Object(r.createElement)(z,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},Object(D.__)("Clear")))}n(199);var Ke=n(27),We=n.n(Ke),Ue=n(187),Ye=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,o=t.onChange,r=n?We()(n):We()(),a={hours:r.hours(),minutes:r.minutes(),seconds:r.seconds()};o(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"render",value:function(){var e=this.props.currentDate,t=e?We()(e):We()();return Object(r.createElement)("div",{className:"components-datetime__date"},Object(r.createElement)(Ue.DayPickerSingleDateController,{block:!0,date:t,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(t.format("MM-YYYY")),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd"}))}}]),t}(r.Component),$e=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.updateMonth=e.updateMonth.bind(Object(m.a)(Object(m.a)(e))),e.onChangeMonth=e.onChangeMonth.bind(Object(m.a)(Object(m.a)(e))),e.updateDay=e.updateDay.bind(Object(m.a)(Object(m.a)(e))),e.onChangeDay=e.onChangeDay.bind(Object(m.a)(Object(m.a)(e))),e.updateYear=e.updateYear.bind(Object(m.a)(Object(m.a)(e))),e.onChangeYear=e.onChangeYear.bind(Object(m.a)(Object(m.a)(e))),e.updateHours=e.updateHours.bind(Object(m.a)(Object(m.a)(e))),e.updateMinutes=e.updateMinutes.bind(Object(m.a)(Object(m.a)(e))),e.onChangeHours=e.onChangeHours.bind(Object(m.a)(Object(m.a)(e))),e.onChangeMinutes=e.onChangeMinutes.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,o=t.is12Hour;n===e.currentTime&&o===e.is12Hour||this.syncState(this.props)}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,o=t?We()(t):We()(),r=o.format("DD"),a=o.format("MM"),i=o.format("YYYY"),c=o.format("mm"),s=o.format("A"),l=o.format(n?"hh":"HH"),u=t?We()(t):We()();this.setState({day:r,month:a,year:i,minutes:c,hours:l,am:s,date:u})}},{key:"updateHours",value:function(){var e=this.props,t=e.is12Hour,n=e.onChange,o=this.state,r=o.am,a=o.hours,i=o.date,c=parseInt(a,10);if(!Object(k.isInteger)(c)||t&&(c<1||c>12)||!t&&(c<0||c>23))this.syncState(this.props);else{var s=t?i.clone().hours("AM"===r?c%12:(c%12+12)%24):i.clone().hours(c);this.setState({date:s}),n(s.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMinutes",value:function(){var e=this.props.onChange,t=this.state,n=t.minutes,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var a=o.clone().minutes(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateDay",value:function(){var e=this.props.onChange,t=this.state,n=t.day,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var a=o.clone().date(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateMonth",value:function(){var e=this.props.onChange,t=this.state,n=t.month,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var a=o.clone().month(r-1);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateYear",value:function(){var e=this.props.onChange,t=this.state,n=t.year,o=t.date,r=parseInt(n,10);if(!Object(k.isInteger)(r)||r<1970||r>9999)this.syncState(this.props);else{var a=o.clone().year(r);this.setState({date:a}),e(a.format("YYYY-MM-DDTHH:mm:ss"))}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,o=t.props.onChange,r=t.state,a=r.am,i=r.date,c=r.hours;a!==e&&(n="PM"===e?i.clone().hours((parseInt(c,10)%12+12)%24):i.clone().hours(parseInt(c,10)%12),t.setState({date:n}),o(n.format("YYYY-MM-DDTHH:mm:ss")))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){this.setState({minutes:e.target.value})}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.day,o=t.month,a=t.year,i=t.minutes,c=t.hours,s=t.am;return Object(r.createElement)("div",{className:O()("components-datetime__time",{"is-12-hour":e,"is-24-hour":!e})},Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(D.__)("Date")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},Object(r.createElement)("select",{"aria-label":Object(D.__)("Month"),className:"components-datetime__time-field-month-select",value:o,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(r.createElement)("option",{value:"01"},Object(D.__)("January")),Object(r.createElement)("option",{value:"02"},Object(D.__)("February")),Object(r.createElement)("option",{value:"03"},Object(D.__)("March")),Object(r.createElement)("option",{value:"04"},Object(D.__)("April")),Object(r.createElement)("option",{value:"05"},Object(D.__)("May")),Object(r.createElement)("option",{value:"06"},Object(D.__)("June")),Object(r.createElement)("option",{value:"07"},Object(D.__)("July")),Object(r.createElement)("option",{value:"08"},Object(D.__)("August")),Object(r.createElement)("option",{value:"09"},Object(D.__)("September")),Object(r.createElement)("option",{value:"10"},Object(D.__)("October")),Object(r.createElement)("option",{value:"11"},Object(D.__)("November")),Object(r.createElement)("option",{value:"12"},Object(D.__)("December")))),Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",value:n,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay})),Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:a,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(r.createElement)("fieldset",null,Object(r.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(D.__)("Time")),Object(r.createElement)("div",{className:"components-datetime__time-wrapper"},Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(r.createElement)("input",{"aria-label":Object(D.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:c,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(r.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(r.createElement)("input",{"aria-label":Object(D.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:i,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(r.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(r.createElement)(z,{"aria-pressed":"AM"===s,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===s,onClick:this.updateAmPm("AM")},Object(D.__)("AM")),Object(r.createElement)(z,{"aria-pressed":"PM"===s,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===s,onClick:this.updateAmPm("PM")},Object(D.__)("PM"))))))}}]),t}(r.Component),Ge=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={calendarHelpIsVisible:!1},e.onClickDescriptionToggle=e.onClickDescriptionToggle.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"onClickDescriptionToggle",value:function(){this.setState({calendarHelpIsVisible:!this.state.calendarHelpIsVisible})}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.is12Hour,o=e.onChange;return Object(r.createElement)("div",{className:"components-datetime"},!this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)($e,{currentTime:t,onChange:o,is12Hour:n}),Object(r.createElement)(Ye,{currentDate:t,onChange:o})),this.state.calendarHelpIsVisible&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"components-datetime__calendar-help"},Object(r.createElement)("h4",null,Object(D.__)("Click to Select")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(D.__)("Click the right or left arrows to select other months in the past or the future.")),Object(r.createElement)("li",null,Object(D.__)("Click the desired day to select it."))),Object(r.createElement)("h4",null,Object(D.__)("Navigating with a keyboard")),Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D._x)("Enter","keyboard button")},"↵")," ",Object(r.createElement)("span",null,Object(D.__)("Select the date in focus."))),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Left and Right Arrows")},"←/→")," ",Object(D.__)("Move backward (left) or forward (right) by one day.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Up and Down Arrows")},"↑/↓")," ",Object(D.__)("Move backward (up) or forward (down) by one week.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Page Up and Page Down")},Object(D.__)("PgUp/PgDn"))," ",Object(D.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(r.createElement)("li",null,Object(r.createElement)("abbr",{"aria-label":Object(D.__)("Home and End")},Object(D.__)("Home/End"))," ",Object(D.__)("Go to the first (home) or last (end) day of a week."))),Object(r.createElement)(z,{isSmall:!0,onClick:this.onClickDescriptionToggle},Object(D.__)("Close")))),!this.state.calendarHelpIsVisible&&Object(r.createElement)(z,{className:"components-datetime__date-help-button",isLink:!0,onClick:this.onClickDescriptionToggle},Object(D.__)("Calendar Help")))}}]),t}(r.Component),qe=Object(r.createContext)(!1),Ze=qe.Consumer,Xe=qe.Provider,Qe=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],Je=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).bindNode=e.bindNode.bind(Object(m.a)(Object(m.a)(e))),e.disable=e.disable.bind(Object(m.a)(Object(m.a)(e))),e.debouncedDisable=Object(k.debounce)(e.disable,{leading:!0}),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){M.focus.focusable.find(this.node).forEach(function(e){Object(k.includes)(Qe,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")})}},{key:"render",value:function(){var e=this.props,t=e.className,n=Object(E.a)(e,["className"]);return Object(r.createElement)(Xe,{value:!0},Object(r.createElement)("div",Object(j.a)({ref:this.bindNode,className:O()(t,"components-disabled")},n),this.props.children))}}]),t}(r.Component);Je.Consumer=Ze;var et=Je,tt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Object(m.a)(Object(m.a)(e))),e.onDragOver=e.onDragOver.bind(Object(m.a)(Object(m.a)(e))),e.onDrop=e.onDrop.bind(Object(m.a)(Object(m.a)(e))),e.onDragEnd=e.onDragEnd.bind(Object(m.a)(Object(m.a)(e))),e.resetDragState=e.resetDragState.bind(Object(m.a)(Object(m.a)(e))),e.isChromeAndHasIframes=!1,e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?k.noop:t;e&&e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDrop",value:function(){this.onDragEnd(null)}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,o=t.transferData,r=t.onDragStart,a=void 0===r?k.noop:r,i=document.getElementById(n);if(i){if("function"==typeof e.dataTransfer.setDragImage){var c=document.createElement("div");c.id="drag-image-".concat(n),c.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0),this.props.setTimeout(function(){document.body.removeChild(c)})}e.dataTransfer.setData("text",JSON.stringify(o));var s=i.getBoundingClientRect(),l=i.parentNode,u=parseInt(s.top,10),d=parseInt(s.left,10),h=i.cloneNode(!0);h.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(s.width+40,"px"),s.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),Object(y.a)(h.querySelectorAll("iframe")).forEach(function(e){return e.parentNode.removeChild(e)}),this.cloneWrapper.appendChild(h),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),/Chrome/i.test(window.navigator.userAgent)&&Object(y.a)(document.getElementById("editor").querySelectorAll("iframe")).length>0&&(this.isChromeAndHasIframes=!0,document.addEventListener("drop",this.onDrop)),this.props.setTimeout(a)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),this.isChromeAndHasIframes&&(this.isChromeAndHasIframes=!1,document.removeEventListener("drop",this.onDrop)),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(r.Component),nt=Object(w.withSafeTimeout)(tt),ot=Object(r.createContext)({addDropZone:function(){},removeDropZone:function(){}}),rt=ot.Provider,at=ot.Consumer,it=function(e){var t=e.dataTransfer;if(t){if(Object(k.includes)(t.types,"Files"))return"file";if(Object(k.includes)(t.types,"text/html"))return"html"}return"default"},ct=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},st=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Object(m.a)(Object(m.a)(e))),e.onDrop=e.onDrop.bind(Object(m.a)(Object(m.a)(e))),e.addDropZone=e.addDropZone.bind(Object(m.a)(Object(m.a)(e))),e.removeDropZone=e.removeDropZone.bind(Object(m.a)(Object(m.a)(e))),e.resetDragState=e.resetDragState.bind(Object(m.a)(Object(m.a)(e))),e.toggleDraggingOverDocument=Object(k.throttle)(e.toggleDraggingOverDocument.bind(Object(m.a)(Object(m.a)(e))),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(k.filter)(this.dropZones,function(t){return t!==e})}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null}),this.dropZones.forEach(function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})}))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,o=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,r=Object(k.filter)(this.dropZones,function(e){return ct(t,e)&&(n=e.element,r=o.clientX,a=o.clientY,(i=n.getBoundingClientRect()).bottom!==i.top&&i.left!==i.right&&r>=i.left&&r<=i.right&&a>=i.top&&a<=i.bottom);var n,r,a,i}),a=Object(k.find)(r,function(e){return!Object(k.some)(r,function(t){return t!==e&&e.element.parentElement.contains(t.element)})}),i=this.dropZones.indexOf(a),c=null;if(a){var s=a.element.getBoundingClientRect();c={x:o.clientX-s.left-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,o=n.cycle,r=void 0===o||o,a=n.eventToOffset,i=n.onNavigate,c=void 0===i?k.noop:i,s=n.stopNavigationEvents,l=a(e);if(void 0!==l&&s&&(e.nativeEvent.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault(),e.stopPropagation()),l){var u=t(document.activeElement);if(u){var d=u.index,h=u.focusables,f=r?function(e,t,n){var o=e+n;return o<0?t+o:o>=t?o-t:o}(d,h.length,l):d+l;f>=0&&f0&&0===o,"is-active":e.isActive}),icon:e.icon,role:"menuitem",disabled:e.isDisabled},e.title)})}))}})};var mt=Object(r.forwardRef)(function(e,t){var n=e.href,o=e.children,a=e.className,i=e.rel,c=void 0===i?"":i,s=Object(E.a)(e,["href","children","className","rel"]);c=Object(k.uniq)(Object(k.compact)(Object(y.a)(c.split(" ")).concat(["external","noreferrer","noopener"]))).join(" ");var l=O()("components-external-link",a);return Object(r.createElement)("a",Object(j.a)({},s,{className:l,href:n,target:"_blank",rel:c,ref:t}),o,Object(r.createElement)("span",{className:"screen-reader-text"},Object(D.__)("(opens in a new tab)")),Object(r.createElement)(G,{icon:"external",className:"components-external-link__icon"}))}),yt=window.FocusEvent,gt=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Object(m.a)(Object(m.a)(n))),n.node=e.iframeRef||Object(r.createRef)(),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new yt("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(r.createElement)("iframe",Object(j.a)({ref:this.node},Object(k.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(r.Component),Ot=Object(w.withGlobalEvents)({blur:"checkFocus"})(gt);var kt=Object(w.withInstanceId)(function(e){var t=e.className,n=e.label,o=e.value,a=e.instanceId,i=e.onChange,c=e.beforeIcon,s=e.afterIcon,l=e.help,u=e.allowReset,d=e.initialPosition,h=Object(E.a)(e,["className","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition"]),f="inspector-range-control-".concat(a),p=function(){return i()},b=function(e){var t=e.target.value;""!==t?i(Number(t)):p()},v=Object(k.isFinite)(o)?o:d||"";return Object(r.createElement)(ye,{label:n,id:f,help:l,className:O()("components-range-control",t)},c&&Object(r.createElement)(G,{icon:c}),Object(r.createElement)("input",Object(j.a)({className:"components-range-control__slider",id:f,type:"range",value:v,onChange:b,"aria-describedby":l?f+"__help":void 0},h)),s&&Object(r.createElement)(G,{icon:s}),Object(r.createElement)("input",Object(j.a)({className:"components-range-control__number",type:"number",onChange:b,"aria-label":n,value:o},h)),u&&Object(r.createElement)(z,{onClick:p,disabled:void 0===o},Object(D.__)("Reset")))});var _t=Object(w.withInstanceId)(function(e){var t=e.fallbackFontSize,n=e.fontSizes,o=void 0===n?[]:n,a=e.disableCustomFontSizes,i=void 0!==a&&a,c=e.onChange,s=e.value,l=e.withSlider,u=void 0!==l&&l,d=o.find(function(e){return e.size===s});return Object(r.createElement)(ye,{label:Object(D.__)("Font Size")},Object(r.createElement)("div",{className:"components-font-size-picker__buttons"},Object(r.createElement)(Se,{className:"components-font-size-picker__dropdown",contentClassName:"components-font-size-picker__dropdown-content",position:"bottom",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(z,{className:"components-font-size-picker__selector",isLarge:!0,onClick:n,"aria-expanded":t,"aria-label":Object(D.__)("Custom font size")},d&&d.name||!s&&Object(D._x)("Normal","font size name")||Object(D._x)("Custom","font size name"))},renderContent:function(){return Object(r.createElement)(pt,null,Object(k.map)(o,function(e){var t=e.name,n=e.size,o=e.slug;return Object(r.createElement)(z,{key:o,onClick:function(){return c("normal"===o?void 0:n)},className:"is-font-"+o,role:"menuitem"},(s===n||!s&&"normal"===o)&&Object(r.createElement)(G,{icon:"saved"}),Object(r.createElement)("span",{className:"components-font-size-picker__dropdown-text-size",style:{fontSize:n}},t))}))}}),!u&&!i&&Object(r.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;c(""!==t?Number(t):void 0)},"aria-label":Object(D.__)("Custom font size"),value:s||""}),Object(r.createElement)(z,{className:"components-color-palette__clear",type:"button",disabled:void 0===s,onClick:function(){return c(void 0)},isSmall:!0,isDefault:!0,"aria-label":Object(D.__)("Reset font size")},Object(D.__)("Reset"))),u&&Object(r.createElement)(kt,{className:"components-font-size-picker__custom-input",label:Object(D.__)("Custom Size"),value:s||"",initialPosition:t,onChange:c,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))}),Dt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.multiple,o=void 0!==n&&n,a=e.accept,i=e.onChange,c=e.icon,s=void 0===c?"upload":c,l=Object(E.a)(e,["children","multiple","accept","onChange","icon"]);return Object(r.createElement)("div",{className:"components-form-file-upload"},Object(r.createElement)(q,Object(j.a)({icon:s,onClick:this.openFileDialog},l),t),Object(r.createElement)("input",{type:"file",ref:this.bindInput,multiple:o,style:{display:"none"},accept:a,onChange:i}))}}]),t}(r.Component);var wt=function(e){var t=e.className,n=e.checked,o=e.id,a=e.onChange,i=void 0===a?k.noop:a,s=Object(E.a)(e,["className","checked","id","onChange"]),l=O()("components-form-toggle",t,{"is-checked":n});return Object(r.createElement)("span",{className:l},Object(r.createElement)("input",Object(j.a)({className:"components-form-toggle__input",id:o,type:"checkbox",checked:n,onChange:i},s)),Object(r.createElement)("span",{className:"components-form-toggle__track"}),Object(r.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(r.createElement)(u,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(r.createElement)(c,{d:"M0 0h2v6H0z"})):Object(r.createElement)(u,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(r.createElement)(c,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))},St=n(28);var Mt=Object(w.withInstanceId)(function(e){var t=e.value,n=e.status,o=e.title,a=e.displayTransform,i=e.isBorderless,c=void 0!==i&&i,s=e.disabled,l=void 0!==s&&s,u=e.onClickRemove,d=void 0===u?k.noop:u,h=e.onMouseEnter,f=e.onMouseLeave,p=e.messages,b=e.termPosition,v=e.termsCount,m=e.instanceId,y=O()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":c,"is-disabled":l}),g=a(t),_=Object(D.sprintf)(Object(D.__)("%1$s (%2$s of %3$s)"),g,b,v);return Object(r.createElement)("span",{className:y,onMouseEnter:h,onMouseLeave:f,title:o},Object(r.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(m)},Object(r.createElement)("span",{className:"screen-reader-text"},_),Object(r.createElement)("span",{"aria-hidden":"true"},g)),Object(r.createElement)(q,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!l&&function(){return d({value:t})},label:p.remove,"aria-describedby":"components-form-token-field__token-text-".concat(m)}))}),jt=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,o=e.instanceId,a=e.selectedSuggestionIndex,i=Object(E.a)(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),c=t.length+1;return Object(r.createElement)("input",Object(j.a)({ref:this.bindInput,id:"components-form-token-input-".concat(o),type:"text"},i,{value:t,onChange:this.onChange,size:c,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(o):void 0,"aria-activedescendant":-1!==a?"components-form-token-suggestions-".concat(o,"-").concat(a):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(o)}))}}]),t}(r.Component),Ct=n(58),Pt=n.n(Ct),Et=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Object(m.a)(Object(m.a)(e))),e.bindList=e.bindList.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,Pt()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(r.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(k.map)(this.props.suggestions,function(t,n){var o=e.computeSuggestionMatch(t),a=O()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(r.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:a,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},o?Object(r.createElement)("span",{"aria-label":e.props.displayTransform(t)},o.suggestionBeforeMatch,Object(r.createElement)("strong",{className:"components-form-token-field__suggestion-match"},o.suggestionMatch),o.suggestionAfterMatch):e.props.displayTransform(t))}))}}]),t}(r.Component);Et.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var zt=Et,Tt={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},It=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state=Tt,e.onKeyDown=e.onKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.onKeyPress=e.onKeyPress.bind(Object(m.a)(Object(m.a)(e))),e.onFocus=e.onFocus.bind(Object(m.a)(Object(m.a)(e))),e.onBlur=e.onBlur.bind(Object(m.a)(Object(m.a)(e))),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(m.a)(Object(m.a)(e))),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(m.a)(Object(m.a)(e))),e.addCurrentToken=e.addCurrentToken.bind(Object(m.a)(Object(m.a)(e))),e.onContainerTouched=e.onContainerTouched.bind(Object(m.a)(Object(m.a)(e))),e.renderToken=e.renderToken.bind(Object(m.a)(Object(m.a)(e))),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(m.a)(Object(m.a)(e))),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(m.a)(Object(m.a)(e))),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(m.a)(Object(m.a)(e))),e.onInputChange=e.onInputChange.bind(Object(m.a)(Object(m.a)(e))),e.bindInput=e.bindInput.bind(Object(m.a)(Object(m.a)(e))),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidUpdate",value:function(){this.state.isActive&&!this.input.hasFocus()&&this.input.focus()}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(Tt)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case _.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case _.ENTER:t=this.addCurrentToken();break;case _.LEFT:t=this.handleLeftArrowKey();break;case _.UP:t=this.handleUpArrowKey();break;case _.RIGHT:t=this.handleRightArrowKey();break;case _.DOWN:t=this.handleDownArrowKey();break;case _.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case _.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case _.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,o=t.split(n),r=Object(k.last)(o)||"",a=r.trim().length>1,i=this.getMatchingSuggestions(r),c=a&&!!i.length;o.length>1&&this.addNewTokens(o.slice(0,-1)),this.setState({incompleteTokenValue:r,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.props.onInputChange(r),a&&(this.setState({isExpanded:c}),i.length?this.props.debouncedSpeak(Object(D.sprintf)(Object(D._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",i.length),i.length),"assertive"):this.props.debouncedSpeak(Object(D.__)("No results."),"assertive"))}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState(function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}}),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState(function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}}),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState(function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}})}},{key:"moveInputBeforePreviousToken",value:function(){this.setState(function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}})}},{key:"moveInputAfterNextToken",value:function(){this.setState(function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}})}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e0){var o=Object(k.clone)(this.props.value);o.splice.apply(o,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(o)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter(function(n){return t.getTokenValue(n)!==t.getTokenValue(e)});this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object(St.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,r=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform)(e),a=[],i=[];return 0===r.length?t=Object(k.difference)(t,n):(r=r.toLocaleLowerCase(),Object(k.each)(t,function(e){var t=e.toLocaleLowerCase().indexOf(r);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&i.push(e))}),t=a.concat(i)),Object(k.take)(t,o)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(k.some)(this.props.value,function(n){return t.getTokenValue(e)===t.getTokenValue(n)})}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"renderTokensAndInput",value:function(){var e=Object(k.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var o=this.getTokenValue(e),a=e.status?e.status:void 0,i=t+1,c=n.length;return Object(r.createElement)(Mt,{key:"token-"+o,value:o,status:a,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==a&&this.props.disabled,messages:this.props.messages,termsCount:c,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,a=e.maxLength,i=e.value,c={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return a&&i.length>=a||(c=Object(o.a)({},c,{onChange:this.onInputChange})),Object(r.createElement)(jt,c)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,o=void 0===n?Object(D.__)("Add item"):n,a=e.instanceId,i=e.className,c=this.state.isExpanded,s=O()(i,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),l={className:"components-form-token-field",tabIndex:"-1"},u=this.getMatchingSuggestions();return t||(l=Object.assign({},l,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(r.createElement)("div",l,Object(r.createElement)("label",{htmlFor:"components-form-token-input-".concat(a),className:"components-form-token-field__label"},o),Object(r.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),c&&Object(r.createElement)(zt,{instanceId:a,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:u,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(r.createElement)("div",{id:"components-form-token-suggestions-howto-".concat(a),className:"screen-reader-text"},Object(D.__)("Separate with commas")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(r.Component);It.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:k.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(D.__)("Item added."),removed:Object(D.__)("Item removed."),remove:Object(D.__)("Remove item")}};var xt=fe(Object(w.withInstanceId)(It));var Ht=function(e){var t,n=e.icon,a=void 0===n?null:n,i=e.size,c=e.className;if("string"==typeof a)return t=i||20,Object(r.createElement)(G,{icon:a,size:t,className:c});if(t=i||24,"function"==typeof a)return a.prototype instanceof r.Component?Object(r.createElement)(a,{className:c,size:t}):a();if(a&&("svg"===a.type||a.type===u)){var s=Object(o.a)({className:c,width:t,height:t},a.props);return Object(r.createElement)(u,s)}return Object(r.isValidElement)(a)?Object(r.cloneElement)(a,{className:c,size:t}):a};var Nt=Object(w.withInstanceId)(function(e){var t=e.children,n=e.className,o=void 0===n?"":n,a=e.instanceId,i=e.label;if(!r.Children.count(t))return null;var c="components-menu-group-label-".concat(a),s=O()(o,"components-menu-group");return Object(r.createElement)("div",{className:s},i&&Object(r.createElement)("div",{className:"components-menu-group__label",id:c},i),Object(r.createElement)(pt,{orientation:"vertical","aria-labelledby":c},t))});var Rt=Object(w.withInstanceId)(function(e){var t=e.children,n=e.label,a=void 0===n?t:n,i=e.info,c=e.className,s=e.icon,l=e.shortcut,u=e.isSelected,d=e.role,h=void 0===d?"menuitem":d,f=e.instanceId,p=Object(E.a)(e,["children","label","info","className","icon","shortcut","isSelected","role","instanceId"]);if(c=O()("components-menu-item__button",c,{"has-icon":s}),a=Object(k.isString)(a)?a:void 0,i){var b="edit-post-feature-toggle__info-"+f;p["aria-describedby"]=b,t=Object(r.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(r.createElement)("span",{id:b,className:"components-menu-item__info"},i))}var v=z;return s&&(Object(k.isString)(s)||(s=Object(r.cloneElement)(s,{className:"components-menu-items__item-icon",height:20,width:20})),v=q,p.icon=s),Object(r.createElement)(v,Object(o.a)({"aria-label":a,"aria-checked":"menuitemcheckbox"===h||"menuitemradio"===h?u:void 0,role:h,className:c},p),t,Object(r.createElement)(U,{className:"components-menu-item__shortcut",shortcut:l}))});function Lt(e){var t=e.choices,n=void 0===t?[]:t,o=e.onSelect,a=e.value;return n.map(function(e){var t=a===e.value;return Object(r.createElement)(Rt,{key:e.value,role:"menuitemradio",icon:t&&"yes",isSelected:t,shortcut:e.shortcut,onClick:function(){t||o(e.value)}},e.label)})}var At=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).containerRef=Object(r.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Object(m.a)(Object(m.a)(e))),e.handleClickOutside=e.handleClickOutside.bind(Object(m.a)(Object(m.a)(e))),e.focusFirstTabbable=e.focusFirstTabbable.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=M.focus.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleClickOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===_.ESCAPE&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.preventDefault(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.contentLabel,n=e.aria,o=n.describedby,a=n.labelledby,i=e.children,c=e.className,s=e.role,l=e.style;return Object(r.createElement)("div",{className:c,style:l,ref:this.containerRef,role:s,"aria-label":t,"aria-labelledby":t?null:a,"aria-describedby":o,tabIndex:"-1"},i)}}]),t}(r.Component),Ft=Object(w.compose)([A,F,B.a,Object(w.withGlobalEvents)({keydown:"handleKeyDown"})])(At),Vt=function(e){var t=e.icon,n=e.title,o=e.onClose,a=e.closeLabel,i=e.headingId,c=e.isDismissable,s=a||Object(D.__)("Close dialog");return Object(r.createElement)("div",{className:"components-modal__header"},Object(r.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(r.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(r.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),c&&Object(r.createElement)(q,{onClick:o,icon:"no-alt",label:s}))},Bt=new Set(["alert","status","log","marquee","timer"]),Kt=[],Wt=!1;function Ut(e){if(!Wt){var t=document.body.children;Object(k.forEach)(t,function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Bt.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Kt.push(t))}),Wt=!0}}var Yt,$t=0,Gt=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).prepareDOM(),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){1===++$t&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--$t&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){Yt||(Yt=document.createElement("div"),document.body.appendChild(Yt)),this.node=document.createElement("div"),Yt.appendChild(this.node)}},{key:"cleanDOM",value:function(){Yt.removeChild(this.node)}},{key:"openFirstModal",value:function(){Ut(Yt),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),Wt&&(Object(k.forEach)(Kt,function(e){e.removeAttribute("aria-hidden")}),Kt=[],Wt=!1)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.className,o=e.onRequestClose,a=e.title,i=e.icon,c=e.closeButtonLabel,s=e.children,l=e.aria,u=e.instanceId,d=e.isDismissable,h=Object(E.a)(e,["overlayClassName","className","onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),f=l.labelledby||"components-modal-header-".concat(u);return Object(r.createPortal)(Object(r.createElement)(X,{className:O()("components-modal__screen-overlay",t)},Object(r.createElement)(Ft,Object(j.a)({className:O()("components-modal__frame",n),onRequestClose:o,aria:{labelledby:a?f:null,describedby:l.describedby}},h),Object(r.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(r.createElement)(Vt,{closeLabel:c,headingId:f,icon:i,isDismissable:d,onClose:o,title:a}),s))),this.node)}}]),t}(r.Component);Gt.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,onRequestClose:k.noop,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var qt=Object(w.withInstanceId)(Gt);var Zt=function(e){var t=e.className,n=e.status,o=e.children,a=e.onRemove,i=void 0===a?k.noop:a,c=e.isDismissible,s=void 0===c||c,l=e.actions,u=void 0===l?[]:l,d=e.__unstableHTML,h=O()(t,"components-notice","is-"+n,{"is-dismissible":s});return d&&(o=Object(r.createElement)(r.RawHTML,null,o)),Object(r.createElement)("div",{className:h},Object(r.createElement)("div",{className:"components-notice__content"},o,u.map(function(e,t){var n=e.label,o=e.url,a=e.onClick;return Object(r.createElement)(z,{key:t,href:o,isLink:!!o,onClick:a,className:"components-notice__action"},n)})),s&&Object(r.createElement)(q,{className:"components-notice__dismiss",icon:"no",label:Object(D.__)("Dismiss this notice"),onClick:i,tooltip:!1}))};var Xt=function(e){var t=e.notices,n=e.onRemove,o=void 0===n?k.noop:n,a=e.className,i=void 0===a?"components-notice-list":a,c=e.children;return Object(r.createElement)("div",{className:i},c,Object(y.a)(t).reverse().map(function(e){return Object(r.createElement)(Zt,Object(j.a)({},Object(k.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return o(t)})}),e.content);var t}))};var Qt=function(e){var t=e.label,n=e.children;return Object(r.createElement)("div",{className:"components-panel__header"},t&&Object(r.createElement)("h2",null,t),n)};var Jt=function(e){var t=e.header,n=e.className,o=e.children,a=O()(n,"components-panel");return Object(r.createElement)("div",{className:a},t&&Object(r.createElement)(Qt,{label:t}),o)},en=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(Object(m.a)(Object(m.a)(n))),n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"toggle",value:function(e){e.preventDefault(),void 0===this.props.opened&&this.setState(function(e){return{opened:!e.opened}}),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,o=e.opened,a=e.className,s=e.icon,l=e.forwardedRef,d=void 0===o?this.state.opened:o,h=O()("components-panel__body",a,{"is-opened":d});return Object(r.createElement)("div",{className:h,ref:l},!!t&&Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)(z,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":d},Object(r.createElement)("span",{"aria-hidden":"true"},d?Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(r.createElement)(u,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(i,null,Object(r.createElement)(c,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)(i,null,Object(r.createElement)(c,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,s&&Object(r.createElement)(Ht,{icon:s,className:"components-panel__icon",size:20}))),d&&n)}}]),t}(r.Component),tn=function(e,t){return Object(r.createElement)(en,Object(j.a)({},e,{forwardedRef:t}))};tn.displayName="PanelBody";var nn=Object(r.forwardRef)(tn);var on=function(e){var t=e.className,n=e.children,o=O()("components-panel__row",t);return Object(r.createElement)("div",{className:o},n)};var rn=function(e){var t=e.icon,n=e.children,o=e.label,a=e.instructions,i=e.className,c=e.notices,s=Object(E.a)(e,["icon","children","label","instructions","className","notices"]),l=O()("components-placeholder",i);return Object(r.createElement)("div",Object(j.a)({},s,{className:l}),c,Object(r.createElement)("div",{className:"components-placeholder__label"},Object(k.isString)(t)?Object(r.createElement)(G,{icon:t}):t,o),!!a&&Object(r.createElement)("div",{className:"components-placeholder__instructions"},a),Object(r.createElement)("div",{className:"components-placeholder__fieldset"},n))};function an(e){var t=e.label,n=e.noOptionLabel,o=e.onChange,a=e.selectedId,i=e.tree,c=Object(E.a)(e,["label","noOptionLabel","onChange","selectedId","tree"]),s=Object(k.compact)([n&&{value:"",label:n}].concat(Object(y.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(k.flatMap)(t,function(t){return[{value:t.id,label:Object(k.repeat)(" ",3*n)+Object(k.unescape)(t.name)}].concat(Object(y.a)(e(t.children||[],n+1)))})}(i))));return Object(r.createElement)(In,Object(j.a)({label:t,options:s,onChange:o},{value:a},c))}function cn(e){var t,n,a=e.label,i=e.noOptionLabel,c=e.categoriesList,s=e.selectedCategoryId,l=e.onChange,u=(t=c,function e(t){return t.map(function(t){var r=n[t.id];return Object(o.a)({},t,{children:r&&r.length?e(r):[]})})}((n=Object(k.groupBy)(t,"parent"))[0]||[]));return Object(r.createElement)(an,Object(j.a)({label:a,noOptionLabel:i,onChange:l},{tree:u,selectedId:s}))}var sn=1,ln=100;function un(e){var t=e.categoriesList,n=e.selectedCategoryId,o=e.numberOfItems,a=e.order,i=e.orderBy,c=e.maxItems,s=void 0===c?ln:c,l=e.minItems,u=void 0===l?sn:l,d=e.onCategoryChange,h=e.onNumberOfItemsChange,f=e.onOrderChange,p=e.onOrderByChange;return[f&&p&&Object(r.createElement)(In,{key:"query-controls-order-select",label:Object(D.__)("Order by"),value:"".concat(i,"/").concat(a),options:[{label:Object(D.__)("Newest to Oldest"),value:"date/desc"},{label:Object(D.__)("Oldest to Newest"),value:"date/asc"},{label:Object(D.__)("A → Z"),value:"title/asc"},{label:Object(D.__)("Z → A"),value:"title/desc"}],onChange:function(e){var t=e.split("/"),n=Object(x.a)(t,2),o=n[0],r=n[1];r!==a&&f(r),o!==i&&p(o)}}),d&&Object(r.createElement)(cn,{key:"query-controls-category-select",categoriesList:t,label:Object(D.__)("Category"),noOptionLabel:Object(D.__)("All"),selectedCategoryId:n,onChange:d}),h&&Object(r.createElement)(kt,{key:"query-controls-range-control",label:Object(D.__)("Number of items"),value:o,onChange:h,min:u,max:s})]}var dn=Object(w.withInstanceId)(function(e){var t=e.label,n=e.className,o=e.selected,a=e.help,i=e.instanceId,c=e.onChange,s=e.options,l=void 0===s?[]:s,u="inspector-radio-control-".concat(i),d=function(e){return c(e.target.value)};return!Object(k.isEmpty)(l)&&Object(r.createElement)(ye,{label:t,id:u,help:a,className:O()(n,"components-radio-control")},l.map(function(e,t){return Object(r.createElement)("div",{key:"".concat(u,"-").concat(t),className:"components-radio-control__option"},Object(r.createElement)("input",{id:"".concat(u,"-").concat(t),className:"components-radio-control__input",type:"radio",name:u,value:e.value,onChange:d,checked:e.value===o,"aria-describedby":a?"".concat(u,"__help"):void 0}),Object(r.createElement)("label",{htmlFor:"".concat(u,"-").concat(t)},e.label))}))}),hn=n(26),fn=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},pn=function(){function e(e,t){for(var n=0;n div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}})),Object(r.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(r.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(r.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map(function(e){return Object(r.createElement)("script",{key:e,src:e})}))),t=this.iframe.current.contentWindow.document;t.open(),t.write(""+Object(r.renderToString)(e)),t.close()}}},{key:"render",value:function(){var e=this.props.title;return Object(r.createElement)(Ot,{iframeRef:this.iframe,title:e,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(r.Component),Tn=zn=Object(w.withGlobalEvents)({message:"checkMessageForResize"})(zn);var In=Object(w.withInstanceId)(function(e){var t=e.help,n=e.instanceId,o=e.label,a=e.multiple,i=void 0!==a&&a,c=e.onChange,s=e.options,l=void 0===s?[]:s,u=e.className,d=Object(E.a)(e,["help","instanceId","label","multiple","onChange","options","className"]),h="inspector-select-control-".concat(n);return!Object(k.isEmpty)(l)&&Object(r.createElement)(ye,{label:o,id:h,help:t,className:u},Object(r.createElement)("select",Object(j.a)({id:h,className:"components-select-control__input",onChange:function(e){if(i){var t=Object(y.a)(e.target.options).filter(function(e){return e.selected}).map(function(e){return e.value});c(t)}else c(e.target.value)},"aria-describedby":t?"".concat(h,"__help"):void 0,multiple:i},d),l.map(function(e,t){return Object(r.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)})))});function xn(){return Object(r.createElement)("span",{className:"components-spinner"})}var Hn=n(30),Nn=n.n(Hn),Rn=n(24);var Ln=function(e){function t(e){var n;return Object(h.a)(this,t),(n=Object(f.a)(this,Object(p.a)(t).call(this,e))).state={response:null},n}return Object(v.a)(t,e),Object(b.a)(t,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.fetch(this.props),this.fetch=Object(k.debounce)(this.fetch,500)}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"componentDidUpdate",value:function(e){Object(k.isEqual)(e,this.props)||this.fetch(this.props)}},{key:"fetch",value:function(e){var t=this;if(this.isStillMounted){null!==this.state.response&&this.setState({response:null});var n=e.block,r=e.attributes,a=void 0===r?null:r,i=e.urlQueryArgs,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(Rn.addQueryArgs)("/wp/v2/block-renderer/".concat(e),Object(o.a)({context:"edit"},null!==t?{attributes:t}:{},n))}(n,a,void 0===i?{}:i),s=this.currentFetchRequest=Nn()({path:c}).then(function(e){t.isStillMounted&&s===t.currentFetchRequest&&e&&e.rendered&&t.setState({response:e.rendered})}).catch(function(e){t.isStillMounted&&s===t.currentFetchRequest&&t.setState({response:{error:!0,errorMsg:e.message}})});return s}}},{key:"render",value:function(){var e=this.state.response;if(!e)return Object(r.createElement)(rn,null,Object(r.createElement)(xn,null));if(e.error){var t=Object(D.sprintf)(Object(D.__)("Error loading block: %s"),e.errorMsg);return Object(r.createElement)(rn,null,t)}return e.length?Object(r.createElement)(r.RawHTML,{key:"html"},e):Object(r.createElement)(rn,null,Object(D.__)("No results found."))}}]),t}(r.Component),An=function(e){var t=e.tabId,n=e.onClick,o=e.children,a=e.selected,i=Object(E.a)(e,["tabId","onClick","children","selected"]);return Object(r.createElement)("button",Object(j.a)({role:"tab",tabIndex:a?null:-1,"aria-selected":a,id:t,onClick:n},i),o)},Fn=function(e){function t(){var e;Object(h.a)(this,t);var n=(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).props,o=n.tabs,r=n.initialTabName;return e.handleClick=e.handleClick.bind(Object(m.a)(Object(m.a)(e))),e.onNavigate=e.onNavigate.bind(Object(m.a)(Object(m.a)(e))),e.state={selected:r||(o.length>0?o[0].name:null)},e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?k.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,o=n.activeClass,a=void 0===o?"is-active":o,i=n.className,c=n.instanceId,s=n.orientation,l=void 0===s?"horizontal":s,u=n.tabs,d=Object(k.find)(u,{name:t}),h=c+"-"+d.name;return Object(r.createElement)("div",{className:i},Object(r.createElement)(pt,{role:"tablist",orientation:l,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},u.map(function(n){return Object(r.createElement)(An,{className:"".concat(n.className," ").concat(n.name===t?a:""),tabId:c+"-"+n.name,"aria-controls":c+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(k.partial)(e.handleClick,n.name)},n.title)})),d&&Object(r.createElement)("div",{"aria-labelledby":h,role:"tabpanel",id:h+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(d)))}}]),t}(r.Component),Vn=Object(w.withInstanceId)(Fn);var Bn=Object(w.withInstanceId)(function(e){var t=e.label,n=e.value,o=e.help,a=e.instanceId,i=e.onChange,c=e.rows,s=void 0===c?4:c,l=e.className,u=Object(E.a)(e,["label","value","help","instanceId","onChange","rows","className"]),d="inspector-textarea-control-".concat(a);return Object(r.createElement)(ye,{label:t,id:d,help:o,className:l},Object(r.createElement)("textarea",Object(j.a)({className:"components-textarea-control__input",id:d,rows:s,onChange:function(e){return i(e.target.value)},"aria-describedby":o?d+"__help":void 0,value:n},u)))}),Kn=function(e){function t(){var e;return Object(h.a)(this,t),(e=Object(f.a)(this,Object(p.a)(t).apply(this,arguments))).onChange=e.onChange.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(t,e),Object(b.a)(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,o=n.label,a=n.checked,i=n.help,c=n.instanceId,s="inspector-toggle-control-".concat(c);return i&&(e=s+"__help",t=Object(k.isFunction)(i)?i(a):i),Object(r.createElement)(ye,{id:s,help:t,className:"components-toggle-control"},Object(r.createElement)(wt,{id:s,checked:a,onChange:this.onChange,"aria-describedby":e}),Object(r.createElement)("label",{htmlFor:s,className:"components-toggle-control__label"},o))}}]),t}(r.Component),Wn=Object(w.withInstanceId)(Kn),Un=function(e){return Object(r.createElement)("div",{className:e.className},e.children)};var Yn=function(e){var t=e.containerClassName,n=e.icon,o=e.title,a=e.shortcut,i=e.subscript,c=e.onClick,s=e.className,l=e.isActive,u=e.isDisabled,d=e.extraProps,h=e.children;return Object(r.createElement)(Un,{className:t},Object(r.createElement)(q,Object(j.a)({icon:n,label:o,shortcut:a,"data-subscript":i,onClick:function(e){e.stopPropagation(),c()},className:O()("components-toolbar__control",s,{"is-active":l}),"aria-pressed":l,disabled:u},d)),h)},$n=function(e){return Object(r.createElement)("div",{className:O()("components-toolbar",e.className)},e.children)};var Gn=function(e){var t=e.controls,n=void 0===t?[]:t,o=e.children,a=e.className,i=e.isCollapsed,c=e.icon,s=e.label;if(!(n&&n.length||o))return null;var l=n;return Array.isArray(l[0])||(l=[l]),i?Object(r.createElement)(vt,{icon:c,label:s,controls:l,className:O()("components-toolbar",a)}):Object(r.createElement)($n,{className:O()("components-toolbar",a)},Object(k.flatMap)(l,function(e,t){return e.map(function(e,n){return Object(r.createElement)(Yn,Object(j.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))})}),o)},qn=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(m.a)(Object(m.a)(e))),e.focusNextRegion=e.focusRegion.bind(Object(m.a)(Object(m.a)(e)),1),e.focusPreviousRegion=e.focusRegion.bind(Object(m.a)(Object(m.a)(e)),-1),e.onClick=e.onClick.bind(Object(m.a)(Object(m.a)(e))),e.state={isFocusingRegions:!1},e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=Object(y.a)(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],o=t.indexOf(document.activeElement);if(-1!==o){var r=o+e;n=t[r=(r=-1===r?t.length-1:r)===t.length?0:r]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t=O()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(r.createElement)("div",{ref:this.bindContainer,className:t,onClick:this.onClick},Object(r.createElement)(Te,{bindGlobal:!0,shortcuts:{"ctrl+`":this.focusNextRegion,"shift+alt+n":this.focusNextRegion,"ctrl+shift+`":this.focusPreviousRegion,"shift+alt+p":this.focusPreviousRegion}}),Object(r.createElement)(e,this.props))}}]),n}(r.Component)},"navigateRegions"),Zn=function(e){return Object(w.createHigherOrderComponent)(function(t){return function(n){function o(){var e;return Object(h.a)(this,o),(e=Object(f.a)(this,Object(p.a)(o).apply(this,arguments))).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind(Object(m.a)(Object(m.a)(e))),e}return Object(v.a)(o,n),Object(b.a)(o,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var t=this.state,n=t.grabStylesCompleted,o=t.fallbackStyles;if(this.nodeRef&&!n){var r=e(this.nodeRef,this.props);Object(k.isEqual)(r,o)||this.setState({fallbackStyles:r,grabStylesCompleted:!!Object(k.every)(r)})}}},{key:"render",value:function(){var e=Object(r.createElement)(t,Object(j.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(r.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),o}(r.Component)},"withFallbackStyles")},Xn=n(23),Qn=16;function Jn(e){return Object(w.createHigherOrderComponent)(function(t){return function(n){function o(n){var r;return Object(h.a)(this,o),(r=Object(f.a)(this,Object(p.a)(o).call(this,n))).onHooksUpdated=r.onHooksUpdated.bind(Object(m.a)(Object(m.a)(r))),r.Component=Object(Xn.applyFilters)(e,t),r.namespace=Object(k.uniqueId)("core/with-filters/component-"),r.throttledForceUpdate=Object(k.debounce)(function(){r.Component=Object(Xn.applyFilters)(e,t),r.forceUpdate()},Qn),Object(Xn.addAction)("hookRemoved",r.namespace,r.onHooksUpdated),Object(Xn.addAction)("hookAdded",r.namespace,r.onHooksUpdated),r}return Object(v.a)(o,n),Object(b.a)(o,[{key:"componentWillUnmount",value:function(){this.throttledForceUpdate.cancel(),Object(Xn.removeAction)("hookRemoved",this.namespace),Object(Xn.removeAction)("hookAdded",this.namespace)}},{key:"onHooksUpdated",value:function(t){t===e&&this.throttledForceUpdate()}},{key:"render",value:function(){return Object(r.createElement)(this.Component,this.props)}}]),o}(r.Component)},"withFilters")}var eo=n(56),to=n.n(eo),no=Object(w.createHigherOrderComponent)(function(e){return function(t){function n(){var e;return Object(h.a)(this,n),(e=Object(f.a)(this,Object(p.a)(n).apply(this,arguments))).createNotice=e.createNotice.bind(Object(m.a)(Object(m.a)(e))),e.createErrorNotice=e.createErrorNotice.bind(Object(m.a)(Object(m.a)(e))),e.removeNotice=e.removeNotice.bind(Object(m.a)(Object(m.a)(e))),e.removeAllNotices=e.removeAllNotices.bind(Object(m.a)(Object(m.a)(e))),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Object(v.a)(n,t),Object(b.a)(n,[{key:"createNotice",value:function(e){var t=e.id?e:Object(o.a)({},e,{id:to()()});this.setState(function(e){return{noticeList:Object(y.a)(e.noticeList).concat([t])}})}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState(function(t){return{noticeList:t.noticeList.filter(function(t){return t.id!==e})}})}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(r.createElement)(e,Object(j.a)({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(r.createElement)(Xt,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(r.Component)});n.d(t,"Circle",function(){return a}),n.d(t,"G",function(){return i}),n.d(t,"Path",function(){return c}),n.d(t,"Polygon",function(){return s}),n.d(t,"Rect",function(){return l}),n.d(t,"SVG",function(){return u}),n.d(t,"Autocomplete",function(){return me}),n.d(t,"BaseControl",function(){return ye}),n.d(t,"Button",function(){return z}),n.d(t,"ButtonGroup",function(){return ge}),n.d(t,"CheckboxControl",function(){return Oe}),n.d(t,"ClipboardButton",function(){return De}),n.d(t,"ColorIndicator",function(){return we}),n.d(t,"ColorPalette",function(){return Be}),n.d(t,"ColorPicker",function(){return Ve}),n.d(t,"Dashicon",function(){return G}),n.d(t,"DateTimePicker",function(){return Ge}),n.d(t,"DatePicker",function(){return Ye}),n.d(t,"TimePicker",function(){return $e}),n.d(t,"Disabled",function(){return et}),n.d(t,"Draggable",function(){return nt}),n.d(t,"DropZone",function(){return ut}),n.d(t,"DropZoneProvider",function(){return st}),n.d(t,"Dropdown",function(){return Se}),n.d(t,"DropdownMenu",function(){return vt}),n.d(t,"ExternalLink",function(){return mt}),n.d(t,"FocusableIframe",function(){return Ot}),n.d(t,"FontSizePicker",function(){return _t}),n.d(t,"FormFileUpload",function(){return Dt}),n.d(t,"FormToggle",function(){return wt}),n.d(t,"FormTokenField",function(){return xt}),n.d(t,"Icon",function(){return Ht}),n.d(t,"IconButton",function(){return q}),n.d(t,"KeyboardShortcuts",function(){return Te}),n.d(t,"MenuGroup",function(){return Nt}),n.d(t,"MenuItem",function(){return Rt}),n.d(t,"MenuItemsChoice",function(){return Lt}),n.d(t,"Modal",function(){return qt}),n.d(t,"ScrollLock",function(){return Z}),n.d(t,"NavigableMenu",function(){return pt}),n.d(t,"TabbableContainer",function(){return bt}),n.d(t,"Notice",function(){return Zt}),n.d(t,"NoticeList",function(){return Xt}),n.d(t,"Panel",function(){return Jt}),n.d(t,"PanelBody",function(){return nn}),n.d(t,"PanelHeader",function(){return Qt}),n.d(t,"PanelRow",function(){return on}),n.d(t,"Placeholder",function(){return rn}),n.d(t,"Popover",function(){return de}),n.d(t,"QueryControls",function(){return un}),n.d(t,"RadioControl",function(){return dn}),n.d(t,"RangeControl",function(){return kt}),n.d(t,"ResizableBox",function(){return Pn}),n.d(t,"ResponsiveWrapper",function(){return En}),n.d(t,"SandBox",function(){return Tn}),n.d(t,"SelectControl",function(){return In}),n.d(t,"Spinner",function(){return xn}),n.d(t,"ServerSideRender",function(){return Ln}),n.d(t,"TabPanel",function(){return Vn}),n.d(t,"TextControl",function(){return Ne}),n.d(t,"TextareaControl",function(){return Bn}),n.d(t,"ToggleControl",function(){return Wn}),n.d(t,"Toolbar",function(){return Gn}),n.d(t,"ToolbarButton",function(){return Yn}),n.d(t,"Tooltip",function(){return $}),n.d(t,"TreeSelect",function(){return an}),n.d(t,"IsolatedEventContainer",function(){return X}),n.d(t,"createSlotFill",function(){return ce}),n.d(t,"Slot",function(){return oe}),n.d(t,"Fill",function(){return ie}),n.d(t,"SlotFillProvider",function(){return te}),n.d(t,"navigateRegions",function(){return qn}),n.d(t,"withConstrainedTabbing",function(){return F}),n.d(t,"withFallbackStyles",function(){return Zn}),n.d(t,"withFilters",function(){return Jn}),n.d(t,"withFocusOutside",function(){return P}),n.d(t,"withFocusReturn",function(){return A}),n.d(t,"withNotices",function(){return no}),n.d(t,"withSpokenMessages",function(){return fe})}]);