From 1210d59ed5e5ab0bd119dd8010d118a36c0b2739 Mon Sep 17 00:00:00 2001 From: Alexei Samarschi Date: Fri, 10 Nov 2023 16:35:04 +0200 Subject: [PATCH] Update blocks.build.js --- dist/blocks.build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/blocks.build.js b/dist/blocks.build.js index 36b08d6..f63fa34 100644 --- a/dist/blocks.build.js +++ b/dist/blocks.build.js @@ -1 +1 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=190)}([function(e,t){e.exports=wp.element},function(e,t,n){"use strict";var r=n(461);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});n(462),n(463),n(464)},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.components},function(e,t){e.exports=React},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=lodash},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r=n(104);e.exports=n(195)(r.isElement,!0)}else e.exports=n(198)()}).call(t,n(20))},function(e,t,n){"use strict";(function(e){function n(t,n){if("production"!==e.env.NODE_ENV&&(void 0===t||null===t))throw new Error("Expected '".concat(n,"' to be defined, but received ").concat(t))}t.a=n}).call(t,n(20))},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(40);e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=l(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function s(e,t){return f(e)||p(e,t)||l(e,t)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:x.default;return window[t]&&r(window[t])?Promise.resolve(window[t]):new Promise(function(r,i){if(M[e])return void M[e].push({resolve:r,reject:i});M[e]=[{resolve:r,reject:i}];var a=function(t){M[e].forEach(function(e){return e.resolve(t)})};if(n){var s=window[n];window[n]=function(){s&&s(),a(window[t])}}o(e,function(r){r?(M[e].forEach(function(e){return e.reject(r)}),M[e]=null):n||a(window[t])})})}function w(e,t,n){var r,o=(0,S.default)(t.config,e.config),s=a(T.DEPRECATED_CONFIG_PROPS);try{for(s.s();!(r=s.n()).done;){var c=r.value;if(e[c]){var l=c.replace(/Config$/,"");if(o=(0,S.default)(o,i({},l,e[c])),n){var u="ReactPlayer: %c".concat(c," %cis deprecated, please use the config prop instead \u2013 ").concat("https://github.com/CookPete/react-player#config-prop");console.warn(u,"font-weight: bold","")}}}}catch(e){s.e(e)}finally{s.f()}return o}function _(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1?r-1:0),i=1;i]+src="([^">]+)"/gm,n=[],r=void 0,o=0;null!==(r=t.exec(e));)r.index===t.lastIndex&&t.lastIndex++,r.forEach(function(e,t){1===t&&(n[o]=e)}),o++;return!!n.length&&n}function i(e){return!Object(s.includes)(e,"\\u003c")&&Object(s.includes)(e,"u003c")&&(e=Object(s.replace)(e,/u003c/g,"<")),!Object(s.includes)(e,"\\u003e")&&Object(s.includes)(e,"u003e")&&(e=Object(s.replace)(e,/u003e/g,">")),!Object(s.includes)(e,"\\u0022")&&Object(s.includes)(e,"u0022")&&(e=Object(s.replace)(e,/u0022/g,'"')),!Object(s.includes)(e,"\\u002d")&&Object(s.includes)(e,"u002d")&&(e=Object(s.replace)(e,/u002d/g,"--")),!Object(s.includes)(e,"\\u0026")&&Object(s.includes)(e,"u0026")&&(e=Object(s.replace)(e,/u0026/g,"&")),e}function a(e){for(var t=[],n=0;n0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null}),g(d(e),"seekTo",function(t,n){if(!e.player)return null;e.player.seekTo(t,n)}),g(d(e),"ref",function(t){e.player=t}),e}b(n,t);var r=p(n);return u(n,[{key:"shouldComponentUpdate",value:function(e){return!(0,O.isEqual)(this.props,e)}},{key:"componentDidUpdate",value:function(){this.config=(0,O.getConfig)(this.props,_.defaultProps)}},{key:"render",value:function(){var t=this.config.file,n=t.forceVideo,r=t.forceAudio,o=t.forceHLS,a=t.forceDASH,c=n||r||o||a;if(!e.canPlay(this.props.url)&&!c)return null;var l=this.props,u=l.style,p=l.width,f=l.height,d=l.wrapper,h=(0,O.omit)(this.props,k,_.DEPRECATED_CONFIG_PROPS);return w.default.createElement(d,i({style:s({},u,{width:p,height:f})},h),w.default.createElement(E.default,i({},this.props,{ref:this.ref,activePlayer:e,config:this.config})))}}]),n}(w.Component),g(t,"displayName","".concat(e.displayName,"Player")),g(t,"propTypes",_.propTypes),g(t,"defaultProps",_.defaultProps),g(t,"canPlay",e.canPlay),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var w=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n(4)),_=n(60),O=n(11),E=function(e){return e&&e.__esModule?e:{default:e}}(n(94)),k=Object.keys(_.propTypes)},function(e,t,n){"use strict";function r(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return Object(o.a)(e,t);if(Array.isArray(e)&&Array.isArray(t))return Object(i.a)(e,t)}return e===t}t.a=r;var o=n(105),i=n(106)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==e?i()(e+"-"+(new Date).getTime()):i()((new Date).getTime())}t.a=r;var o=n(142),i=n.n(o)},function(e,t){e.exports=wp.blocks},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function i(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?h=d.concat(h):b=-1,h.length&&s())}function s(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(d=h,h=[];++b1)for(var n=1;n-1&&e%1==0&&e-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){"use strict";t.a={oldicon:["food","room-service","cook","chef","food-1","clock","shop","snack","recipes","shopping-basket","chef-cooking","chef-cooking-1","female-cooking"],foodicons:["apple-and-grapes-on-a-bowl","apple-cut-in-half-with-visible-seeds","apple-with-stem-and-leaf","barbacue-utensils","barbecue-grill","beer-in-glass-and-bottle","beer-pint","bowl-of-hot-soup-on-a-plate","burger-and-soda-with-straw","cabbage","cheers","cheese-with-little-cutted-triangular-piece","chef-with-hat","cherries-with-stem","chicken-leg","chocolate-donut-with-sprinkles","cocktail-drink-with-stirrer","coffee-jar","coffee-jar-and-filter","coffee-maker-machine","cooking-food-in-a-hot-casserole","corn-with-leaves","croissant","cucumber-cut-in-half","cupcake-dessert","dining-meal-covered","dish-cover","eggplant-rotated-to-left","fire-flames","fish-tail-bone","food-observation","food-on-a-stick","french-fries-on-container","fresh-carrot","fried-chicken-leg-on-a-plate","fried-egg","giant-pumpkin","glass-of-wine-and-bottle","grapes-and-pear-on-a-platter","grapes-with-leaf-and-stem","half-avocado","half-lemon","hamburger-with-sesame-seeds","heating-pad","horizontal-lemon","hot-bread-with-smoke","hot-coffee-on-a-tall-paper-cup","hot-dog-with-sauce-and-bread","hot-dogs-package","hot-drink-on-a-cup-button","hot-fish","hot-fish-bone","hot-kitchen-pot","hot-meal-sign","hot-pepper","hot-pot","hot-soup","ice-cream-cone","ice-cream-in-glass","icecream-cup","leaves-of-herbs","loaves-of-bread","long-cofee-pot","meat-slice","milk-jar-with-label","milk-package","noodle-soup-on-a-bowl","onion-bulb","onion-bulb-1","opened-peas","orange-with-leaf","packed-sausage","pair-of-gloves","paper-cupcake","peach-piece","preserved-in-a-bottle","restaurant-menu-card","restaurant-utensils","rice-bowl-with-chopsticks","sausage-on-a-fork","sausage-on-a-fork-1","small-mushroom","spoon-and-fork-upside-down","squid","strawberry","sushi-platter-with-chopsticks","take-away-tacos","tea-bag-with-tag","teapot-and-cup","three-balls-ice-cream-cone","three-bananas","tomato-healthy-veggie","traditional-mate","tube-glass-with-shine","two-layer-birthday-cake-with-candle","upsized-drink-with-straw","very-hot-drink-with-shine","watermelon-slice","wine-bottle-in-bucket-with-two-glasses","wine-crystal-cup"],dashicons:["menu","admin-site","dashboard","admin-post","admin-media","admin-links","admin-page","admin-comments","admin-appearance","admin-plugins","admin-users","admin-tools","admin-settings","admin-network","admin-home","admin-generic","admin-collapse","filter","admin-customizer","admin-multisite","welcome-write-blog","welcome-add-page","welcome-view-site","welcome-widgets-menus","welcome-comments","welcome-learn-more","format-aside","format-image","format-gallery","format-video","format-status","format-quote","format-chat","format-audio","camera","images-alt","images-alt2","video-alt","video-alt2","video-alt3","media-archive","media-audio","media-code","media-default","media-document","media-interactive","media-spreadsheet","media-text","media-video","playlist-audio","playlist-video","controls-play","controls-pause","controls-forward","controls-skipforward","controls-back","controls-skipback","controls-repeat","controls-volumeon","controls-volumeoff","image-crop","image-rotate","image-rotate-left","image-rotate-right","image-flip-vertical","image-flip-horizontal","image-filter","undo","redo","editor-bold","editor-italic","editor-ul","editor-ol","editor-quote","editor-alignleft","editor-aligncenter","editor-alignright","editor-insertmore","editor-spellcheck","editor-expand","editor-contract","editor-kitchensink","editor-underline","editor-justify","editor-textcolor","editor-paste-word","editor-paste-text","editor-removeformatting","editor-video","editor-customchar","editor-outdent","editor-indent","editor-help","editor-strikethrough","editor-unlink","editor-rtl","editor-break","editor-code","editor-paragraph","editor-table","align-left","align-right","align-center","align-none","lock","unlock","calendar","calendar-alt","visibility","hidden","post-status","edit","trash","sticky","external","arrow-up","arrow-down","arrow-right","arrow-left","arrow-up-alt","arrow-down-alt","arrow-right-alt","arrow-left-alt","arrow-up-alt2","arrow-down-alt2","arrow-right-alt2","arrow-left-alt2","sort","leftright","randomize","list-view","exerpt-view","grid-view","move","share","share-alt","share-alt2","twitter","rss","email","email-alt","facebook","facebook-alt","googleplus","networking","hammer","art","migrate","performance","universal-access","universal-access-alt","tickets","nametag","clipboard","heart","megaphone","schedule","wordpress","wordpress-alt","pressthis","update","screenoptions","info","cart","feedback","cloud","translation","tag","category","archive","tagcloud","text","yes","no","no-alt","plus","plus-alt","minus","dismiss","marker","star-filled","star-half","star-empty","flag","warning","location","location-alt","vault","shield","shield-alt","sos","search","slides","analytics","chart-pie","chart-bar","chart-line","chart-area","groups","businessman","id","id-alt","products","awards","forms","testimonial","portfolio","book","book-alt","download","upload","backup","clock","lightbulb","microphone","desktop","laptop","tablet","smartphone","phone","index-card","carrot","building","store","album","palmtree","tickets-alt","money","smiley","thumbs-up","thumbs-down","layout","paperclip"],genericons:["standard","aside","image","gallery","video","status","quote","link","chat","audio","github","dribbble","twitter","facebook","facebook-alt","wordpress","googleplus","googleplus-alt","linkedin","linkedin-alt","pinterest","pinterest-alt","flickr","vimeo","youtube","tumblr","instagram","codepen","polldaddy","path","skype","digg","reddit","stumbleupon","pocket","dropbox","foursquare","comment","category","tag","time","user","day","week","month","pinned","search","unzoom","zoom","show","hide","close","close-alt","trash","star","home","mail","edit","reply","feed","warning","share","attachment","location","checkmark","menu","refresh","minimize","maximize","404","spam","summary","cloud","key","dot","next","previous","expand","collapse","dropdown","dropdown-left","top","draggable","phone","send-to-phone","plugin","cloud-download","cloud-upload","external","document","book","cog","unapprove","cart","pause","stop","skip-back","skip-ahead","play","tablet","send-to-tablet","info","notice","help","fastforward","rewind","portfolio","heart","code","subscribe","unsubscribe","subscribed","reply-alt","reply-single","flag","print","lock","bold","italic","picture","fullscreen","website","ellipsis","uparrow","rightarrow","downarrow","leftarrow","xpost","hierarchy","paintbrush","sitemap","activity","anchor","bug","download","handset","microphone","minus","move","plus","rating-empty","rating-full","rating-half","shuffle","spotify","twitch","videocamera"],fa:["fas fa-address-book","fas fa-address-card","fas fa-adjust","fas fa-align-center","fas fa-align-justify","fas fa-align-left","fas fa-align-right","fas fa-allergies","fas fa-ambulance","fas fa-american-sign-language-interpreting","fas fa-anchor","fas fa-angle-double-down","fas fa-angle-double-left","fas fa-angle-double-right","fas fa-angle-double-up","fas fa-angle-down","fas fa-angle-left","fas fa-angle-right","fas fa-angle-up","fas fa-archive","fas fa-arrow-alt-circle-down","fas fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-up","fas fa-arrow-circle-down","fas fa-arrow-circle-left","fas fa-arrow-circle-right","fas fa-arrow-circle-up","fas fa-arrow-down","fas fa-arrow-left","fas fa-arrow-right","fas fa-arrow-up","fas fa-arrows-alt","fas fa-arrows-alt-h","fas fa-arrows-alt-v","fas fa-assistive-listening-systems","fas fa-asterisk","fas fa-at","fas fa-audio-description","fas fa-backward","fas fa-balance-scale","fas fa-ban","fas fa-band-aid","fas fa-barcode","fas fa-bars","fas fa-baseball-ball","fas fa-basketball-ball","fas fa-bath","fas fa-battery-empty","fas fa-battery-full","fas fa-battery-half","fas fa-battery-quarter","fas fa-battery-three-quarters","fas fa-bed","fas fa-beer","fas fa-bell","fas fa-bell-slash","fas fa-bicycle","fas fa-binoculars","fas fa-birthday-cake","fas fa-blind","fas fa-bold","fas fa-bolt","fas fa-bomb","fas fa-book","fas fa-bookmark","fas fa-bowling-ball","fas fa-box","fas fa-box-open","fas fa-boxes","fas fa-braille","fas fa-briefcase","fas fa-briefcase-medical","fas fa-bug","fas fa-building","fas fa-bullhorn","fas fa-bullseye","fas fa-burn","fas fa-bus","fas fa-calculator","fas fa-calendar","fas fa-calendar-alt","fas fa-calendar-check","fas fa-calendar-minus","fas fa-calendar-plus","fas fa-calendar-times","fas fa-camera","fas fa-camera-retro","fas fa-capsules","fas fa-car","fas fa-caret-down","fas fa-caret-left","fas fa-caret-right","fas fa-caret-square-down","fas fa-caret-square-left","fas fa-caret-square-right","fas fa-caret-square-up","fas fa-caret-up","fas fa-cart-arrow-down","fas fa-cart-plus","fas fa-certificate","fas fa-chart-area","fas fa-chart-bar","fas fa-chart-line","fas fa-chart-pie","fas fa-check","fas fa-check-circle","fas fa-check-square","fas fa-chess","fas fa-chess-bishop","fas fa-chess-board","fas fa-chess-king","fas fa-chess-knight","fas fa-chess-pawn","fas fa-chess-queen","fas fa-chess-rook","fas fa-chevron-circle-down","fas fa-chevron-circle-left","fas fa-chevron-circle-right","fas fa-chevron-circle-up","fas fa-chevron-down","fas fa-chevron-left","fas fa-chevron-right","fas fa-chevron-up","fas fa-child","fas fa-circle","fas fa-circle-notch","fas fa-clipboard","fas fa-clipboard-check","fas fa-clipboard-list","fas fa-clock","fas fa-clone","fas fa-closed-captioning","fas fa-cloud","fas fa-cloud-download-alt","fas fa-cloud-upload-alt","fas fa-code","fas fa-code-branch","fas fa-coffee","fas fa-cog","fas fa-cogs","fas fa-columns","fas fa-comment","fas fa-comment-alt","fas fa-comment-dots","fas fa-comment-slash","fas fa-comments","fas fa-compass","fas fa-compress","fas fa-copy","fas fa-copyright","fas fa-couch","fas fa-credit-card","fas fa-crop","fas fa-crosshairs","fas fa-cube","fas fa-cubes","fas fa-cut","fas fa-database","fas fa-deaf","fas fa-desktop","fas fa-diagnoses","fas fa-dna","fas fa-dollar-sign","fas fa-dolly","fas fa-dolly-flatbed","fas fa-donate","fas fa-dot-circle","fas fa-dove","fas fa-download","fas fa-edit","fas fa-eject","fas fa-ellipsis-h","fas fa-ellipsis-v","fas fa-envelope","fas fa-envelope-open","fas fa-envelope-square","fas fa-eraser","fas fa-euro-sign","fas fa-exchange-alt","fas fa-exclamation","fas fa-exclamation-circle","fas fa-exclamation-triangle","fas fa-expand","fas fa-expand-arrows-alt","fas fa-external-link-alt","fas fa-external-link-square-alt","fas fa-eye","fas fa-eye-dropper","fas fa-eye-slash","fas fa-fast-backward","fas fa-fast-forward","fas fa-fax","fas fa-female","fas fa-fighter-jet","fas fa-file","fas fa-file-alt","fas fa-file-archive","fas fa-file-audio","fas fa-file-code","fas fa-file-excel","fas fa-file-image","fas fa-file-medical","fas fa-file-medical-alt","fas fa-file-pdf","fas fa-file-powerpoint","fas fa-file-video","fas fa-file-word","fas fa-film","fas fa-filter","fas fa-fire","fas fa-fire-extinguisher","fas fa-first-aid","fas fa-flag","fas fa-flag-checkered","fas fa-flask","fas fa-folder","fas fa-folder-open","fas fa-font","fas fa-football-ball","fas fa-forward","fas fa-frown","fas fa-futbol","fas fa-gamepad","fas fa-gavel","fas fa-gem","fas fa-genderless","fas fa-gift","fas fa-glass-martini","fas fa-globe","fas fa-golf-ball","fas fa-graduation-cap","fas fa-h-square","fas fa-hand-holding","fas fa-hand-holding-heart","fas fa-hand-holding-usd","fas fa-hand-lizard","fas fa-hand-paper","fas fa-hand-peace","fas fa-hand-point-down","fas fa-hand-point-left","fas fa-hand-point-right","fas fa-hand-point-up","fas fa-hand-pointer","fas fa-hand-rock","fas fa-hand-scissors","fas fa-hand-spock","fas fa-hands","fas fa-hands-helping","fas fa-handshake","fas fa-hashtag","fas fa-hdd","fas fa-heading","fas fa-headphones","fas fa-heart","fas fa-heartbeat","fas fa-history","fas fa-hockey-puck","fas fa-home","fas fa-hospital","fas fa-hospital-alt","fas fa-hospital-symbol","fas fa-hourglass","fas fa-hourglass-end","fas fa-hourglass-half","fas fa-hourglass-start","fas fa-i-cursor","fas fa-id-badge","fas fa-id-card","fas fa-id-card-alt","fas fa-image","fas fa-images","fas fa-inbox","fas fa-indent","fas fa-industry","fas fa-info","fas fa-info-circle","fas fa-italic","fas fa-key","fas fa-keyboard","fas fa-language","fas fa-laptop","fas fa-leaf","fas fa-lemon","fas fa-level-down-alt","fas fa-level-up-alt","fas fa-life-ring","fas fa-lightbulb","fas fa-link","fas fa-lira-sign","fas fa-list","fas fa-list-alt","fas fa-list-ol","fas fa-list-ul","fas fa-location-arrow","fas fa-lock","fas fa-lock-open","fas fa-long-arrow-alt-down","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-up","fas fa-low-vision","fas fa-magic","fas fa-magnet","fas fa-male","fas fa-map","fas fa-map-marker","fas fa-map-marker-alt","fas fa-map-pin","fas fa-map-signs","fas fa-mars","fas fa-mars-double","fas fa-mars-stroke","fas fa-mars-stroke-h","fas fa-mars-stroke-v","fas fa-medkit","fas fa-meh","fas fa-mercury","fas fa-microchip","fas fa-microphone","fas fa-microphone-slash","fas fa-minus","fas fa-minus-circle","fas fa-minus-square","fas fa-mobile","fas fa-mobile-alt","fas fa-money-bill-alt","fas fa-moon","fas fa-motorcycle","fas fa-mouse-pointer","fas fa-music","fas fa-neuter","fas fa-newspaper","fas fa-notes-medical","fas fa-object-group","fas fa-object-ungroup","fas fa-outdent","fas fa-paint-brush","fas fa-pallet","fas fa-paper-plane","fas fa-paperclip","fas fa-parachute-box","fas fa-paragraph","fas fa-paste","fas fa-pause","fas fa-pause-circle","fas fa-paw","fas fa-pen-square","fas fa-pencil-alt","fas fa-people-carry","fas fa-percent","fas fa-phone","fas fa-phone-slash","fas fa-phone-square","fas fa-phone-volume","fas fa-piggy-bank","fas fa-pills","fas fa-plane","fas fa-play","fas fa-play-circle","fas fa-plug","fas fa-plus","fas fa-plus-circle","fas fa-plus-square","fas fa-podcast","fas fa-poo","fas fa-pound-sign","fas fa-power-off","fas fa-prescription-bottle","fas fa-prescription-bottle-alt","fas fa-print","fas fa-procedures","fas fa-puzzle-piece","fas fa-qrcode","fas fa-question","fas fa-question-circle","fas fa-quidditch","fas fa-quote-left","fas fa-quote-right","fas fa-random","fas fa-recycle","fas fa-redo","fas fa-redo-alt","fas fa-registered","fas fa-reply","fas fa-reply-all","fas fa-retweet","fas fa-ribbon","fas fa-road","fas fa-rocket","fas fa-rss","fas fa-rss-square","fas fa-ruble-sign","fas fa-rupee-sign","fas fa-save","fas fa-search","fas fa-search-minus","fas fa-search-plus","fas fa-seedling","fas fa-server","fas fa-share","fas fa-share-alt","fas fa-share-alt-square","fas fa-share-square","fas fa-shekel-sign","fas fa-shield-alt","fas fa-ship","fas fa-shipping-fast","fas fa-shopping-bag","fas fa-shopping-basket","fas fa-shopping-cart","fas fa-shower","fas fa-sign","fas fa-sign-in-alt","fas fa-sign-language","fas fa-sign-out-alt","fas fa-signal","fas fa-sitemap","fas fa-sliders-h","fas fa-smile","fas fa-smoking","fas fa-snowflake","fas fa-sort","fas fa-sort-alpha-down","fas fa-sort-alpha-up","fas fa-sort-amount-down","fas fa-sort-amount-up","fas fa-sort-down","fas fa-sort-numeric-down","fas fa-sort-numeric-up","fas fa-sort-up","fas fa-space-shuttle","fas fa-spinner","fas fa-square","fas fa-square-full","fas fa-star","fas fa-star-half","fas fa-step-backward","fas fa-step-forward","fas fa-stethoscope","fas fa-sticky-note","fas fa-stop","fas fa-stop-circle","fas fa-stopwatch","fas fa-street-view","fas fa-strikethrough","fas fa-subscript","fas fa-subway","fas fa-suitcase","fas fa-sun","fas fa-superscript","fas fa-sync","fas fa-sync-alt","fas fa-syringe","fas fa-table","fas fa-table-tennis","fas fa-tablet","fas fa-tablet-alt","fas fa-tablets","fas fa-tachometer-alt","fas fa-tag","fas fa-tags","fas fa-tape","fas fa-tasks","fas fa-taxi","fas fa-terminal","fas fa-text-height","fas fa-text-width","fas fa-th","fas fa-th-large","fas fa-th-list","fas fa-thermometer","fas fa-thermometer-empty","fas fa-thermometer-full","fas fa-thermometer-half","fas fa-thermometer-quarter","fas fa-thermometer-three-quarters","fas fa-thumbs-down","fas fa-thumbs-up","fas fa-thumbtack","fas fa-ticket-alt","fas fa-times","fas fa-times-circle","fas fa-tint","fas fa-toggle-off","fas fa-toggle-on","fas fa-trademark","fas fa-train","fas fa-transgender","fas fa-transgender-alt","fas fa-trash","fas fa-trash-alt","fas fa-tree","fas fa-trophy","fas fa-truck","fas fa-truck-loading","fas fa-truck-moving","fas fa-tty","fas fa-tv","fas fa-umbrella","fas fa-underline","fas fa-undo","fas fa-undo-alt","fas fa-universal-access","fas fa-university","fas fa-unlink","fas fa-unlock","fas fa-unlock-alt","fas fa-upload","fas fa-user","fas fa-user-circle","fas fa-user-md","fas fa-user-plus","fas fa-user-secret","fas fa-user-times","fas fa-users","fas fa-utensil-spoon","fas fa-utensils","fas fa-venus","fas fa-venus-double","fas fa-venus-mars","fas fa-vial","fas fa-vials","fas fa-video","fas fa-video-slash","fas fa-volleyball-ball","fas fa-volume-down","fas fa-volume-off","fas fa-volume-up","fas fa-warehouse","fas fa-weight","fas fa-wheelchair","fas fa-wifi","fas fa-window-close","fas fa-window-maximize","fas fa-window-minimize","fas fa-window-restore","fas fa-wine-glass","fas fa-won-sign","fas fa-wrench","fas fa-x-ray","fas fa-yen-sign","far fa-address-book","far fa-address-card","far fa-arrow-alt-circle-down","far fa-arrow-alt-circle-left","far fa-arrow-alt-circle-right","far fa-arrow-alt-circle-up","far fa-bell","far fa-bell-slash","far fa-bookmark","far fa-building","far fa-calendar","far fa-calendar-alt","far fa-calendar-check","far fa-calendar-minus","far fa-calendar-plus","far fa-calendar-times","far fa-caret-square-down","far fa-caret-square-left","far fa-caret-square-right","far fa-caret-square-up","far fa-chart-bar","far fa-check-circle","far fa-check-square","far fa-circle","far fa-clipboard","far fa-clock","far fa-clone","far fa-closed-captioning","far fa-comment","far fa-comment-alt","far fa-comments","far fa-compass","far fa-copy","far fa-copyright","far fa-credit-card","far fa-dot-circle","far fa-edit","far fa-envelope","far fa-envelope-open","far fa-eye-slash","far fa-file","far fa-file-alt","far fa-file-archive","far fa-file-audio","far fa-file-code","far fa-file-excel","far fa-file-image","far fa-file-pdf","far fa-file-powerpoint","far fa-file-video","far fa-file-word","far fa-flag","far fa-folder","far fa-folder-open","far fa-frown","far fa-futbol","far fa-gem","far fa-hand-lizard","far fa-hand-paper","far fa-hand-peace","far fa-hand-point-down","far fa-hand-point-left","far fa-hand-point-right","far fa-hand-point-up","far fa-hand-pointer","far fa-hand-rock","far fa-hand-scissors","far fa-hand-spock","far fa-handshake","far fa-hdd","far fa-heart","far fa-hospital","far fa-hourglass","far fa-id-badge","far fa-id-card","far fa-image","far fa-images","far fa-keyboard","far fa-lemon","far fa-life-ring","far fa-lightbulb","far fa-list-alt","far fa-map","far fa-meh","far fa-minus-square","far fa-money-bill-alt","far fa-moon","far fa-newspaper","far fa-object-group","far fa-object-ungroup","far fa-paper-plane","far fa-pause-circle","far fa-play-circle","far fa-plus-square","far fa-question-circle","far fa-registered","far fa-save","far fa-share-square","far fa-smile","far fa-snowflake","far fa-square","far fa-star","far fa-star-half","far fa-sticky-note","far fa-stop-circle","far fa-sun","far fa-thumbs-down","far fa-thumbs-up","far fa-times-circle","far fa-trash-alt","far fa-user","far fa-user-circle","far fa-window-close","far fa-window-maximize","far fa-window-minimize","far fa-window-restore"]}},function(e,t,n){"use strict";function r(e){return Object(o.a)(e)||Object(i.a)(e)||Object(a.a)(e)||Object(s.a)()}t.a=r;var o=n(248),i=n(249),a=n(125),s=n(250)},function(e,t,n){"use strict";function r(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e,n=t.startContainer,r=n.ownerDocument;if("BR"===n.nodeName){var i=n.parentNode;Object(o.a)(i,"parentNode");var a=Array.from(i.childNodes).indexOf(n);Object(o.a)(r,"ownerDocument"),e=r.createRange(),e.setStart(i,a),e.setEnd(i,a)}var s=e.getClientRects()[0];if(!s){Object(o.a)(r,"ownerDocument");var c=r.createTextNode("\u200b");e=e.cloneRange(),e.insertNode(c),s=e.getClientRects()[0],Object(o.a)(c.parentNode,"padNode.parentNode"),c.parentNode.removeChild(c)}return s}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e){Object(o.a)(e.defaultView,"doc.defaultView");var t=e.defaultView.getSelection();Object(o.a)(t,"selection");var n=t.rangeCount?t.getRangeAt(0):null;return!!n&&!n.collapsed}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e){var t=["button","checkbox","hidden","file","radio","image","range","reset","submit","number"];return Object(o.a)(e)&&e.type&&!t.includes(e.type)||"TEXTAREA"===e.nodeName||"true"===e.contentEditable}t.a=r;var o=n(128)},function(e,t,n){"use strict";function r(e){return Object(o.a)(e)&&"number"===e.type&&!!e.valueAsNumber}t.a=r;var o=n(128)},function(e,t,n){"use strict";function r(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}t.a=r},function(e,t,n){"use strict";function r(e,t,n,r){var a=r.style.zIndex,s=r.style.position,c=Object(i.a)(r),l=c.position;"static"===(void 0===l?"static":l)&&(r.style.position="relative"),r.style.zIndex="10000";var u=Object(o.a)(e,t,n);return r.style.zIndex=a,r.style.position=s,u}t.a=r;var o=n(264),i=n(56)},function(e,t,n){"use strict";function r(e,t){Object(o.a)(t.parentNode,"referenceNode.parentNode"),t.parentNode.insertBefore(e,t.nextSibling)}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e){Object(o.a)(e.parentNode,"node.parentNode"),e.parentNode.removeChild(e)}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e,t){var n=Object(o.useRef)();return Object(o.useCallback)(function(t){t?n.current=e(t):n.current&&n.current()},t)}t.a=r;var o=n(0);n.n(o)},function(e,t,n){"use strict";function r(e){var t=Object(i.useState)(function(){return!(!e||"undefined"===typeof window||!window.matchMedia(e).matches)}),n=Object(o.a)(t,2),r=n[0],a=n[1];return Object(i.useEffect)(function(){if(e){var t=function(){return a(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}},[e]),e&&r}t.a=r;var o=n(26),i=n(0);n.n(i)},function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n(72),i=n(91),a=n(380),s=n(10);e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):c(e)}var o=n(349),i=n(376),a=n(50),s=n(10),c=n(377);e.exports=r},function(e,t,n){function r(e){if(null==e)return!0;if(c(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||p(e)||a(e)))return!e.length;var t=i(e);if(t==f||t==d)return!e.size;if(u(e))return!o(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var o=n(116),i=n(154),a=n(48),s=n(10),c=n(29),l=n(75),u=n(117),p=n(76),f="[object Map]",d="[object Set]",h=Object.prototype,m=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function o(e){"@babel/helpers - typeof";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 i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction \u2013\xa0duration not yet available")}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?v.default.createElement(e,i({},this.props,{ref:this.ref,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}]),t}(v.Component);t.default=w,b(w,"displayName","Player"),b(w,"propTypes",g.propTypes),b(w,"defaultProps",g.defaultProps)},function(e,t,n){"use strict";function r(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function o(e){"@babel/helpers - typeof";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 i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function o(e,t){if(e){if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=t.since,r=t.version,a=t.alternative,s=t.plugin,c=t.link,l=t.hint,u=s?" from ".concat(s):"",p=n?" since version ".concat(n):"",f=r?" and will be removed".concat(u," in version ").concat(r):"",d=a?" Please use ".concat(a," instead."):"",h=c?" See: ".concat(c):"",m=l?" Note: ".concat(l):"",b="".concat(e," is deprecated").concat(p).concat(f,".").concat(d).concat(h).concat(m);b in i||(Object(o.doAction)("deprecated",e,t,b),console.warn(b),i[b]=!0)}t.a=r;var o=n(243),i=(n.n(o),Object.create(null))},function(e,t,n){"use strict";function r(e){var t=a.get(e)||0;return a.set(e,t+1),t}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(i.useMemo)(function(){if(n)return n;var o=r(e);return t?"".concat(t,"-").concat(o):o},[e])}t.a=o;var i=n(0),a=(n.n(i),new WeakMap)},function(e,t,n){"use strict";function r(){return Object(a.useCallback)(function(e){e&&e.addEventListener("keydown",function(t){if(t.keyCode===o.b){var n=i.a.tabbable.find(e);if(n.length){var r=n[0],a=n[n.length-1];t.shiftKey&&t.target===r?(t.preventDefault(),a.focus()):t.shiftKey||t.target!==a?n.includes(t.target)||(t.preventDefault(),r.focus()):(t.preventDefault(),r.focus())}}})},[])}var o=n(123),i=n(126),a=n(0);n.n(a);t.a=r},function(e,t,n){"use strict";function r(e){return[p,f,d,h].filter(function(t){return e["".concat(t,"Key")]})}n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var o=n(30),i=n(79),a=n(6),s=(n.n(a),n(2)),c=(n.n(s),n(251)),l=9,u=27,p="alt",f="ctrl",d="meta",h="shift",m={primary:function(e){return e()?[d]:[f]},primaryShift:function(e){return e()?[h,d]:[f,h]},primaryAlt:function(e){return e()?[p,d]:[f,p]},secondary:function(e){return e()?[h,p,d]:[f,h,p]},access:function(e){return e()?[f,p]:[h,p]},ctrl:function(){return[f]},alt:function(){return[p]},ctrlShift:function(){return[f,h]},shift:function(){return[h]},shiftAlt:function(){return[h,p]}},b=(Object(a.mapValues)(m,function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a;return[].concat(Object(i.a)(e(n)),[t.toLowerCase()]).join("+")}}),Object(a.mapValues)(m,function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a,s=r(),l=(n={},Object(o.a)(n,p,s?"\u2325":"Alt"),Object(o.a)(n,f,s?"\u2303":"Ctrl"),Object(o.a)(n,d,"\u2318"),Object(o.a)(n,h,s?"\u21e7":"Shift"),n),u=e(r).reduce(function(e,t){var n=Object(a.get)(l,t,t);return s?[].concat(Object(i.a)(e),[n]):[].concat(Object(i.a)(e),[n,"+"])},[]),m=Object(a.capitalize)(t);return[].concat(Object(i.a)(u),[m])}}));Object(a.mapValues)(b,function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a;return e(t,n).join("")}}),Object(a.mapValues)(m,function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a,l=r(),u=(n={},Object(o.a)(n,h,"Shift"),Object(o.a)(n,d,l?"Command":"Control"),Object(o.a)(n,f,"Control"),Object(o.a)(n,p,l?"Option":"Alt"),Object(o.a)(n,",",Object(s.__)("Comma")),Object(o.a)(n,".",Object(s.__)("Period")),Object(o.a)(n,"`",Object(s.__)("Backtick")),n);return[].concat(Object(i.a)(e(r)),[t]).map(function(e){return Object(a.capitalize)(Object(a.get)(u,e,e))}).join(l?" ":" + ")}}),Object(a.mapValues)(m,function(e){return function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.a,i=e(o),s=r(t);return!Object(a.xor)(i,s).length&&(n?t.key===n:Object(a.includes)(i,t.key.toLowerCase()))}})},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||e.offsetHeight>0||e.getClientRects().length>0}function o(e){return"iframe"===e.nodeName.toLowerCase()&&"-1"===e.getAttribute("tabindex")}function i(e){var t=e.closest("map[name]");if(!t)return!1;var n=e.ownerDocument.querySelector('img[usemap="#'+t.name+'"]');return!!n&&r(n)}function a(e){var t=e.querySelectorAll(s);return Array.from(t).filter(function(e){return!(!r(e)||o(e))&&("AREA"!==e.nodeName||i(e))})}Object.defineProperty(t,"__esModule",{value:!0}),t.find=a;var s=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",")},function(e,t,n){"use strict";function r(e){return!!e&&"INPUT"===e.nodeName}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Object(u.a)(e))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=e.ownerDocument,p=r.defaultView;Object(l.a)(p,"defaultView");var f=p.getSelection();if(!f||!f.rangeCount)return!1;var d=f.getRangeAt(0),h=d.cloneRange(),m=Object(s.a)(f),b=f.isCollapsed;b||h.collapse(!m);var v=Object(a.a)(h),g=Object(a.a)(d);if(!v||!g)return!1;var y=Object(i.a)(d);if(!b&&y&&y>v.height&&m===t)return!1;var w=Object(o.a)(e),_=w.direction,O="rtl"===_?!t:t,E=e.getBoundingClientRect(),k=O?E.left+1:E.right-1,j=t?E.top+1:E.bottom-1,C=Object(c.a)(r,k,j,e);if(!C)return!1;var x=Object(a.a)(C);if(!x)return!1;var S=t?"top":"bottom",T=O?"left":"right",P=x[S]-g[S],z=x[T]-v[T],R=Math.abs(P)<=1,A=Math.abs(z)<=1;return n?R:R&&A}t.a=r;var o=n(56),i=n(262),a=n(80),s=n(263),c=n(85),l=n(8),u=n(84)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e){if(e.focus(),Object(a.a)(e)){if("number"!==typeof e.selectionStart)return;return void(t?(e.selectionStart=e.value.length,e.selectionEnd=e.value.length):(e.selectionStart=0,e.selectionEnd=0))}if(e.isContentEditable){var s=e.ownerDocument,c=e.getBoundingClientRect(),l=t?c.right-1:c.left+1,u=t?c.bottom-1:c.top+1,p=Object(i.a)(s,l,u,e);if(!p||!p.startContainer||!e.contains(p.startContainer)){if(!n)return;return n=!1,e.scrollIntoView(t),void r(e,t,n)}var f=s.defaultView;Object(o.a)(f,"defaultView");var d=f.getSelection();Object(o.a)(d,"selection"),d.removeAllRanges(),d.addRange(p)}}}t.a=r;var o=n(8),i=n(85),a=n(84)},function(e,t,n){"use strict";function r(e){var t=e.parentNode;for(Object(o.a)(t,"node.parentNode");e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e){switch(e.nodeType){case e.TEXT_NODE:return/^[ \f\n\r\t\v\u00a0]*$/.test(e.nodeValue||"");case e.ELEMENT_NODE:return!e.hasAttributes()&&(!e.hasChildNodes()||Array.from(e.childNodes).every(r));default:return!0}}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t0&&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:"createFakeElement",value:function(){var e="rtl"===document.documentElement.getAttribute("dir");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[e?"right":"left"]="-9999px";var t=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(t,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var e=this,t=this.createFakeElement();this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(t),this.selectedText=k()(t),this.copyText(),this.removeFake()}},{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=k()(this.target),this.copyText()}},{key:"copyText",value:function(){var e;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(),document.activeElement.blur(),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"!==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}(),C=j,x=function(e){function t(e,r){var o;return c(this,t),o=n.call(this),o.resolveOptions(r),o.listenClick(e),o}p(t,e);var n=d(t);return u(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&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"===s(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=O()(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 C({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 g("action",e)}},{key:"defaultTarget",value:function(e){var t=g("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return g("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}(w()),S=x},828:function(e){function t(e,t){for(;e&&e.nodeType!==n;){if("function"===typeof e.matches&&e.matches(t))return e;e=e.parentNode}}var n=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=t},438:function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function o(e,t,n,o,i){return"function"===typeof e.addEventListener?r.apply(null,arguments):"function"===typeof n?r.bind(null,document).apply(null,arguments):("string"===typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return r(e,t,n,o,i)}))}function i(e,t,n,r){return function(n){n.delegateTarget=a(n.target,t),n.delegateTarget&&r.call(e,n)}}var a=n(828);e.exports=o},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"===typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return o(e,t,n);if(s.nodeList(e))return i(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function o(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function i(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return c(document.body,e,t,n)}var s=n(879),c=n(438);e.exports=r},817:function(e){function t(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 r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}e.exports=t},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){o.off(e,r),t.apply(n,arguments)}var o=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;for(r;r0&&void 0!==arguments[0]?arguments[0]:"firstElement",t=Object(o.useRef)(e);return Object(o.useEffect)(function(){t.current=e},[e]),Object(o.useCallback)(function(e){if(e&&!1!==t.current&&!e.contains(e.ownerDocument.activeElement)){var n=e;if("firstElement"===t.current){var r=i.a.tabbable.find(e)[0];r&&(n=r)}n.focus()}},[])}t.a=r;var o=n(0),i=(n.n(o),n(126))},function(e,t,n){"use strict";function r(e){var t=Object(o.useRef)(),n=Object(o.useRef)(),r=Object(o.useRef)(e);return Object(o.useEffect)(function(){r.current=e},[e]),Object(o.useCallback)(function(e){if(e){if(t.current=e,n.current)return;n.current=e.ownerDocument.activeElement}else if(n.current){var o=t.current.contains(t.current.ownerDocument.activeElement);if(t.current.isConnected&&!o)return;r.current?r.current():n.current.focus()}},[])}var o=n(0);n.n(o);t.a=r},function(e,t,n){"use strict";function r(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(i.includes)(s,e.type)}return!1}function o(e){var t=Object(a.useRef)(e);Object(a.useEffect)(function(){t.current=e},[e]);var n=Object(a.useRef)(!1),o=Object(a.useRef)(),s=Object(a.useCallback)(function(){clearTimeout(o.current)},[]);Object(a.useEffect)(function(){return function(){return s()}},[]),Object(a.useEffect)(function(){e||s()},[e,s]);var c=Object(a.useCallback)(function(e){var t=e.type,o=e.target;Object(i.includes)(["mouseup","touchend"],t)?n.current=!1:r(o)&&(n.current=!0)},[]),l=Object(a.useCallback)(function(e){e.persist(),n.current||(o.current=setTimeout(function(){if(!document.hasFocus())return void e.preventDefault();"function"===typeof t.current&&t.current(e)},0))},[]);return{onFocus:s,onMouseDown:c,onMouseUp:c,onTouchStart:c,onTouchEnd:c,onBlur:l}}t.a=o;var i=n(6),a=(n.n(i),n(0)),s=(n.n(a),["button","submit"])},function(e,t,n){"use strict";function r(e){var t=Object(o.useRef)(null),n=Object(o.useRef)(!1),r=Object(o.useRef)(e),i=Object(o.useRef)(e);return i.current=e,Object(o.useLayoutEffect)(function(){e.forEach(function(e,o){var i=r.current[o];"function"===typeof e&&e!==i&&!1===n.current&&(i(null),e(t.current))}),r.current=e},e),Object(o.useLayoutEffect)(function(){n.current=!1}),Object(o.useCallback)(function(e){t.current=e,n.current=!0,(e?i.current:r.current).forEach(function(t){"function"===typeof t?t(e):t&&t.hasOwnProperty("current")&&(t.current=e)})},[])}t.a=r;var o=n(0);n.n(o)},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),"undefined"!==typeof window?r.useLayoutEffect:r.useEffect);t.a=o},function(e,t,n){"use strict";function r(e){var t=Object(o.useRef)(void 0);return Object(o.useEffect)(function(){t.current=e},[e]),t.current}t.a=r;var o=n(0);n.n(o)},function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;nf))return!1;var h=u.get(e),m=u.get(t);if(h&&m)return h==t&&m==e;var b=-1,v=!0,g=n&c?new o:void 0;for(u.set(e,t),u.set(t,e);++bo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++re.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null}),C(_(e),"seekTo",function(t,n){if(!e.player)return null;e.player.seekTo(t,n)}),C(_(e),"handleReady",function(){e.props.onReady(_(e))}),C(_(e),"wrapperRef",function(t){e.wrapper=t}),C(_(e),"activePlayerRef",function(t){e.player=t}),e}k(t,e);var n=y(t);return g(t,[{key:"componentDidMount",value:function(){if(this.props.progressFrequency){console.warn("ReactPlayer: %cprogressFrequency%c is deprecated, please use %cprogressInterval%c instead","font-weight: bold","","font-weight: bold","")}}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,T.isEqual)(this.props,e)||!(0,T.isEqual)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;this.config=(0,T.getConfig)(this.props,S.defaultProps),!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"getActivePlayer",value:function(e){for(var t=0,n=[].concat(u(G),u(P.default));t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function g(e,t){if(e){if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e);if(!(e instanceof Array||(0,k.isMediaStream)(e)||t||n))return A.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,r=e.loop,o=e.controls,a=e.muted,s=e.config,c=e.width,l=e.height,u=this.shouldUseAudio(this.props),p=u?"audio":"video",f={width:"auto"===c?c:"100%",height:"auto"===l?l:"100%"};return E.default.createElement(p,i({ref:this.ref,src:this.getSource(t),style:f,preload:"auto",autoPlay:n||void 0,controls:o,muted:a,loop:r},s.file.attributes),t instanceof Array&&t.map(this.renderSourceElement),s.file.tracks.map(this.renderTrack))}}]),t}(E.Component);t.FilePlayer=M,b(M,"displayName","FilePlayer"),b(M,"canPlay",w),b(M,"canEnablePIP",O);var D=(0,j.default)(M);t.default=D},function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:o(e,t,n)}var o=n(157);e.exports=r},function(e,t){function n(e){return r.test(e)}var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=n},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var o=n(399),i=n(166),a=n(400);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){return i.default[e.type](e,t,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(404),i=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){function r(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(o=this._options.Tokenizer),this._tokenizer=new o(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}var o=n(170),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},a={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;n(62)(r,n(410).EventEmitter),r.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},r.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},r.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in a)for(var t;(t=this._stack[this._stack.length-1])in a[e];this.onclosetag(t));!this._options.xmlMode&&e in s||(this._stack.push(e),e in c?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},r.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in s&&this._cbs.onclosetag(this._tagname),this._tagname=""},r.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in c||e in l)&&this._foreignContext.pop(),!this._stack.length||e in s&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},r.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},r.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},r.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},r.prototype.onattribdata=function(e){this._attribvalue+=e},r.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},r.prototype._getInstructionName=function(e){var t=e.search(u),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},r.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},r.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},r.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},r.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},r.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},r.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},r.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},r.prototype.parseComplete=function(e){this.reset(),this.end(e)},r.prototype.write=function(e){this._tokenizer.write(e)},r.prototype.end=function(e){this._tokenizer.end(e)},r.prototype.pause=function(){this._tokenizer.pause()},r.prototype.resume=function(){this._tokenizer.resume()},r.prototype.parseChunk=r.prototype.write,r.prototype.done=r.prototype.end,e.exports=r},function(e,t,n){function r(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function o(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(o){o===r||o===e?this._state=t:(this._state=n,this._index--)}}function i(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=h,this._index--)}}function a(e,t){this._state=f,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=f,this._special=he,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}e.exports=a;var s=n(405),c=n(407),l=n(408),u=n(409),p=0,f=p++,d=p++,h=p++,m=p++,b=p++,v=p++,g=p++,y=p++,w=p++,_=p++,O=p++,E=p++,k=p++,j=p++,C=p++,x=p++,S=p++,T=p++,P=p++,z=p++,R=p++,A=p++,M=p++,D=p++,V=p++,N=p++,L=p++,I=p++,B=p++,F=p++,H=p++,q=p++,U=p++,G=p++,Z=p++,W=p++,K=p++,Y=p++,$=p++,X=p++,J=p++,Q=p++,ee=p++,te=p++,ne=p++,re=p++,oe=p++,ie=p++,ae=p++,se=p++,ce=p++,le=p++,ue=p++,pe=p++,fe=p++,de=0,he=de++,me=de++,be=de++;a.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=d,this._sectionStart=this._index):this._decodeEntities&&this._special===he&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=f,this._state=ce,this._sectionStart=this._index)},a.prototype._stateBeforeTagName=function(e){"/"===e?this._state=b:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==he||r(e)?this._state=f:"!"===e?(this._state=C,this._sectionStart=this._index+1):"?"===e?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?h:H,this._sectionStart=this._index)},a.prototype._stateInTagName=function(e){("/"===e||">"===e||r(e))&&(this._emitToken("onopentagname"),this._state=y,this._index--)},a.prototype._stateBeforeCloseingTagName=function(e){r(e)||(">"===e?this._state=f:this._special!==he?"s"===e||"S"===e?this._state=q:(this._state=f,this._index--):(this._state=v,this._sectionStart=this._index))},a.prototype._stateInCloseingTagName=function(e){(">"===e||r(e))&&(this._emitToken("onclosetag"),this._state=g,this._index--)},a.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=f,this._sectionStart=this._index+1)},a.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=f,this._sectionStart=this._index+1):"/"===e?this._state=m:r(e)||(this._state=w,this._sectionStart=this._index)},a.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=f,this._sectionStart=this._index+1):r(e)||(this._state=y,this._index--)},a.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||r(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=_,this._index--)},a.prototype._stateAfterAttributeName=function(e){"="===e?this._state=O:"/"===e||">"===e?(this._cbs.onattribend(),this._state=y,this._index--):r(e)||(this._cbs.onattribend(),this._state=w,this._sectionStart=this._index)},a.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=E,this._sectionStart=this._index+1):"'"===e?(this._state=k,this._sectionStart=this._index+1):r(e)||(this._state=j,this._sectionStart=this._index,this._index--)},a.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ce,this._sectionStart=this._index)},a.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ce,this._sectionStart=this._index)},a.prototype._stateInAttributeValueNoQuotes=function(e){r(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ce,this._sectionStart=this._index)},a.prototype._stateBeforeDeclaration=function(e){this._state="["===e?A:"-"===e?T:x},a.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=f,this._sectionStart=this._index+1)},a.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=f,this._sectionStart=this._index+1)},a.prototype._stateBeforeComment=function(e){"-"===e?(this._state=P,this._sectionStart=this._index+1):this._state=x},a.prototype._stateInComment=function(e){"-"===e&&(this._state=z)},a.prototype._stateAfterComment1=function(e){this._state="-"===e?R:P},a.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=f,this._sectionStart=this._index+1):"-"!==e&&(this._state=P)},a.prototype._stateBeforeCdata1=o("C",M,x),a.prototype._stateBeforeCdata2=o("D",D,x),a.prototype._stateBeforeCdata3=o("A",V,x),a.prototype._stateBeforeCdata4=o("T",N,x),a.prototype._stateBeforeCdata5=o("A",L,x),a.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=I,this._sectionStart=this._index+1):(this._state=x,this._index--)},a.prototype._stateInCdata=function(e){"]"===e&&(this._state=B)},a.prototype._stateAfterCdata1=function(e){this._state="]"===e?F:I},a.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=f,this._sectionStart=this._index+1):"]"!==e&&(this._state=I)},a.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=U:"t"===e||"T"===e?this._state=ee:(this._state=h,this._index--)},a.prototype._stateBeforeSpecialEnd=function(e){this._special!==me||"c"!==e&&"C"!==e?this._special!==be||"t"!==e&&"T"!==e?this._state=f:this._state=oe:this._state=Y},a.prototype._stateBeforeScript1=i("R",G),a.prototype._stateBeforeScript2=i("I",Z),a.prototype._stateBeforeScript3=i("P",W),a.prototype._stateBeforeScript4=i("T",K),a.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||r(e))&&(this._special=me),this._state=h,this._index--},a.prototype._stateAfterScript1=o("R",$,f),a.prototype._stateAfterScript2=o("I",X,f),a.prototype._stateAfterScript3=o("P",J,f),a.prototype._stateAfterScript4=o("T",Q,f),a.prototype._stateAfterScript5=function(e){">"===e||r(e)?(this._special=he,this._state=v,this._sectionStart=this._index-6,this._index--):this._state=f},a.prototype._stateBeforeStyle1=i("Y",te),a.prototype._stateBeforeStyle2=i("L",ne),a.prototype._stateBeforeStyle3=i("E",re),a.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||r(e))&&(this._special=be),this._state=h,this._index--},a.prototype._stateAfterStyle1=o("Y",ie,f),a.prototype._stateAfterStyle2=o("L",ae,f),a.prototype._stateAfterStyle3=o("E",se,f),a.prototype._stateAfterStyle4=function(e){">"===e||r(e)?(this._special=he,this._state=v,this._sectionStart=this._index-5,this._index--):this._state=f},a.prototype._stateBeforeEntity=o("#",le,ue),a.prototype._stateBeforeNumericEntity=o("X",fe,pe),a.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(l.hasOwnProperty(n))return this._emitPartial(l[n]),void(this._sectionStart+=t+1);t--}},a.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==f?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},a.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),o=parseInt(r,t);this._emitPartial(s(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},a.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},a.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},a.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===f?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},a.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},a.prototype._parse=function(){for(;this._index",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},function(e,t,n){"use strict";function r(e){return Object.keys(e).sort().reduce(function(t,n){return t[e[n]]="&"+n+";",t},{})}function o(e){for(var t=[],n=[],r=0,o=Object.keys(e);r1?v(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function a(e){return e.replace(g,i)}function s(e){return e.replace(f,i)}function c(e){return function(t){return t.replace(g,function(t){return e[t]||i(t)})}}var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var u=l(n(176)),p=r(u.default),f=o(p);t.encodeXML=c(p);var d=l(n(175)),h=r(d.default),m=o(h);t.encodeHTML=function(e,t){return function(n){return n.replace(t,function(t){return e[t]}).replace(b,i)}}(h,m),t.encodeNonAsciiHTML=c(h);var b=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,v=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536},g=new RegExp(f.source+"|"+b.source,"g");t.escape=a,t.escapeUTF8=s},function(e,t,n){function r(e,t){var n=this._parser=new o(e,t),r=this._decoder=new a;i.call(this,{decodeStrings:!1}),this.once("finish",function(){n.end(r.end())})}e.exports=r;var o=n(169),i=n(427).Writable,a=n(428).StringDecoder,s=n(179).Buffer;n(62)(r,i),r.prototype._write=function(e,t,n){e instanceof s&&(e=this._decoder.write(e)),this._parser.write(e),n()}},function(e,t,n){"use strict";(function(e){function r(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),i.alloc(+e)}function b(e,t){if(i.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return z(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:w(e,t,n,r,o);if("number"===typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):w(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function w(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}var l;if(o){var u=-1;for(l=n;ls&&(n=s-c),l=n;l>=0;l--){for(var p=!0,f=0;fo&&(r=o):r=o;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a239?4:i>223?3:i>191?2:1;if(o+s<=n){var c,l,u,p;switch(s){case 1:i<128&&(a=i);break;case 2:c=e[o+1],128===(192&c)&&(p=(31&i)<<6|63&c)>127&&(a=p);break;case 3:c=e[o+1],l=e[o+2],128===(192&c)&&128===(192&l)&&(p=(15&i)<<12|(63&c)<<6|63&l)>2047&&(p<55296||p>57343)&&(a=p);break;case 4:c=e[o+1],l=e[o+2],u=e[o+3],128===(192&c)&&128===(192&l)&&128===(192&u)&&(p=(15&i)<<18|(63&c)<<12|(63&l)<<6|63&u)>65535&&p<1114112&&(a=p)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=s}return T(r)}function T(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function V(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function L(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,r,o){return o||L(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,o){return o||L(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,n,r,52,8),n+8}function F(e){if(e=H(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function H(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function G(e){for(var t=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function W(e){return $.toByteArray(F(e))}function K(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Y(e){return e!==e}var $=n(430),X=n(431),J=n(432);t.Buffer=i,t.SlowBuffer=m,t.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=r(),i.poolSize=8192,i._augment=function(e){return e.__proto__=i.prototype,e},i.from=function(e,t,n){return a(null,e,t,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(e,t,n){return c(null,e,t,n)},i.allocUnsafe=function(e){return l(null,e)},i.allocUnsafeSlow=function(e){return l(null,e)},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,s=n-t,c=Math.min(a,s),l=this.slice(r,o),u=e.slice(t,n),p=0;po)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return j(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)r+=this[e+--t]*o;return r},i.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],o=1,i=0;++i=o&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),X.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),X.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),X.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),X.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){D(this,e,t,n,Math.pow(2,8*n)-1,0)}var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):V(this,e,t,!0),t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):V(this,e,t,!1),t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);D(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);D(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):V(this,e,t,!0),t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):V(this,e,t,!1),t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},i.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"===typeof e)for(a=t;a-1:!!u&&o(e,t,n)>-1}var o=n(63),i=n(29),a=n(61),s=n(57),c=n(456),l=Math.max;e.exports=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=Object(o.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}t.a=r;var o=n(459)},function(e,t,n){function r(e){var t=Math[e];return function(e,n){if(e=a(e),(n=null==n?0:l(i(n),292))&&c(e)){var r=(s(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(s(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var o=n(13),i=n(57),a=n(27),s=n(24),c=o.isFinite,l=Math.min;e.exports=r},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n(153),i=n(611),a=n(91),s=n(10);e.exports=r},function(e,t,n){"use strict";function r(e){return o.test(e)}t.a=r;var o=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i},function(e,t,n){"use strict";function r(e){var t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}t.a=r},function(e,t,n){"use strict";function r(e,t){return Object(o.a)(e)[t]}t.a=r;var o=n(66)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(191),n(306),n(335),n(344),n(346),n(348),n(638),n(646),n(653));!function(){wp.blocks.updateCategory("wpzoom-recipe-card",{icon:r.a})}()},function(e,t,n){"use strict";var r=n(2),o=(n.n(r),n(192)),i=n(299),a=n(78),s=n(18),c=n(305),l=n(19),u=(n.n(l),{title:{type:"array",selector:".details-title",source:"children",default:Object(r.__)("Details","recipe-card-blocks-by-wpzoom")},id:{type:"string"},details:{type:"array",selector:".details-items",default:[{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"food",label:Object(r.__)("Servings","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"room-service",label:Object(r.__)("Prep time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"cook",label:Object(r.__)("Cooking time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"shopping-basket",label:Object(r.__)("Calories","recipe-card-blocks-by-wpzoom")}]},columns:{type:"number",default:4},toInsert:{type:"string"},showModal:{type:"string",default:!1},activeIconSet:{type:"string",default:"oldicon"},searchIcon:{type:"string",default:""},icons:{type:"object",default:a.a},jsonTitle:{type:"string"},course:{type:"array"},cuisine:{type:"array"},keywords:{type:"array"},blocks_count:{type:"string"}});Object(l.registerBlockType)("wpzoom-recipe-card/block-details",{title:Object(r.__)("Details","recipe-card-blocks-by-wpzoom"),icon:{foreground:"#2EA55F",src:c.a},category:"wpzoom-recipe-card",supports:{multiple:!1},keywords:[Object(r.__)("details","recipe-card-blocks-by-wpzoom"),Object(r.__)("wpzoom","recipe-card-blocks-by-wpzoom"),Object(r.__)("recipe","recipe-card-blocks-by-wpzoom")],example:{attributes:{course:[Object(r.__)("Main","recipe-card-blocks-by-wpzoom")],cuisine:[Object(r.__)("Italian","recipe-card-blocks-by-wpzoom")],difficulty:[Object(r.__)("Medium","recipe-card-blocks-by-wpzoom")],details:[{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"food",label:Object(r.__)("Servings","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"room-service",label:Object(r.__)("Prep time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"cook",label:Object(r.__)("Cooking time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"shopping-basket",label:Object(r.__)("Calories","recipe-card-blocks-by-wpzoom")}]}},edit:function(e){var t=e.attributes,n=e.setAttributes,i=e.className;return t.details&&0!==t.details.length||(t.details=[{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"food",label:Object(r.__)("Servings","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"room-service",label:Object(r.__)("Prep time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"cook",label:Object(r.__)("Cooking time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"shopping-basket",label:Object(r.__)("Calories","recipe-card-blocks-by-wpzoom")}]),wp.element.createElement(o.a,{attributes:t,setAttributes:n,className:i})},save:function(){return null},deprecated:[{attributes:u,save:i.a.v1_0}]})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(199)),u=n(296),p=n(12),f=n(18),d=n(5),h=(n.n(d),n(3)),m=(n.n(h),n(0)),b=(n.n(m),n(297)),v=(n.n(b),n(298)),g=(n.n(v),Object.assign||function(e){for(var t=1;t=s.length||s[a].icon===r&&s[a].label===o&&s[a].value===i&&(s[a]=Object.assign({},s[a],{icon:e,label:t,value:n,jsonLabel:Object(p.d)(Object(m.renderToString)(t)),jsonValue:Object(p.d)(Object(m.renderToString)(n))}),this.props.setAttributes({details:s}))}},{key:"insertDetail",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=this.props.attributes.details?this.props.attributes.details.slice():[];null===e&&(e=i.length-1);for(var a=i.length-1;a>e;)this.editorRefs[a+1+":icon"]=this.editorRefs[a+":icon"],this.editorRefs[a+1+":label"]=this.editorRefs[a+":label"],this.editorRefs[a+1+":value"]=this.editorRefs[a+":value"],a--;i.splice(e+1,0,{id:Object(f.a)("detail-item"),icon:t,label:n,value:r,jsonLabel:"",jsonValue:""}),this.props.setAttributes({details:i}),o&&setTimeout(this.setFocus.bind(this,e+1+":label"))}},{key:"removeDetail",value:function(e){var t=this.props.attributes.details?this.props.attributes.details.slice():[];t.splice(e,1),this.props.setAttributes({details:t}),delete this.editorRefs[e+":icon"],delete this.editorRefs[e+":label"],delete this.editorRefs[e+":value"];for(var n=e+1;this.editorRefs[n+":icon"]||this.editorRefs[n+":label"]||this.editorRefs[n+":value"];)this.editorRefs[n-1+":icon"]=this.editorRefs[n+":icon"],this.editorRefs[n-1+":label"]=this.editorRefs[n+":label"],this.editorRefs[n-1+":value"]=this.editorRefs[n+":value"],n++;var r=t.length;delete this.editorRefs[r+":icon"],delete this.editorRefs[r+":label"],delete this.editorRefs[r+":value"];var o="title";this.editorRefs[e-1+":label"]?o=e-1+":label":this.editorRefs[e-1+":value"]&&(o=e-1+":value"),this.setFocus(o)}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddDetailButtonClick",value:function(){this.insertDetail(null,null,[],[],!0)}},{key:"setFocusToDetail",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("title")}},{key:"setTitleRef",value:function(e){this.editorRefs.title=e}},{key:"setDetailRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({title:e,jsonTitle:Object(p.d)(Object(m.renderToString)(e))})}},{key:"getDetailItems",value:function(){var e=this;if(!this.props.attributes.details)return null;var t=this.state.focus.split(":"),n=y(t,2),r=n[0],o=n[1];return this.props.attributes.details.map(function(t,n){return wp.element.createElement(l.a,g({key:t.id,item:t,index:n,editorRef:e.setDetailRef,onChange:e.changeDetail,insertDetail:e.insertDetail,removeDetail:e.removeDetail,onFocus:e.setFocusToDetail,subElement:o,isFirst:0===n,isLast:n===e.props.attributes.details.length-1,isSelected:r===""+n},e.props))})}},{key:"getAddItemButton",value:function(){return wp.element.createElement(h.Button,{icon:"insert",onClick:this.onAddDetailButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add item","recipe-card-blocks-by-wpzoom")))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.className,o=t.id,i=t.title,a=t.columns,s=[r,"col-"+a].filter(function(e){return e}).join(" "),l=["details-items"].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:s,key:o},wp.element.createElement(d.RichText,{tagName:"h3",className:"details-title",format:"string",value:i,isSelected:"title"===this.state.focus,setFocusedElement:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(c.__)("Write Details title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("div",{className:l},this.getDetailItems()),wp.element.createElement("div",{className:"detail-buttons"},this.getAddItemButton()),wp.element.createElement(u.a,{attributes:t,setAttributes:n,className:r}))}}]),t}(m.Component);t.a=_,_.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},_.defaultProps={className:""}},function(e,t,n){"use strict";function r(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case d:case h:case c:case u:case l:case b:return e;default:switch(e=e&&e.$$typeof){case f:case m:case y:case g:case p:return e;default:return t}}case s:return t}}}function o(e){return r(e)===h}var i="function"===typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,s=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,p=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.async_mode"):60111,h=i?Symbol.for("react.concurrent_mode"):60111,m=i?Symbol.for("react.forward_ref"):60112,b=i?Symbol.for("react.suspense"):60113,v=i?Symbol.for("react.suspense_list"):60120,g=i?Symbol.for("react.memo"):60115,y=i?Symbol.for("react.lazy"):60116,w=i?Symbol.for("react.block"):60121,_=i?Symbol.for("react.fundamental"):60117,O=i?Symbol.for("react.responder"):60118,E=i?Symbol.for("react.scope"):60119;t.AsyncMode=d,t.ConcurrentMode=h,t.ContextConsumer=f,t.ContextProvider=p,t.Element=a,t.ForwardRef=m,t.Fragment=c,t.Lazy=y,t.Memo=g,t.Portal=s,t.Profiler=u,t.StrictMode=l,t.Suspense=b,t.isAsyncMode=function(e){return o(e)||r(e)===d},t.isConcurrentMode=o,t.isContextConsumer=function(e){return r(e)===f},t.isContextProvider=function(e){return r(e)===p},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return r(e)===m},t.isFragment=function(e){return r(e)===c},t.isLazy=function(e){return r(e)===y},t.isMemo=function(e){return r(e)===g},t.isPortal=function(e){return r(e)===s},t.isProfiler=function(e){return r(e)===u},t.isStrictMode=function(e){return r(e)===l},t.isSuspense=function(e){return r(e)===b},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===c||e===h||e===u||e===l||e===b||e===v||"object"===typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===p||e.$$typeof===f||e.$$typeof===m||e.$$typeof===_||e.$$typeof===O||e.$$typeof===E||e.$$typeof===w)},t.typeOf=r},function(e,t,n){"use strict";(function(e){"production"!==e.env.NODE_ENV&&function(){function e(e){return"string"===typeof e||"function"===typeof e||e===y||e===j||e===_||e===w||e===x||e===S||"object"===typeof e&&null!==e&&(e.$$typeof===P||e.$$typeof===T||e.$$typeof===O||e.$$typeof===E||e.$$typeof===C||e.$$typeof===R||e.$$typeof===A||e.$$typeof===M||e.$$typeof===z)}function n(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case v:var n=e.type;switch(n){case k:case j:case y:case _:case w:case x:return n;default:var r=n&&n.$$typeof;switch(r){case E:case C:case P:case T:case O:return r;default:return t}}case g:return t}}}function r(e){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),o(e)||n(e)===k}function o(e){return n(e)===j}function i(e){return n(e)===E}function a(e){return n(e)===O}function s(e){return"object"===typeof e&&null!==e&&e.$$typeof===v}function c(e){return n(e)===C}function l(e){return n(e)===y}function u(e){return n(e)===P}function p(e){return n(e)===T}function f(e){return n(e)===g}function d(e){return n(e)===_}function h(e){return n(e)===w}function m(e){return n(e)===x}var b="function"===typeof Symbol&&Symbol.for,v=b?Symbol.for("react.element"):60103,g=b?Symbol.for("react.portal"):60106,y=b?Symbol.for("react.fragment"):60107,w=b?Symbol.for("react.strict_mode"):60108,_=b?Symbol.for("react.profiler"):60114,O=b?Symbol.for("react.provider"):60109,E=b?Symbol.for("react.context"):60110,k=b?Symbol.for("react.async_mode"):60111,j=b?Symbol.for("react.concurrent_mode"):60111,C=b?Symbol.for("react.forward_ref"):60112,x=b?Symbol.for("react.suspense"):60113,S=b?Symbol.for("react.suspense_list"):60120,T=b?Symbol.for("react.memo"):60115,P=b?Symbol.for("react.lazy"):60116,z=b?Symbol.for("react.block"):60121,R=b?Symbol.for("react.fundamental"):60117,A=b?Symbol.for("react.responder"):60118,M=b?Symbol.for("react.scope"):60119,D=k,V=j,N=E,L=O,I=v,B=C,F=y,H=P,q=T,U=g,G=_,Z=w,W=x,K=!1;t.AsyncMode=D,t.ConcurrentMode=V,t.ContextConsumer=N,t.ContextProvider=L,t.Element=I,t.ForwardRef=B,t.Fragment=F,t.Lazy=H,t.Memo=q,t.Portal=U,t.Profiler=G,t.StrictMode=Z,t.Suspense=W,t.isAsyncMode=r,t.isConcurrentMode=o,t.isContextConsumer=i,t.isContextProvider=a,t.isElement=s,t.isForwardRef=c,t.isFragment=l,t.isLazy=u,t.isMemo=p,t.isPortal=f,t.isProfiler=d,t.isStrictMode=h,t.isSuspense=m,t.isValidElementType=e,t.typeOf=n}()}).call(t,n(20))},function(e,t,n){"use strict";(function(t){function r(){return null}var o=n(104),i=n(196),a=n(67),s=n(197),c=Function.call.bind(Object.prototype.hasOwnProperty),l=function(){};"production"!==t.env.NODE_ENV&&(l=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function u(e){var t=e&&(S&&e[S]||e[T]);if("function"===typeof t)return t}function p(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function f(e){this.message=e,this.stack=""}function d(e){function r(r,s,c,u,p,d,h){if(u=u||P,d=d||c,h!==a){if(n){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==t.env.NODE_ENV&&"undefined"!==typeof console){var b=u+":"+c;!o[b]&&i<3&&(l("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),o[b]=!0,i++)}}return null==s[c]?r?new f(null===s[c]?"The "+p+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+p+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,c,u,p,d)}if("production"!==t.env.NODE_ENV)var o={},i=0;var s=r.bind(null,!1);return s.isRequired=r.bind(null,!0),s}function h(e){function t(t,n,r,o,i,a){var s=t[n];if(k(s)!==e)return new f("Invalid "+o+" `"+i+"` of type `"+j(s)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return d(t)}function m(e){function t(t,n,r,o,i){if("function"!==typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){return new f("Invalid "+o+" `"+i+"` of type `"+k(s)+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function g(e){function t(t,n,r,o,i){if("function"!==typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=k(s);if("object"!==l)return new f("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var u in s)if(c(s,u)){var p=e(s,u,r,o,i+"."+u,a);if(p instanceof Error)return p}return null}return d(t)}function y(e){function n(t,n,r,o,i){for(var s=0;s-1}var o=n(44);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(44);e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(46);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(46);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(46);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(46);e.exports=r},function(e,t,n){"use strict";function r(e){function t(e){var t={};return""===e?m.a:(u()(m.a,function(n,r){t[r]=n.filter(function(t){return f()(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1})}),t)}function n(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=e.type,i=e.target,a=w.details?w.details.slice():[];s>=a.length||(a[s]=Object.assign({},a[s],{icon:n,iconSet:t,_prefix:r}),_({details:a}),"click"===o&&i.classList.contains("wpzoom-recipe-card-icons__single-element")&&y({isOpen:!1}))}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return Object.keys(t(l)).map(function(r){return wp.element.createElement("div",{key:r,className:"wpzoom-recipe-card-icon_kit "+r+"-wrapper",style:{display:p===r?"block":"none"}},t(l)[r].map(function(t){var o=["wpzoom-recipe-card-icons__single-element",""+r,r+"-"+t].filter(function(e){return e}).join(" ");if("fa"!==r)return wp.element.createElement("span",{className:o+" "+(x===t?"icon-element-active":""),onClick:function(e){return n(e,r,t)}});var i="solid"==e?"fas":"brands"==e?"fab":"far";return-1!=t.indexOf(i)?(t=h()(t,i+" "+r+"-",""),o=["wpzoom-recipe-card-icons__single-element",i,r+"-"+t].filter(function(e){return e}).join(" "),wp.element.createElement("span",{className:o+" "+(x===t?"icon-element-active":""),onClick:function(e){return n(e,r,t,i)}})):void 0}))})}var i=e.isOpen,s=e.toInsert,l=e.searchIcon,p=e.activeIconSet,d=e.activeTab,g=e.props,y=e.setState,w=g.attributes,_=g.setAttributes,O=g.item,E=w.details,k=O.icon,j=O.iconSet,C=O._prefix;a()(j)&&(j="oldicon"),C=C||j;var x=c()(E,[s,"icon"]),S=[{label:Object(o.__)("Foodicons","recipe-card-blocks-by-wpzoom"),value:"foodicons"},{label:Object(o.__)("Dashicons","recipe-card-blocks-by-wpzoom"),value:"dashicons"},{label:Object(o.__)("Old Food icons","recipe-card-blocks-by-wpzoom"),value:"oldicon"}],T=function(e){var t="regular";"fa"==e&&(t="fas"==C?"solid":"fab"==C?"brands":"regular"),y({activeIconSet:e,activeTab:t})},P=function(){var e="regular";"fa"==g.item.iconSet&&(e="fas"==C?"solid":"fab"==C?"brands":"regular"),y({isOpen:!0,toInsert:g.index,activeIconSet:g.item.iconSet||"foodicons",activeTab:e})},z=function(e){y({activeTab:e})};return wp.element.createElement(v.Fragment,null,wp.element.createElement(b.Button,{icon:!k&&"insert",onClick:P,className:"editor-inserter__toggle",label:Object(o.__)("Add icon","recipe-card-blocks-by-wpzoom")},k&&wp.element.createElement("span",{className:C+" "+j+"-"+k})),i&&wp.element.createElement(b.Modal,{title:Object(o.__)("Modal with Icons library","recipe-card-blocks-by-wpzoom"),onRequestClose:function(){return y({isOpen:!1})}},wp.element.createElement("div",{className:"wpzoom-recipe-card-modal-form",style:{width:"720px",maxHeight:"525px"}},wp.element.createElement("div",{className:"form-group"},wp.element.createElement(b.TextControl,{label:Object(o.__)("Enter icon name","recipe-card-blocks-by-wpzoom"),value:l,onChange:function(e){return y({searchIcon:e})}}),wp.element.createElement(b.SelectControl,{label:Object(o.__)("Select Icon Kit","recipe-card-blocks-by-wpzoom"),value:p,options:S,onChange:T})),wp.element.createElement("div",{className:"modal-icons-wrapper"},"fa"==p&&wp.element.createElement(b.TabPanel,{className:"modal-icons_kit-tab-panel",activeClass:"active-tab",initialTabName:d,onSelect:z,tabs:[{name:"regular",title:Object(o.__)("Regular","recipe-card-blocks-by-wpzoom"),className:"tab-regular",content:r("regular")},{name:"solid",title:Object(o.__)("Solid","recipe-card-blocks-by-wpzoom"),className:"tab-solid",content:r("solid")}]},function(e){return e.content}),"fa"!=p&&wp.element.createElement(b.TabPanel,{className:"modal-icons_kit-tab-panel",activeClass:"active-tab",initialTabName:d,onSelect:z,tabs:[{name:"regular",title:Object(o.__)("All Icons","recipe-card-blocks-by-wpzoom"),className:"tab-regular",content:r("regular")}]},function(e){return e.content})))))}var o=n(2),i=(n.n(o),n(15)),a=n.n(i),s=n(9),c=n.n(s),l=n(73),u=n.n(l),p=n(14),f=n.n(p),d=n(119),h=n.n(d),m=n(78),b=n(3),v=(n.n(b),n(0)),g=(n.n(v),n(34));t.a=Object(g.b)({searchIcon:"",activeIconSet:"",activeTab:"regular",isOpen:!1,toInsert:0})(r)},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n0&&void 0!==arguments[0]?arguments[0]:{};return Object(h.a)(function(t){return function(n){function o(){var t;return Object(s.a)(this,o),t=i.apply(this,arguments),t.setState=t.setState.bind(Object(l.a)(t)),t.state=e,t}Object(u.a)(o,n);var i=r(o);return Object(c.a)(o,[{key:"render",value:function(){return Object(d.createElement)(t,Object(a.a)({},this.props,this.state,{setState:this.setState}))}}]),o}(d.Component)},"withState")}t.a=i;var a=n(55),s=n(35),c=n(36),l=n(53),u=n(51),p=n(52),f=n(54),d=n(0),h=(n.n(d),n(25))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return Object(o.a)(e)}t.a=r;var o=n(124)},function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e){if("undefined"===typeof window)return!1;e=window}var t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}t.a=r;var o=n(6);n.n(o)},function(e,t,n){"use strict";function r(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function o(e){return-1!==r(e)}function i(){var e={};return function(t,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return t.concat(n);var s=e.hasOwnProperty(a);if(!i&&s)return t;if(s){var c=e[a];t=Object(d.without)(t,c)}return e[a]=n,t.concat(n)}}function a(e,t){return{element:e,index:t}}function s(e){return e.element}function c(e,t){var n=r(e.element),o=r(t.element);return n===o?e.index-t.index:n-o}function l(e){return e.filter(o).map(a).sort(c).map(s).reduce(i(),[])}function u(e){return l(Object(h.find)(e))}function p(e){var t=Object(h.find)(e.ownerDocument.body),n=t.indexOf(e);return t.length=n,Object(d.last)(l(t))}function f(e){var t=Object(h.find)(e.ownerDocument.body),n=t.indexOf(e),r=t.slice(n+1).filter(function(t){return!e.contains(t)});return Object(d.first)(l(r))}Object.defineProperty(t,"__esModule",{value:!0}),t.isTabbableIndex=o,t.find=u,t.findPrevious=p,t.findNext=f;var d=n(6),h=(n.n(d),n(127))},function(e,t,n){"use strict";n(254),n(81),n(255),n(257),n(80),n(258),n(259),n(260),n(261),n(83),n(82),n(265),n(130),n(266),n(267),n(87),n(86),n(131),n(268),n(269),n(270),n(132),n(271)},function(e,t,n){"use strict";n(80),n(8)},function(e,t,n){"use strict";n(81),n(256)},function(e,t,n){"use strict";function r(e){if(!Object(o.a)(e)&&!Object(i.a)(e))return!1;try{var t=e.selectionStart,n=e.selectionEnd;return null!==t&&t!==n}catch(e){return!1}}t.a=r;var o=n(82),i=n(83)},function(e,t,n){"use strict";n(82),n(83),n(81)},function(e,t,n){"use strict";n(56)},function(e,t,n){"use strict";n(56)},function(e,t,n){"use strict";n(8),n(84)},function(e,t,n){"use strict";n(129)},function(e,t,n){"use strict";function r(e){var t=Array.from(e.getClientRects());if(t.length){var n=Math.min.apply(Math,Object(o.a)(t.map(function(e){return e.top})));return Math.max.apply(Math,Object(o.a)(t.map(function(e){return e.bottom})))-n}}t.a=r;var o=n(79)},function(e,t,n){"use strict";function r(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,i=e.focusOffset;Object(o.a)(t,"anchorNode"),Object(o.a)(n,"focusNode");var a=t.compareDocumentPosition(n);return!(a&t.DOCUMENT_POSITION_PRECEDING)&&(!!(a&t.DOCUMENT_POSITION_FOLLOWING)||(0!==a||r<=i))}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e,t,n){if(e.caretRangeFromPoint)return e.caretRangeFromPoint(t,n);if(!e.caretPositionFromPoint)return null;var r=e.caretPositionFromPoint(t,n);if(!r)return null;var o=e.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}t.a=r},function(e,t,n){"use strict";n(129)},function(e,t,n){"use strict";n(130),n(85),n(8)},function(e,t,n){"use strict";n(8),n(86),n(87)},function(e,t,n){"use strict";n(8)},function(e,t,n){"use strict";n(8)},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(272)},function(e,t,n){"use strict";function r(e,t,n,p){Array.from(e).forEach(function(e){var f,d,h=e.nodeName.toLowerCase();if(n.hasOwnProperty(h)&&(!n[h].isMatch||null!==(f=(d=n[h]).isMatch)&&void 0!==f&&f.call(d,e))){if(Object(u.a)(e)){var m=n[h],b=m.attributes,v=void 0===b?[]:b,g=m.classes,y=void 0===g?[]:g,w=m.children,_=m.require,O=void 0===_?[]:_,E=m.allowEmpty;if(w&&!E&&Object(i.a)(e))return void Object(a.a)(e);if(e.hasAttributes()&&(Array.from(e.attributes).forEach(function(t){var n=t.name;"class"===n||Object(o.includes)(v,n)||e.removeAttribute(n)}),e.classList&&e.classList.length)){var k=y.map(function(e){return"string"===typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:o.noop});Array.from(e.classList).forEach(function(t){k.some(function(e){return e(t)})||e.classList.remove(t)}),e.classList.length||e.removeAttribute("class")}if(e.hasChildNodes()){if("*"===w)return;if(w)O.length&&!e.querySelector(O.join(","))?(r(e.childNodes,t,n,p),Object(s.a)(e)):e.parentNode&&"BODY"===e.parentNode.nodeName&&Object(c.a)(e)?(r(e.childNodes,t,n,p),Array.from(e.childNodes).some(function(e){return!Object(c.a)(e)})&&Object(s.a)(e)):r(e.childNodes,t,w,p);else for(;e.firstChild;)Object(a.a)(e.firstChild)}}}else r(e.childNodes,t,n,p),p&&!Object(c.a)(e)&&e.nextElementSibling&&Object(l.a)(t.createElement("br"),e),Object(s.a)(e)})}t.a=r;var o=n(6),i=(n.n(o),n(132)),a=n(87),s=n(131),c=n(133),l=n(86),u=n(273)},function(e,t,n){"use strict";function r(e){return!!e&&e.nodeType===e.ELEMENT_NODE}t.a=r},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=(n(26),n(134)),o=(n.n(r),n(0));n.n(o),n(120)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}t.a=r},function(e,t,n){"use strict";function r(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==a.return||a.return()}finally{if(r)throw o}}return n}}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";var r=n(134),o=(n.n(r),n(0));n.n(o),n(88)},function(e,t,n){"use strict";var r=(n(30),n(0));n.n(r),n(123),n(122),n(135),n(136),n(137),n(138)},function(e,t,n){"use strict";var r=(n(26),n(0));n.n(r),n(139)},function(e,t,n){"use strict";var r=n(283),o=(n.n(r),n(284)),i=(n.n(o),n(6)),a=(n.n(i),n(0));n.n(a)},function(e,t,n){var r;!function(o,i,a){function s(e,t,n){if(e.addEventListener)return void e.addEventListener(t,n,!1);e.attachEvent("on"+t,n)}function c(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return _[e.which]?_[e.which]:O[e.which]?O[e.which]:String.fromCharCode(e.which).toLowerCase()}function l(e,t){return e.sort().join(",")===t.sort().join(",")}function u(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}function p(e){if(e.preventDefault)return void e.preventDefault();e.returnValue=!1}function f(e){if(e.stopPropagation)return void e.stopPropagation();e.cancelBubble=!0}function d(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function h(){if(!w){w={};for(var e in _)e>95&&e<112||_.hasOwnProperty(e)&&(w[_[e]]=e)}return w}function m(e,t,n){return n||(n=h()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function b(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus"),e.split("+"))}function v(e,t){var n,r,o,i=[];for(n=b(e),o=0;o1)return void h(e,s,t,r);a=v(e,r),b._callbacks[a.key]=b._callbacks[a.key]||[],n(a.key,a.modifiers,{type:a.action},o,e,i),b._callbacks[a.key][o?"unshift":"push"]({callback:t,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e})}var b=this;if(e=e||i,!(b instanceof y))return new y(e);b.target=e,b._callbacks={},b._directMap={};var g,w={},_=!1,O=!1,E=!1;b._handleKey=function(e,o,i){var a,s=n(e,o,i),c={},l=0,u=!1;for(a=0;a":".","?":"/","|":"\\"},k={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},j=1;j<20;++j)_[111+j]="f"+j;for(j=0;j<=9;++j)_[j+96]=j.toString();y.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},y.prototype.unbind=function(e,t){var n=this;return n.bind.call(n,e,function(){},t)},y.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},y.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},y.prototype.stopCallback=function(e,t){var n=this;if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(g(t,n.target))return!1;if("composedPath"in e&&"function"===typeof e.composedPath){var r=e.composedPath()[0];r!==e.target&&(t=r)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},y.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(_[t]=e[t]);w=null},y.init=function(){var e=y(i);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),o.Mousetrap=y,"undefined"!==typeof e&&e.exports&&(e.exports=y),void 0!==(r=function(){return y}.call(t,n,t,e))&&(e.exports=r)}}("undefined"!==typeof window?window:null,"undefined"!==typeof window?document:null)},function(e,t){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,i){var a=this;return!!a.paused||!t[o]&&!t[i]&&n.call(a,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o=0;e.env.FORCE_REDUCED_MOTION}).call(t,n(20))},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(89)),i={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},a={">=":"min-width","<":"max-width"},s={">=":function(e,t){return t>=e},"<":function(e,t){return t1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(r.useContext)(c),l=!n&&"(".concat(a[t],": ").concat(i[e],"px)"),u=Object(o.a)(l);return n?s[t](i[e],n):u};l.__experimentalWidthProvider=c.Provider},function(e,t,n){"use strict";var r=n(288),o=n.n(r);o.a},function(e,t,n){var r=n(4),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},i=function(e){var t=e.onResize,n=r.useRef();return function(e,t){function n(){t();var e=o();e&&e.addEventListener("resize",t)}var o=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};r.useEffect(function(){return o()?n():e.current&&e.current.addEventListener&&e.current.addEventListener("load",n),function(){var e=o();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}},[])}(n,function(){return t(n)}),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},a=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=a);var t=r.useState(e(null)),n=t[0],o=t[1],s=r.useCallback(function(t){return o(e(t.current))},[e]);return[r.useMemo(function(){return r.createElement(i,{onResize:s})},[s]),n]}},function(e,t,n){"use strict";var r=(n(26),n(79),n(0));n.n(r),n(290)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(291),o=function(){var e=[],t=new WeakMap,n=!1,o=function o(i){var a="number"===typeof i?function(){return!1}:function(){return i.timeRemaining()>0};do{if(0===e.length)return void(n=!1);var s=e.shift();t.get(s)(),t.delete(s)}while(a());Object(r.a)(o)};return{add:function(i,a){t.has(i)||e.push(i),t.set(i,a),n||(n=!0,Object(r.a)(o))},flush:function(n){if(!t.has(n))return!1;var r=e.indexOf(n);e.splice(r,1);var o=t.get(n);return t.delete(n),o(),!0},reset:function(){e=[],t=new WeakMap,n=!1}}}},function(e,t,n){"use strict";t.a=function(){return"undefined"===typeof window?function(e){setTimeout(function(){return e(Date.now())},0)}:window.requestIdleCallback||window.requestAnimationFrame}()},function(e,t,n){"use strict";n(26),n(140)},function(e,t,n){"use strict";var r=n(6),o=(n.n(r),n(141),n(0));n.n(o)},function(e,t,n){"use strict";var r=n(6),o=(n.n(r),n(141),n(0));n.n(o)},function(e,t,n){"use strict";var r=n(0);n.n(r),n(88)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),s=(n.n(a),n(9)),c=n.n(s),l=n(15),u=n.n(l),p=n(12),f=n(0),d=(n.n(f),n(5)),h=(n.n(d),n(3)),m=(n.n(h),function(){function e(e,t){for(var n=0;n4?this.props.setAttributes({columns:4}):e<2?this.props.setAttributes({columns:2}):u()(e)?this.props.setAttributes({columns:4}):void 0}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=n.id,i=n.course,s=n.cuisine,l=n.keywords,u=n.details,m=n.columns,b=[Object(a.__)("Appetizer & Snaks","recipe-card-blocks-by-wpzoom"),Object(a.__)("Breakfast & Brunch","recipe-card-blocks-by-wpzoom"),Object(a.__)("Dessert","recipe-card-blocks-by-wpzoom"),Object(a.__)("Drinks","recipe-card-blocks-by-wpzoom"),Object(a.__)("Main Course","recipe-card-blocks-by-wpzoom"),Object(a.__)("Salad","recipe-card-blocks-by-wpzoom"),Object(a.__)("Soup","recipe-card-blocks-by-wpzoom")],v=[Object(a.__)("American","recipe-card-blocks-by-wpzoom"),Object(a.__)("Chinese","recipe-card-blocks-by-wpzoom"),Object(a.__)("French","recipe-card-blocks-by-wpzoom"),Object(a.__)("Indian","recipe-card-blocks-by-wpzoom"),Object(a.__)("Italian","recipe-card-blocks-by-wpzoom"),Object(a.__)("Japanese","recipe-card-blocks-by-wpzoom"),Object(a.__)("Mediterranean","recipe-card-blocks-by-wpzoom"),Object(a.__)("Mexican","recipe-card-blocks-by-wpzoom"),Object(a.__)("Southern","recipe-card-blocks-by-wpzoom"),Object(a.__)("Thai","recipe-card-blocks-by-wpzoom"),Object(a.__)("Other world cuisine","recipe-card-blocks-by-wpzoom")],g=[];this.valuesMinMax(m);var y=function(t,n){var o=e.props.attributes.details?e.props.attributes.details.slice():[];o[n].value=t,o[n].jsonValue=Object(p.d)(Object(f.renderToString)(t)),r({details:o})};return wp.element.createElement(d.InspectorControls,{key:"inspector"},wp.element.createElement(h.PanelBody,{initialOpen:!0,title:Object(a.__)("Details Settings","recipe-card-blocks-by-wpzoom")},wp.element.createElement(h.RangeControl,{label:Object(a.__)("Number of Columns","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Default","recipe-card-blocks-by-wpzoom")+": 4",value:m,onChange:function(e){return r({columns:e})},min:2,max:4}),wp.element.createElement(h.BaseControl,{id:o+"-course",label:Object(a.__)("Course","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Type course and press Enter.","recipe-card-blocks-by-wpzoom")},wp.element.createElement(h.FormTokenField,{label:Object(a.__)("Add course","recipe-card-blocks-by-wpzoom"),value:i,suggestions:b,onChange:function(e){return r({course:e})},placeholder:Object(a.__)("Type recipe course","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(h.BaseControl,{id:o+"-cuisine",label:Object(a.__)("Cuisine","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Type cuisine and press Enter.","recipe-card-blocks-by-wpzoom")},wp.element.createElement(h.FormTokenField,{label:Object(a.__)("Add cuisine","recipe-card-blocks-by-wpzoom"),value:s,suggestions:v,onChange:function(e){return r({cuisine:e})},placeholder:Object(a.__)("Type recipe cuisine","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(h.BaseControl,{id:o+"-keywords",label:Object(a.__)("Keywords","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Hint: For multiple keywords add `,` after each keyword (ex: keyword, keyword, keyword).","recipe-card-blocks-by-wpzoom")},wp.element.createElement(h.FormTokenField,{label:Object(a.__)("Add keywords","recipe-card-blocks-by-wpzoom"),value:l,suggestions:g,onChange:function(e){return r({keywords:e})},placeholder:Object(a.__)("Type recipe keywords","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(h.TextControl,{id:o+"-yield",type:"text",label:Object(a.__)("Servings","recipe-card-blocks-by-wpzoom"),value:c()(u,[0,"value"]),onChange:function(e){return y(e,0)}}),wp.element.createElement(h.TextControl,{id:o+"-preptime",type:"text",label:Object(a.__)("Preparation time","recipe-card-blocks-by-wpzoom"),value:c()(u,[1,"value"]),onChange:function(e){return y(e,1)}}),wp.element.createElement(h.TextControl,{id:o+"-cookingtime",type:"text",label:Object(a.__)("Cooking time","recipe-card-blocks-by-wpzoom"),value:c()(u,[2,"value"]),onChange:function(e){return y(e,2)}}),wp.element.createElement(h.TextControl,{id:o+"-calories",type:"text",label:Object(a.__)("Calories","recipe-card-blocks-by-wpzoom"),value:c()(u,[3,"value"]),onChange:function(e){return y(e,3)}})))}}]),t}(f.Component);t.a=b},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(300);t.a={v1_0:r.a}},function(e,t,n){"use strict";function r(e){var t=e.attributes,n=t.title,r=t.details,i=t.columns,s=(e.className,"col-"+i);return wp.element.createElement("div",{className:s},wp.element.createElement(u.RichText.Content,{value:n,tagName:"h3",className:"details-title"}),c()(i,function(e){var t=a()(r,[e,"icon"]),n=a()(r,[e,"label"]),i=a()(r,[e,"value"]),s="detail-item detail-item-"+e;return wp.element.createElement("div",{className:s},t?wp.element.createElement("span",{className:"detail-item-icon","icon-name":t},wp.element.createElement(o.a,{icon:t})):"",!u.RichText.isEmpty(n)&&wp.element.createElement(u.RichText.Content,{value:n,tagName:"span",className:"detail-item-label"}),!u.RichText.isEmpty(i)&&wp.element.createElement(u.RichText.Content,{value:i,tagName:"p",className:"detail-item-value"}))}))}t.a=r;var o=n(301),i=n(9),a=n.n(i),s=n(302),c=n.n(s),l=n(2),u=(n.n(l),n(5));n.n(u)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(0),s=(n.n(a),function(){function e(e,t){for(var n=0;ns)return[];var n=c,r=l(e,c);t=i(t),e-=c;for(var u=o(r,t);++n0){var c=t.content;if(0===o.length){for(var l=0;l3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.steps?this.props.attributes.steps.slice():[];if(!(n>=o.length)&&o[n].text===t){o[n]=Object.assign({},o[n],{text:e,jsonText:Object(h.d)(Object(g.renderToString)(e)),isGroup:r});var i=f.a.getImageSrc(e);i&&(o[n].jsonImageSrc=i),this.props.setAttributes({steps:o})}}},{key:"insertStep",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.steps?this.props.attributes.steps.slice():[];null===e&&(e=o.length-1);for(var i=o.length-1;i>e;)this.editorRefs[i+1+":text"]=this.editorRefs[i+":text"],i--;if(o.splice(e+1,0,{id:Object(m.a)("direction-step"),text:t,jsonText:"",isGroup:r}),this.props.setAttributes({steps:o}),n)return void setTimeout(this.setFocus.bind(this,e+1+":text"));Object(l.a)(Object(c.__)("New step added","recipe-card-blocks-by-wpzoom"))}},{key:"swapSteps",value:function(e,t){var n=this.props.attributes.steps?this.props.attributes.steps.slice():[],r=n[e];n[e]=n[t],n[t]=r;var o=this.editorRefs[e+":text"];this.editorRefs[e+":text"]=this.editorRefs[t+":text"],this.editorRefs[t+":text"]=o,this.props.setAttributes({steps:n});var i=this.state.focus.split(":"),a=_(i,2),s=a[0],c=a[1];s===""+e&&this.setFocus(t+":"+c),s===""+t&&this.setFocus(e+":"+c)}},{key:"removeStep",value:function(e){var t=this.props.attributes.steps?this.props.attributes.steps.slice():[];t.splice(e,1),this.props.setAttributes({steps:t}),delete this.editorRefs[e+":text"];for(var n=e+1;this.editorRefs[n+":text"];)this.editorRefs[n-1+":text"]=this.editorRefs[n+":text"],n++;var r=t.length;delete this.editorRefs[r+":text"];var o="title";this.editorRefs[e-1+":text"]&&(o=e-1+":text"),this.setFocus(o),Object(l.a)(Object(c.__)("Step removed","recipe-card-blocks-by-wpzoom"))}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddStepButtonClick",value:function(){this.insertStep(null,[],!0)}},{key:"onAddGroupButtonClick",value:function(){var e=this.state.focus.split(":"),t=_(e,2),n=t[0];t[1];n=""!=n&&"title"!=n?p()(n):null,this.insertStep(n,[],!0,!0)}},{key:"setFocusToStep",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("title")}},{key:"setTitleRef",value:function(e){this.editorRefs.title=e}},{key:"moveStepUp",value:function(e){this.swapSteps(e,e-1)}},{key:"moveStepDown",value:function(e){this.swapSteps(e,e+1)}},{key:"setStepRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({title:e,jsonTitle:Object(h.d)(Object(g.renderToString)(e))})}},{key:"getSteps",value:function(){var e=this;if(!this.props.attributes.steps)return null;var t=this.state.focus.split(":"),n=_(t,2),r=n[0],o=n[1];return this.props.attributes.steps.map(function(t,n){return wp.element.createElement(f.a,{key:t.id,step:t,index:n,editorRef:e.setStepRef,onChange:e.changeStep,insertStep:e.insertStep,removeStep:e.removeStep,onFocus:e.setFocusToStep,subElement:o,onMoveUp:e.moveStepUp,onMoveDown:e.moveStepDown,isFirst:0===n,isLast:n===e.props.attributes.steps.length-1,isSelected:r===""+n})})}},{key:"getAddStepButton",value:function(){return wp.element.createElement("div",{className:"directions-add-buttons"},wp.element.createElement(v.Button,{icon:"insert",onClick:this.onAddStepButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add step","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(v.Button,{icon:"editor-insertmore",onClick:this.onAddGroupButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add direction group","recipe-card-blocks-by-wpzoom"))))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.className,o=t.title,i=t.id,a=t.print_visibility,s=["",r].filter(function(e){return e}).join(" "),l=["directions-list"].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:s,id:i},wp.element.createElement("div",{className:"wpzoom-recipe-card-print-link "+a},wp.element.createElement("a",{className:"btn-print-link no-print",href:"#"+i,title:Object(c.__)("Print directions...","recipe-card-blocks-by-wpzoom")},wp.element.createElement("img",{className:"icon-print-link",src:E+"dist/assets/images/printer.svg",alt:Object(c.__)("Print","recipe-card-blocks-by-wpzoom")}),Object(c.__)("Print","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(b.RichText,{tagName:"h3",className:"directions-title",format:"string",value:o,isSelected:"title"===this.state.focus,setFocusedElement:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(c.__)("Write Directions title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:l},this.getSteps()),wp.element.createElement("div",{className:"direction-buttons"},this.getAddStepButton()),wp.element.createElement(d.a,{attributes:t,setAttributes:n,className:r}))}}]),t}(g.Component);t.a=k,k.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},k.defaultProps={className:""}},function(e,t,n){"use strict";function r(e){if("undefined"!==typeof document)return"complete"===document.readyState||"interactive"===document.readyState?void e():void document.addEventListener("DOMContentLoaded",e)}t.a=r},function(e,t,n){"use strict";function r(){var e=document.createElement("p");e.id="a11y-speak-intro-text",e.className="a11y-speak-intro-text",e.textContent=Object(o.__)("Notifications"),e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("hidden","hidden");var t=document,n=t.body;return n&&n.appendChild(e),e}t.a=r;var o=n(2);n.n(o)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",t=document.createElement("div");t.id="a11y-speak-".concat(e),t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(t),t}t.a=r},function(e,t,n){"use strict";function r(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=document.getElementById("a11y-speak-intro-text"),n=0;n]+>/g," "),o===e&&(e+="\xa0"),o=e,e}t.a=r;var o=""},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(0),p=(n.n(u),n(5)),f=(n.n(p),n(3)),d=(n.n(f),n(37)),h=function(){function e(e,t){for(var n=0;n0&&n(u)?t>1?r(u,t-1,n,a,s):o(s,u):a||(s[s.length]=u)}return s}var o=n(146),i=n(325);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(33),i=n(48),a=n(10),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(327),o=n(144),i=n(50),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),s=(n.n(a),n(0)),c=(n.n(s),n(5)),l=(n.n(c),n(3)),u=(n.n(l),function(){function e(e,t){for(var n=0;n0){var c=t.content;if(0===o.length){for(var l=0;l3&&void 0!==arguments[3]&&arguments[3],i=this.props.attributes.items?this.props.attributes.items.slice():[];n>=i.length||i[n].name===t&&(i[n]=Object.assign({},i[n],{name:e,jsonName:Object(m.d)(Object(y.renderToString)(e)),isGroup:o}),this.props.setAttributes({items:[].concat(r(i))}))}},{key:"insertItem",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.props.attributes.items?this.props.attributes.items.slice():[];null===e&&(e=i.length-1);for(var a=i.length-1;a>e;)this.editorRefs[a+1+":name"]=this.editorRefs[a+":name"],a--;if(i.splice(e+1,0,{id:Object(b.a)("ingredient-item"),name:t,jsonName:"",isGroup:o}),this.props.setAttributes({items:[].concat(r(i))}),n)return void setTimeout(this.setFocus.bind(this,e+1+":name"));Object(u.a)(Object(l.__)("New ingredient added","recipe-card-blocks-by-wpzoom"))}},{key:"swapItem",value:function(e,t){var n=this.props.attributes.items?this.props.attributes.items.slice():[],o=n[e];n[e]=n[t],n[t]=o;var i=this.editorRefs[e+":name"];this.editorRefs[e+":name"]=this.editorRefs[t+":name"],this.editorRefs[t+":name"]=i,this.props.setAttributes({items:[].concat(r(n))});var a=this.state.focus.split(":"),s=O(a,2),c=s[0],l=s[1];c===""+e&&this.setFocus(t+":"+l),c===""+t&&this.setFocus(e+":"+l)}},{key:"removeItem",value:function(e){var t=this.props.attributes.items?this.props.attributes.items.slice():[];t.splice(e,1),this.props.setAttributes({items:[].concat(r(t))}),delete this.editorRefs[e+":name"];for(var n=e+1;this.editorRefs[n+":name"];)this.editorRefs[n-1+":name"]=this.editorRefs[n+":name"],n++;var o=t.length;delete this.editorRefs[o+":name"];var i="title";this.editorRefs[e-1+":name"]&&(i=e-1+":name"),this.setFocus(i),Object(u.a)(Object(l.__)("Ingredient removed","recipe-card-blocks-by-wpzoom"))}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddIngredientButtonClick",value:function(){this.insertItem(null,[],!0)}},{key:"onAddGroupButtonClick",value:function(){var e=this.state.focus.split(":"),t=O(e,2),n=t[0];t[1];this.insertItem(f()(n),[],!0,!0)}},{key:"setFocusToIngredient",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("title")}},{key:"setTitleRef",value:function(e){this.editorRefs.title=e}},{key:"moveIngredientUp",value:function(e){this.swapItem(e,e-1)}},{key:"moveIngredientDown",value:function(e){this.swapItem(e,e+1)}},{key:"setIngredientRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({title:e,jsonTitle:Object(m.d)(Object(y.renderToString)(e))})}},{key:"getItems",value:function(){var e=this;if(!this.props.attributes.items)return null;var t=this.state.focus.split(":"),n=O(t,2),r=n[0],o=n[1];return this.props.attributes.items.map(function(t,n){return wp.element.createElement(d.a,{key:t.id,item:t,index:n,editorRef:e.setIngredientRef,onChange:e.changeItem,insertItem:e.insertItem,removeItem:e.removeItem,onFocus:e.setFocusToIngredient,subElement:o,onMoveUp:e.moveIngredientUp,onMoveDown:e.moveIngredientDown,isFirst:0===n,isLast:n===e.props.attributes.items.length-1,isSelected:r===""+n})})}},{key:"getAddItemButton",value:function(){return wp.element.createElement("div",{className:"ingredients-add-buttons"},wp.element.createElement(g.Button,{icon:"insert",onClick:this.onAddIngredientButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(l.__)("Add ingredient","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(g.Button,{icon:"editor-insertmore",onClick:this.onAddGroupButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(l.__)("Add ingredient group","recipe-card-blocks-by-wpzoom"))))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.className,o=t.title,i=t.id,a=t.print_visibility,s=["",r].filter(function(e){return e}).join(" "),c=["ingredients-list"].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:s,id:i},wp.element.createElement("div",{className:"wpzoom-recipe-card-print-link "+a},wp.element.createElement("a",{className:"btn-print-link no-print",href:"#"+i,title:Object(l.__)("Print ingredients...","recipe-card-blocks-by-wpzoom")},wp.element.createElement("img",{className:"icon-print-link",src:k+"dist/assets/images/printer.svg",alt:Object(l.__)("Print","recipe-card-blocks-by-wpzoom")}),Object(l.__)("Print","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(v.RichText,{tagName:"h3",className:"ingredients-title",format:"string",value:o,isSelected:"title"===this.state.focus,setFocusedElement:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(l.__)("Write Ingredients title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:c},this.getItems()),wp.element.createElement("div",{className:"ingredient-buttons"},this.getAddItemButton()),wp.element.createElement(h.a,{attributes:t,setAttributes:n,className:r}))}}]),t}(y.Component);t.a=j,j.propTypes={attributes:c.a.object.isRequired,setAttributes:c.a.func.isRequired,className:c.a.string},j.defaultProps={className:""}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(0),p=(n.n(u),n(5)),f=(n.n(p),n(3)),d=(n.n(f),function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"";if(null===e)return e;var n=f("author"),r=null;return e.map(function(o,i){o.id===n&&(r=""!==t?c()(e,[i,t]):c()(e,[i]))}),r}(k,"name"),C=0;return C=o?c()(r,["id"])||0:E,{media:!!C&&a(C),postTitle:O,postType:g,postAuthor:j,postPermalink:y,categories:w,tags:_,imageSizes:v,maxWidth:m,isRTL:b}})])(Y)},function(e,t,n){var r=n(383),o=n(386),i=o(r);e.exports=i},function(e,t,n){function r(e,t,n){t=i(t,e),e=s(e,t);var r=null==e?e:e[c(a(t))];return null==r?void 0:o(r,e,n)}var o=n(148),i=n(32),a=n(384),s=n(385),c=n(28);e.exports=r},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){function r(e,t){return t.length<2?e:o(e,i(t,0,-1))}var o=n(40),i=n(157);e.exports=r},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(50),i=n(147),a=n(149);e.exports=r},function(e,t){function n(e,t){for(var n in t)e.setAttribute(n,t[n])}function r(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function o(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,i){var a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"===typeof t&&(i=t,t={}),t=t||{},i=i||function(){},s.type=t.type||"text/javascript",s.charset=t.charset||"utf8",s.async=!("async"in t)||!!t.async,s.src=e,t.attrs&&n(s,t.attrs),t.text&&(s.text=""+t.text),("onload"in s?r:o)(s,i),s.onload||r(s,i),a.appendChild(s)}},function(e,t,n){"use strict";function r(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||i(e)}function i(e){return e.$$typeof===g}function a(e){return Array.isArray(e)?[]:{}}function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?m(a(e),e,t):e}function c(e,t,n){return e.concat(t).map(function(e){return s(e,n)})}function l(e,t){if(!t.customMerge)return m;var n=t.customMerge(e);return"function"===typeof n?n:m}function u(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function p(e){return Object.keys(e).concat(u(e))}function f(e,t){try{return t in e}catch(e){return!1}}function d(e,t){return f(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&p(e).forEach(function(t){r[t]=s(e[t],n)}),p(t).forEach(function(o){d(e,o)||(f(e,o)&&n.isMergeableObject(t[o])?r[o]=l(o,n)(e[o],t[o],n):r[o]=s(t[o],n))}),r}function m(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||c,n.isMergeableObject=n.isMergeableObject||b,n.cloneUnlessOtherwiseSpecified=s;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):h(e,t,n):s(t,n)}var b=function(e){return r(e)&&!o(e)},v="function"===typeof Symbol&&Symbol.for,g=v?Symbol.for("react.element"):60103;m.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return m(e,n,t)},{})};var y=m;e.exports=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(93),o=n(95),i=n(96),a=n(159),s=n(160),c=n(161),l=n(162),u=n(97),p=n(163),f=n(164),d=[r.YouTube,o.SoundCloud,i.Vimeo,a.Facebook,s.Streamable,c.Wistia,l.Twitch,u.DailyMotion,p.Mixcloud,f.FilePlayer];t.default=d},function(e,t,n){"use strict";function r(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function o(e){"@babel/helpers - typeof";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 i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function i(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=l.length||l[c].icon===o&&l[c].label===i&&l[c].value===a&&l[c].unit===s&&(l[c]=Object.assign({},l[c],{icon:e,label:t,value:n,unit:r,jsonLabel:Object(p.d)(Object(f.renderToString)(t)),jsonValue:Object(p.d)(Object(f.renderToString)(n)),jsonUnit:Object(p.d)(Object(f.renderToString)(r))}),this.props.setAttributes({details:l}))}},{key:"insertDetail",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],a=this.props.attributes.details?this.props.attributes.details.slice():[];null===e&&(e=a.length-1);for(var s=a.length-1;s>e;)this.editorRefs[s+1+":icon"]=this.editorRefs[s+":icon"],this.editorRefs[s+1+":label"]=this.editorRefs[s+":label"],this.editorRefs[s+1+":value"]=this.editorRefs[s+":value"],this.editorRefs[s+1+":unit"]=this.editorRefs[s+":unit"],s--;a.splice(e+1,0,{id:this.props.generateId("detail-item"),icon:t,label:n,value:r,unit:o,jsonLabel:"",jsonValue:"",jsonUnit:""}),this.props.setAttributes({details:a}),i&&setTimeout(this.setFocus.bind(this,e+1+":label"))}},{key:"removeDetail",value:function(e){var t=this.props.attributes.details?this.props.attributes.details.slice():[];t.splice(e,1),this.props.setAttributes({details:t}),delete this.editorRefs[e+":icon"],delete this.editorRefs[e+":label"],delete this.editorRefs[e+":value"],delete this.editorRefs[e+":unit"];for(var n=e+1;this.editorRefs[n+":icon"]||this.editorRefs[n+":label"]||this.editorRefs[n+":value"];)this.editorRefs[n-1+":icon"]=this.editorRefs[n+":icon"],this.editorRefs[n-1+":label"]=this.editorRefs[n+":label"],this.editorRefs[n-1+":value"]=this.editorRefs[n+":value"],this.editorRefs[n-1+":unit"]=this.editorRefs[n+":unit"],n++;var r=t.length;delete this.editorRefs[r+":icon"],delete this.editorRefs[r+":label"],delete this.editorRefs[r+":value"],delete this.editorRefs[r+":unit"];var o="label";this.editorRefs[e-1+":label"]?o=e-1+":label":this.editorRefs[e-1+":value"]?o=e-1+":value":this.editorRefs[e-1+":unit"]&&(o=e-1+":unit"),this.setFocus(o)}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddDetailButtonClick",value:function(){this.insertDetail(null,null,[],[],[],!0)}},{key:"setFocusToDetail",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setDetailRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"getDetailItems",value:function(){var e=this,t=this.props.attributes,n=t.details,r=t.settings[0],o=r.displayServings,i=r.displayPrepTime,a=r.displayCalories,s=r.displayCookingTime,c=r.displayTotalTime;if(!n)return null;var p=this.state.focus.split(":"),f=h(p,2),m=f[0],b=f[1];return n.map(function(t,r){var p=l()(t,"id"),f=l()(t,"label");if(0===r&&o||1===r&&i||2===r&&s||8===r&&c||3===r&&a||4===r&&f||5===r&&f||6===r&&f||7===r&&f)return wp.element.createElement(u.a,d({key:p,item:t,index:r,editorRef:e.setDetailRef,onChange:e.changeDetail,insertDetail:e.insertDetail,removeDetail:e.removeDetail,onFocus:e.setFocusToDetail,subElement:b,isFirst:0===r,isLast:r===n.length-1,isSelected:m===""+r},e.props))})}},{key:"render",value:function(){var e=["recipe-card-details"].filter(function(e){return e}).join(" "),t=["details-items"].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:e},wp.element.createElement("div",{className:t},this.getDetailItems()))}}]),t}(f.Component);t.a=b,b.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},b.defaultProps={className:""}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(15),p=n.n(u),f=n(9),d=n.n(f),h=n(394),m=n(0),b=(n.n(m),n(3)),v=(n.n(b),function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=this.props.item,r=d()(n,t),o={0:{label:Object(c.__)("Servings","recipe-card-blocks-by-wpzoom"),value:4,unit:Object(c.__)("servings","recipe-card-blocks-by-wpzoom")},1:{label:Object(c.__)("Prep time","recipe-card-blocks-by-wpzoom"),value:30,unit:Object(c.__)("minutes","recipe-card-blocks-by-wpzoom")},2:{label:Object(c.__)("Cooking time","recipe-card-blocks-by-wpzoom"),value:40,unit:Object(c.__)("minutes","recipe-card-blocks-by-wpzoom")},3:{label:Object(c.__)("Calories","recipe-card-blocks-by-wpzoom"),value:300,unit:Object(c.__)("kcal","recipe-card-blocks-by-wpzoom")},8:{label:Object(c.__)("Total time","recipe-card-blocks-by-wpzoom"),value:0,unit:Object(c.__)("minutes","recipe-card-blocks-by-wpzoom")}};return p()(r)?d()(o,[e,t])||d()(o,e)||"":r}},{key:"shouldComponentUpdate",value:function(e){return!Object(l.a)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.index,n=e.item,r=n.id,o=n.icon,i=n.value;return wp.element.createElement("div",{className:"detail-item detail-item-"+t,key:r},o?wp.element.createElement("div",{className:"detail-item-icon"},this.getOpenModalButton(this.props)):wp.element.createElement("div",{className:"detail-open-modal"},this.getOpenModalButton(this.props)),wp.element.createElement("p",{className:"detail-item-label"},this.getPlaceholder(t,"label")),wp.element.createElement(b.TextControl,{instanceId:r+"-"+t+"-item-amount",type:"text",placeholder:this.getPlaceholder(t,"value"),value:i,onChange:this.onChangeValue}),wp.element.createElement("p",{className:"detail-item-unit"},this.getPlaceholder(t,"unit")))}}]),t}(m.Component);t.a=g,g.propTypes={index:s.a.number.isRequired,item:s.a.object.isRequired,onChange:s.a.func.isRequired,onFocus:s.a.func.isRequired,editorRef:s.a.func.isRequired,subElement:s.a.string.isRequired,isSelected:s.a.bool.isRequired,isFirst:s.a.bool.isRequired,isLast:s.a.bool.isRequired}},function(e,t,n){"use strict";function r(e){function t(e){var t={};return""===e?m.a:(u()(m.a,function(n,r){t[r]=n.filter(function(t){return f()(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1})}),t)}function n(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=e.type,i=e.target,a=_.details?_.details.slice():[];s>=a.length||(a[s]=Object.assign({},a[s],{icon:n,iconSet:t,_prefix:r}),O({details:a}),"click"===o&&i.classList.contains("wpzoom-recipe-card-icons__single-element")&&w({isOpen:!1}))}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return Object.keys(t(l)).map(function(r){return wp.element.createElement("div",{key:r,className:"wpzoom-recipe-card-icon_kit "+r+"-wrapper",style:{display:p===r?"block":"none"}},t(l)[r].map(function(t){var o=["wpzoom-recipe-card-icons__single-element",""+r,r+"-"+t].filter(function(e){return e}).join(" ");if("fa"!==r)return wp.element.createElement("span",{className:o+" "+(R===t?"icon-element-active":""),onClick:function(e){return n(e,r,t)}});var i="solid"==e?"fas":"brands"==e?"fab":"far";return-1!=t.indexOf(i)?(t=h()(t,i+" "+r+"-",""),o=["wpzoom-recipe-card-icons__single-element",i,r+"-"+t].filter(function(e){return e}).join(" "),wp.element.createElement("span",{className:o+" "+(R===t?"icon-element-active":""),onClick:function(e){return n(e,r,t,i)}})):void 0}))})}var i=e.isOpen,s=e.toInsert,l=e.searchIcon,p=e.activeIconSet,d=e.activeTab,y=e.props,w=e.setState,_=y.attributes,O=y.setAttributes,E=y.className,k=y.item,j=_.details,C=_.settings[0].icon_details_color,x=Object(b.a)(E),S=k.icon,T=k.iconSet,P=k._prefix;a()(T)&&(T="oldicon");var z={color:C};"newdesign"===x&&(z={color:"#FFA921"}),P=P||T;var R=c()(j,[s,"icon"]),A=[{label:Object(o.__)("Foodicons","recipe-card-blocks-by-wpzoom"),value:"foodicons"},{label:Object(o.__)("Dashicons","recipe-card-blocks-by-wpzoom"),value:"dashicons"},{label:Object(o.__)("Font Awesome 5","recipe-card-blocks-by-wpzoom"),value:"fa"},{label:Object(o.__)("Genericons","recipe-card-blocks-by-wpzoom"),value:"genericons"},{label:Object(o.__)("Old Food icons","recipe-card-blocks-by-wpzoom"),value:"oldicon"}],M=function(e){var t="regular";"fa"==e&&(t="fas"==P?"solid":"fab"==P?"brands":"regular"),w({activeIconSet:e,activeTab:t})},D=function(){var e="regular";"fa"==y.item.iconSet&&(e="fas"==P?"solid":"fab"==P?"brands":"regular"),w({isOpen:!0,toInsert:y.index,activeIconSet:y.item.iconSet||"foodicons",activeTab:e})},V=function(e){w({activeTab:e})};return wp.element.createElement(g.Fragment,null,wp.element.createElement(v.Button,{icon:!S&&"insert",onClick:D,className:"editor-inserter__toggle",label:Object(o.__)("Add icon","recipe-card-blocks-by-wpzoom")},S&&wp.element.createElement("span",{className:P+" "+T+"-"+S,style:z})),i&&wp.element.createElement(v.Modal,{title:Object(o.__)("Modal with Icons library","recipe-card-blocks-by-wpzoom"),onRequestClose:function(){return w({isOpen:!1})}},wp.element.createElement("div",{className:"wpzoom-recipe-card-modal-form",style:{width:"720px",maxHeight:"525px"}},wp.element.createElement("div",{className:"form-group"},wp.element.createElement(v.TextControl,{label:Object(o.__)("Enter icon name","recipe-card-blocks-by-wpzoom"),value:l,onChange:function(e){return w({searchIcon:e})}}),wp.element.createElement(v.SelectControl,{label:Object(o.__)("Select Icon Kit","recipe-card-blocks-by-wpzoom"),value:p,options:A,onChange:M})),wp.element.createElement("div",{className:"modal-icons-wrapper"},"fa"==p&&wp.element.createElement(v.TabPanel,{className:"modal-icons_kit-tab-panel",activeClass:"active-tab",initialTabName:d,onSelect:V,tabs:[{name:"regular",title:Object(o.__)("Regular","recipe-card-blocks-by-wpzoom"),className:"tab-regular",content:r("regular")},{name:"solid",title:Object(o.__)("Solid","recipe-card-blocks-by-wpzoom"),className:"tab-solid",content:r("solid")}]},function(e){return e.content}),"fa"!=p&&wp.element.createElement(v.TabPanel,{className:"modal-icons_kit-tab-panel",activeClass:"active-tab",initialTabName:d,onSelect:V,tabs:[{name:"regular",title:Object(o.__)("All Icons","recipe-card-blocks-by-wpzoom"),className:"tab-regular",content:r("regular")}]},function(e){return e.content})))))}var o=n(2),i=(n.n(o),n(15)),a=n.n(i),s=n(9),c=n.n(s),l=n(73),u=n.n(l),p=n(14),f=n.n(p),d=n(119),h=n.n(d),m=n(78),b=n(38),v=n(3),g=(n.n(v),n(0)),y=(n.n(g),n(34));t.a=Object(y.b)({searchIcon:"",activeIconSet:"",activeTab:"regular",isOpen:!1,toInsert:0})(r)},function(e,t,n){function r(e,t,n){return n&&"number"!=typeof n&&s(e,t,n)&&(t=n=void 0),(n=void 0===n?p:n>>>0)?(e=u(e),e&&("string"==typeof t||null!=t&&!c(t))&&!(t=o(t))&&a(e)?i(l(e),0,n):e.split(t,n)):[]}var o=n(71),i=n(165),a=n(166),s=n(396),c=n(397),l=n(167),u=n(24),p=4294967295;e.exports=r},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(45),i=n(29),a=n(49),s=n(14);e.exports=r},function(e,t,n){var r=n(398),o=n(114),i=n(115),a=i&&i.isRegExp,s=a?o(a):r;e.exports=s},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(21),i=n(22),a="[object RegExp]";e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(p)||[]}var r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",c="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",l="[\\ufe0e\\ufe0f]?"+s+c,u="(?:"+["[^\\ud800-\\udfff]"+r+"?",r,i,a,"[\\ud800-\\udfff]"].join("|")+")",p=RegExp(o+"(?="+o+")|"+u+l,"g");e.exports=n},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(58)),u=n(27),p=n.n(u),f=n(402),d=n(12),h=n(5),m=(n.n(h),n(3)),b=(n.n(m),n(0)),v=(n.n(b),Object.assign||function(e){for(var t=1;t3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.ingredients?this.props.attributes.ingredients.slice():[];n>=o.length||o[n].name===t&&(o[n]=Object.assign({},o[n],{name:e,jsonName:Object(d.d)(Object(b.renderToString)(e)),isGroup:r}),this.props.setAttributes({ingredients:o}))}},{key:"insertItem",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.ingredients?this.props.attributes.ingredients.slice():[];null===e&&(e=o.length-1);for(var i=o.length-1;i>e;)this.editorRefs[i+1+":name"]=this.editorRefs[i+":name"],i--;if(o.splice(e+1,0,{id:this.props.generateId("ingredient-item"),name:t,jsonName:"",isGroup:r}),this.props.setAttributes({ingredients:o}),n)return void setTimeout(this.setFocus.bind(this,e+1+":name"));Object(l.a)(Object(c.__)("New ingredient added","recipe-card-blocks-by-wpzoom"))}},{key:"swapItem",value:function(e,t){var n=this.props.attributes.ingredients?this.props.attributes.ingredients.slice():[],r=n[e];n[e]=n[t],n[t]=r;var o=this.editorRefs[e+":name"];this.editorRefs[e+":name"]=this.editorRefs[t+":name"],this.editorRefs[t+":name"]=o,this.props.setAttributes({ingredients:n});var i=this.state.focus.split(":"),a=g(i,2),s=a[0],c=a[1];s===""+e&&this.setFocus(t+":"+c),s===""+t&&this.setFocus(e+":"+c)}},{key:"removeItem",value:function(e){var t=this.props.attributes.ingredients?this.props.attributes.ingredients.slice():[];t.splice(e,1),this.props.setAttributes({ingredients:t}),delete this.editorRefs[e+":name"];for(var n=e+1;this.editorRefs[n+":name"];)this.editorRefs[n-1+":name"]=this.editorRefs[n+":name"],n++;var r=t.length;delete this.editorRefs[r+":name"];var o="ingredientsTitle";this.editorRefs[e-1+":name"]&&(o=e-1+":name"),this.setFocus(o),Object(l.a)(Object(c.__)("Ingredient removed","recipe-card-blocks-by-wpzoom"))}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddIngredientButtonClick",value:function(){this.insertItem(null,[],!0)}},{key:"onAddGroupButtonClick",value:function(){var e=this.state.focus.split(":"),t=g(e,2),n=t[0];t[1];n=""!=n&&"ingredientsTitle"!=n?p()(n):null,this.insertItem(n,[],!0,!0)}},{key:"setFocusToIngredient",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("ingredientsTitle")}},{key:"setTitleRef",value:function(e){this.editorRefs.ingredientsTitle=e}},{key:"moveIngredientUp",value:function(e){this.swapItem(e,e-1)}},{key:"moveIngredientDown",value:function(e){this.swapItem(e,e+1)}},{key:"setIngredientRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({ingredientsTitle:e,jsonIngredientsTitle:Object(d.d)(Object(b.renderToString)(e))})}},{key:"getItems",value:function(){var e=this;if(!this.props.attributes.ingredients)return null;var t=this.state.focus.split(":"),n=g(t,2),r=n[0],o=n[1];return this.props.attributes.ingredients.map(function(t,n){return wp.element.createElement(f.a,v({key:t.id,item:t,index:n,editorRef:e.setIngredientRef,onChange:e.changeItem,insertItem:e.insertItem,removeItem:e.removeItem,onFocus:e.setFocusToIngredient,subElement:o,onMoveUp:e.moveIngredientUp,onMoveDown:e.moveIngredientDown,isFirst:0===n,isLast:n===e.props.attributes.ingredients.length-1,isSelected:r===""+n},e.props))})}},{key:"getAddItemButton",value:function(){return wp.element.createElement("div",{className:"ingredients-add-buttons"},wp.element.createElement(m.Button,{icon:"insert",onClick:this.onAddIngredientButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add ingredient","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(m.Button,{icon:"editor-insertmore",onClick:this.onAddGroupButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add ingredient group","recipe-card-blocks-by-wpzoom"))))}},{key:"render",value:function(){var e=this.props.attributes,t=e.ingredientsTitle,n=e.settings[0].ingredientsLayout,r=["recipe-card-ingredients"].filter(function(e){return e}).join(" "),o=["ingredients-list","layout-"+n].filter(function(e){return e}).join(" "),i=Object(d.b)(t);return wp.element.createElement("div",{className:r},wp.element.createElement(h.RichText,{tagName:"h3",className:"ingredients-title",format:"string",value:i,unstableOnFocus:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(c.__)("Write Ingredients title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:o},this.getItems()),wp.element.createElement("div",{className:"ingredient-buttons"},this.getAddItemButton()))}}]),t}(b.Component);t.a=w,w.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},w.defaultProps={className:""}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(61),p=n.n(u),f=n(98),d=n.n(f),h=n(0),m=(n.n(h),n(5)),b=(n.n(m),n(3)),v=(n.n(b),n(37)),g=n(12),y=function(){function e(e,t){for(var n=0;n=55296&&e<=57343||e>1114111)return"\ufffd";e in o&&(e=o[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}var o=n(406);e.exports=r},function(e,t){e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},function(e,t){e.exports={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={Aacute:"\xc1",aacute:"\xe1",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",AElig:"\xc6",aelig:"\xe6",Agrave:"\xc0",agrave:"\xe0",amp:"&",AMP:"&",Aring:"\xc5",aring:"\xe5",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",brvbar:"\xa6",Ccedil:"\xc7",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",Eacute:"\xc9",eacute:"\xe9",Ecirc:"\xca",ecirc:"\xea",Egrave:"\xc8",egrave:"\xe8",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",iquest:"\xbf",Iuml:"\xcf",iuml:"\xef",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",Ntilde:"\xd1",ntilde:"\xf1",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",Ograve:"\xd2",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",THORN:"\xde",thorn:"\xfe",times:"\xd7",Uacute:"\xda",uacute:"\xfa",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",Uuml:"\xdc",uuml:"\xfc",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},function(e,t,n){"use strict";function r(e){console&&console.warn&&console.warn(e)}function o(){o.init.call(this)}function i(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function s(e,t,n,o){var s,c,l;if(i(n),c=e._events,void 0===c?(c=e._events=Object.create(null),e._eventsCount=0):(void 0!==c.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),c=e._events),l=c[t]),void 0===l)l=c[t]=n,++e._eventsCount;else if("function"===typeof l?l=c[t]=o?[n,l]:[l,n]:o?l.unshift(n):l.push(n),(s=a(e))>0&&l.length>s&&!l.warned){l.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=l.length,r(u)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=c.bind(r);return o.listener=n,r.wrapFn=o,o}function u(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?h(o):f(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r0&&(i=t[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var s=o[e];if(void 0===s)return!1;if("function"===typeof s)w(s,this,t);else for(var c=s.length,l=f(s,c),n=0;n=0;a--)if(n[a]===t||n[a].listener===t){s=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():d(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return u(this,e,!0)},o.prototype.rawListeners=function(e){return u(this,e,!1)},o.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?g(this._events):[]}},function(e,t,n){var r=n(172),o=e.exports=Object.create(r),i={tagName:"name"};Object.keys(i).forEach(function(e){var t=i[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},function(e,t,n){function r(e,t){this.init(e,t)}function o(e,t){return l.getElementsByTagName(e,t,!0)}function i(e,t){return l.getElementsByTagName(e,t,!0,1)[0]}function a(e,t,n){return l.getText(l.getElementsByTagName(e,t,n,1)).trim()}function s(e,t,n,r,o){var i=a(n,r,o);i&&(e[t]=i)}var c=n(171),l=n(173);n(62)(r,c),r.prototype.init=c;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};r.prototype.onend=function(){var e,t,n={},r=i(u,this.dom);r&&("feed"===r.name?(t=r.children,n.type="atom",s(n,"id","id",t),s(n,"title","title",t),(e=i("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),s(n,"description","subtitle",t),(e=a("updated",t))&&(n.updated=new Date(e)),s(n,"author","email",t,!0),n.items=o("entry",t).map(function(e){var t,n={};return e=e.children,s(n,"id","id",e),s(n,"title","title",e),(t=i("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=a("summary",e)||a("content",e))&&(n.description=t),(t=a("updated",e))&&(n.pubDate=new Date(t)),n})):(t=i("channel",r.children).children,n.type=r.name.substr(0,3),n.id="",s(n,"title","title",t),s(n,"link","link",t),s(n,"description","description",t),(e=a("lastBuildDate",t))&&(n.updated=new Date(e)),s(n,"author","managingEditor",t,!0),n.items=o("item",r.children).map(function(e){var t,n={};return e=e.children,s(n,"id","guid",e),s(n,"title","title",e),s(n,"link","link",e),s(n,"description","description",e),(t=a("pubDate",e))&&(n.pubDate=new Date(t)),n}))),this.dom=n,c.prototype._handleCallback.call(this,r?null:Error("couldn't find root of feed"))},e.exports=r},function(e,t,n){function r(e,t){return e.children?e.children.map(function(e){return a(e,t)}).join(""):""}function o(e){return Array.isArray(e)?e.map(o).join(""):s(e)?"br"===e.name?"\n":o(e.children):e.type===i.CDATA?o(e.children):e.type===i.Text?e.data:""}var i=n(39),a=n(414),s=i.isTag;e.exports={getInnerHTML:r,getOuterHTML:a,getText:o}},function(e,t,n){function r(e,t){if(e){var n,r="";for(var o in e)n=e[o],r&&(r+=" "),"foreign"===t.xmlMode&&(o=p.attributeNames[o]||o),r+=o,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?u.encodeXML(n):n.replace(/\"/g,"""))+'"');return r}}function o(e,t){"foreign"===t.xmlMode&&(e.name=p.elementNames[e.name]||e.name,e.parent&&m.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var n="<"+e.name,o=r(e.attribs,t);return o&&(n+=" "+o),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=h(e.children,t)),d[e.name]&&!t.xmlMode||(n+="")):n+="/>",n}function i(e){return"<"+e.data+">"}function a(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in f||(n=u.encodeXML(n)),n}function s(e){return""}function c(e){return"\x3c!--"+e.data+"--\x3e"}var l=n(415),u=n(416),p=n(420);p.elementNames.__proto__=null,p.attributeNames.__proto__=null;var f={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},d={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},h=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",r=0;r",GT:">",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",iquest:"\xbf",Iuml:"\xcf",iuml:"\xef",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",Ntilde:"\xd1",ntilde:"\xf1",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",Ograve:"\xd2",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",THORN:"\xde",thorn:"\xfe",times:"\xd7",Uacute:"\xda",uacute:"\xfa",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",Uuml:"\xdc",uuml:"\xfc",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t,n){"use strict";function r(e){return e>=55296&&e<=57343||e>1114111?"\ufffd":(e in i.default&&(e=i.default[e]),a(e))}var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(419)),a=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=r},function(e,t){e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},function(e,t){e.exports={elementNames:{altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},attributeNames:{definitionurl:"definitionURL",attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"}}},function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var o=n.children;o.splice(o.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,n){function r(e,t,n,r){return Array.isArray(t)||(t=[t]),"number"===typeof r&&isFinite(r)||(r=1/0),o(e,t,!1!==n,r)}function o(e,t,n,r){for(var i,a=[],s=0,c=t.length;s0&&(i=o(e,i,n,r),a=a.concat(i),(r-=i.length)<=0)));s++);return a}function i(e,t){for(var n=0,r=t.length;n0&&(n=a(e,t[r].children)));return n}function s(e,t){for(var n=0,r=t.length;n0&&s(e,t[n].children)))return!0;return!1}function c(e,t){for(var n=[],r=t.slice();r.length;){var o=r.shift();l(o)&&(o.children&&o.children.length>0&&r.unshift.apply(r,o.children),e(o)&&n.push(o))}return n}var l=n(39).isTag;e.exports={filter:r,find:o,findOneChild:i,findOne:a,existsOne:s,findAll:c}},function(e,t,n){function r(e,t){return"function"===typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function o(e,t){return function(n){return e(n)||t(n)}}var i=n(39),a=t.isTag=i.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!a(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(a(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var s={tag_name:function(e){return"function"===typeof e?function(t){return a(t)&&e(t.name)}:"*"===e?a:function(t){return a(t)&&t.name===e}},tag_type:function(e){return"function"===typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"===typeof e?function(t){return!a(t)&&e(t.data)}:function(t){return!a(t)&&t.data===e}}};t.getElements=function(e,t,n,i){var a=Object.keys(e).map(function(t){var n=e[t];return t in s?s[t](n):r(t,n)});return 0===a.length?[]:this.filter(a.reduce(o),t,n,i)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(r("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(s.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(s.tag_type(e),t,n,r)}},function(e,t){t.removeSubsets=function(e){for(var t,n,r,o=e.length;--o>-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=n.parent}r&&(e[o]=t)}return e};var n={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},r=t.compareDocumentPosition=function(e,t){var r,o,i,a,s,c,l=[],u=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)u.unshift(r),r=r.parent;for(c=0;l[c]===u[c];)c++;return 0===c?n.DISCONNECTED:(o=l[c-1],i=o.children,a=l[c],s=u[c],i.indexOf(a)>i.indexOf(s)?o===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:o===e?n.PRECEDING|n.CONTAINS:n.PRECEDING)};t.uniqueSort=function(e){var t,o,i=e.length;for(e=e.slice();--i>-1;)t=e[i],(o=e.indexOf(t))>-1&&o>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e,t,n){var r=t.length-1;if(r=0?(o>0&&(e.lastNeed=o-1),o):--r=0?(o>0&&(e.lastNeed=o-2),o):--r=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0)}function c(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}function l(e){var t=this.lastTotal-this.lastNeed,n=c(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t}function f(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function d(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function h(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function b(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}var g=n(429).Buffer,y=g.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function o(e){var t=r(e),n=t[0],o=t[1];return 3*(n+o)/4-o}function i(e,t,n){return 3*(t+n)/4-n}function a(e){var t,n,o=r(e),a=o[0],s=o[1],c=new f(i(e,a,s)),l=0,u=s>0?a-4:a;for(n=0;n>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===s&&(t=p[e.charCodeAt(n)]<<2|p[e.charCodeAt(n+1)]>>4,c[l++]=255&t),1===s&&(t=p[e.charCodeAt(n)]<<10|p[e.charCodeAt(n+1)]<<4|p[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c}function s(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function c(e,t,n){for(var r,o=[],i=t;ia?a:i+16383));return 1===r?(t=e[n-1],o.push(u[t>>2]+u[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(u[t>>10]+u[t>>4&63]+u[t<<2&63]+"=")),o.join("")}t.byteLength=o,t.toByteArray=a,t.fromByteArray=l;for(var u=[],p=[],f="undefined"!==typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,m=d.length;h>1,u=-7,p=n?o-1:0,f=n?-1:1,d=e[t+p];for(p+=f,i=d&(1<<-u)-1,d>>=-u,u+=s;u>0;i=256*i+e[t+p],p+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+p],p+=f,u-=8);if(0===i)i=1-l;else{if(i===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=l}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,c,l=8*i-o-1,u=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+p>=1?f/c:f*Math.pow(2,1-p),t*c>=2&&(a++,c/=2),a+p>=u?(s=0,a=u):a+p>=1?(s=(t*c-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=h,a/=256,l-=8);e[n+d-h]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var o=n(31).EVENTS;Object.keys(o).forEach(function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}})},function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var o=n(31).EVENTS;Object.keys(o).forEach(function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}}),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e=0&&(t=e),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e?{}:e.split(";").reduce(function(e,t){var n=t.split(/^([^:]+):/).filter(function(e,t){return t>0}).map(function(e){return e.trim().toLowerCase()}),r=o(n,2),i=r[0],a=r[1];return void 0===a?e:(i=i.replace(/^-ms-/,"ms-").replace(/-(.)/g,function(e,t){return t.toUpperCase()}),e[i]=a,e)},{})}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=void 0;e.children.length>0&&(n=e.children[0].data);var r=(0,c.default)(e.attribs,t);return a.default.createElement("style",r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(4),a=r(i),s=n(180),c=r(s)},function(e,t,n){"use strict";function r(){return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.decodeEntities,r=void 0===n||n,o=t.transform,i=t.preprocessNodes,s=void 0===i?function(e){return e}:i,l=s(a.default.parseDOM(e,{decodeEntities:r}));return(0,c.default)(l,o)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(31),a=r(i),s=n(99),c=r(s)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(58)),u=n(27),p=n.n(u),f=n(446),d=n(12),h=n(5),m=(n.n(h),n(3)),b=(n.n(m),n(0)),v=(n.n(b),function(){function e(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),g=function(){function e(e,t){for(var n=0;n3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.steps?this.props.attributes.steps.slice():[];n>=o.length||o[n].text===t&&(o[n]={id:o[n].id,text:e,jsonText:Object(d.d)(Object(b.renderToString)(e)),isGroup:r},this.props.setAttributes({steps:o}))}},{key:"insertStep",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.steps?this.props.attributes.steps.slice():[];null===e&&(e=o.length-1);for(var i=o.length-1;i>e;)this.editorRefs[i+1+":text"]=this.editorRefs[i+":text"],i--;if(o.splice(e+1,0,{id:this.props.generateId("direction-step"),text:t,jsonText:"",isGroup:r}),this.props.setAttributes({steps:o}),n)return void setTimeout(this.setFocus.bind(this,e+1+":text"));Object(l.a)(Object(c.__)("New step added","recipe-card-blocks-by-wpzoom"))}},{key:"swapSteps",value:function(e,t){var n=this.props.attributes.steps?this.props.attributes.steps.slice():[],r=n[e];n[e]=n[t],n[t]=r;var o=this.editorRefs[e+":text"];this.editorRefs[e+":text"]=this.editorRefs[t+":text"],this.editorRefs[t+":text"]=o,this.props.setAttributes({steps:n});var i=this.state.focus.split(":"),a=v(i,2),s=a[0],c=a[1];s===""+e&&this.setFocus(t+":"+c),s===""+t&&this.setFocus(e+":"+c)}},{key:"removeStep",value:function(e){var t=this.props.attributes.steps?this.props.attributes.steps.slice():[];t.splice(e,1),this.props.setAttributes({steps:t}),delete this.editorRefs[e+":text"];for(var n=e+1;this.editorRefs[n+":text"];)this.editorRefs[n-1+":text"]=this.editorRefs[n+":text"],n++;var r=t.length;delete this.editorRefs[r+":text"];var o="directionsTitle";this.editorRefs[e-1+":text"]&&(o=e-1+":text"),this.setFocus(o)}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddStepButtonClick",value:function(){this.insertStep(null,[],!0)}},{key:"onAddGroupButtonClick",value:function(){var e=this.state.focus.split(":"),t=v(e,2),n=t[0];t[1];n=""!=n&&"directionsTitle"!=n?p()(n):null,this.insertStep(n,[],!0,!0)}},{key:"setFocusToStep",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("directionsTitle")}},{key:"setTitleRef",value:function(e){this.editorRefs.directionsTitle=e}},{key:"moveStepUp",value:function(e){this.swapSteps(e,e-1)}},{key:"moveStepDown",value:function(e){this.swapSteps(e,e+1)}},{key:"setStepRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({directionsTitle:e,jsonTitle:Object(d.d)(Object(b.renderToString)(e))})}},{key:"getSteps",value:function(){var e=this;if(!this.props.attributes.steps)return null;var t=this.state.focus.split(":"),n=v(t,2),r=n[0],o=n[1];return this.props.attributes.steps.map(function(t,n){return wp.element.createElement(f.a,{key:t.id,step:t,index:n,editorRef:e.setStepRef,onChange:e.changeStep,insertStep:e.insertStep,removeStep:e.removeStep,onFocus:e.setFocusToStep,subElement:o,onMoveUp:e.moveStepUp,onMoveDown:e.moveStepDown,isFirst:0===n,isLast:n===e.props.attributes.steps.length-1,isSelected:r===""+n})})}},{key:"getAddStepButton",value:function(){return wp.element.createElement("div",{className:"directions-add-buttons"},wp.element.createElement(m.Button,{icon:"insert",onClick:this.onAddStepButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add step","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(m.Button,{icon:"editor-insertmore",onClick:this.onAddGroupButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add direction group","recipe-card-blocks-by-wpzoom"))))}},{key:"render",value:function(){var e=this.props.attributes,t=e.directionsTitle,n=["recipe-card-directions"].filter(function(e){return e}).join(" "),r=["directions-list"].filter(function(e){return e}).join(" "),o=Object(d.b)(t);return wp.element.createElement("div",{className:n},wp.element.createElement(h.RichText,{tagName:"h3",className:"directions-title",format:"string",value:o,unstableOnFocus:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(c.__)("Write Directions title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:r},this.getSteps()),wp.element.createElement("div",{className:"direction-buttons"},this.getAddStepButton()))}}]),t}(b.Component);t.a=y,y.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},y.defaultProps={className:""}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(14),p=n.n(u),f=n(61),d=n.n(f),h=n(15),m=n.n(h),b=n(98),v=n.n(b),g=n(37),y=n(12),w=n(0),_=(n.n(w),n(5)),O=(n.n(_),n(3)),E=(n.n(O),function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0,n=!1;return d()(e)&&(n=Object(y.c)(e)),p()(e)&&(n=e.filter(function(e){return e&&e.type&&"img"===e.type})),!(!n||!n[t])&&(m()(n[t].props)?n[t]:n[t].props.src)}}]),t}(w.Component);t.a=x,x.propTypes={index:s.a.number.isRequired,step:s.a.object.isRequired,onChange:s.a.func.isRequired,insertStep:s.a.func.isRequired,removeStep:s.a.func.isRequired,onFocus:s.a.func.isRequired,editorRef:s.a.func.isRequired,onMoveUp:s.a.func.isRequired,onMoveDown:s.a.func.isRequired,subElement:s.a.string.isRequired,isSelected:s.a.bool.isRequired,isFirst:s.a.bool.isRequired,isLast:s.a.bool.isRequired}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),s=(n.n(a),n(17)),c=n(9),l=n.n(c),u=n(90),p=n.n(u),f=n(448),d=n.n(f),h=n(92),m=n.n(h),b=n(59),v=n.n(b),g=n(24),y=n.n(g),w=n(142),_=n.n(w),O=n(15),E=n.n(O),k=n(449),j=n(12),C=n(608),x=n(37),S=n(38),T=n(100),P=n(0),z=(n.n(P),n(5)),R=(n.n(z),n(3)),A=(n.n(R),n(101)),M=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0,r=this.props,o=r.setAttributes,i=r.attributes.settings,a=i?i.slice():[];l()(a,n)||(a[n]={}),a[n][t]=e,o({settings:a})}},{key:"onChangeDetail",value:function(e,t,n){var r=this.props,o=r.setAttributes,i=r.attributes.details,a=i?i.slice():[],s=l()(a,[t,"id"]),c=l()(a,[t,"icon"]),u=l()(a,[t,"iconSet"]);l()(a,t)||(a[t]={}),s||(a[t].id=_()("detail-item-"+(new Date).getTime())),"icon"===n?a[t].icon=e:c||(a[t].icon="restaurant-utensils"),"iconSet"===n?a[t].iconSet=e:u||(a[t].iconSet="foodicons"),"label"===n&&(a[t][n]=e,a[t].jsonLabel=Object(j.d)(Object(P.renderToString)(e))),"value"===n&&(a[t][n]=e,a[t].jsonValue=Object(j.d)(Object(P.renderToString)(e))),"unit"===n&&(a[t][n]=e,a[t].jsonUnit=Object(j.d)(Object(P.renderToString)(e))),"isRestingTimeField"===n&&(a[t][n]=e),o({details:a})}},{key:"onRemoveRecipeImage",value:function(){(0,this.props.setAttributes)({hasImage:!1,image:null})}},{key:"onUpdateURL",value:function(e){var t=this.props,n=t.setAttributes,r=t.attributes.image;n({hasImage:!0,image:{id:r.id,url:e,alt:r.alt,sizes:r.sizes}})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.media;return d()(p()(t,function(e){var t=e.name,r=e.slug,o=l()(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"errorDetails",value:function(){return y()(this.state.structuredDataNotice.errors).replace(/,/g,", ")}},{key:"warningDetails",value:function(){return y()(this.state.structuredDataNotice.warnings).replace(/,/g,", ")}},{key:"notDisplayDetails",value:function(){return y()(this.state.structuredDataNotice.not_display).replace(/,/g,", ")}},{key:"structuredDataTable",value:function(){var e=this.props.attributes,t=e.ingredients,n=e.steps,r=0,o=0;t.forEach(function(e){var t=l()(e,"jsonName");m()(t)||r++}),n.forEach(function(e){var t=l()(e,"jsonText");m()(t)||o++}),this.setState({structuredDataTable:{recipeIngredients:r,recipeInstructions:o}},this.structuredDataNotice)}},{key:"structuredDataNotice",value:function(){var e=this.state.structuredDataTable,t=this.props.attributes,n=t.hasImage,r=t.details,o=t.course,i=t.cuisine,a=t.keywords,s=t.summary,c=t.hasVideo,u=t.settings[0],p=u.displayPrepTime,f=u.displayCookingTime,d=u.displayCourse,h=u.displayCuisine,b=u.displayCalories,v=[],g=[],y=[];z.RichText.isEmpty(s)&&g.push("summary"),!c&&g.push("video"),!l()(r,[1,"value"])&&g.push("prepTime"),!l()(r,[2,"value"])&&g.push("cookTime"),!l()(r,[3,"value"])&&g.push("calories"),m()(o)&&g.push("course"),m()(i)&&g.push("cuisine"),m()(a)&&g.push("keywords"),!f&&v.push("cookTime"),!p&&v.push("prepTime"),!b&&v.push("calories"),!h&&v.push("cuisine"),!d&&v.push("course"),!n&&y.push("image"),!l()(e,"recipeIngredients")&&y.push("ingredients"),!l()(e,"recipeInstructions")&&y.push("steps"),this.setState({structuredDataNotice:{warnings:g,errors:y,not_display:v}})}},{key:"calculateTotalTime",value:function(){if(!this.state.isCalculatedTotalTime){var e=this.props.attributes.details,t=Object(C.b)(l()(e,[1,"value"])),n=Object(C.b)(l()(e,[2,"value"])),r=Object(C.b)(l()(e,[4,"value"])),o=l()(e,[4,"isRestingTimeField"])||!1,i=t+n;o&&(i=t+n+r);var a=l()(e,[8,"value"]);if(!this.state.isCalculateBtnClick&&!E()(a)&&!m()(a)&&0!=a)return void this.setState({isCalculatedTotalTime:!0,isCalculateBtnClick:!1});""!=t&&""!=n&&i>0&&(this.onChangeDetail(y()(i),8,"value"),this.setState({isCalculatedTotalTime:!0,isCalculateBtnClick:!1}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.attributes,o=t.setAttributes,i=this.state,s=i.structuredDataNotice,c=i.structuredDataTable,u=r.id,p=r.hasImage,f=r.image,d=r.hasVideo,h=r.video,b=r.recipeTitle,v=r.summary,g=r.jsonSummary,y=r.course,w=r.cuisine,_=r.difficulty,O=r.keywords,x=r.details,M=r.settings[0],H=M.hide_header_image,U=M.print_btn,G=M.pin_btn,Z=M.custom_author_name,W=M.displayCourse,K=M.displayCuisine,Y=M.displayDifficulty,$=M.displayAuthor,X=M.displayServings,J=M.displayPrepTime,Q=M.displayCookingTime,ee=M.displayTotalTime,te=M.displayCalories,ne=M.headerAlign,re=M.ingredientsLayout,oe=Object(S.a)(n),ie=this.getImageSizeOptions(),ae="1"===q.wpzoom_rcb_settings_sections_expanded;return wp.element.createElement(z.InspectorControls,null,wp.element.createElement(R.PanelBody,{icon:T.g,className:"wpzoom-recipe-card-settings",initialOpen:ae,title:Object(a.__)("Recipe Card Settings","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.BaseControl,{id:u+"-image",className:"editor-post-featured-image",label:Object(a.__)("Recipe Card Image (required)","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Upload image for Recipe Card.","recipe-card-blocks-by-wpzoom")},!p&&wp.element.createElement(z.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:D,value:l()(f,["id"]),render:function(e){var t=e.open;return wp.element.createElement(R.Button,{className:"editor-post-featured-image__toggle",onClick:t},Object(a.__)("Add Recipe Image","recipe-card-blocks-by-wpzoom"))}}),p&&wp.element.createElement(P.Fragment,null,wp.element.createElement(z.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:D,value:l()(f,["id"]),render:function(e){var t=e.open;return wp.element.createElement(R.Button,{className:"editor-post-featured-image__preview",onClick:t},wp.element.createElement("img",{className:u+"-image",src:l()(f,["sizes","full","url"])||l()(f,["sizes","full","source_url"])||l()(f,["url"])||l()(f,["source_url"]),alt:l()(f,["alt"])||b}))}}),wp.element.createElement(z.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:D,value:l()(f,["id"]),render:function(e){var t=e.open;return wp.element.createElement(R.Button,{isDefault:!0,isLarge:!0,onClick:t},Object(a.__)("Replace Image","recipe-card-blocks-by-wpzoom"))}}),wp.element.createElement(R.Button,{isLink:"true",isDestructive:"true",onClick:this.onRemoveRecipeImage},Object(a.__)("Remove Recipe Image","recipe-card-blocks-by-wpzoom")))),p&&!m()(ie)&&wp.element.createElement(R.SelectControl,{label:Object(a.__)("Image Size","recipe-card-blocks-by-wpzoom"),value:l()(f,["url"]),options:ie,onChange:this.onUpdateURL}),wp.element.createElement(R.BaseControl,{id:u+"-hide-header-image",label:Object(a.__)("Hide Recipe Image in Post","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Hide Image","recipe-card-blocks-by-wpzoom"),checked:H,onChange:function(t){return e.onChangeSettings(t,"hide_header_image")}})),!H&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.BaseControl,{id:u+"-print-btn",label:Object(a.__)("Print Button","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Print Button","recipe-card-blocks-by-wpzoom"),checked:U,onChange:function(t){return e.onChangeSettings(t,"print_btn")}})),wp.element.createElement(R.BaseControl,{id:u+"-pinit-btn",label:Object(a.__)("Pinterest Button","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Pinterest Button","recipe-card-blocks-by-wpzoom"),checked:G,onChange:function(t){return e.onChangeSettings(t,"pin_btn")}}))),"simple"===oe&&wp.element.createElement(R.BaseControl,{id:u+"-heading-align",label:Object(a.__)("Header Content Align","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ButtonGroup,null,wp.element.createElement(R.Button,{isPrimary:"left"===ne,isSecondary:"left"!==ne,icon:A.b,title:Object(a.__)("Left","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("left","headerAlign")}}),wp.element.createElement(R.Button,{isPrimary:"right"===ne,isSecondary:"right"!==ne,icon:A.c,title:Object(a.__)("Right","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("right","headerAlign")}}))),"simple"!==oe&&wp.element.createElement(R.BaseControl,{id:u+"-heading-align",label:Object(a.__)("Header Content Align","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ButtonGroup,null,wp.element.createElement(R.Button,{isPrimary:"left"===ne,isSecondary:"left"!==ne,icon:A.b,title:Object(a.__)("Left","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("left","headerAlign")}}),wp.element.createElement(R.Button,{isPrimary:"center"===ne,isSecondary:"center"!==ne,icon:A.a,title:Object(a.__)("Center","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("center","headerAlign")}}),wp.element.createElement(R.Button,{isPrimary:"right"===ne,isSecondary:"right"!==ne,icon:A.c,title:Object(a.__)("Right","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("right","headerAlign")}}))),wp.element.createElement(R.BaseControl,{id:u+"-author",label:Object(a.__)("Author","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Author","recipe-card-blocks-by-wpzoom"),checked:$,onChange:function(t){return e.onChangeSettings(t,"displayAuthor")}}),$&&wp.element.createElement(R.TextControl,{id:u+"-custom-author-name",instanceId:u+"-custom-author-name",type:"text",label:Object(a.__)("Custom author name","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Default: Author of the post","recipe-card-blocks-by-wpzoom"),value:Z,onChange:function(t){return e.onChangeSettings(t,"custom_author_name")}})),"newdesign"===oe&&wp.element.createElement(R.BaseControl,{id:u+"-ingredients-layout",label:Object(a.__)("Ingredients Layout","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.SelectControl,{label:Object(a.__)("Select Layout","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("This setting is visible only on Front-End. In Editor still appears in one column to prevent floating elements on editing.","recipe-card-blocks-by-wpzoom"),value:re,options:[{label:Object(a.__)("1 column"),value:"1-column"},{label:Object(a.__)("2 columns"),value:"2-columns"}],onChange:function(t){return e.onChangeSettings(t,"ingredientsLayout")}}))),wp.element.createElement(k.a,{attributes:r,setAttributes:o,className:n}),wp.element.createElement(R.PanelBody,{icon:T.f,className:"wpzoom-recipe-card-seo-settings",initialOpen:ae,title:Object(a.__)("Recipe Details","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.BaseControl,{id:u+"-course",label:Object(a.__)("Course (required)","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("The post category is added by default.","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Course","recipe-card-blocks-by-wpzoom"),checked:W,onChange:function(t){return e.onChangeSettings(t,"displayCourse")}}),W&&wp.element.createElement(R.FormTokenField,{label:Object(a.__)("Add course","recipe-card-blocks-by-wpzoom"),value:y,suggestions:L,onChange:function(e){return o({course:e})},placeholder:Object(a.__)("Type course and press Enter","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(R.BaseControl,{id:u+"-cuisine",label:Object(a.__)("Cuisine (required)","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Cuisine","recipe-card-blocks-by-wpzoom"),checked:K,onChange:function(t){return e.onChangeSettings(t,"displayCuisine")}}),K&&wp.element.createElement(R.FormTokenField,{label:Object(a.__)("Add cuisine","recipe-card-blocks-by-wpzoom"),value:w,suggestions:I,onChange:function(e){return o({cuisine:e})},placeholder:Object(a.__)("Type cuisine and press Enter","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(R.BaseControl,{id:u+"-difficulty",label:Object(a.__)("Difficulty","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Difficulty","recipe-card-blocks-by-wpzoom"),checked:Y,onChange:function(t){return e.onChangeSettings(t,"displayDifficulty")}}),Y&&wp.element.createElement(R.FormTokenField,{label:Object(a.__)("Add difficulty level","recipe-card-blocks-by-wpzoom"),value:_,suggestions:B,onChange:function(e){return o({difficulty:e})},placeholder:Object(a.__)("Type difficulty level and press Enter","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(R.BaseControl,{id:u+"-keywords",label:Object(a.__)("Keywords (recommended)","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("For multiple keywords add `,` after each keyword (ex: keyword, keyword, keyword). Note: The post tags is added by default.","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.FormTokenField,{label:Object(a.__)("Add keywords","recipe-card-blocks-by-wpzoom"),value:O,suggestions:F,onChange:function(e){return o({keywords:e})},placeholder:Object(a.__)("Type recipe keywords","recipe-card-blocks-by-wpzoom")}))),wp.element.createElement(R.PanelBody,{icon:T.c,className:"wpzoom-recipe-card-details",initialOpen:ae,title:Object(a.__)("Cooking Details","recipe-card-blocks-by-wpzoom")},!l()(r,["settings",1,"isNoticeDismiss"])&&wp.element.createElement(R.Notice,{status:"info",onRemove:function(){return e.onChangeSettings(!0,"isNoticeDismiss",1)}},wp.element.createElement("p",null,Object(a.__)("The following details are used for Schema Markup (Rich Snippets). If you want to hide some details in the post, just turn them off below.","recipe-card-blocks-by-wpzoom")),wp.element.createElement("p",null,wp.element.createElement("strong",null,Object(a.__)("NEW: you can also add custom details (see next panel below).","recipe-card-blocks-by-wpzoom")))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Servings","recipe-card-blocks-by-wpzoom"),checked:X,onChange:function(t){return e.onChangeSettings(t,"displayServings")}}),wp.element.createElement(R.PanelRow,null,X&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-yield-label",instanceId:u+"-yield-label",type:"text",label:Object(a.__)("Servings Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Servings","recipe-card-blocks-by-wpzoom"),value:l()(x,[0,"label"]),onChange:function(t){return e.onChangeDetail(t,0,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-yield-value",instanceId:u+"-yield-value",type:"number",label:Object(a.__)("Servings Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[0,"value"]),onChange:function(t){return e.onChangeDetail(t,0,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-yield-unit",instanceId:u+"-yield-unit",type:"text",label:Object(a.__)("Servings Unit","recipe-card-blocks-by-wpzoom"),value:l()(x,[0,"unit"]),onChange:function(t){return e.onChangeDetail(t,0,"unit")}}))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Preparation Time","recipe-card-blocks-by-wpzoom"),checked:J,onChange:function(t){return e.onChangeSettings(t,"displayPrepTime")}}),wp.element.createElement(R.PanelRow,null,J&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-preptime-label",instanceId:u+"-preptime-label",type:"text",label:Object(a.__)("Prep Time Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Prep Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[1,"label"]),onChange:function(t){return e.onChangeDetail(t,1,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-preptime-value",instanceId:u+"-preptime-value",type:"number",label:Object(a.__)("Prep Time Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[1,"value"]),onChange:function(t){return e.onChangeDetail(t,1,"value")}}),wp.element.createElement("span",null,l()(x,[1,"unit"])))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Cooking Time","recipe-card-blocks-by-wpzoom"),checked:Q,onChange:function(t){return e.onChangeSettings(t,"displayCookingTime")}}),wp.element.createElement(R.PanelRow,null,Q&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-cookingtime-label",instanceId:u+"-cookingtime-label",type:"text",label:Object(a.__)("Cook Time Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Cooking Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[2,"label"]),onChange:function(t){return e.onChangeDetail(t,2,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-cookingtime-value",instanceId:u+"-cookingtime-value",type:"number",label:Object(a.__)("Cook Time Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[2,"value"]),onChange:function(t){return e.onChangeDetail(t,2,"value")}}),wp.element.createElement("span",null,l()(x,[2,"unit"])))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Total Time","recipe-card-blocks-by-wpzoom"),checked:ee,onChange:function(t){return e.onChangeSettings(t,"displayTotalTime")}}),wp.element.createElement(R.PanelRow,null,ee&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-totaltime-label",instanceId:u+"-totaltime-label",type:"text",label:Object(a.__)("Total Time Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Total Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[8,"label"]),onChange:function(t){return e.onChangeDetail(t,8,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-totaltime-value",instanceId:u+"-totaltime-value",type:"number",label:Object(a.__)("Total Time Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[8,"value"]),onChange:function(t){return e.onChangeDetail(t,8,"value")}}),wp.element.createElement("span",null,l()(x,[8,"unit"])),wp.element.createElement(R.Button,{isDefault:!0,className:"editor-calculate-total-time",onClick:function(){return e.setState({isCalculatedTotalTime:!1,isCalculateBtnClick:!0})}},Object(a.__)("Calculate Total Time","recipe-card-blocks-by-wpzoom")),wp.element.createElement("p",{className:"description"},Object(a.__)("Default value: prepTime + cookTime","recipe-card-blocks-by-wpzoom")))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Calories","recipe-card-blocks-by-wpzoom"),checked:te,onChange:function(t){return e.onChangeSettings(t,"displayCalories")}}),wp.element.createElement(R.PanelRow,null,te&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-calories-label",instanceId:u+"-calories-label",type:"text",label:Object(a.__)("Calories Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Calories","recipe-card-blocks-by-wpzoom"),value:l()(x,[3,"label"]),onChange:function(t){return e.onChangeDetail(t,3,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-calories-value",instanceId:u+"-calories-value",type:"number",label:Object(a.__)("Calories Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[3,"value"]),onChange:function(t){return e.onChangeDetail(t,3,"value")}}),wp.element.createElement("span",null,l()(x,[3,"unit"]))))),wp.element.createElement(R.PanelBody,{icon:T.a,className:"wpzoom-recipe-card-custom-details",initialOpen:ae,title:Object(a.__)("Custom Details","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.PanelRow,null,wp.element.createElement(R.TextControl,{id:u+"-custom-detail-1-label",instanceId:u+"-custom-detail-1-label",type:"text",label:Object(a.__)("Custom Label 1","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Resting Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[4,"label"]),onChange:function(t){return e.onChangeDetail(t,4,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-1-value",instanceId:u+"-custom-detail-1-value",type:"text",label:Object(a.__)("Custom Value 1","recipe-card-blocks-by-wpzoom"),value:l()(x,[4,"value"]),onChange:function(t){return e.onChangeDetail(t,4,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-1-unit",instanceId:u+"-custom-detail-1-unit",type:"text",label:Object(a.__)("Custom Unit 1","recipe-card-blocks-by-wpzoom"),value:l()(x,[4,"unit"]),onChange:function(t){return e.onChangeDetail(t,4,"unit")}}),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Is Resting Time field?","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("If option is enabled, this means that the value is used to calculate the Total Time. And unit will be converted from minutes to hours if it's needed.","recipe-card-blocks-by-wpzoom"),checked:l()(x,[4,"isRestingTimeField"]),onChange:function(t){return e.onChangeDetail(t,4,"isRestingTimeField")}})),wp.element.createElement(R.PanelRow,null,wp.element.createElement(R.TextControl,{id:u+"-custom-detail-2-label",instanceId:u+"-custom-detail-2-label",type:"text",label:Object(a.__)("Custom Label 2","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Baking Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[5,"label"]),onChange:function(t){return e.onChangeDetail(t,5,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-2-value",instanceId:u+"-custom-detail-2-value",type:"text",label:Object(a.__)("Custom Value 2","recipe-card-blocks-by-wpzoom"),value:l()(x,[5,"value"]),onChange:function(t){return e.onChangeDetail(t,5,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-2-unit",instanceId:u+"-custom-detail-2-unit",type:"text",label:Object(a.__)("Custom Unit 2","recipe-card-blocks-by-wpzoom"),value:l()(x,[5,"unit"]),onChange:function(t){return e.onChangeDetail(t,5,"unit")}})),wp.element.createElement(R.PanelRow,null,wp.element.createElement(R.TextControl,{id:u+"-custom-detail-3-label",instanceId:u+"-custom-detail-3-label",type:"text",label:Object(a.__)("Custom Label 3","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Serving Size","recipe-card-blocks-by-wpzoom"),value:l()(x,[6,"label"]),onChange:function(t){return e.onChangeDetail(t,6,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-3-value",instanceId:u+"-custom-detail-3-value",type:"text",label:Object(a.__)("Custom Value 3","recipe-card-blocks-by-wpzoom"),value:l()(x,[6,"value"]),onChange:function(t){return e.onChangeDetail(t,6,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-3-unit",instanceId:u+"-custom-detail-3-unit",type:"text",label:Object(a.__)("Custom Unit 3","recipe-card-blocks-by-wpzoom"),value:l()(x,[6,"unit"]),onChange:function(t){return e.onChangeDetail(t,6,"unit")}})),wp.element.createElement(R.PanelRow,null,wp.element.createElement(R.TextControl,{id:u+"-custom-detail-4-label",instanceId:u+"-custom-detail-4-label",type:"text",label:Object(a.__)("Custom Label 4","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Net Carbs","recipe-card-blocks-by-wpzoom"),value:l()(x,[7,"label"]),onChange:function(t){return e.onChangeDetail(t,7,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-4-value",instanceId:u+"-custom-detail-4-value",type:"text",label:Object(a.__)("Custom Value 4","recipe-card-blocks-by-wpzoom"),value:l()(x,[7,"value"]),onChange:function(t){return e.onChangeDetail(t,7,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-4-unit",instanceId:u+"-custom-detail-4-unit",type:"text",label:Object(a.__)("Custom Unit 4","recipe-card-blocks-by-wpzoom"),value:l()(x,[7,"unit"]),onChange:function(t){return e.onChangeDetail(t,7,"unit")}}))),wp.element.createElement(R.PanelBody,{icon:T.b,className:"wpzoom-recipe-card-structured-data-testing",initialOpen:ae,title:Object(a.__)("Structured Data Testing","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.BaseControl,{id:u+"-counters",help:Object(a.__)("Automatically check Structured Data errors and warnings.","recipe-card-blocks-by-wpzoom")},l()(s,"errors").length>0&&wp.element.createElement(R.Notice,{status:"error",isDismissible:!1},wp.element.createElement("p",null,Object(a.__)("Please enter value for required fields: ","recipe-card-blocks-by-wpzoom")," ",wp.element.createElement("strong",null,this.errorDetails()),".")),l()(s,"warnings").length>0&&wp.element.createElement(R.Notice,{status:"warning",isDismissible:!1},wp.element.createElement("p",null,Object(a.__)("We recommend to add value for following fields: ","recipe-card-blocks-by-wpzoom")," ",wp.element.createElement("strong",null,this.warningDetails()),".")),l()(s,"not_display").length>0&&wp.element.createElement(R.Notice,{status:"warning",isDismissible:!1},wp.element.createElement("p",null,Object(a.__)("We recommend to display following fields: ","recipe-card-blocks-by-wpzoom")," ",wp.element.createElement("strong",null,this.notDisplayDetails()),".")),wp.element.createElement(R.PanelRow,{className:b?"text-color-green":"text-color-red"},wp.element.createElement("span",null,"recipeTitle"),wp.element.createElement("strong",null,b)),wp.element.createElement(R.PanelRow,{className:z.RichText.isEmpty(v)?"text-color-orange":"text-color-green"},wp.element.createElement("span",null,"description"),wp.element.createElement("strong",null,E()(g)?V:Object(j.d)(g))),wp.element.createElement(R.PanelRow,{className:p?"text-color-green":"text-color-red"},wp.element.createElement("span",null,"image"),wp.element.createElement("strong",null,p?l()(f,"url"):V)),wp.element.createElement(R.PanelRow,{className:d?"text-color-green":"text-color-orange"},wp.element.createElement("span",null,"video"),wp.element.createElement("strong",null,d?l()(h,"url"):V)),wp.element.createElement(R.PanelRow,{className:m()(O)?"text-color-orange":"text-color-green"},wp.element.createElement("span",null,"keywords"),wp.element.createElement("strong",null,m()(O)?V:O.filter(function(e){return e}).join(", "))),wp.element.createElement(R.PanelRow,{className:!W||m()(y)?"text-color-orange":"text-color-green"},wp.element.createElement("span",null,"recipeCategory"),W&&wp.element.createElement("strong",null,m()(y)?V:y.filter(function(e){return e}).join(", ")),!W&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:!K||m()(w)?"text-color-orange":"text-color-green"},wp.element.createElement("span",null,"recipeCuisine"),K&&wp.element.createElement("strong",null,m()(w)?V:w.filter(function(e){return e}).join(", ")),!K&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:X&&l()(x,[0,"value"])&&"text-color-green"},wp.element.createElement("span",null,"recipeYield"),X&&wp.element.createElement("strong",null,l()(x,[0,"value"])?l()(x,[0,"value"])+" "+l()(x,[0,"unit"]):V),!X&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:J&&l()(x,[1,"value"])?"text-color-green":"text-color-orange"},wp.element.createElement("span",null,"prepTime"),J&&wp.element.createElement("strong",null,l()(x,[1,"value"])?Object(C.a)(l()(x,[1,"value"])):V),!J&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:Q&&l()(x,[2,"value"])?"text-color-green":"text-color-orange"},wp.element.createElement("span",null,"cookTime"),Q&&wp.element.createElement("strong",null,l()(x,[2,"value"])?Object(C.a)(l()(x,[2,"value"])):V),!Q&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:ee&&l()(x,[8,"value"])&&"text-color-green"},wp.element.createElement("span",null,"totalTime"),ee&&wp.element.createElement("strong",null,l()(x,[8,"value"])?Object(C.a)(l()(x,[8,"value"])):V),!ee&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:te&&l()(x,[3,"value"])?"text-color-green":"text-color-orange"},wp.element.createElement("span",null,"calories"),te&&wp.element.createElement("strong",null,l()(x,[3,"value"])?l()(x,[3,"value"])+" "+l()(x,[3,"unit"]):V),!te&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:l()(c,"recipeIngredients")?"text-color-green":"text-color-red"},wp.element.createElement("span",null,Object(a.__)("Ingredients","recipe-card-blocks-by-wpzoom")),wp.element.createElement("strong",null,l()(c,"recipeIngredients")?l()(c,"recipeIngredients"):V)),wp.element.createElement(R.PanelRow,{className:l()(c,"recipeInstructions")?"text-color-green":"text-color-red"},wp.element.createElement("span",null,Object(a.__)("Steps","recipe-card-blocks-by-wpzoom")),wp.element.createElement("strong",null,l()(c,"recipeInstructions")?l()(c,"recipeInstructions"):V)))))}}]),t}(P.Component);t.a=U},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t-1;);return n}var o=n(63);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i-1;);return n}var o=n(63);e.exports=r},function(e,t,n){function r(e){return null==e?[]:o(e,i(e))}var o=n(457),i=n(47);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(72);e.exports=r},function(e,t,n){"use strict";var r=(n(30),n(184),n(0));n.n(r)},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}t.a=r},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=i},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],n="",o={hours:{value:"",unit:""},minutes:{value:"",unit:""}},a=r(e);if(!a)return e;var c=s()(a/60),u=a%60;return t?(c&&(o.hours.value=c,o.hours.unit=Object(i._n)("hour","hours",l()(c),"recipe-card-blocks-by-wpzoom")),u&&(o.minutes.value=u,o.minutes.unit=Object(i._n)("minute","minutes",l()(u),"recipe-card-blocks-by-wpzoom")),o):(c&&(n+=c+" "+Object(i._n)("hour","hours",l()(c),"recipe-card-blocks-by-wpzoom")),u&&(n+=" "+u,n+=" "+Object(i._n)("minute","minutes",l()(u),"recipe-card-blocks-by-wpzoom")),n)}t.b=r,t.a=o;var i=n(2),a=(n.n(i),n(609)),s=n.n(a),c=n(27),l=n.n(c),u=n(59),p=n.n(u)},function(e,t,n){var r=n(185),o=r("floor");e.exports=o},function(e,t,n){"use strict";function r(e){function t(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r(e),o="";return f()(n)||(o=Object(T.d)(Object(P.renderToString)(c()(n)))),t&&(o="**"+o+"**"),f()(o)?"":o+"\n"}function n(e){var t="";return h()(e)&&O()(e,function(e,n){t+=n+": "+e+";"}),b()(e)&&(t=e),t}function r(e){if(b()(e))return e;if(u()(e))return"";var t="";return O()(e,function(e){if(b()(e))t+=e;else{var o=a()(e,["type"])||"",i=a()(e,["props","children"])||"",s=o?"<"+o+">":"",c=o?"":"";if("img"===o){var l=a()(e,["props","src"])||!1;if(l){s="<"+o+' src="'+l+'" alt="'+(a()(e,["props","alt"])||"")+'" class="direction-step-image" style="'+n(a()(e,["props","style"])||"")+'" />'}else s="";c=""}else if("a"===o){var u=a()(e,["props","rel"])||"",p=a()(e,["props","aria-label"])||"",f=a()(e,["props","href"])||"#",d=a()(e,["props","target"])||"_blank";s="<"+o+' rel="'+u+'" aria-label="'+p+'" href="'+f+'" target="'+d+'">'}else"br"===o&&(c="");t+=s+r(i)+c}}),t}function i(){for(var e=[],t=/([^\n\t\r\v\f][\w\W].*)/gim,n=void 0,r=0;null!==(n=t.exec(y));)n.index===t.lastIndex&&t.lastIndex++,O()(n,function(t,o){if("1"==o){var i=C()(t,"**");i&&(t=c()(t,"**"));var a=S()(t);e[r]={id:"ingredient-item-"+n.index,name:a,jsonName:Object(T.d)(Object(P.renderToString)(c()(t))),isGroup:i},r++}});E({ingredients:e})}function s(){for(var e=[],t=/([^.\n\t\r\v\f][a-zA-Z0-9].*)/gim,n=void 0,r=0;null!==(n=t.exec(_));)n.index===t.lastIndex&&t.lastIndex++,O()(n,function(t,o){if("1"==o){var i=C()(t,"**");i&&(t=c()(t,"**"));var a=S()(t);e[r]={id:"direction-step-"+n.index,text:a,jsonText:Object(T.d)(Object(P.renderToString)(c()(t))),isGroup:i},r++}});E({steps:e}),j({isOpen:!1})}var l=e.toToolBar,p=e.isOpen,d=e.isDataSet,m=(e.hasBlocks,e.ingredients),v=e.steps,y=e._ingredients,_=e._directions,E=e.setAttributes,j=e.setState,x=e.onBulkAdd,R=["wpzoom-recipe-card/block-ingredients","wpzoom-recipe-card/block-directions"],D=Object(A.select)("core/block-editor").getBlocks(),V=w()(D,function(e){return-1!==k()(R,e.name)});return d||(m&&m.map(function(e){var n=!g()(e.isGroup)&&e.isGroup;y+=t(e.name,n)}),v&&v.map(function(e){var n=!g()(e.isGroup)&&e.isGroup;_+=t(e.text,n)}),j({isDataSet:!0,_ingredients:y,_directions:_})),wp.element.createElement(P.Fragment,null,l&&wp.element.createElement(z.Toolbar,null,wp.element.createElement(z.Button,{icon:"edit",className:"wpzoom-recipe-card__extra-options",label:Object(o.__)("Recipe Card extra options","recipe-card-blocks-by-wpzoom"),isPrimary:!0,isLarge:!0,onClick:function(e){e.stopPropagation(),j({isOpen:!0,isDataSet:!1,_ingredients:"",_directions:"",hasBlocks:V.length>0})}},Object(o.__)("Bulk Add","recipe-card-blocks-by-wpzoom"))),p&&wp.element.createElement(z.Modal,{title:Object(o.__)("Recipe Card Bulk Add","recipe-card-blocks-by-wpzoom"),onRequestClose:function(){return j({isOpen:!1})}},wp.element.createElement("div",{className:"wpzoom-recipe-card-extra-options",style:{maxWidth:"720px",maxHeight:"525px"}},wp.element.createElement("div",{className:"form-group"},wp.element.createElement("div",{className:"wrap-content"},wp.element.createElement(z.TextareaControl,{label:Object(o.__)("Insert Ingredients","recipe-card-blocks-by-wpzoom"),help:Object(o.__)("Each line break is a new ingredient. Note: To add Ingredient Group Title just type **Group Title** on new line.","recipe-card-blocks-by-wpzoom"),className:"bulk-add-enter-ingredients",rows:"5",value:y,onKeyPress:M,onChange:function(e){return j({_ingredients:e})}}),wp.element.createElement(z.TextareaControl,{label:Object(o.__)("Insert Directions","recipe-card-blocks-by-wpzoom"),help:Object(o.__)("Each line break is a new direction. Note: To add Direction Group Title just type **Group Title** on new line.","recipe-card-blocks-by-wpzoom"),className:"bulk-add-enter-directions",rows:"5",value:_,onKeyPress:M,onChange:function(e){return j({_directions:e})}}))),wp.element.createElement("div",{className:"form-group"},wp.element.createElement(z.Button,{isDefault:!0,onClick:function(){return j({isOpen:!1})}},Object(o.__)("Cancel","recipe-card-blocks-by-wpzoom")),(!f()(y)||!f()(_))&&wp.element.createElement(z.Button,{isPrimary:!0,onClick:function(){i(),s(),x()}},Object(o.__)("Bulk Add","recipe-card-blocks-by-wpzoom"))))))}var o=n(2),i=(n.n(o),n(9)),a=n.n(i),s=n(182),c=n.n(s),l=n(59),u=n.n(l),p=n(92),f=n.n(p),d=n(14),h=n.n(d),m=n(61),b=n.n(m),v=n(15),g=n.n(v),y=n(186),w=n.n(y),_=n(73),O=n.n(_),E=n(612),k=n.n(E),j=n(183),C=n.n(j),x=n(98),S=n.n(x),T=n(12),P=n(0),z=(n.n(P),n(3)),R=(n.n(z),n(34)),A=n(65),M=(n.n(A),function(e){return e.stopPropagation()});t.a=Object(R.b)({toToolBar:!0,isOpen:!1,isDataSet:!1,hasBlocks:!1,_ingredients:"",_directions:""})(r)},function(e,t,n){function r(e,t){var n=[];return o(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}var o=n(74);e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var s=null==n?0:i(n);return s<0&&(s=a(r+s,0)),o(e,t,s)}var o=n(63),i=n(57),a=Math.max;e.exports=r},function(e,t,n){"use strict";var r=n(64),o=n.n(r),i=n(2),a=(n.n(i),o()("wpzoom-recipe-card-print-link")),s=function(e){var t=e.id,n=e.icon;return wp.element.createElement("div",{className:a},wp.element.createElement("a",{className:"btn-print-link no-print",href:"#"+t,title:Object(i.__)("Print directions...","recipe-card-blocks-by-wpzoom")},n,wp.element.createElement("span",null,Object(i.__)("Print","recipe-card-blocks-by-wpzoom"))))};t.a=s},function(e,t,n){"use strict";var r=n(64),o=n.n(r),i=n(2),a=(n.n(i),o()("wpzoom-recipe-card-pinit")),s=function(e){var t=e.icon;return wp.element.createElement("div",{className:a},wp.element.createElement("a",{className:"btn-pinit-link no-print","data-pin-do":"buttonPin",href:"#","data-pin-custom":"true"},t,wp.element.createElement("span",null,Object(i.__)("Pin","recipe-card-blocks-by-wpzoom"))))};t.a=s},function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(e){var t=/^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(e);if(t)return t[1]}t.a=r},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(102)},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var n=e,r=e.indexOf("?");return-1!==r&&(t=Object.assign(Object(o.a)(e),t),n=n.substr(0,r)),n+"?"+Object(i.a)(t)}t.a=r;var o=n(66),i=n(103)},function(e,t,n){"use strict";n(189)},function(e,t,n){"use strict";n(66),n(103)},function(e,t,n){"use strict";n(187)},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=n(6);n.n(r)},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(3);n.n(r);t.a=wp.element.createElement("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",{opacity:"0.3"},wp.element.createElement("path",{d:"M19.8276 32.112V29.7576H28.1768V32.112H19.8276Z",fill:"#22BB66"}),wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M36 8H12V40H36V8ZM28.1171 15.6123C27.8869 15.6123 27.6568 15.6391 27.4289 15.6916C26.5558 14.6103 25.3855 14 24.1526 14C22.3597 14 20.7721 15.2252 19.9645 17.1759C17.7565 17.103 16 19.3386 16 22.0996C16 24.0807 16.9358 25.8415 18.3362 26.6076V33.056C18.3362 33.5779 18.6697 34 19.0819 34H28.9225C29.3347 34 29.6682 33.5779 29.6682 33.056V25.0413C31.0657 24.2715 32 22.5116 32 20.5352C32 17.8212 30.2581 15.6123 28.1171 15.6123Z",fill:"#22BB66"})),wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M27.4289 15.6916C27.6568 15.6391 27.887 15.6123 28.1171 15.6123C30.2581 15.6123 32 17.8212 32 20.5352C32 22.5116 31.0657 24.2715 29.6682 25.0413V33.056C29.6682 33.5778 29.3347 34 28.9225 34H19.0819C18.6697 34 18.3362 33.5778 18.3362 33.056V26.6076C16.9358 25.8415 16 24.0807 16 22.0996C16 19.3386 17.7565 17.103 19.9645 17.1759C20.7721 15.2252 22.3597 14 24.1526 14C25.3855 14 26.5558 14.6103 27.4289 15.6916ZM19.8276 29.7576V32.112H28.1768V29.7576H19.8276Z",fill:"#22BB66"}),wp.element.createElement("path",{d:"M36 4.02L12 4C9.78 4 8 5.78 8 8V40C8 42.22 9.78 44 12 44H36C38.22 44 40 42.22 40 40V8C40 5.78 38.22 4.02 36 4.02ZM36 40H12L11.98 8H36V40Z",fill:"#22BB66"}))},function(e,t,n){"use strict";var r=n(639),o=n(2),i=(n.n(o),n(640)),a=n(19);n.n(a);Object(a.registerBlockType)("wpzoom-recipe-card/block-nutrition",{title:Object(o.__)("Nutrition Facts","recipe-card-blocks-by-wpzoom"),description:Object(o.__)("Display Nutrition Facts for your recipe.","recipe-card-blocks-by-wpzoom"),icon:{foreground:"#FDA921",src:r.a},category:"wpzoom-recipe-card",supports:{multiple:!1},keywords:[Object(o.__)("Recipe Card","recipe-card-blocks-by-wpzoom"),Object(o.__)("Nutrition","recipe-card-blocks-by-wpzoom"),Object(o.__)("WPZOOM","recipe-card-blocks-by-wpzoom")],edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.clientId;return wp.element.createElement(i.a,{attributes:t,setAttributes:n,className:r,clientId:o})},save:function(){return null}})},function(e,t,n){"use strict";var r=n(3);n.n(r);t.a=wp.element.createElement("svg",{width:"20",height:"20",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{opacity:"0.3",d:"M38 18V22H18V18H38ZM26 30V26H30V30H26ZM30 34V38H26V34H30ZM22 30H18V26H22V30ZM34 26H38V30H34V26ZM18 34H22V38H18V34ZM34 38V34H38V38H34Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M38 14H18C15.8 14 14 15.8 14 18V38C14 40.2 15.8 42 18 42H38C40.2 42 42 40.2 42 38V18C42 15.8 40.2 14 38 14ZM38 18V22H18V18H38ZM26 30V26H30V30H26ZM30 34V38H26V34H30ZM22 30H18V26H22V30ZM34 26H38V30H34V26ZM18 34H22V38H18V34ZM34 38V34H38V38H34ZM12 34H10C7.8 34 6 32.2 6 30V10C6 7.8 7.8 6 10 6H30C32.2 6 34 7.8 34 10V12H30V10H10V30H12V34Z",fill:"#E1581A"}))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),s=(n.n(a),n(9)),c=n.n(s),l=n(641),u=n.n(l),p=n(186),f=n.n(p),d=n(642),h=n.n(d),m=n(38),b=n(0),v=(n.n(b),n(65)),g=(n.n(v),n(34)),y=n(3),w=(n.n(y),n(5)),_=(n.n(w),n(644)),O=(n.n(_),n(645)),E=(n.n(O),function(){function e(e,t){for(var n=0;n0?n.map(function(e){return{value:e.id,label:e.title.raw}}):[],h=wp.element.createElement(f.a,{className:"wpzoom-select-cpt-recipe-cards","aria-labelledby":"cpt-select",options:d,value:u,onChange:function(e){return a({postId:String(e)})},simpleValue:!0,clearable:!0}),m=r(u),v=wp.element.createElement("p",{className:"wpzoom-edit-link-description"},Object(p.__)("Edit the recipe post","recipe-card-blocks-by-wpzoom")," ",wp.element.createElement("a",{href:m},Object(p.__)("here","recipe-card-blocks-by-wpzoom")));return wp.element.createElement(React.Fragment,null,wp.element.createElement(i.InspectorControls,null,wp.element.createElement(s.PanelBody,{title:Object(p.__)("Options","recipe-card-blocks-by-wpzoom")},d.length>0?h:wp.element.createElement(s.Disabled,null,h),v)),wp.element.createElement(l.Fragment,null,"-1"!=u?wp.element.createElement(b,{block:"wpzoom-recipe-card/recipe-block-from-posts",attributes:t}):wp.element.createElement(s.Placeholder,{icon:o.a,label:Object(p.__)("Insert Existing Recipe","recipe-card-blocks-by-wpzoom")},d.length>0?h:wp.element.createElement(s.Disabled,null,h))))})})},function(e,t,n){"use strict";var r=n(3);n.n(r);t.a=wp.element.createElement("svg",{width:"20",height:"20",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{opacity:"0.3","fill-rule":"evenodd","clip-rule":"evenodd",d:"M26.2 8C26.0689 8.64622 26 9.31507 26 10C26 11.8078 26.4797 13.5035 27.3187 14.9668C26.3296 15.6946 25.7 16.7148 25.7 17.6V24.8H28.4V34H30.2V18.1471C31.3176 18.9442 32.6062 19.517 34 19.8V40H10V8H26.2ZM21.2 20.3H19.4V14H17.6V20.3H15.8V14H14V20.3C14 22.289 15.611 23.9 17.6 23.9V34H19.4V23.9C21.389 23.9 23 22.289 23 20.3V14H21.2V20.3Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M27.3187 14.9668C26.3296 15.6946 25.7 16.7148 25.7 17.6V24.8H28.4V34H30.2V18.1471C29.0253 17.3093 28.0394 16.2238 27.3187 14.9668Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M19.4 20.3H21.2V14H23V20.3C23 22.289 21.389 23.9 19.4 23.9V34H17.6V23.9C15.611 23.9 14 22.289 14 20.3V14H15.8V20.3H17.6V14H19.4V20.3Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M34 19.8V40H10L9.98 8H26.2C26.4987 6.52859 27.1205 5.1745 27.988 4.01499L10 4C7.78 4 6 5.78 6 8V40C6 42.22 7.78 44 10 44H34C36.22 44 38 42.22 38 40V19.8C37.3538 19.9311 36.6849 20 36 20C35.3151 20 34.6462 19.9311 34 19.8Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M38 4H34V10H30L36 16L42 10H38V4Z",fill:"#E1581A"}))},function(e,t,n){"use strict";var r=n(649),o=n.n(r),i=n(64),a=n.n(i),s=n(7),c=n.n(s),l=n(4),u=n.n(l),p=n(650),f=(n.n(p),function(e){var t=e.onMouseDown;return u.a.createElement("span",{className:"Select-arrow",onMouseDown:t})});f.propTypes={onMouseDown:c.a.func};var d=function(){return u.a.createElement("span",{className:"Select-clear",dangerouslySetInnerHTML:{__html:"×"}})},h=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],m=function(e){for(var t=0;t-1)return!1;if(r.filterOption)return r.filterOption.call(void 0,e,t);if(!t)return!0;var o=e[r.valueKey],i=e[r.labelKey],a=v(o),s=v(i);if(!a&&!s)return!1;var c=a?String(o):null,l=s?String(i):null;return r.ignoreAccents&&(c&&"label"!==r.matchProp&&(c=m(c)),l&&"value"!==r.matchProp&&(l=m(l))),r.ignoreCase&&(c&&"label"!==r.matchProp&&(c=c.toLowerCase()),l&&"value"!==r.matchProp&&(l=l.toLowerCase())),"start"===r.matchPos?c&&"label"!==r.matchProp&&c.substr(0,t.length)===t||l&&"value"!==r.matchProp&&l.substr(0,t.length)===t:c&&"label"!==r.matchProp&&c.indexOf(t)>=0||l&&"value"!==r.matchProp&&l.indexOf(t)>=0})},y=function(e){var t=e.focusedOption,n=e.focusOption,r=e.inputValue,o=e.instancePrefix,i=e.onFocus,s=e.onOptionRef,c=e.onSelect,l=e.optionClassName,p=e.optionComponent,f=e.optionRenderer,d=e.options,h=e.removeValue,m=e.selectValue,b=e.valueArray,v=e.valueKey,g=p;return d.map(function(e,p){var d=b&&b.some(function(t){return t[v]===e[v]}),y=e===t,w=a()(l,{"Select-option":!0,"is-selected":d,"is-focused":y,"is-disabled":e.disabled});return u.a.createElement(g,{className:w,focusOption:n,inputValue:r,instancePrefix:o,isDisabled:e.disabled,isFocused:y,isSelected:d,key:"option-"+p+"-"+e[v],onFocus:i,onSelect:c,option:e,optionIndex:p,ref:function(e){s(e,y)},removeValue:h,selectValue:m},f(e,p,r))})};y.propTypes={focusOption:c.a.func,focusedOption:c.a.object,inputValue:c.a.string,instancePrefix:c.a.string,onFocus:c.a.func,onOptionRef:c.a.func,onSelect:c.a.func,optionClassName:c.a.string,optionComponent:c.a.func,optionRenderer:c.a.func,options:c.a.array,removeValue:c.a.func,selectValue:c.a.func,valueArray:c.a.array,valueKey:c.a.string};var w=function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)},_="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},O=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var s={key:e,arg:t,resolve:n,reject:o,next:null};a?a=a.next=s:(i=a=s,r(e,t))})}function r(n,i){try{var a=t[n](i),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(a.done?"return":"normal",a.value)}catch(e){o("throw",e)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):a=null}var i,a;this._invoke=n,"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),E=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},S=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},T=function(e){function t(e){O(this,t);var n=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.handleMouseEnter=n.handleMouseEnter.bind(n),n.handleMouseMove=n.handleMouseMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.onFocus=n.onFocus.bind(n),n}return C(t,e),E(t,[{key:"handleMouseDown",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)}},{key:"handleMouseEnter",value:function(e){this.onFocus(e)}},{key:"handleMouseMove",value:function(e){this.onFocus(e)}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"onFocus",value:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)}},{key:"render",value:function(){var e=this.props,t=e.option,n=e.instancePrefix,r=e.optionIndex,o=a()(this.props.className,t.className);return t.disabled?u.a.createElement("div",{className:o,onMouseDown:w,onClick:w},this.props.children):u.a.createElement("div",{className:o,style:t.style,role:"option","aria-label":t.label,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+r,title:t.title},this.props.children)}}]),t}(u.a.Component);T.propTypes={children:c.a.node,className:c.a.string,instancePrefix:c.a.string.isRequired,isDisabled:c.a.bool,isFocused:c.a.bool,isSelected:c.a.bool,onFocus:c.a.func,onSelect:c.a.func,onUnfocus:c.a.func,option:c.a.object.isRequired,optionIndex:c.a.number};var P=function(e){function t(e){O(this,t);var n=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.onRemove=n.onRemove.bind(n),n.handleTouchEndRemove=n.handleTouchEndRemove.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n}return C(t,e),E(t,[{key:"handleMouseDown",value:function(e){if("mousedown"!==e.type||0===e.button)return this.props.onClick?(e.stopPropagation(),void this.props.onClick(this.props.value,e)):void(this.props.value.href&&e.stopPropagation())}},{key:"onRemove",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onRemove(this.props.value)}},{key:"handleTouchEndRemove",value:function(e){this.dragging||this.onRemove(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"renderRemoveIcon",value:function(){if(!this.props.disabled&&this.props.onRemove)return u.a.createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"\xd7")}},{key:"renderLabel",value:function(){return this.props.onClick||this.props.value.href?u.a.createElement("a",{className:"Select-value-label",href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):u.a.createElement("span",{className:"Select-value-label",role:"option","aria-selected":"true",id:this.props.id},this.props.children)}},{key:"render",value:function(){return u.a.createElement("div",{className:a()("Select-value",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}}]),t}(u.a.Component);P.propTypes={children:c.a.node,disabled:c.a.bool,id:c.a.string,onClick:c.a.func,onRemove:c.a.func,value:c.a.object.isRequired};var z=function(e){return"string"===typeof e?e:null!==e&&JSON.stringify(e)||""},R=c.a.oneOfType([c.a.string,c.a.node]),A=c.a.oneOfType([c.a.string,c.a.number]),M=1,D=function(e,t){var n=e.inputValue,r=e.isPseudoFocused,o=e.isFocused,i=t.onSelectResetsInput;return!n||!i&&!(!o&&r||o&&!r)},V=function(e,t,n){var r=e.inputValue,o=e.isPseudoFocused,i=e.isFocused,a=t.onSelectResetsInput;return!r||!a&&!n&&!o&&!i},N=function(e,t){var n="undefined"===typeof e?"undefined":_(e);if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var r=t.options,o=t.valueKey;if(r)for(var i=0;ia||if.bottom?l.scrollTop=c.offsetTop+c.clientHeight-l.offsetHeight:u.topt.offsetHeight&&t.scrollHeight-t.offsetHeight-t.scrollTop<=0&&this.props.onMenuScrollToBottom()}}},{key:"getOptionLabel",value:function(e){return e[this.props.labelKey]}},{key:"getValueArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n="object"===("undefined"===typeof t?"undefined":_(t))?t:this.props;if(n.multi){if("string"===typeof e&&(e=e.split(n.delimiter)),!Array.isArray(e)){if(null===e||void 0===e)return[];e=[e]}return e.map(function(e){return N(e,n)}).filter(function(e){return e})}var r=N(e,n);return r?[r]:[]}},{key:"setValue",value:function(e){var t=this;if(this.props.autoBlur&&this.blurInput(),this.props.required){var n=L(e,this.props.multi);this.setState({required:n})}this.props.simpleValue&&e&&(e=this.props.multi?e.map(function(e){return e[t.props.valueKey]}).join(this.props.delimiter):e[this.props.valueKey]),this.props.onChange&&this.props.onChange(e)}},{key:"selectValue",value:function(e){var t=this;this.props.closeOnSelect&&(this.hasScrolledToOption=!1);var n=this.props.onSelectResetsInput?"":this.state.inputValue;this.props.multi?this.setState({focusedIndex:null,inputValue:this.handleInputValueChange(n),isOpen:!this.props.closeOnSelect},function(){t.getValueArray(t.props.value).some(function(n){return n[t.props.valueKey]===e[t.props.valueKey]})?t.removeValue(e):t.addValue(e)}):this.setState({inputValue:this.handleInputValueChange(n),isOpen:!this.props.closeOnSelect,isPseudoFocused:this.state.isFocused},function(){t.setValue(e)})}},{key:"addValue",value:function(e){var t=this.getValueArray(this.props.value),n=this._visibleOptions.filter(function(e){return!e.disabled}),r=n.indexOf(e);this.setValue(t.concat(e)),n.length-1===r?this.focusOption(n[r-1]):n.length>r&&this.focusOption(n[r+1])}},{key:"popValue",value:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(this.props.multi?e.slice(0,e.length-1):null)}},{key:"removeValue",value:function(e){var t=this,n=this.getValueArray(this.props.value);this.setValue(n.filter(function(n){return n[t.props.valueKey]!==e[t.props.valueKey]})),this.focus()}},{key:"clearValue",value:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.preventDefault(),this.setValue(this.getResetValue()),this.setState({inputValue:this.handleInputValueChange(""),isOpen:!1},this.focus),this._focusAfterClear=!0)}},{key:"getResetValue",value:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null}},{key:"focusOption",value:function(e){this.setState({focusedOption:e})}},{key:"focusNextOption",value:function(){this.focusAdjacentOption("next")}},{key:"focusPreviousOption",value:function(){this.focusAdjacentOption("previous")}},{key:"focusPageUpOption",value:function(){this.focusAdjacentOption("page_up")}},{key:"focusPageDownOption",value:function(){this.focusAdjacentOption("page_down")}},{key:"focusStartOption",value:function(){this.focusAdjacentOption("start")}},{key:"focusEndOption",value:function(){this.focusAdjacentOption("end")}},{key:"focusAdjacentOption",value:function(e){var t=this._visibleOptions.map(function(e,t){return{option:e,index:t}}).filter(function(e){return!e.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen){var n={focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null),isOpen:!0};return this.props.onSelectResetsInput&&(n.inputValue=""),void this.setState(n)}if(t.length){for(var r=-1,o=0;o0?r-=1:r=t.length-1;else if("start"===e)r=0;else if("end"===e)r=t.length-1;else if("page_up"===e){var i=r-this.props.pageSize;r=i<0?0:i}else if("page_down"===e){var a=r+this.props.pageSize;r=a>t.length-1?t.length-1:a}-1===r&&(r=0),this.setState({focusedIndex:t[r].index,focusedOption:t[r].option})}}},{key:"getFocusedOption",value:function(){return this._focusedOption}},{key:"selectFocusedOption",value:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)}},{key:"renderLoading",value:function(){if(this.props.isLoading)return u.a.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},u.a.createElement("span",{className:"Select-loading"}))}},{key:"renderValue",value:function(e,t){var n=this,r=this.props.valueRenderer||this.getOptionLabel,o=this.props.valueComponent;if(!e.length){return V(this.state,this.props,t)?u.a.createElement("div",{className:"Select-placeholder"},this.props.placeholder):null}var i=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map(function(e,t){return u.a.createElement(o,{disabled:n.props.disabled||!1===e.clearableValue,id:n._instancePrefix+"-value-"+t,instancePrefix:n._instancePrefix,key:"value-"+t+"-"+e[n.props.valueKey],onClick:i,onRemove:n.removeValue,placeholder:n.props.placeholder,value:e},r(e,t),u.a.createElement("span",{className:"Select-aria-only"},"\xa0"))}):D(this.state,this.props)?(t&&(i=null),u.a.createElement(o,{disabled:this.props.disabled,id:this._instancePrefix+"-value-item",instancePrefix:this._instancePrefix,onClick:i,placeholder:this.props.placeholder,value:e[0]},r(e[0]))):void 0}},{key:"renderInput",value:function(e,t){var n,r=this,i=a()("Select-input",this.props.inputProps.className),s=this.state.isOpen,c=a()((n={},k(n,this._instancePrefix+"-list",s),k(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),l=this.state.inputValue;!l||this.props.onSelectResetsInput||this.state.isFocused||(l="");var p=j({},this.props.inputProps,{"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-expanded":""+s,"aria-haspopup":""+s,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-owns":c,className:i,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},role:"combobox",required:this.state.required,tabIndex:this.props.tabIndex,value:l});if(this.props.inputRenderer)return this.props.inputRenderer(p);if(this.props.disabled||!this.props.searchable){var f=x(this.props.inputProps,[]),d=a()(k({},this._instancePrefix+"-list",s));return u.a.createElement("div",j({},f,{"aria-expanded":s,"aria-owns":d,"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-disabled":""+this.props.disabled,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],className:i,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},role:"combobox",style:{border:0,width:1,display:"inline-block"},tabIndex:this.props.tabIndex||0}))}return this.props.autosize?u.a.createElement(o.a,j({id:this.props.id},p,{minWidth:"5"})):u.a.createElement("div",{className:i,key:"input-wrap",style:{display:"inline-block"}},u.a.createElement("input",j({id:this.props.id},p)))}},{key:"renderClear",value:function(){var e=this.getValueArray(this.props.value);if(this.props.clearable&&e.length&&!this.props.disabled&&!this.props.isLoading){var t=this.props.multi?this.props.clearAllText:this.props.clearValueText,n=this.props.clearRenderer();return u.a.createElement("span",{"aria-label":t,className:"Select-clear-zone",onMouseDown:this.clearValue,onTouchEnd:this.handleTouchEndClearValue,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,title:t},n)}}},{key:"renderArrow",value:function(){if(this.props.arrowRenderer){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return n?u.a.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},n):null}}},{key:"filterOptions",value:function(e){var t=this.state.inputValue,n=this.props.options||[];if(this.props.filterOptions){return("function"===typeof this.props.filterOptions?this.props.filterOptions:g)(n,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,trimFilter:this.props.trimFilter,valueKey:this.props.valueKey})}return n}},{key:"onOptionRef",value:function(e,t){t&&(this.focused=e)}},{key:"renderMenu",value:function(e,t,n){return e&&e.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,inputValue:this.state.inputValue,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onOptionRef:this.onOptionRef,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,removeValue:this.removeValue,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey}):this.props.noResultsText?u.a.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null}},{key:"renderHiddenField",value:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var n=e.map(function(e){return z(e[t.props.valueKey])}).join(this.props.delimiter);return u.a.createElement("input",{disabled:this.props.disabled,name:this.props.name,ref:function(e){return t.value=e},type:"hidden",value:n})}return e.map(function(e,n){return u.a.createElement("input",{disabled:t.props.disabled,key:"hidden."+n,name:t.props.name,ref:"value"+n,type:"hidden",value:z(e[t.props.valueKey])})})}}},{key:"getFocusableOptionIndex",value:function(e){var t=this._visibleOptions;if(!t.length)return null;var n=this.props.valueKey,r=this.state.focusedOption||e;if(r&&!r.disabled){var o=-1;if(t.some(function(e,t){var i=e[n]===r[n];return i&&(o=t),i}),-1!==o)return o}for(var i=0;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function s(e,t){return f(e)||p(e,t)||l(e,t)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:x.default;return window[t]&&r(window[t])?Promise.resolve(window[t]):new Promise(function(r,i){if(M[e])return void M[e].push({resolve:r,reject:i});M[e]=[{resolve:r,reject:i}];var a=function(t){M[e].forEach(function(e){return e.resolve(t)})};if(n){var s=window[n];window[n]=function(){s&&s(),a(window[t])}}o(e,function(r){r?(M[e].forEach(function(e){return e.reject(r)}),M[e]=null):n||a(window[t])})})}function w(e,t,n){var r,o=(0,S.default)(t.config,e.config),s=a(T.DEPRECATED_CONFIG_PROPS);try{for(s.s();!(r=s.n()).done;){var c=r.value;if(e[c]){var l=c.replace(/Config$/,"");if(o=(0,S.default)(o,i({},l,e[c])),n){var u="ReactPlayer: %c".concat(c," %cis deprecated, please use the config prop instead \u2013 ").concat("https://github.com/CookPete/react-player#config-prop");console.warn(u,"font-weight: bold","")}}}}catch(e){s.e(e)}finally{s.f()}return o}function _(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1?r-1:0),i=1;i]+src="([^">]+)"/gm,n=[],r=void 0,o=0;null!==(r=t.exec(e));)r.index===t.lastIndex&&t.lastIndex++,r.forEach(function(e,t){1===t&&(n[o]=e)}),o++;return!!n.length&&n}function i(e){return!Object(s.includes)(e,"\\u003c")&&Object(s.includes)(e,"u003c")&&(e=Object(s.replace)(e,/u003c/g,"<")),!Object(s.includes)(e,"\\u003e")&&Object(s.includes)(e,"u003e")&&(e=Object(s.replace)(e,/u003e/g,">")),!Object(s.includes)(e,"\\u0022")&&Object(s.includes)(e,"u0022")&&(e=Object(s.replace)(e,/u0022/g,'"')),!Object(s.includes)(e,"\\u002d")&&Object(s.includes)(e,"u002d")&&(e=Object(s.replace)(e,/u002d/g,"--")),!Object(s.includes)(e,"\\u0026")&&Object(s.includes)(e,"u0026")&&(e=Object(s.replace)(e,/u0026/g,"&")),e}function a(e){for(var t=[],n=0;n0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null}),g(d(e),"seekTo",function(t,n){if(!e.player)return null;e.player.seekTo(t,n)}),g(d(e),"ref",function(t){e.player=t}),e}b(n,t);var r=p(n);return u(n,[{key:"shouldComponentUpdate",value:function(e){return!(0,O.isEqual)(this.props,e)}},{key:"componentDidUpdate",value:function(){this.config=(0,O.getConfig)(this.props,_.defaultProps)}},{key:"render",value:function(){var t=this.config.file,n=t.forceVideo,r=t.forceAudio,o=t.forceHLS,a=t.forceDASH,c=n||r||o||a;if(!e.canPlay(this.props.url)&&!c)return null;var l=this.props,u=l.style,p=l.width,f=l.height,d=l.wrapper,h=(0,O.omit)(this.props,k,_.DEPRECATED_CONFIG_PROPS);return w.default.createElement(d,i({style:s({},u,{width:p,height:f})},h),w.default.createElement(E.default,i({},this.props,{ref:this.ref,activePlayer:e,config:this.config})))}}]),n}(w.Component),g(t,"displayName","".concat(e.displayName,"Player")),g(t,"propTypes",_.propTypes),g(t,"defaultProps",_.defaultProps),g(t,"canPlay",e.canPlay),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var w=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}(n(4)),_=n(60),O=n(11),E=function(e){return e&&e.__esModule?e:{default:e}}(n(94)),k=Object.keys(_.propTypes)},function(e,t,n){"use strict";function r(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return Object(o.a)(e,t);if(Array.isArray(e)&&Array.isArray(t))return Object(i.a)(e,t)}return e===t}t.a=r;var o=n(105),i=n(106)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==e?i()(e+"-"+(new Date).getTime()):i()((new Date).getTime())}t.a=r;var o=n(142),i=n.n(o)},function(e,t){e.exports=wp.blocks},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function i(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?h=d.concat(h):b=-1,h.length&&s())}function s(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(d=h,h=[];++b1)for(var n=1;n-1&&e%1==0&&e-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){"use strict";t.a={oldicon:["food","room-service","cook","chef","food-1","clock","shop","snack","recipes","shopping-basket","chef-cooking","chef-cooking-1","female-cooking"],foodicons:["apple-and-grapes-on-a-bowl","apple-cut-in-half-with-visible-seeds","apple-with-stem-and-leaf","barbacue-utensils","barbecue-grill","beer-in-glass-and-bottle","beer-pint","bowl-of-hot-soup-on-a-plate","burger-and-soda-with-straw","cabbage","cheers","cheese-with-little-cutted-triangular-piece","chef-with-hat","cherries-with-stem","chicken-leg","chocolate-donut-with-sprinkles","cocktail-drink-with-stirrer","coffee-jar","coffee-jar-and-filter","coffee-maker-machine","cooking-food-in-a-hot-casserole","corn-with-leaves","croissant","cucumber-cut-in-half","cupcake-dessert","dining-meal-covered","dish-cover","eggplant-rotated-to-left","fire-flames","fish-tail-bone","food-observation","food-on-a-stick","french-fries-on-container","fresh-carrot","fried-chicken-leg-on-a-plate","fried-egg","giant-pumpkin","glass-of-wine-and-bottle","grapes-and-pear-on-a-platter","grapes-with-leaf-and-stem","half-avocado","half-lemon","hamburger-with-sesame-seeds","heating-pad","horizontal-lemon","hot-bread-with-smoke","hot-coffee-on-a-tall-paper-cup","hot-dog-with-sauce-and-bread","hot-dogs-package","hot-drink-on-a-cup-button","hot-fish","hot-fish-bone","hot-kitchen-pot","hot-meal-sign","hot-pepper","hot-pot","hot-soup","ice-cream-cone","ice-cream-in-glass","icecream-cup","leaves-of-herbs","loaves-of-bread","long-cofee-pot","meat-slice","milk-jar-with-label","milk-package","noodle-soup-on-a-bowl","onion-bulb","onion-bulb-1","opened-peas","orange-with-leaf","packed-sausage","pair-of-gloves","paper-cupcake","peach-piece","preserved-in-a-bottle","restaurant-menu-card","restaurant-utensils","rice-bowl-with-chopsticks","sausage-on-a-fork","sausage-on-a-fork-1","small-mushroom","spoon-and-fork-upside-down","squid","strawberry","sushi-platter-with-chopsticks","take-away-tacos","tea-bag-with-tag","teapot-and-cup","three-balls-ice-cream-cone","three-bananas","tomato-healthy-veggie","traditional-mate","tube-glass-with-shine","two-layer-birthday-cake-with-candle","upsized-drink-with-straw","very-hot-drink-with-shine","watermelon-slice","wine-bottle-in-bucket-with-two-glasses","wine-crystal-cup"],dashicons:["menu","admin-site","dashboard","admin-post","admin-media","admin-links","admin-page","admin-comments","admin-appearance","admin-plugins","admin-users","admin-tools","admin-settings","admin-network","admin-home","admin-generic","admin-collapse","filter","admin-customizer","admin-multisite","welcome-write-blog","welcome-add-page","welcome-view-site","welcome-widgets-menus","welcome-comments","welcome-learn-more","format-aside","format-image","format-gallery","format-video","format-status","format-quote","format-chat","format-audio","camera","images-alt","images-alt2","video-alt","video-alt2","video-alt3","media-archive","media-audio","media-code","media-default","media-document","media-interactive","media-spreadsheet","media-text","media-video","playlist-audio","playlist-video","controls-play","controls-pause","controls-forward","controls-skipforward","controls-back","controls-skipback","controls-repeat","controls-volumeon","controls-volumeoff","image-crop","image-rotate","image-rotate-left","image-rotate-right","image-flip-vertical","image-flip-horizontal","image-filter","undo","redo","editor-bold","editor-italic","editor-ul","editor-ol","editor-quote","editor-alignleft","editor-aligncenter","editor-alignright","editor-insertmore","editor-spellcheck","editor-expand","editor-contract","editor-kitchensink","editor-underline","editor-justify","editor-textcolor","editor-paste-word","editor-paste-text","editor-removeformatting","editor-video","editor-customchar","editor-outdent","editor-indent","editor-help","editor-strikethrough","editor-unlink","editor-rtl","editor-break","editor-code","editor-paragraph","editor-table","align-left","align-right","align-center","align-none","lock","unlock","calendar","calendar-alt","visibility","hidden","post-status","edit","trash","sticky","external","arrow-up","arrow-down","arrow-right","arrow-left","arrow-up-alt","arrow-down-alt","arrow-right-alt","arrow-left-alt","arrow-up-alt2","arrow-down-alt2","arrow-right-alt2","arrow-left-alt2","sort","leftright","randomize","list-view","exerpt-view","grid-view","move","share","share-alt","share-alt2","twitter","rss","email","email-alt","facebook","facebook-alt","googleplus","networking","hammer","art","migrate","performance","universal-access","universal-access-alt","tickets","nametag","clipboard","heart","megaphone","schedule","wordpress","wordpress-alt","pressthis","update","screenoptions","info","cart","feedback","cloud","translation","tag","category","archive","tagcloud","text","yes","no","no-alt","plus","plus-alt","minus","dismiss","marker","star-filled","star-half","star-empty","flag","warning","location","location-alt","vault","shield","shield-alt","sos","search","slides","analytics","chart-pie","chart-bar","chart-line","chart-area","groups","businessman","id","id-alt","products","awards","forms","testimonial","portfolio","book","book-alt","download","upload","backup","clock","lightbulb","microphone","desktop","laptop","tablet","smartphone","phone","index-card","carrot","building","store","album","palmtree","tickets-alt","money","smiley","thumbs-up","thumbs-down","layout","paperclip"],genericons:["standard","aside","image","gallery","video","status","quote","link","chat","audio","github","dribbble","twitter","facebook","facebook-alt","wordpress","googleplus","googleplus-alt","linkedin","linkedin-alt","pinterest","pinterest-alt","flickr","vimeo","youtube","tumblr","instagram","codepen","polldaddy","path","skype","digg","reddit","stumbleupon","pocket","dropbox","foursquare","comment","category","tag","time","user","day","week","month","pinned","search","unzoom","zoom","show","hide","close","close-alt","trash","star","home","mail","edit","reply","feed","warning","share","attachment","location","checkmark","menu","refresh","minimize","maximize","404","spam","summary","cloud","key","dot","next","previous","expand","collapse","dropdown","dropdown-left","top","draggable","phone","send-to-phone","plugin","cloud-download","cloud-upload","external","document","book","cog","unapprove","cart","pause","stop","skip-back","skip-ahead","play","tablet","send-to-tablet","info","notice","help","fastforward","rewind","portfolio","heart","code","subscribe","unsubscribe","subscribed","reply-alt","reply-single","flag","print","lock","bold","italic","picture","fullscreen","website","ellipsis","uparrow","rightarrow","downarrow","leftarrow","xpost","hierarchy","paintbrush","sitemap","activity","anchor","bug","download","handset","microphone","minus","move","plus","rating-empty","rating-full","rating-half","shuffle","spotify","twitch","videocamera"],fa:["fas fa-address-book","fas fa-address-card","fas fa-adjust","fas fa-align-center","fas fa-align-justify","fas fa-align-left","fas fa-align-right","fas fa-allergies","fas fa-ambulance","fas fa-american-sign-language-interpreting","fas fa-anchor","fas fa-angle-double-down","fas fa-angle-double-left","fas fa-angle-double-right","fas fa-angle-double-up","fas fa-angle-down","fas fa-angle-left","fas fa-angle-right","fas fa-angle-up","fas fa-archive","fas fa-arrow-alt-circle-down","fas fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-up","fas fa-arrow-circle-down","fas fa-arrow-circle-left","fas fa-arrow-circle-right","fas fa-arrow-circle-up","fas fa-arrow-down","fas fa-arrow-left","fas fa-arrow-right","fas fa-arrow-up","fas fa-arrows-alt","fas fa-arrows-alt-h","fas fa-arrows-alt-v","fas fa-assistive-listening-systems","fas fa-asterisk","fas fa-at","fas fa-audio-description","fas fa-backward","fas fa-balance-scale","fas fa-ban","fas fa-band-aid","fas fa-barcode","fas fa-bars","fas fa-baseball-ball","fas fa-basketball-ball","fas fa-bath","fas fa-battery-empty","fas fa-battery-full","fas fa-battery-half","fas fa-battery-quarter","fas fa-battery-three-quarters","fas fa-bed","fas fa-beer","fas fa-bell","fas fa-bell-slash","fas fa-bicycle","fas fa-binoculars","fas fa-birthday-cake","fas fa-blind","fas fa-bold","fas fa-bolt","fas fa-bomb","fas fa-book","fas fa-bookmark","fas fa-bowling-ball","fas fa-box","fas fa-box-open","fas fa-boxes","fas fa-braille","fas fa-briefcase","fas fa-briefcase-medical","fas fa-bug","fas fa-building","fas fa-bullhorn","fas fa-bullseye","fas fa-burn","fas fa-bus","fas fa-calculator","fas fa-calendar","fas fa-calendar-alt","fas fa-calendar-check","fas fa-calendar-minus","fas fa-calendar-plus","fas fa-calendar-times","fas fa-camera","fas fa-camera-retro","fas fa-capsules","fas fa-car","fas fa-caret-down","fas fa-caret-left","fas fa-caret-right","fas fa-caret-square-down","fas fa-caret-square-left","fas fa-caret-square-right","fas fa-caret-square-up","fas fa-caret-up","fas fa-cart-arrow-down","fas fa-cart-plus","fas fa-certificate","fas fa-chart-area","fas fa-chart-bar","fas fa-chart-line","fas fa-chart-pie","fas fa-check","fas fa-check-circle","fas fa-check-square","fas fa-chess","fas fa-chess-bishop","fas fa-chess-board","fas fa-chess-king","fas fa-chess-knight","fas fa-chess-pawn","fas fa-chess-queen","fas fa-chess-rook","fas fa-chevron-circle-down","fas fa-chevron-circle-left","fas fa-chevron-circle-right","fas fa-chevron-circle-up","fas fa-chevron-down","fas fa-chevron-left","fas fa-chevron-right","fas fa-chevron-up","fas fa-child","fas fa-circle","fas fa-circle-notch","fas fa-clipboard","fas fa-clipboard-check","fas fa-clipboard-list","fas fa-clock","fas fa-clone","fas fa-closed-captioning","fas fa-cloud","fas fa-cloud-download-alt","fas fa-cloud-upload-alt","fas fa-code","fas fa-code-branch","fas fa-coffee","fas fa-cog","fas fa-cogs","fas fa-columns","fas fa-comment","fas fa-comment-alt","fas fa-comment-dots","fas fa-comment-slash","fas fa-comments","fas fa-compass","fas fa-compress","fas fa-copy","fas fa-copyright","fas fa-couch","fas fa-credit-card","fas fa-crop","fas fa-crosshairs","fas fa-cube","fas fa-cubes","fas fa-cut","fas fa-database","fas fa-deaf","fas fa-desktop","fas fa-diagnoses","fas fa-dna","fas fa-dollar-sign","fas fa-dolly","fas fa-dolly-flatbed","fas fa-donate","fas fa-dot-circle","fas fa-dove","fas fa-download","fas fa-edit","fas fa-eject","fas fa-ellipsis-h","fas fa-ellipsis-v","fas fa-envelope","fas fa-envelope-open","fas fa-envelope-square","fas fa-eraser","fas fa-euro-sign","fas fa-exchange-alt","fas fa-exclamation","fas fa-exclamation-circle","fas fa-exclamation-triangle","fas fa-expand","fas fa-expand-arrows-alt","fas fa-external-link-alt","fas fa-external-link-square-alt","fas fa-eye","fas fa-eye-dropper","fas fa-eye-slash","fas fa-fast-backward","fas fa-fast-forward","fas fa-fax","fas fa-female","fas fa-fighter-jet","fas fa-file","fas fa-file-alt","fas fa-file-archive","fas fa-file-audio","fas fa-file-code","fas fa-file-excel","fas fa-file-image","fas fa-file-medical","fas fa-file-medical-alt","fas fa-file-pdf","fas fa-file-powerpoint","fas fa-file-video","fas fa-file-word","fas fa-film","fas fa-filter","fas fa-fire","fas fa-fire-extinguisher","fas fa-first-aid","fas fa-flag","fas fa-flag-checkered","fas fa-flask","fas fa-folder","fas fa-folder-open","fas fa-font","fas fa-football-ball","fas fa-forward","fas fa-frown","fas fa-futbol","fas fa-gamepad","fas fa-gavel","fas fa-gem","fas fa-genderless","fas fa-gift","fas fa-glass-martini","fas fa-globe","fas fa-golf-ball","fas fa-graduation-cap","fas fa-h-square","fas fa-hand-holding","fas fa-hand-holding-heart","fas fa-hand-holding-usd","fas fa-hand-lizard","fas fa-hand-paper","fas fa-hand-peace","fas fa-hand-point-down","fas fa-hand-point-left","fas fa-hand-point-right","fas fa-hand-point-up","fas fa-hand-pointer","fas fa-hand-rock","fas fa-hand-scissors","fas fa-hand-spock","fas fa-hands","fas fa-hands-helping","fas fa-handshake","fas fa-hashtag","fas fa-hdd","fas fa-heading","fas fa-headphones","fas fa-heart","fas fa-heartbeat","fas fa-history","fas fa-hockey-puck","fas fa-home","fas fa-hospital","fas fa-hospital-alt","fas fa-hospital-symbol","fas fa-hourglass","fas fa-hourglass-end","fas fa-hourglass-half","fas fa-hourglass-start","fas fa-i-cursor","fas fa-id-badge","fas fa-id-card","fas fa-id-card-alt","fas fa-image","fas fa-images","fas fa-inbox","fas fa-indent","fas fa-industry","fas fa-info","fas fa-info-circle","fas fa-italic","fas fa-key","fas fa-keyboard","fas fa-language","fas fa-laptop","fas fa-leaf","fas fa-lemon","fas fa-level-down-alt","fas fa-level-up-alt","fas fa-life-ring","fas fa-lightbulb","fas fa-link","fas fa-lira-sign","fas fa-list","fas fa-list-alt","fas fa-list-ol","fas fa-list-ul","fas fa-location-arrow","fas fa-lock","fas fa-lock-open","fas fa-long-arrow-alt-down","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-up","fas fa-low-vision","fas fa-magic","fas fa-magnet","fas fa-male","fas fa-map","fas fa-map-marker","fas fa-map-marker-alt","fas fa-map-pin","fas fa-map-signs","fas fa-mars","fas fa-mars-double","fas fa-mars-stroke","fas fa-mars-stroke-h","fas fa-mars-stroke-v","fas fa-medkit","fas fa-meh","fas fa-mercury","fas fa-microchip","fas fa-microphone","fas fa-microphone-slash","fas fa-minus","fas fa-minus-circle","fas fa-minus-square","fas fa-mobile","fas fa-mobile-alt","fas fa-money-bill-alt","fas fa-moon","fas fa-motorcycle","fas fa-mouse-pointer","fas fa-music","fas fa-neuter","fas fa-newspaper","fas fa-notes-medical","fas fa-object-group","fas fa-object-ungroup","fas fa-outdent","fas fa-paint-brush","fas fa-pallet","fas fa-paper-plane","fas fa-paperclip","fas fa-parachute-box","fas fa-paragraph","fas fa-paste","fas fa-pause","fas fa-pause-circle","fas fa-paw","fas fa-pen-square","fas fa-pencil-alt","fas fa-people-carry","fas fa-percent","fas fa-phone","fas fa-phone-slash","fas fa-phone-square","fas fa-phone-volume","fas fa-piggy-bank","fas fa-pills","fas fa-plane","fas fa-play","fas fa-play-circle","fas fa-plug","fas fa-plus","fas fa-plus-circle","fas fa-plus-square","fas fa-podcast","fas fa-poo","fas fa-pound-sign","fas fa-power-off","fas fa-prescription-bottle","fas fa-prescription-bottle-alt","fas fa-print","fas fa-procedures","fas fa-puzzle-piece","fas fa-qrcode","fas fa-question","fas fa-question-circle","fas fa-quidditch","fas fa-quote-left","fas fa-quote-right","fas fa-random","fas fa-recycle","fas fa-redo","fas fa-redo-alt","fas fa-registered","fas fa-reply","fas fa-reply-all","fas fa-retweet","fas fa-ribbon","fas fa-road","fas fa-rocket","fas fa-rss","fas fa-rss-square","fas fa-ruble-sign","fas fa-rupee-sign","fas fa-save","fas fa-search","fas fa-search-minus","fas fa-search-plus","fas fa-seedling","fas fa-server","fas fa-share","fas fa-share-alt","fas fa-share-alt-square","fas fa-share-square","fas fa-shekel-sign","fas fa-shield-alt","fas fa-ship","fas fa-shipping-fast","fas fa-shopping-bag","fas fa-shopping-basket","fas fa-shopping-cart","fas fa-shower","fas fa-sign","fas fa-sign-in-alt","fas fa-sign-language","fas fa-sign-out-alt","fas fa-signal","fas fa-sitemap","fas fa-sliders-h","fas fa-smile","fas fa-smoking","fas fa-snowflake","fas fa-sort","fas fa-sort-alpha-down","fas fa-sort-alpha-up","fas fa-sort-amount-down","fas fa-sort-amount-up","fas fa-sort-down","fas fa-sort-numeric-down","fas fa-sort-numeric-up","fas fa-sort-up","fas fa-space-shuttle","fas fa-spinner","fas fa-square","fas fa-square-full","fas fa-star","fas fa-star-half","fas fa-step-backward","fas fa-step-forward","fas fa-stethoscope","fas fa-sticky-note","fas fa-stop","fas fa-stop-circle","fas fa-stopwatch","fas fa-street-view","fas fa-strikethrough","fas fa-subscript","fas fa-subway","fas fa-suitcase","fas fa-sun","fas fa-superscript","fas fa-sync","fas fa-sync-alt","fas fa-syringe","fas fa-table","fas fa-table-tennis","fas fa-tablet","fas fa-tablet-alt","fas fa-tablets","fas fa-tachometer-alt","fas fa-tag","fas fa-tags","fas fa-tape","fas fa-tasks","fas fa-taxi","fas fa-terminal","fas fa-text-height","fas fa-text-width","fas fa-th","fas fa-th-large","fas fa-th-list","fas fa-thermometer","fas fa-thermometer-empty","fas fa-thermometer-full","fas fa-thermometer-half","fas fa-thermometer-quarter","fas fa-thermometer-three-quarters","fas fa-thumbs-down","fas fa-thumbs-up","fas fa-thumbtack","fas fa-ticket-alt","fas fa-times","fas fa-times-circle","fas fa-tint","fas fa-toggle-off","fas fa-toggle-on","fas fa-trademark","fas fa-train","fas fa-transgender","fas fa-transgender-alt","fas fa-trash","fas fa-trash-alt","fas fa-tree","fas fa-trophy","fas fa-truck","fas fa-truck-loading","fas fa-truck-moving","fas fa-tty","fas fa-tv","fas fa-umbrella","fas fa-underline","fas fa-undo","fas fa-undo-alt","fas fa-universal-access","fas fa-university","fas fa-unlink","fas fa-unlock","fas fa-unlock-alt","fas fa-upload","fas fa-user","fas fa-user-circle","fas fa-user-md","fas fa-user-plus","fas fa-user-secret","fas fa-user-times","fas fa-users","fas fa-utensil-spoon","fas fa-utensils","fas fa-venus","fas fa-venus-double","fas fa-venus-mars","fas fa-vial","fas fa-vials","fas fa-video","fas fa-video-slash","fas fa-volleyball-ball","fas fa-volume-down","fas fa-volume-off","fas fa-volume-up","fas fa-warehouse","fas fa-weight","fas fa-wheelchair","fas fa-wifi","fas fa-window-close","fas fa-window-maximize","fas fa-window-minimize","fas fa-window-restore","fas fa-wine-glass","fas fa-won-sign","fas fa-wrench","fas fa-x-ray","fas fa-yen-sign","far fa-address-book","far fa-address-card","far fa-arrow-alt-circle-down","far fa-arrow-alt-circle-left","far fa-arrow-alt-circle-right","far fa-arrow-alt-circle-up","far fa-bell","far fa-bell-slash","far fa-bookmark","far fa-building","far fa-calendar","far fa-calendar-alt","far fa-calendar-check","far fa-calendar-minus","far fa-calendar-plus","far fa-calendar-times","far fa-caret-square-down","far fa-caret-square-left","far fa-caret-square-right","far fa-caret-square-up","far fa-chart-bar","far fa-check-circle","far fa-check-square","far fa-circle","far fa-clipboard","far fa-clock","far fa-clone","far fa-closed-captioning","far fa-comment","far fa-comment-alt","far fa-comments","far fa-compass","far fa-copy","far fa-copyright","far fa-credit-card","far fa-dot-circle","far fa-edit","far fa-envelope","far fa-envelope-open","far fa-eye-slash","far fa-file","far fa-file-alt","far fa-file-archive","far fa-file-audio","far fa-file-code","far fa-file-excel","far fa-file-image","far fa-file-pdf","far fa-file-powerpoint","far fa-file-video","far fa-file-word","far fa-flag","far fa-folder","far fa-folder-open","far fa-frown","far fa-futbol","far fa-gem","far fa-hand-lizard","far fa-hand-paper","far fa-hand-peace","far fa-hand-point-down","far fa-hand-point-left","far fa-hand-point-right","far fa-hand-point-up","far fa-hand-pointer","far fa-hand-rock","far fa-hand-scissors","far fa-hand-spock","far fa-handshake","far fa-hdd","far fa-heart","far fa-hospital","far fa-hourglass","far fa-id-badge","far fa-id-card","far fa-image","far fa-images","far fa-keyboard","far fa-lemon","far fa-life-ring","far fa-lightbulb","far fa-list-alt","far fa-map","far fa-meh","far fa-minus-square","far fa-money-bill-alt","far fa-moon","far fa-newspaper","far fa-object-group","far fa-object-ungroup","far fa-paper-plane","far fa-pause-circle","far fa-play-circle","far fa-plus-square","far fa-question-circle","far fa-registered","far fa-save","far fa-share-square","far fa-smile","far fa-snowflake","far fa-square","far fa-star","far fa-star-half","far fa-sticky-note","far fa-stop-circle","far fa-sun","far fa-thumbs-down","far fa-thumbs-up","far fa-times-circle","far fa-trash-alt","far fa-user","far fa-user-circle","far fa-window-close","far fa-window-maximize","far fa-window-minimize","far fa-window-restore"]}},function(e,t,n){"use strict";function r(e){return Object(o.a)(e)||Object(i.a)(e)||Object(a.a)(e)||Object(s.a)()}t.a=r;var o=n(248),i=n(249),a=n(125),s=n(250)},function(e,t,n){"use strict";function r(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e,n=t.startContainer,r=n.ownerDocument;if("BR"===n.nodeName){var i=n.parentNode;Object(o.a)(i,"parentNode");var a=Array.from(i.childNodes).indexOf(n);Object(o.a)(r,"ownerDocument"),e=r.createRange(),e.setStart(i,a),e.setEnd(i,a)}var s=e.getClientRects()[0];if(!s){Object(o.a)(r,"ownerDocument");var c=r.createTextNode("\u200b");e=e.cloneRange(),e.insertNode(c),s=e.getClientRects()[0],Object(o.a)(c.parentNode,"padNode.parentNode"),c.parentNode.removeChild(c)}return s}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e){Object(o.a)(e.defaultView,"doc.defaultView");var t=e.defaultView.getSelection();Object(o.a)(t,"selection");var n=t.rangeCount?t.getRangeAt(0):null;return!!n&&!n.collapsed}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e){var t=["button","checkbox","hidden","file","radio","image","range","reset","submit","number"];return Object(o.a)(e)&&e.type&&!t.includes(e.type)||"TEXTAREA"===e.nodeName||"true"===e.contentEditable}t.a=r;var o=n(128)},function(e,t,n){"use strict";function r(e){return Object(o.a)(e)&&"number"===e.type&&!!e.valueAsNumber}t.a=r;var o=n(128)},function(e,t,n){"use strict";function r(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}t.a=r},function(e,t,n){"use strict";function r(e,t,n,r){var a=r.style.zIndex,s=r.style.position,c=Object(i.a)(r),l=c.position;"static"===(void 0===l?"static":l)&&(r.style.position="relative"),r.style.zIndex="10000";var u=Object(o.a)(e,t,n);return r.style.zIndex=a,r.style.position=s,u}t.a=r;var o=n(264),i=n(56)},function(e,t,n){"use strict";function r(e,t){Object(o.a)(t.parentNode,"referenceNode.parentNode"),t.parentNode.insertBefore(e,t.nextSibling)}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e){Object(o.a)(e.parentNode,"node.parentNode"),e.parentNode.removeChild(e)}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e,t){var n=Object(o.useRef)();return Object(o.useCallback)(function(t){t?n.current=e(t):n.current&&n.current()},t)}t.a=r;var o=n(0);n.n(o)},function(e,t,n){"use strict";function r(e){var t=Object(i.useState)(function(){return!(!e||"undefined"===typeof window||!window.matchMedia(e).matches)}),n=Object(o.a)(t,2),r=n[0],a=n[1];return Object(i.useEffect)(function(){if(e){var t=function(){return a(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}},[e]),e&&r}t.a=r;var o=n(26),i=n(0);n.n(i)},function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n(72),i=n(91),a=n(380),s=n(10);e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):c(e)}var o=n(349),i=n(376),a=n(50),s=n(10),c=n(377);e.exports=r},function(e,t,n){function r(e){if(null==e)return!0;if(c(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||p(e)||a(e)))return!e.length;var t=i(e);if(t==f||t==d)return!e.size;if(u(e))return!o(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var o=n(116),i=n(154),a=n(48),s=n(10),c=n(29),l=n(75),u=n(117),p=n(76),f="[object Map]",d="[object Set]",h=Object.prototype,m=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function o(e){"@babel/helpers - typeof";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 i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction \u2013\xa0duration not yet available")}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?v.default.createElement(e,i({},this.props,{ref:this.ref,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}]),t}(v.Component);t.default=w,b(w,"displayName","Player"),b(w,"propTypes",g.propTypes),b(w,"defaultProps",g.defaultProps)},function(e,t,n){"use strict";function r(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function o(e){"@babel/helpers - typeof";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 i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function o(e,t){if(e){if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=t.since,r=t.version,a=t.alternative,s=t.plugin,c=t.link,l=t.hint,u=s?" from ".concat(s):"",p=n?" since version ".concat(n):"",f=r?" and will be removed".concat(u," in version ").concat(r):"",d=a?" Please use ".concat(a," instead."):"",h=c?" See: ".concat(c):"",m=l?" Note: ".concat(l):"",b="".concat(e," is deprecated").concat(p).concat(f,".").concat(d).concat(h).concat(m);b in i||(Object(o.doAction)("deprecated",e,t,b),console.warn(b),i[b]=!0)}t.a=r;var o=n(243),i=(n.n(o),Object.create(null))},function(e,t,n){"use strict";function r(e){var t=a.get(e)||0;return a.set(e,t+1),t}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(i.useMemo)(function(){if(n)return n;var o=r(e);return t?"".concat(t,"-").concat(o):o},[e])}t.a=o;var i=n(0),a=(n.n(i),new WeakMap)},function(e,t,n){"use strict";function r(){return Object(a.useCallback)(function(e){e&&e.addEventListener("keydown",function(t){if(t.keyCode===o.b){var n=i.a.tabbable.find(e);if(n.length){var r=n[0],a=n[n.length-1];t.shiftKey&&t.target===r?(t.preventDefault(),a.focus()):t.shiftKey||t.target!==a?n.includes(t.target)||(t.preventDefault(),r.focus()):(t.preventDefault(),r.focus())}}})},[])}var o=n(123),i=n(126),a=n(0);n.n(a);t.a=r},function(e,t,n){"use strict";function r(e){return[p,f,d,h].filter(function(t){return e["".concat(t,"Key")]})}n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var o=n(30),i=n(79),a=n(6),s=(n.n(a),n(2)),c=(n.n(s),n(251)),l=9,u=27,p="alt",f="ctrl",d="meta",h="shift",m={primary:function(e){return e()?[d]:[f]},primaryShift:function(e){return e()?[h,d]:[f,h]},primaryAlt:function(e){return e()?[p,d]:[f,p]},secondary:function(e){return e()?[h,p,d]:[f,h,p]},access:function(e){return e()?[f,p]:[h,p]},ctrl:function(){return[f]},alt:function(){return[p]},ctrlShift:function(){return[f,h]},shift:function(){return[h]},shiftAlt:function(){return[h,p]}},b=(Object(a.mapValues)(m,function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a;return[].concat(Object(i.a)(e(n)),[t.toLowerCase()]).join("+")}}),Object(a.mapValues)(m,function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a,s=r(),l=(n={},Object(o.a)(n,p,s?"\u2325":"Alt"),Object(o.a)(n,f,s?"\u2303":"Ctrl"),Object(o.a)(n,d,"\u2318"),Object(o.a)(n,h,s?"\u21e7":"Shift"),n),u=e(r).reduce(function(e,t){var n=Object(a.get)(l,t,t);return s?[].concat(Object(i.a)(e),[n]):[].concat(Object(i.a)(e),[n,"+"])},[]),m=Object(a.capitalize)(t);return[].concat(Object(i.a)(u),[m])}}));Object(a.mapValues)(b,function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a;return e(t,n).join("")}}),Object(a.mapValues)(m,function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a,l=r(),u=(n={},Object(o.a)(n,h,"Shift"),Object(o.a)(n,d,l?"Command":"Control"),Object(o.a)(n,f,"Control"),Object(o.a)(n,p,l?"Option":"Alt"),Object(o.a)(n,",",Object(s.__)("Comma")),Object(o.a)(n,".",Object(s.__)("Period")),Object(o.a)(n,"`",Object(s.__)("Backtick")),n);return[].concat(Object(i.a)(e(r)),[t]).map(function(e){return Object(a.capitalize)(Object(a.get)(u,e,e))}).join(l?" ":" + ")}}),Object(a.mapValues)(m,function(e){return function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.a,i=e(o),s=r(t);return!Object(a.xor)(i,s).length&&(n?t.key===n:Object(a.includes)(i,t.key.toLowerCase()))}})},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||e.offsetHeight>0||e.getClientRects().length>0}function o(e){return"iframe"===e.nodeName.toLowerCase()&&"-1"===e.getAttribute("tabindex")}function i(e){var t=e.closest("map[name]");if(!t)return!1;var n=e.ownerDocument.querySelector('img[usemap="#'+t.name+'"]');return!!n&&r(n)}function a(e){var t=e.querySelectorAll(s);return Array.from(t).filter(function(e){return!(!r(e)||o(e))&&("AREA"!==e.nodeName||i(e))})}Object.defineProperty(t,"__esModule",{value:!0}),t.find=a;var s=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",")},function(e,t,n){"use strict";function r(e){return!!e&&"INPUT"===e.nodeName}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Object(u.a)(e))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=e.ownerDocument,p=r.defaultView;Object(l.a)(p,"defaultView");var f=p.getSelection();if(!f||!f.rangeCount)return!1;var d=f.getRangeAt(0),h=d.cloneRange(),m=Object(s.a)(f),b=f.isCollapsed;b||h.collapse(!m);var v=Object(a.a)(h),g=Object(a.a)(d);if(!v||!g)return!1;var y=Object(i.a)(d);if(!b&&y&&y>v.height&&m===t)return!1;var w=Object(o.a)(e),_=w.direction,O="rtl"===_?!t:t,E=e.getBoundingClientRect(),k=O?E.left+1:E.right-1,j=t?E.top+1:E.bottom-1,C=Object(c.a)(r,k,j,e);if(!C)return!1;var x=Object(a.a)(C);if(!x)return!1;var S=t?"top":"bottom",T=O?"left":"right",P=x[S]-g[S],z=x[T]-v[T],R=Math.abs(P)<=1,A=Math.abs(z)<=1;return n?R:R&&A}t.a=r;var o=n(56),i=n(262),a=n(80),s=n(263),c=n(85),l=n(8),u=n(84)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e){if(e.focus(),Object(a.a)(e)){if("number"!==typeof e.selectionStart)return;return void(t?(e.selectionStart=e.value.length,e.selectionEnd=e.value.length):(e.selectionStart=0,e.selectionEnd=0))}if(e.isContentEditable){var s=e.ownerDocument,c=e.getBoundingClientRect(),l=t?c.right-1:c.left+1,u=t?c.bottom-1:c.top+1,p=Object(i.a)(s,l,u,e);if(!p||!p.startContainer||!e.contains(p.startContainer)){if(!n)return;return n=!1,e.scrollIntoView(t),void r(e,t,n)}var f=s.defaultView;Object(o.a)(f,"defaultView");var d=f.getSelection();Object(o.a)(d,"selection"),d.removeAllRanges(),d.addRange(p)}}}t.a=r;var o=n(8),i=n(85),a=n(84)},function(e,t,n){"use strict";function r(e){var t=e.parentNode;for(Object(o.a)(t,"node.parentNode");e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e){switch(e.nodeType){case e.TEXT_NODE:return/^[ \f\n\r\t\v\u00a0]*$/.test(e.nodeValue||"");case e.ELEMENT_NODE:return!e.hasAttributes()&&(!e.hasChildNodes()||Array.from(e.childNodes).every(r));default:return!0}}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t0&&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:"createFakeElement",value:function(){var e="rtl"===document.documentElement.getAttribute("dir");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[e?"right":"left"]="-9999px";var t=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(t,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var e=this,t=this.createFakeElement();this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(t),this.selectedText=k()(t),this.copyText(),this.removeFake()}},{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=k()(this.target),this.copyText()}},{key:"copyText",value:function(){var e;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(),document.activeElement.blur(),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"!==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}(),C=j,x=function(e){function t(e,r){var o;return c(this,t),o=n.call(this),o.resolveOptions(r),o.listenClick(e),o}p(t,e);var n=d(t);return u(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&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"===s(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=O()(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 C({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 g("action",e)}},{key:"defaultTarget",value:function(e){var t=g("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return g("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}(w()),S=x},828:function(e){function t(e,t){for(;e&&e.nodeType!==n;){if("function"===typeof e.matches&&e.matches(t))return e;e=e.parentNode}}var n=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=t},438:function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function o(e,t,n,o,i){return"function"===typeof e.addEventListener?r.apply(null,arguments):"function"===typeof n?r.bind(null,document).apply(null,arguments):("string"===typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return r(e,t,n,o,i)}))}function i(e,t,n,r){return function(n){n.delegateTarget=a(n.target,t),n.delegateTarget&&r.call(e,n)}}var a=n(828);e.exports=o},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"===typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return o(e,t,n);if(s.nodeList(e))return i(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function o(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function i(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return c(document.body,e,t,n)}var s=n(879),c=n(438);e.exports=r},817:function(e){function t(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 r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}e.exports=t},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){o.off(e,r),t.apply(n,arguments)}var o=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;for(r;r0&&void 0!==arguments[0]?arguments[0]:"firstElement",t=Object(o.useRef)(e);return Object(o.useEffect)(function(){t.current=e},[e]),Object(o.useCallback)(function(e){if(e&&!1!==t.current&&!e.contains(e.ownerDocument.activeElement)){var n=e;if("firstElement"===t.current){var r=i.a.tabbable.find(e)[0];r&&(n=r)}n.focus()}},[])}t.a=r;var o=n(0),i=(n.n(o),n(126))},function(e,t,n){"use strict";function r(e){var t=Object(o.useRef)(),n=Object(o.useRef)(),r=Object(o.useRef)(e);return Object(o.useEffect)(function(){r.current=e},[e]),Object(o.useCallback)(function(e){if(e){if(t.current=e,n.current)return;n.current=e.ownerDocument.activeElement}else if(n.current){var o=t.current.contains(t.current.ownerDocument.activeElement);if(t.current.isConnected&&!o)return;r.current?r.current():n.current.focus()}},[])}var o=n(0);n.n(o);t.a=r},function(e,t,n){"use strict";function r(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(i.includes)(s,e.type)}return!1}function o(e){var t=Object(a.useRef)(e);Object(a.useEffect)(function(){t.current=e},[e]);var n=Object(a.useRef)(!1),o=Object(a.useRef)(),s=Object(a.useCallback)(function(){clearTimeout(o.current)},[]);Object(a.useEffect)(function(){return function(){return s()}},[]),Object(a.useEffect)(function(){e||s()},[e,s]);var c=Object(a.useCallback)(function(e){var t=e.type,o=e.target;Object(i.includes)(["mouseup","touchend"],t)?n.current=!1:r(o)&&(n.current=!0)},[]),l=Object(a.useCallback)(function(e){e.persist(),n.current||(o.current=setTimeout(function(){if(!document.hasFocus())return void e.preventDefault();"function"===typeof t.current&&t.current(e)},0))},[]);return{onFocus:s,onMouseDown:c,onMouseUp:c,onTouchStart:c,onTouchEnd:c,onBlur:l}}t.a=o;var i=n(6),a=(n.n(i),n(0)),s=(n.n(a),["button","submit"])},function(e,t,n){"use strict";function r(e){var t=Object(o.useRef)(null),n=Object(o.useRef)(!1),r=Object(o.useRef)(e),i=Object(o.useRef)(e);return i.current=e,Object(o.useLayoutEffect)(function(){e.forEach(function(e,o){var i=r.current[o];"function"===typeof e&&e!==i&&!1===n.current&&(i(null),e(t.current))}),r.current=e},e),Object(o.useLayoutEffect)(function(){n.current=!1}),Object(o.useCallback)(function(e){t.current=e,n.current=!0,(e?i.current:r.current).forEach(function(t){"function"===typeof t?t(e):t&&t.hasOwnProperty("current")&&(t.current=e)})},[])}t.a=r;var o=n(0);n.n(o)},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),"undefined"!==typeof window?r.useLayoutEffect:r.useEffect);t.a=o},function(e,t,n){"use strict";function r(e){var t=Object(o.useRef)(void 0);return Object(o.useEffect)(function(){t.current=e},[e]),t.current}t.a=r;var o=n(0);n.n(o)},function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;nf))return!1;var h=u.get(e),m=u.get(t);if(h&&m)return h==t&&m==e;var b=-1,v=!0,g=n&c?new o:void 0;for(u.set(e,t),u.set(t,e);++bo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++re.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null}),C(_(e),"seekTo",function(t,n){if(!e.player)return null;e.player.seekTo(t,n)}),C(_(e),"handleReady",function(){e.props.onReady(_(e))}),C(_(e),"wrapperRef",function(t){e.wrapper=t}),C(_(e),"activePlayerRef",function(t){e.player=t}),e}k(t,e);var n=y(t);return g(t,[{key:"componentDidMount",value:function(){if(this.props.progressFrequency){console.warn("ReactPlayer: %cprogressFrequency%c is deprecated, please use %cprogressInterval%c instead","font-weight: bold","","font-weight: bold","")}}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,T.isEqual)(this.props,e)||!(0,T.isEqual)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;this.config=(0,T.getConfig)(this.props,S.defaultProps),!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"getActivePlayer",value:function(e){for(var t=0,n=[].concat(u(G),u(P.default));t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function g(e,t){if(e){if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e);if(!(e instanceof Array||(0,k.isMediaStream)(e)||t||n))return A.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,r=e.loop,o=e.controls,a=e.muted,s=e.config,c=e.width,l=e.height,u=this.shouldUseAudio(this.props),p=u?"audio":"video",f={width:"auto"===c?c:"100%",height:"auto"===l?l:"100%"};return E.default.createElement(p,i({ref:this.ref,src:this.getSource(t),style:f,preload:"auto",autoPlay:n||void 0,controls:o,muted:a,loop:r},s.file.attributes),t instanceof Array&&t.map(this.renderSourceElement),s.file.tracks.map(this.renderTrack))}}]),t}(E.Component);t.FilePlayer=M,b(M,"displayName","FilePlayer"),b(M,"canPlay",w),b(M,"canEnablePIP",O);var D=(0,j.default)(M);t.default=D},function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:o(e,t,n)}var o=n(157);e.exports=r},function(e,t){function n(e){return r.test(e)}var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=n},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var o=n(399),i=n(166),a=n(400);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){return i.default[e.type](e,t,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(404),i=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){function r(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(o=this._options.Tokenizer),this._tokenizer=new o(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}var o=n(170),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},a={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;n(62)(r,n(410).EventEmitter),r.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},r.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},r.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in a)for(var t;(t=this._stack[this._stack.length-1])in a[e];this.onclosetag(t));!this._options.xmlMode&&e in s||(this._stack.push(e),e in c?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},r.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in s&&this._cbs.onclosetag(this._tagname),this._tagname=""},r.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in c||e in l)&&this._foreignContext.pop(),!this._stack.length||e in s&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},r.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},r.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},r.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},r.prototype.onattribdata=function(e){this._attribvalue+=e},r.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},r.prototype._getInstructionName=function(e){var t=e.search(u),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},r.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},r.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},r.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},r.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},r.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},r.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},r.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},r.prototype.parseComplete=function(e){this.reset(),this.end(e)},r.prototype.write=function(e){this._tokenizer.write(e)},r.prototype.end=function(e){this._tokenizer.end(e)},r.prototype.pause=function(){this._tokenizer.pause()},r.prototype.resume=function(){this._tokenizer.resume()},r.prototype.parseChunk=r.prototype.write,r.prototype.done=r.prototype.end,e.exports=r},function(e,t,n){function r(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function o(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(o){o===r||o===e?this._state=t:(this._state=n,this._index--)}}function i(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=h,this._index--)}}function a(e,t){this._state=f,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=f,this._special=he,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}e.exports=a;var s=n(405),c=n(407),l=n(408),u=n(409),p=0,f=p++,d=p++,h=p++,m=p++,b=p++,v=p++,g=p++,y=p++,w=p++,_=p++,O=p++,E=p++,k=p++,j=p++,C=p++,x=p++,S=p++,T=p++,P=p++,z=p++,R=p++,A=p++,M=p++,D=p++,V=p++,N=p++,L=p++,I=p++,B=p++,F=p++,H=p++,q=p++,U=p++,G=p++,Z=p++,W=p++,K=p++,Y=p++,$=p++,X=p++,J=p++,Q=p++,ee=p++,te=p++,ne=p++,re=p++,oe=p++,ie=p++,ae=p++,se=p++,ce=p++,le=p++,ue=p++,pe=p++,fe=p++,de=0,he=de++,me=de++,be=de++;a.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=d,this._sectionStart=this._index):this._decodeEntities&&this._special===he&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=f,this._state=ce,this._sectionStart=this._index)},a.prototype._stateBeforeTagName=function(e){"/"===e?this._state=b:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==he||r(e)?this._state=f:"!"===e?(this._state=C,this._sectionStart=this._index+1):"?"===e?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?h:H,this._sectionStart=this._index)},a.prototype._stateInTagName=function(e){("/"===e||">"===e||r(e))&&(this._emitToken("onopentagname"),this._state=y,this._index--)},a.prototype._stateBeforeCloseingTagName=function(e){r(e)||(">"===e?this._state=f:this._special!==he?"s"===e||"S"===e?this._state=q:(this._state=f,this._index--):(this._state=v,this._sectionStart=this._index))},a.prototype._stateInCloseingTagName=function(e){(">"===e||r(e))&&(this._emitToken("onclosetag"),this._state=g,this._index--)},a.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=f,this._sectionStart=this._index+1)},a.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=f,this._sectionStart=this._index+1):"/"===e?this._state=m:r(e)||(this._state=w,this._sectionStart=this._index)},a.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=f,this._sectionStart=this._index+1):r(e)||(this._state=y,this._index--)},a.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||r(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=_,this._index--)},a.prototype._stateAfterAttributeName=function(e){"="===e?this._state=O:"/"===e||">"===e?(this._cbs.onattribend(),this._state=y,this._index--):r(e)||(this._cbs.onattribend(),this._state=w,this._sectionStart=this._index)},a.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=E,this._sectionStart=this._index+1):"'"===e?(this._state=k,this._sectionStart=this._index+1):r(e)||(this._state=j,this._sectionStart=this._index,this._index--)},a.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ce,this._sectionStart=this._index)},a.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ce,this._sectionStart=this._index)},a.prototype._stateInAttributeValueNoQuotes=function(e){r(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ce,this._sectionStart=this._index)},a.prototype._stateBeforeDeclaration=function(e){this._state="["===e?A:"-"===e?T:x},a.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=f,this._sectionStart=this._index+1)},a.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=f,this._sectionStart=this._index+1)},a.prototype._stateBeforeComment=function(e){"-"===e?(this._state=P,this._sectionStart=this._index+1):this._state=x},a.prototype._stateInComment=function(e){"-"===e&&(this._state=z)},a.prototype._stateAfterComment1=function(e){this._state="-"===e?R:P},a.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=f,this._sectionStart=this._index+1):"-"!==e&&(this._state=P)},a.prototype._stateBeforeCdata1=o("C",M,x),a.prototype._stateBeforeCdata2=o("D",D,x),a.prototype._stateBeforeCdata3=o("A",V,x),a.prototype._stateBeforeCdata4=o("T",N,x),a.prototype._stateBeforeCdata5=o("A",L,x),a.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=I,this._sectionStart=this._index+1):(this._state=x,this._index--)},a.prototype._stateInCdata=function(e){"]"===e&&(this._state=B)},a.prototype._stateAfterCdata1=function(e){this._state="]"===e?F:I},a.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=f,this._sectionStart=this._index+1):"]"!==e&&(this._state=I)},a.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=U:"t"===e||"T"===e?this._state=ee:(this._state=h,this._index--)},a.prototype._stateBeforeSpecialEnd=function(e){this._special!==me||"c"!==e&&"C"!==e?this._special!==be||"t"!==e&&"T"!==e?this._state=f:this._state=oe:this._state=Y},a.prototype._stateBeforeScript1=i("R",G),a.prototype._stateBeforeScript2=i("I",Z),a.prototype._stateBeforeScript3=i("P",W),a.prototype._stateBeforeScript4=i("T",K),a.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||r(e))&&(this._special=me),this._state=h,this._index--},a.prototype._stateAfterScript1=o("R",$,f),a.prototype._stateAfterScript2=o("I",X,f),a.prototype._stateAfterScript3=o("P",J,f),a.prototype._stateAfterScript4=o("T",Q,f),a.prototype._stateAfterScript5=function(e){">"===e||r(e)?(this._special=he,this._state=v,this._sectionStart=this._index-6,this._index--):this._state=f},a.prototype._stateBeforeStyle1=i("Y",te),a.prototype._stateBeforeStyle2=i("L",ne),a.prototype._stateBeforeStyle3=i("E",re),a.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||r(e))&&(this._special=be),this._state=h,this._index--},a.prototype._stateAfterStyle1=o("Y",ie,f),a.prototype._stateAfterStyle2=o("L",ae,f),a.prototype._stateAfterStyle3=o("E",se,f),a.prototype._stateAfterStyle4=function(e){">"===e||r(e)?(this._special=he,this._state=v,this._sectionStart=this._index-5,this._index--):this._state=f},a.prototype._stateBeforeEntity=o("#",le,ue),a.prototype._stateBeforeNumericEntity=o("X",fe,pe),a.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(l.hasOwnProperty(n))return this._emitPartial(l[n]),void(this._sectionStart+=t+1);t--}},a.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==f?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},a.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),o=parseInt(r,t);this._emitPartial(s(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},a.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},a.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},a.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===f?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},a.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},a.prototype._parse=function(){for(;this._index",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},function(e,t,n){"use strict";function r(e){return Object.keys(e).sort().reduce(function(t,n){return t[e[n]]="&"+n+";",t},{})}function o(e){for(var t=[],n=[],r=0,o=Object.keys(e);r1?v(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function a(e){return e.replace(g,i)}function s(e){return e.replace(f,i)}function c(e){return function(t){return t.replace(g,function(t){return e[t]||i(t)})}}var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var u=l(n(176)),p=r(u.default),f=o(p);t.encodeXML=c(p);var d=l(n(175)),h=r(d.default),m=o(h);t.encodeHTML=function(e,t){return function(n){return n.replace(t,function(t){return e[t]}).replace(b,i)}}(h,m),t.encodeNonAsciiHTML=c(h);var b=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,v=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536},g=new RegExp(f.source+"|"+b.source,"g");t.escape=a,t.escapeUTF8=s},function(e,t,n){function r(e,t){var n=this._parser=new o(e,t),r=this._decoder=new a;i.call(this,{decodeStrings:!1}),this.once("finish",function(){n.end(r.end())})}e.exports=r;var o=n(169),i=n(427).Writable,a=n(428).StringDecoder,s=n(179).Buffer;n(62)(r,i),r.prototype._write=function(e,t,n){e instanceof s&&(e=this._decoder.write(e)),this._parser.write(e),n()}},function(e,t,n){"use strict";(function(e){function r(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),i.alloc(+e)}function b(e,t){if(i.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return z(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:w(e,t,n,r,o);if("number"===typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):w(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function w(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}var l;if(o){var u=-1;for(l=n;ls&&(n=s-c),l=n;l>=0;l--){for(var p=!0,f=0;fo&&(r=o):r=o;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a239?4:i>223?3:i>191?2:1;if(o+s<=n){var c,l,u,p;switch(s){case 1:i<128&&(a=i);break;case 2:c=e[o+1],128===(192&c)&&(p=(31&i)<<6|63&c)>127&&(a=p);break;case 3:c=e[o+1],l=e[o+2],128===(192&c)&&128===(192&l)&&(p=(15&i)<<12|(63&c)<<6|63&l)>2047&&(p<55296||p>57343)&&(a=p);break;case 4:c=e[o+1],l=e[o+2],u=e[o+3],128===(192&c)&&128===(192&l)&&128===(192&u)&&(p=(15&i)<<18|(63&c)<<12|(63&l)<<6|63&u)>65535&&p<1114112&&(a=p)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=s}return T(r)}function T(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function V(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function L(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,r,o){return o||L(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,o){return o||L(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,n,r,52,8),n+8}function F(e){if(e=H(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function H(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function G(e){for(var t=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function W(e){return $.toByteArray(F(e))}function K(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Y(e){return e!==e}var $=n(430),X=n(431),J=n(432);t.Buffer=i,t.SlowBuffer=m,t.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=r(),i.poolSize=8192,i._augment=function(e){return e.__proto__=i.prototype,e},i.from=function(e,t,n){return a(null,e,t,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(e,t,n){return c(null,e,t,n)},i.allocUnsafe=function(e){return l(null,e)},i.allocUnsafeSlow=function(e){return l(null,e)},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,s=n-t,c=Math.min(a,s),l=this.slice(r,o),u=e.slice(t,n),p=0;po)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return j(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)r+=this[e+--t]*o;return r},i.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],o=1,i=0;++i=o&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),X.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),X.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),X.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),X.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){D(this,e,t,n,Math.pow(2,8*n)-1,0)}var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):V(this,e,t,!0),t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):V(this,e,t,!1),t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);D(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);D(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):V(this,e,t,!0),t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):V(this,e,t,!1),t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},i.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"===typeof e)for(a=t;a-1:!!u&&o(e,t,n)>-1}var o=n(63),i=n(29),a=n(61),s=n(57),c=n(456),l=Math.max;e.exports=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=Object(o.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}t.a=r;var o=n(459)},function(e,t,n){function r(e){var t=Math[e];return function(e,n){if(e=a(e),(n=null==n?0:l(i(n),292))&&c(e)){var r=(s(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(s(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var o=n(13),i=n(57),a=n(27),s=n(24),c=o.isFinite,l=Math.min;e.exports=r},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n(153),i=n(611),a=n(91),s=n(10);e.exports=r},function(e,t,n){"use strict";function r(e){return o.test(e)}t.a=r;var o=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i},function(e,t,n){"use strict";function r(e){var t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}t.a=r},function(e,t,n){"use strict";function r(e,t){return Object(o.a)(e)[t]}t.a=r;var o=n(66)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(191),n(306),n(335),n(344),n(346),n(348),n(638),n(646),n(653));!function(){wp.blocks.updateCategory("wpzoom-recipe-card",{icon:r.a})}()},function(e,t,n){"use strict";var r=n(2),o=(n.n(r),n(192)),i=n(299),a=n(78),s=n(18),c=n(305),l=n(19),u=(n.n(l),{title:{type:"array",selector:".details-title",source:"children",default:Object(r.__)("Details","recipe-card-blocks-by-wpzoom")},id:{type:"string"},details:{type:"array",selector:".details-items",default:[{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"food",label:Object(r.__)("Servings","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"room-service",label:Object(r.__)("Prep time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"cook",label:Object(r.__)("Cooking time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"shopping-basket",label:Object(r.__)("Calories","recipe-card-blocks-by-wpzoom")}]},columns:{type:"number",default:4},toInsert:{type:"string"},showModal:{type:"string",default:!1},activeIconSet:{type:"string",default:"oldicon"},searchIcon:{type:"string",default:""},icons:{type:"object",default:a.a},jsonTitle:{type:"string"},course:{type:"array"},cuisine:{type:"array"},keywords:{type:"array"},blocks_count:{type:"string"}});Object(l.registerBlockType)("wpzoom-recipe-card/block-details",{title:Object(r.__)("Details","recipe-card-blocks-by-wpzoom"),icon:{foreground:"#2EA55F",src:c.a},category:"wpzoom-recipe-card",supports:{multiple:!1},keywords:[Object(r.__)("details","recipe-card-blocks-by-wpzoom"),Object(r.__)("wpzoom","recipe-card-blocks-by-wpzoom"),Object(r.__)("recipe","recipe-card-blocks-by-wpzoom")],example:{attributes:{course:[Object(r.__)("Main","recipe-card-blocks-by-wpzoom")],cuisine:[Object(r.__)("Italian","recipe-card-blocks-by-wpzoom")],difficulty:[Object(r.__)("Medium","recipe-card-blocks-by-wpzoom")],details:[{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"food",label:Object(r.__)("Servings","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"room-service",label:Object(r.__)("Prep time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"cook",label:Object(r.__)("Cooking time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"shopping-basket",label:Object(r.__)("Calories","recipe-card-blocks-by-wpzoom")}]}},edit:function(e){var t=e.attributes,n=e.setAttributes,i=e.className;return t.details&&0!==t.details.length||(t.details=[{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"food",label:Object(r.__)("Servings","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"room-service",label:Object(r.__)("Prep time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"cook",label:Object(r.__)("Cooking time","recipe-card-blocks-by-wpzoom")},{id:Object(s.a)("detail-item"),iconSet:"oldicon",icon:"shopping-basket",label:Object(r.__)("Calories","recipe-card-blocks-by-wpzoom")}]),wp.element.createElement(o.a,{attributes:t,setAttributes:n,className:i})},save:function(){return null},deprecated:[{attributes:u,save:i.a.v1_0}]})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(199)),u=n(296),p=n(12),f=n(18),d=n(5),h=(n.n(d),n(3)),m=(n.n(h),n(0)),b=(n.n(m),n(297)),v=(n.n(b),n(298)),g=(n.n(v),Object.assign||function(e){for(var t=1;t=s.length||s[a].icon===r&&s[a].label===o&&s[a].value===i&&(s[a]=Object.assign({},s[a],{icon:e,label:t,value:n,jsonLabel:Object(p.d)(Object(m.renderToString)(t)),jsonValue:Object(p.d)(Object(m.renderToString)(n))}),this.props.setAttributes({details:s}))}},{key:"insertDetail",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=this.props.attributes.details?this.props.attributes.details.slice():[];null===e&&(e=i.length-1);for(var a=i.length-1;a>e;)this.editorRefs[a+1+":icon"]=this.editorRefs[a+":icon"],this.editorRefs[a+1+":label"]=this.editorRefs[a+":label"],this.editorRefs[a+1+":value"]=this.editorRefs[a+":value"],a--;i.splice(e+1,0,{id:Object(f.a)("detail-item"),icon:t,label:n,value:r,jsonLabel:"",jsonValue:""}),this.props.setAttributes({details:i}),o&&setTimeout(this.setFocus.bind(this,e+1+":label"))}},{key:"removeDetail",value:function(e){var t=this.props.attributes.details?this.props.attributes.details.slice():[];t.splice(e,1),this.props.setAttributes({details:t}),delete this.editorRefs[e+":icon"],delete this.editorRefs[e+":label"],delete this.editorRefs[e+":value"];for(var n=e+1;this.editorRefs[n+":icon"]||this.editorRefs[n+":label"]||this.editorRefs[n+":value"];)this.editorRefs[n-1+":icon"]=this.editorRefs[n+":icon"],this.editorRefs[n-1+":label"]=this.editorRefs[n+":label"],this.editorRefs[n-1+":value"]=this.editorRefs[n+":value"],n++;var r=t.length;delete this.editorRefs[r+":icon"],delete this.editorRefs[r+":label"],delete this.editorRefs[r+":value"];var o="title";this.editorRefs[e-1+":label"]?o=e-1+":label":this.editorRefs[e-1+":value"]&&(o=e-1+":value"),this.setFocus(o)}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddDetailButtonClick",value:function(){this.insertDetail(null,null,[],[],!0)}},{key:"setFocusToDetail",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("title")}},{key:"setTitleRef",value:function(e){this.editorRefs.title=e}},{key:"setDetailRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({title:e,jsonTitle:Object(p.d)(Object(m.renderToString)(e))})}},{key:"getDetailItems",value:function(){var e=this;if(!this.props.attributes.details)return null;var t=this.state.focus.split(":"),n=y(t,2),r=n[0],o=n[1];return this.props.attributes.details.map(function(t,n){return wp.element.createElement(l.a,g({key:t.id,item:t,index:n,editorRef:e.setDetailRef,onChange:e.changeDetail,insertDetail:e.insertDetail,removeDetail:e.removeDetail,onFocus:e.setFocusToDetail,subElement:o,isFirst:0===n,isLast:n===e.props.attributes.details.length-1,isSelected:r===""+n},e.props))})}},{key:"getAddItemButton",value:function(){return wp.element.createElement(h.Button,{icon:"insert",onClick:this.onAddDetailButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add item","recipe-card-blocks-by-wpzoom")))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.className,o=t.id,i=t.title,a=t.columns,s=[r,"col-"+a].filter(function(e){return e}).join(" "),l=["details-items"].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:s,key:o},wp.element.createElement(d.RichText,{tagName:"h3",className:"details-title",format:"string",value:i,isSelected:"title"===this.state.focus,setFocusedElement:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(c.__)("Write Details title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("div",{className:l},this.getDetailItems()),wp.element.createElement("div",{className:"detail-buttons"},this.getAddItemButton()),wp.element.createElement(u.a,{attributes:t,setAttributes:n,className:r}))}}]),t}(m.Component);t.a=_,_.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},_.defaultProps={className:""}},function(e,t,n){"use strict";function r(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case d:case h:case c:case u:case l:case b:return e;default:switch(e=e&&e.$$typeof){case f:case m:case y:case g:case p:return e;default:return t}}case s:return t}}}function o(e){return r(e)===h}var i="function"===typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,s=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,p=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.async_mode"):60111,h=i?Symbol.for("react.concurrent_mode"):60111,m=i?Symbol.for("react.forward_ref"):60112,b=i?Symbol.for("react.suspense"):60113,v=i?Symbol.for("react.suspense_list"):60120,g=i?Symbol.for("react.memo"):60115,y=i?Symbol.for("react.lazy"):60116,w=i?Symbol.for("react.block"):60121,_=i?Symbol.for("react.fundamental"):60117,O=i?Symbol.for("react.responder"):60118,E=i?Symbol.for("react.scope"):60119;t.AsyncMode=d,t.ConcurrentMode=h,t.ContextConsumer=f,t.ContextProvider=p,t.Element=a,t.ForwardRef=m,t.Fragment=c,t.Lazy=y,t.Memo=g,t.Portal=s,t.Profiler=u,t.StrictMode=l,t.Suspense=b,t.isAsyncMode=function(e){return o(e)||r(e)===d},t.isConcurrentMode=o,t.isContextConsumer=function(e){return r(e)===f},t.isContextProvider=function(e){return r(e)===p},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return r(e)===m},t.isFragment=function(e){return r(e)===c},t.isLazy=function(e){return r(e)===y},t.isMemo=function(e){return r(e)===g},t.isPortal=function(e){return r(e)===s},t.isProfiler=function(e){return r(e)===u},t.isStrictMode=function(e){return r(e)===l},t.isSuspense=function(e){return r(e)===b},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===c||e===h||e===u||e===l||e===b||e===v||"object"===typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===p||e.$$typeof===f||e.$$typeof===m||e.$$typeof===_||e.$$typeof===O||e.$$typeof===E||e.$$typeof===w)},t.typeOf=r},function(e,t,n){"use strict";(function(e){"production"!==e.env.NODE_ENV&&function(){function e(e){return"string"===typeof e||"function"===typeof e||e===y||e===j||e===_||e===w||e===x||e===S||"object"===typeof e&&null!==e&&(e.$$typeof===P||e.$$typeof===T||e.$$typeof===O||e.$$typeof===E||e.$$typeof===C||e.$$typeof===R||e.$$typeof===A||e.$$typeof===M||e.$$typeof===z)}function n(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case v:var n=e.type;switch(n){case k:case j:case y:case _:case w:case x:return n;default:var r=n&&n.$$typeof;switch(r){case E:case C:case P:case T:case O:return r;default:return t}}case g:return t}}}function r(e){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),o(e)||n(e)===k}function o(e){return n(e)===j}function i(e){return n(e)===E}function a(e){return n(e)===O}function s(e){return"object"===typeof e&&null!==e&&e.$$typeof===v}function c(e){return n(e)===C}function l(e){return n(e)===y}function u(e){return n(e)===P}function p(e){return n(e)===T}function f(e){return n(e)===g}function d(e){return n(e)===_}function h(e){return n(e)===w}function m(e){return n(e)===x}var b="function"===typeof Symbol&&Symbol.for,v=b?Symbol.for("react.element"):60103,g=b?Symbol.for("react.portal"):60106,y=b?Symbol.for("react.fragment"):60107,w=b?Symbol.for("react.strict_mode"):60108,_=b?Symbol.for("react.profiler"):60114,O=b?Symbol.for("react.provider"):60109,E=b?Symbol.for("react.context"):60110,k=b?Symbol.for("react.async_mode"):60111,j=b?Symbol.for("react.concurrent_mode"):60111,C=b?Symbol.for("react.forward_ref"):60112,x=b?Symbol.for("react.suspense"):60113,S=b?Symbol.for("react.suspense_list"):60120,T=b?Symbol.for("react.memo"):60115,P=b?Symbol.for("react.lazy"):60116,z=b?Symbol.for("react.block"):60121,R=b?Symbol.for("react.fundamental"):60117,A=b?Symbol.for("react.responder"):60118,M=b?Symbol.for("react.scope"):60119,D=k,V=j,N=E,L=O,I=v,B=C,F=y,H=P,q=T,U=g,G=_,Z=w,W=x,K=!1;t.AsyncMode=D,t.ConcurrentMode=V,t.ContextConsumer=N,t.ContextProvider=L,t.Element=I,t.ForwardRef=B,t.Fragment=F,t.Lazy=H,t.Memo=q,t.Portal=U,t.Profiler=G,t.StrictMode=Z,t.Suspense=W,t.isAsyncMode=r,t.isConcurrentMode=o,t.isContextConsumer=i,t.isContextProvider=a,t.isElement=s,t.isForwardRef=c,t.isFragment=l,t.isLazy=u,t.isMemo=p,t.isPortal=f,t.isProfiler=d,t.isStrictMode=h,t.isSuspense=m,t.isValidElementType=e,t.typeOf=n}()}).call(t,n(20))},function(e,t,n){"use strict";(function(t){function r(){return null}var o=n(104),i=n(196),a=n(67),s=n(197),c=Function.call.bind(Object.prototype.hasOwnProperty),l=function(){};"production"!==t.env.NODE_ENV&&(l=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function u(e){var t=e&&(S&&e[S]||e[T]);if("function"===typeof t)return t}function p(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function f(e){this.message=e,this.stack=""}function d(e){function r(r,s,c,u,p,d,h){if(u=u||P,d=d||c,h!==a){if(n){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==t.env.NODE_ENV&&"undefined"!==typeof console){var b=u+":"+c;!o[b]&&i<3&&(l("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),o[b]=!0,i++)}}return null==s[c]?r?new f(null===s[c]?"The "+p+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+p+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(s,c,u,p,d)}if("production"!==t.env.NODE_ENV)var o={},i=0;var s=r.bind(null,!1);return s.isRequired=r.bind(null,!0),s}function h(e){function t(t,n,r,o,i,a){var s=t[n];if(k(s)!==e)return new f("Invalid "+o+" `"+i+"` of type `"+j(s)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return d(t)}function m(e){function t(t,n,r,o,i){if("function"!==typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){return new f("Invalid "+o+" `"+i+"` of type `"+k(s)+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function g(e){function t(t,n,r,o,i){if("function"!==typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=k(s);if("object"!==l)return new f("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected an object.");for(var u in s)if(c(s,u)){var p=e(s,u,r,o,i+"."+u,a);if(p instanceof Error)return p}return null}return d(t)}function y(e){function n(t,n,r,o,i){for(var s=0;s-1}var o=n(44);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(44);e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(46);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(46);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(46);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(46);e.exports=r},function(e,t,n){"use strict";function r(e){function t(e){var t={};return""===e?m.a:(u()(m.a,function(n,r){t[r]=n.filter(function(t){return f()(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1})}),t)}function n(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=e.type,i=e.target,a=w.details?w.details.slice():[];s>=a.length||(a[s]=Object.assign({},a[s],{icon:n,iconSet:t,_prefix:r}),_({details:a}),"click"===o&&i.classList.contains("wpzoom-recipe-card-icons__single-element")&&y({isOpen:!1}))}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return Object.keys(t(l)).map(function(r){return wp.element.createElement("div",{key:r,className:"wpzoom-recipe-card-icon_kit "+r+"-wrapper",style:{display:p===r?"block":"none"}},t(l)[r].map(function(t){var o=["wpzoom-recipe-card-icons__single-element",""+r,r+"-"+t].filter(function(e){return e}).join(" ");if("fa"!==r)return wp.element.createElement("span",{className:o+" "+(x===t?"icon-element-active":""),onClick:function(e){return n(e,r,t)}});var i="solid"==e?"fas":"brands"==e?"fab":"far";return-1!=t.indexOf(i)?(t=h()(t,i+" "+r+"-",""),o=["wpzoom-recipe-card-icons__single-element",i,r+"-"+t].filter(function(e){return e}).join(" "),wp.element.createElement("span",{className:o+" "+(x===t?"icon-element-active":""),onClick:function(e){return n(e,r,t,i)}})):void 0}))})}var i=e.isOpen,s=e.toInsert,l=e.searchIcon,p=e.activeIconSet,d=e.activeTab,g=e.props,y=e.setState,w=g.attributes,_=g.setAttributes,O=g.item,E=w.details,k=O.icon,j=O.iconSet,C=O._prefix;a()(j)&&(j="oldicon"),C=C||j;var x=c()(E,[s,"icon"]),S=[{label:Object(o.__)("Foodicons","recipe-card-blocks-by-wpzoom"),value:"foodicons"},{label:Object(o.__)("Dashicons","recipe-card-blocks-by-wpzoom"),value:"dashicons"},{label:Object(o.__)("Old Food icons","recipe-card-blocks-by-wpzoom"),value:"oldicon"}],T=function(e){var t="regular";"fa"==e&&(t="fas"==C?"solid":"fab"==C?"brands":"regular"),y({activeIconSet:e,activeTab:t})},P=function(){var e="regular";"fa"==g.item.iconSet&&(e="fas"==C?"solid":"fab"==C?"brands":"regular"),y({isOpen:!0,toInsert:g.index,activeIconSet:g.item.iconSet||"foodicons",activeTab:e})},z=function(e){y({activeTab:e})};return wp.element.createElement(v.Fragment,null,wp.element.createElement(b.Button,{icon:!k&&"insert",onClick:P,className:"editor-inserter__toggle",label:Object(o.__)("Add icon","recipe-card-blocks-by-wpzoom")},k&&wp.element.createElement("span",{className:C+" "+j+"-"+k})),i&&wp.element.createElement(b.Modal,{title:Object(o.__)("Modal with Icons library","recipe-card-blocks-by-wpzoom"),onRequestClose:function(){return y({isOpen:!1})}},wp.element.createElement("div",{className:"wpzoom-recipe-card-modal-form",style:{width:"720px",maxHeight:"525px"}},wp.element.createElement("div",{className:"form-group"},wp.element.createElement(b.TextControl,{label:Object(o.__)("Enter icon name","recipe-card-blocks-by-wpzoom"),value:l,onChange:function(e){return y({searchIcon:e})}}),wp.element.createElement(b.SelectControl,{label:Object(o.__)("Select Icon Kit","recipe-card-blocks-by-wpzoom"),value:p,options:S,onChange:T})),wp.element.createElement("div",{className:"modal-icons-wrapper"},"fa"==p&&wp.element.createElement(b.TabPanel,{className:"modal-icons_kit-tab-panel",activeClass:"active-tab",initialTabName:d,onSelect:z,tabs:[{name:"regular",title:Object(o.__)("Regular","recipe-card-blocks-by-wpzoom"),className:"tab-regular",content:r("regular")},{name:"solid",title:Object(o.__)("Solid","recipe-card-blocks-by-wpzoom"),className:"tab-solid",content:r("solid")}]},function(e){return e.content}),"fa"!=p&&wp.element.createElement(b.TabPanel,{className:"modal-icons_kit-tab-panel",activeClass:"active-tab",initialTabName:d,onSelect:z,tabs:[{name:"regular",title:Object(o.__)("All Icons","recipe-card-blocks-by-wpzoom"),className:"tab-regular",content:r("regular")}]},function(e){return e.content})))))}var o=n(2),i=(n.n(o),n(15)),a=n.n(i),s=n(9),c=n.n(s),l=n(73),u=n.n(l),p=n(14),f=n.n(p),d=n(119),h=n.n(d),m=n(78),b=n(3),v=(n.n(b),n(0)),g=(n.n(v),n(34));t.a=Object(g.b)({searchIcon:"",activeIconSet:"",activeTab:"regular",isOpen:!1,toInsert:0})(r)},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n0&&void 0!==arguments[0]?arguments[0]:{};return Object(h.a)(function(t){return function(n){function o(){var t;return Object(s.a)(this,o),t=i.apply(this,arguments),t.setState=t.setState.bind(Object(l.a)(t)),t.state=e,t}Object(u.a)(o,n);var i=r(o);return Object(c.a)(o,[{key:"render",value:function(){return Object(d.createElement)(t,Object(a.a)({},this.props,this.state,{setState:this.setState}))}}]),o}(d.Component)},"withState")}t.a=i;var a=n(55),s=n(35),c=n(36),l=n(53),u=n(51),p=n(52),f=n(54),d=n(0),h=(n.n(d),n(25))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return Object(o.a)(e)}t.a=r;var o=n(124)},function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e){if("undefined"===typeof window)return!1;e=window}var t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}t.a=r;var o=n(6);n.n(o)},function(e,t,n){"use strict";function r(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function o(e){return-1!==r(e)}function i(){var e={};return function(t,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return t.concat(n);var s=e.hasOwnProperty(a);if(!i&&s)return t;if(s){var c=e[a];t=Object(d.without)(t,c)}return e[a]=n,t.concat(n)}}function a(e,t){return{element:e,index:t}}function s(e){return e.element}function c(e,t){var n=r(e.element),o=r(t.element);return n===o?e.index-t.index:n-o}function l(e){return e.filter(o).map(a).sort(c).map(s).reduce(i(),[])}function u(e){return l(Object(h.find)(e))}function p(e){var t=Object(h.find)(e.ownerDocument.body),n=t.indexOf(e);return t.length=n,Object(d.last)(l(t))}function f(e){var t=Object(h.find)(e.ownerDocument.body),n=t.indexOf(e),r=t.slice(n+1).filter(function(t){return!e.contains(t)});return Object(d.first)(l(r))}Object.defineProperty(t,"__esModule",{value:!0}),t.isTabbableIndex=o,t.find=u,t.findPrevious=p,t.findNext=f;var d=n(6),h=(n.n(d),n(127))},function(e,t,n){"use strict";n(254),n(81),n(255),n(257),n(80),n(258),n(259),n(260),n(261),n(83),n(82),n(265),n(130),n(266),n(267),n(87),n(86),n(131),n(268),n(269),n(270),n(132),n(271)},function(e,t,n){"use strict";n(80),n(8)},function(e,t,n){"use strict";n(81),n(256)},function(e,t,n){"use strict";function r(e){if(!Object(o.a)(e)&&!Object(i.a)(e))return!1;try{var t=e.selectionStart,n=e.selectionEnd;return null!==t&&t!==n}catch(e){return!1}}t.a=r;var o=n(82),i=n(83)},function(e,t,n){"use strict";n(82),n(83),n(81)},function(e,t,n){"use strict";n(56)},function(e,t,n){"use strict";n(56)},function(e,t,n){"use strict";n(8),n(84)},function(e,t,n){"use strict";n(129)},function(e,t,n){"use strict";function r(e){var t=Array.from(e.getClientRects());if(t.length){var n=Math.min.apply(Math,Object(o.a)(t.map(function(e){return e.top})));return Math.max.apply(Math,Object(o.a)(t.map(function(e){return e.bottom})))-n}}t.a=r;var o=n(79)},function(e,t,n){"use strict";function r(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,i=e.focusOffset;Object(o.a)(t,"anchorNode"),Object(o.a)(n,"focusNode");var a=t.compareDocumentPosition(n);return!(a&t.DOCUMENT_POSITION_PRECEDING)&&(!!(a&t.DOCUMENT_POSITION_FOLLOWING)||(0!==a||r<=i))}t.a=r;var o=n(8)},function(e,t,n){"use strict";function r(e,t,n){if(e.caretRangeFromPoint)return e.caretRangeFromPoint(t,n);if(!e.caretPositionFromPoint)return null;var r=e.caretPositionFromPoint(t,n);if(!r)return null;var o=e.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}t.a=r},function(e,t,n){"use strict";n(129)},function(e,t,n){"use strict";n(130),n(85),n(8)},function(e,t,n){"use strict";n(8),n(86),n(87)},function(e,t,n){"use strict";n(8)},function(e,t,n){"use strict";n(8)},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(272)},function(e,t,n){"use strict";function r(e,t,n,p){Array.from(e).forEach(function(e){var f,d,h=e.nodeName.toLowerCase();if(n.hasOwnProperty(h)&&(!n[h].isMatch||null!==(f=(d=n[h]).isMatch)&&void 0!==f&&f.call(d,e))){if(Object(u.a)(e)){var m=n[h],b=m.attributes,v=void 0===b?[]:b,g=m.classes,y=void 0===g?[]:g,w=m.children,_=m.require,O=void 0===_?[]:_,E=m.allowEmpty;if(w&&!E&&Object(i.a)(e))return void Object(a.a)(e);if(e.hasAttributes()&&(Array.from(e.attributes).forEach(function(t){var n=t.name;"class"===n||Object(o.includes)(v,n)||e.removeAttribute(n)}),e.classList&&e.classList.length)){var k=y.map(function(e){return"string"===typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:o.noop});Array.from(e.classList).forEach(function(t){k.some(function(e){return e(t)})||e.classList.remove(t)}),e.classList.length||e.removeAttribute("class")}if(e.hasChildNodes()){if("*"===w)return;if(w)O.length&&!e.querySelector(O.join(","))?(r(e.childNodes,t,n,p),Object(s.a)(e)):e.parentNode&&"BODY"===e.parentNode.nodeName&&Object(c.a)(e)?(r(e.childNodes,t,n,p),Array.from(e.childNodes).some(function(e){return!Object(c.a)(e)})&&Object(s.a)(e)):r(e.childNodes,t,w,p);else for(;e.firstChild;)Object(a.a)(e.firstChild)}}}else r(e.childNodes,t,n,p),p&&!Object(c.a)(e)&&e.nextElementSibling&&Object(l.a)(t.createElement("br"),e),Object(s.a)(e)})}t.a=r;var o=n(6),i=(n.n(o),n(132)),a=n(87),s=n(131),c=n(133),l=n(86),u=n(273)},function(e,t,n){"use strict";function r(e){return!!e&&e.nodeType===e.ELEMENT_NODE}t.a=r},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=(n(26),n(134)),o=(n.n(r),n(0));n.n(o),n(120)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}t.a=r},function(e,t,n){"use strict";function r(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==a.return||a.return()}finally{if(r)throw o}}return n}}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";var r=n(134),o=(n.n(r),n(0));n.n(o),n(88)},function(e,t,n){"use strict";var r=(n(30),n(0));n.n(r),n(123),n(122),n(135),n(136),n(137),n(138)},function(e,t,n){"use strict";var r=(n(26),n(0));n.n(r),n(139)},function(e,t,n){"use strict";var r=n(283),o=(n.n(r),n(284)),i=(n.n(o),n(6)),a=(n.n(i),n(0));n.n(a)},function(e,t,n){var r;!function(o,i,a){function s(e,t,n){if(e.addEventListener)return void e.addEventListener(t,n,!1);e.attachEvent("on"+t,n)}function c(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return _[e.which]?_[e.which]:O[e.which]?O[e.which]:String.fromCharCode(e.which).toLowerCase()}function l(e,t){return e.sort().join(",")===t.sort().join(",")}function u(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}function p(e){if(e.preventDefault)return void e.preventDefault();e.returnValue=!1}function f(e){if(e.stopPropagation)return void e.stopPropagation();e.cancelBubble=!0}function d(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function h(){if(!w){w={};for(var e in _)e>95&&e<112||_.hasOwnProperty(e)&&(w[_[e]]=e)}return w}function m(e,t,n){return n||(n=h()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function b(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus"),e.split("+"))}function v(e,t){var n,r,o,i=[];for(n=b(e),o=0;o1)return void h(e,s,t,r);a=v(e,r),b._callbacks[a.key]=b._callbacks[a.key]||[],n(a.key,a.modifiers,{type:a.action},o,e,i),b._callbacks[a.key][o?"unshift":"push"]({callback:t,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e})}var b=this;if(e=e||i,!(b instanceof y))return new y(e);b.target=e,b._callbacks={},b._directMap={};var g,w={},_=!1,O=!1,E=!1;b._handleKey=function(e,o,i){var a,s=n(e,o,i),c={},l=0,u=!1;for(a=0;a":".","?":"/","|":"\\"},k={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},j=1;j<20;++j)_[111+j]="f"+j;for(j=0;j<=9;++j)_[j+96]=j.toString();y.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},y.prototype.unbind=function(e,t){var n=this;return n.bind.call(n,e,function(){},t)},y.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},y.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},y.prototype.stopCallback=function(e,t){var n=this;if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(g(t,n.target))return!1;if("composedPath"in e&&"function"===typeof e.composedPath){var r=e.composedPath()[0];r!==e.target&&(t=r)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},y.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(_[t]=e[t]);w=null},y.init=function(){var e=y(i);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),o.Mousetrap=y,"undefined"!==typeof e&&e.exports&&(e.exports=y),void 0!==(r=function(){return y}.call(t,n,t,e))&&(e.exports=r)}}("undefined"!==typeof window?window:null,"undefined"!==typeof window?document:null)},function(e,t){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,i){var a=this;return!!a.paused||!t[o]&&!t[i]&&n.call(a,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o=0;e.env.FORCE_REDUCED_MOTION}).call(t,n(20))},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(89)),i={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},a={">=":"min-width","<":"max-width"},s={">=":function(e,t){return t>=e},"<":function(e,t){return t1&&void 0!==arguments[1]?arguments[1]:">=",n=Object(r.useContext)(c),l=!n&&"(".concat(a[t],": ").concat(i[e],"px)"),u=Object(o.a)(l);return n?s[t](i[e],n):u};l.__experimentalWidthProvider=c.Provider},function(e,t,n){"use strict";var r=n(288),o=n.n(r);o.a},function(e,t,n){var r=n(4),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},i=function(e){var t=e.onResize,n=r.useRef();return function(e,t){function n(){t();var e=o();e&&e.addEventListener("resize",t)}var o=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};r.useEffect(function(){return o()?n():e.current&&e.current.addEventListener&&e.current.addEventListener("load",n),function(){var e=o();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}},[])}(n,function(){return t(n)}),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},a=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=a);var t=r.useState(e(null)),n=t[0],o=t[1],s=r.useCallback(function(t){return o(e(t.current))},[e]);return[r.useMemo(function(){return r.createElement(i,{onResize:s})},[s]),n]}},function(e,t,n){"use strict";var r=(n(26),n(79),n(0));n.n(r),n(290)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(291),o=function(){var e=[],t=new WeakMap,n=!1,o=function o(i){var a="number"===typeof i?function(){return!1}:function(){return i.timeRemaining()>0};do{if(0===e.length)return void(n=!1);var s=e.shift();t.get(s)(),t.delete(s)}while(a());Object(r.a)(o)};return{add:function(i,a){t.has(i)||e.push(i),t.set(i,a),n||(n=!0,Object(r.a)(o))},flush:function(n){if(!t.has(n))return!1;var r=e.indexOf(n);e.splice(r,1);var o=t.get(n);return t.delete(n),o(),!0},reset:function(){e=[],t=new WeakMap,n=!1}}}},function(e,t,n){"use strict";t.a=function(){return"undefined"===typeof window?function(e){setTimeout(function(){return e(Date.now())},0)}:window.requestIdleCallback||window.requestAnimationFrame}()},function(e,t,n){"use strict";n(26),n(140)},function(e,t,n){"use strict";var r=n(6),o=(n.n(r),n(141),n(0));n.n(o)},function(e,t,n){"use strict";var r=n(6),o=(n.n(r),n(141),n(0));n.n(o)},function(e,t,n){"use strict";var r=n(0);n.n(r),n(88)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),s=(n.n(a),n(9)),c=n.n(s),l=n(15),u=n.n(l),p=n(12),f=n(0),d=(n.n(f),n(5)),h=(n.n(d),n(3)),m=(n.n(h),function(){function e(e,t){for(var n=0;n4?this.props.setAttributes({columns:4}):e<2?this.props.setAttributes({columns:2}):u()(e)?this.props.setAttributes({columns:4}):void 0}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=n.id,i=n.course,s=n.cuisine,l=n.keywords,u=n.details,m=n.columns,b=[Object(a.__)("Appetizer & Snaks","recipe-card-blocks-by-wpzoom"),Object(a.__)("Breakfast & Brunch","recipe-card-blocks-by-wpzoom"),Object(a.__)("Dessert","recipe-card-blocks-by-wpzoom"),Object(a.__)("Drinks","recipe-card-blocks-by-wpzoom"),Object(a.__)("Main Course","recipe-card-blocks-by-wpzoom"),Object(a.__)("Salad","recipe-card-blocks-by-wpzoom"),Object(a.__)("Soup","recipe-card-blocks-by-wpzoom")],v=[Object(a.__)("American","recipe-card-blocks-by-wpzoom"),Object(a.__)("Chinese","recipe-card-blocks-by-wpzoom"),Object(a.__)("French","recipe-card-blocks-by-wpzoom"),Object(a.__)("Indian","recipe-card-blocks-by-wpzoom"),Object(a.__)("Italian","recipe-card-blocks-by-wpzoom"),Object(a.__)("Japanese","recipe-card-blocks-by-wpzoom"),Object(a.__)("Mediterranean","recipe-card-blocks-by-wpzoom"),Object(a.__)("Mexican","recipe-card-blocks-by-wpzoom"),Object(a.__)("Southern","recipe-card-blocks-by-wpzoom"),Object(a.__)("Thai","recipe-card-blocks-by-wpzoom"),Object(a.__)("Other world cuisine","recipe-card-blocks-by-wpzoom")],g=[];this.valuesMinMax(m);var y=function(t,n){var o=e.props.attributes.details?e.props.attributes.details.slice():[];o[n].value=t,o[n].jsonValue=Object(p.d)(Object(f.renderToString)(t)),r({details:o})};return wp.element.createElement(d.InspectorControls,{key:"inspector"},wp.element.createElement(h.PanelBody,{initialOpen:!0,title:Object(a.__)("Details Settings","recipe-card-blocks-by-wpzoom")},wp.element.createElement(h.RangeControl,{label:Object(a.__)("Number of Columns","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Default","recipe-card-blocks-by-wpzoom")+": 4",value:m,onChange:function(e){return r({columns:e})},min:2,max:4}),wp.element.createElement(h.BaseControl,{id:o+"-course",label:Object(a.__)("Course","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Type course and press Enter.","recipe-card-blocks-by-wpzoom")},wp.element.createElement(h.FormTokenField,{label:Object(a.__)("Add course","recipe-card-blocks-by-wpzoom"),value:i,suggestions:b,onChange:function(e){return r({course:e})},placeholder:Object(a.__)("Type recipe course","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(h.BaseControl,{id:o+"-cuisine",label:Object(a.__)("Cuisine","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Type cuisine and press Enter.","recipe-card-blocks-by-wpzoom")},wp.element.createElement(h.FormTokenField,{label:Object(a.__)("Add cuisine","recipe-card-blocks-by-wpzoom"),value:s,suggestions:v,onChange:function(e){return r({cuisine:e})},placeholder:Object(a.__)("Type recipe cuisine","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(h.BaseControl,{id:o+"-keywords",label:Object(a.__)("Keywords","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Hint: For multiple keywords add `,` after each keyword (ex: keyword, keyword, keyword).","recipe-card-blocks-by-wpzoom")},wp.element.createElement(h.FormTokenField,{label:Object(a.__)("Add keywords","recipe-card-blocks-by-wpzoom"),value:l,suggestions:g,onChange:function(e){return r({keywords:e})},placeholder:Object(a.__)("Type recipe keywords","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(h.TextControl,{id:o+"-yield",type:"text",label:Object(a.__)("Servings","recipe-card-blocks-by-wpzoom"),value:c()(u,[0,"value"]),onChange:function(e){return y(e,0)}}),wp.element.createElement(h.TextControl,{id:o+"-preptime",type:"text",label:Object(a.__)("Preparation time","recipe-card-blocks-by-wpzoom"),value:c()(u,[1,"value"]),onChange:function(e){return y(e,1)}}),wp.element.createElement(h.TextControl,{id:o+"-cookingtime",type:"text",label:Object(a.__)("Cooking time","recipe-card-blocks-by-wpzoom"),value:c()(u,[2,"value"]),onChange:function(e){return y(e,2)}}),wp.element.createElement(h.TextControl,{id:o+"-calories",type:"text",label:Object(a.__)("Calories","recipe-card-blocks-by-wpzoom"),value:c()(u,[3,"value"]),onChange:function(e){return y(e,3)}})))}}]),t}(f.Component);t.a=b},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(300);t.a={v1_0:r.a}},function(e,t,n){"use strict";function r(e){var t=e.attributes,n=t.title,r=t.details,i=t.columns,s=(e.className,"col-"+i);return wp.element.createElement("div",{className:s},wp.element.createElement(u.RichText.Content,{value:n,tagName:"h3",className:"details-title"}),c()(i,function(e){var t=a()(r,[e,"icon"]),n=a()(r,[e,"label"]),i=a()(r,[e,"value"]),s="detail-item detail-item-"+e;return wp.element.createElement("div",{className:s},t?wp.element.createElement("span",{className:"detail-item-icon","icon-name":t},wp.element.createElement(o.a,{icon:t})):"",!u.RichText.isEmpty(n)&&wp.element.createElement(u.RichText.Content,{value:n,tagName:"span",className:"detail-item-label"}),!u.RichText.isEmpty(i)&&wp.element.createElement(u.RichText.Content,{value:i,tagName:"p",className:"detail-item-value"}))}))}t.a=r;var o=n(301),i=n(9),a=n.n(i),s=n(302),c=n.n(s),l=n(2),u=(n.n(l),n(5));n.n(u)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(0),s=(n.n(a),function(){function e(e,t){for(var n=0;ns)return[];var n=c,r=l(e,c);t=i(t),e-=c;for(var u=o(r,t);++n0){var c=t.content;if(0===o.length){for(var l=0;l3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.steps?this.props.attributes.steps.slice():[];if(!(n>=o.length)&&o[n].text===t){o[n]=Object.assign({},o[n],{text:e,jsonText:Object(h.d)(Object(g.renderToString)(e)),isGroup:r});var i=f.a.getImageSrc(e);i&&(o[n].jsonImageSrc=i),this.props.setAttributes({steps:o})}}},{key:"insertStep",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.steps?this.props.attributes.steps.slice():[];null===e&&(e=o.length-1);for(var i=o.length-1;i>e;)this.editorRefs[i+1+":text"]=this.editorRefs[i+":text"],i--;if(o.splice(e+1,0,{id:Object(m.a)("direction-step"),text:t,jsonText:"",isGroup:r}),this.props.setAttributes({steps:o}),n)return void setTimeout(this.setFocus.bind(this,e+1+":text"));Object(l.a)(Object(c.__)("New step added","recipe-card-blocks-by-wpzoom"))}},{key:"swapSteps",value:function(e,t){var n=this.props.attributes.steps?this.props.attributes.steps.slice():[],r=n[e];n[e]=n[t],n[t]=r;var o=this.editorRefs[e+":text"];this.editorRefs[e+":text"]=this.editorRefs[t+":text"],this.editorRefs[t+":text"]=o,this.props.setAttributes({steps:n});var i=this.state.focus.split(":"),a=_(i,2),s=a[0],c=a[1];s===""+e&&this.setFocus(t+":"+c),s===""+t&&this.setFocus(e+":"+c)}},{key:"removeStep",value:function(e){var t=this.props.attributes.steps?this.props.attributes.steps.slice():[];t.splice(e,1),this.props.setAttributes({steps:t}),delete this.editorRefs[e+":text"];for(var n=e+1;this.editorRefs[n+":text"];)this.editorRefs[n-1+":text"]=this.editorRefs[n+":text"],n++;var r=t.length;delete this.editorRefs[r+":text"];var o="title";this.editorRefs[e-1+":text"]&&(o=e-1+":text"),this.setFocus(o),Object(l.a)(Object(c.__)("Step removed","recipe-card-blocks-by-wpzoom"))}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddStepButtonClick",value:function(){this.insertStep(null,[],!0)}},{key:"onAddGroupButtonClick",value:function(){var e=this.state.focus.split(":"),t=_(e,2),n=t[0];t[1];n=""!=n&&"title"!=n?p()(n):null,this.insertStep(n,[],!0,!0)}},{key:"setFocusToStep",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("title")}},{key:"setTitleRef",value:function(e){this.editorRefs.title=e}},{key:"moveStepUp",value:function(e){this.swapSteps(e,e-1)}},{key:"moveStepDown",value:function(e){this.swapSteps(e,e+1)}},{key:"setStepRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({title:e,jsonTitle:Object(h.d)(Object(g.renderToString)(e))})}},{key:"getSteps",value:function(){var e=this;if(!this.props.attributes.steps)return null;var t=this.state.focus.split(":"),n=_(t,2),r=n[0],o=n[1];return this.props.attributes.steps.map(function(t,n){return wp.element.createElement(f.a,{key:t.id,step:t,index:n,editorRef:e.setStepRef,onChange:e.changeStep,insertStep:e.insertStep,removeStep:e.removeStep,onFocus:e.setFocusToStep,subElement:o,onMoveUp:e.moveStepUp,onMoveDown:e.moveStepDown,isFirst:0===n,isLast:n===e.props.attributes.steps.length-1,isSelected:r===""+n})})}},{key:"getAddStepButton",value:function(){return wp.element.createElement("div",{className:"directions-add-buttons"},wp.element.createElement(v.Button,{icon:"insert",onClick:this.onAddStepButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add step","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(v.Button,{icon:"editor-insertmore",onClick:this.onAddGroupButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add direction group","recipe-card-blocks-by-wpzoom"))))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.className,o=t.title,i=t.id,a=t.print_visibility,s=["",r].filter(function(e){return e}).join(" "),l=["directions-list"].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:s,id:i},wp.element.createElement("div",{className:"wpzoom-recipe-card-print-link "+a},wp.element.createElement("a",{className:"btn-print-link no-print",href:"#"+i,title:Object(c.__)("Print directions...","recipe-card-blocks-by-wpzoom")},wp.element.createElement("img",{className:"icon-print-link",src:E+"dist/assets/images/printer.svg",alt:Object(c.__)("Print","recipe-card-blocks-by-wpzoom")}),Object(c.__)("Print","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(b.RichText,{tagName:"h3",className:"directions-title",format:"string",value:o,isSelected:"title"===this.state.focus,setFocusedElement:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(c.__)("Write Directions title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:l},this.getSteps()),wp.element.createElement("div",{className:"direction-buttons"},this.getAddStepButton()),wp.element.createElement(d.a,{attributes:t,setAttributes:n,className:r}))}}]),t}(g.Component);t.a=k,k.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},k.defaultProps={className:""}},function(e,t,n){"use strict";function r(e){if("undefined"!==typeof document)return"complete"===document.readyState||"interactive"===document.readyState?void e():void document.addEventListener("DOMContentLoaded",e)}t.a=r},function(e,t,n){"use strict";function r(){var e=document.createElement("p");e.id="a11y-speak-intro-text",e.className="a11y-speak-intro-text",e.textContent=Object(o.__)("Notifications"),e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("hidden","hidden");var t=document,n=t.body;return n&&n.appendChild(e),e}t.a=r;var o=n(2);n.n(o)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",t=document.createElement("div");t.id="a11y-speak-".concat(e),t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(t),t}t.a=r},function(e,t,n){"use strict";function r(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=document.getElementById("a11y-speak-intro-text"),n=0;n]+>/g," "),o===e&&(e+="\xa0"),o=e,e}t.a=r;var o=""},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(0),p=(n.n(u),n(5)),f=(n.n(p),n(3)),d=(n.n(f),n(37)),h=function(){function e(e,t){for(var n=0;n0&&n(u)?t>1?r(u,t-1,n,a,s):o(s,u):a||(s[s.length]=u)}return s}var o=n(146),i=n(325);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(33),i=n(48),a=n(10),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(327),o=n(144),i=n(50),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),s=(n.n(a),n(0)),c=(n.n(s),n(5)),l=(n.n(c),n(3)),u=(n.n(l),function(){function e(e,t){for(var n=0;n0){var c=t.content;if(0===o.length){for(var l=0;l3&&void 0!==arguments[3]&&arguments[3],i=this.props.attributes.items?this.props.attributes.items.slice():[];n>=i.length||i[n].name===t&&(i[n]=Object.assign({},i[n],{name:e,jsonName:Object(m.d)(Object(y.renderToString)(e)),isGroup:o}),this.props.setAttributes({items:[].concat(r(i))}))}},{key:"insertItem",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.props.attributes.items?this.props.attributes.items.slice():[];null===e&&(e=i.length-1);for(var a=i.length-1;a>e;)this.editorRefs[a+1+":name"]=this.editorRefs[a+":name"],a--;if(i.splice(e+1,0,{id:Object(b.a)("ingredient-item"),name:t,jsonName:"",isGroup:o}),this.props.setAttributes({items:[].concat(r(i))}),n)return void setTimeout(this.setFocus.bind(this,e+1+":name"));Object(u.a)(Object(l.__)("New ingredient added","recipe-card-blocks-by-wpzoom"))}},{key:"swapItem",value:function(e,t){var n=this.props.attributes.items?this.props.attributes.items.slice():[],o=n[e];n[e]=n[t],n[t]=o;var i=this.editorRefs[e+":name"];this.editorRefs[e+":name"]=this.editorRefs[t+":name"],this.editorRefs[t+":name"]=i,this.props.setAttributes({items:[].concat(r(n))});var a=this.state.focus.split(":"),s=O(a,2),c=s[0],l=s[1];c===""+e&&this.setFocus(t+":"+l),c===""+t&&this.setFocus(e+":"+l)}},{key:"removeItem",value:function(e){var t=this.props.attributes.items?this.props.attributes.items.slice():[];t.splice(e,1),this.props.setAttributes({items:[].concat(r(t))}),delete this.editorRefs[e+":name"];for(var n=e+1;this.editorRefs[n+":name"];)this.editorRefs[n-1+":name"]=this.editorRefs[n+":name"],n++;var o=t.length;delete this.editorRefs[o+":name"];var i="title";this.editorRefs[e-1+":name"]&&(i=e-1+":name"),this.setFocus(i),Object(u.a)(Object(l.__)("Ingredient removed","recipe-card-blocks-by-wpzoom"))}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddIngredientButtonClick",value:function(){this.insertItem(null,[],!0)}},{key:"onAddGroupButtonClick",value:function(){var e=this.state.focus.split(":"),t=O(e,2),n=t[0];t[1];this.insertItem(f()(n),[],!0,!0)}},{key:"setFocusToIngredient",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("title")}},{key:"setTitleRef",value:function(e){this.editorRefs.title=e}},{key:"moveIngredientUp",value:function(e){this.swapItem(e,e-1)}},{key:"moveIngredientDown",value:function(e){this.swapItem(e,e+1)}},{key:"setIngredientRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({title:e,jsonTitle:Object(m.d)(Object(y.renderToString)(e))})}},{key:"getItems",value:function(){var e=this;if(!this.props.attributes.items)return null;var t=this.state.focus.split(":"),n=O(t,2),r=n[0],o=n[1];return this.props.attributes.items.map(function(t,n){return wp.element.createElement(d.a,{key:t.id,item:t,index:n,editorRef:e.setIngredientRef,onChange:e.changeItem,insertItem:e.insertItem,removeItem:e.removeItem,onFocus:e.setFocusToIngredient,subElement:o,onMoveUp:e.moveIngredientUp,onMoveDown:e.moveIngredientDown,isFirst:0===n,isLast:n===e.props.attributes.items.length-1,isSelected:r===""+n})})}},{key:"getAddItemButton",value:function(){return wp.element.createElement("div",{className:"ingredients-add-buttons"},wp.element.createElement(g.Button,{icon:"insert",onClick:this.onAddIngredientButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(l.__)("Add ingredient","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(g.Button,{icon:"editor-insertmore",onClick:this.onAddGroupButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(l.__)("Add ingredient group","recipe-card-blocks-by-wpzoom"))))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.className,o=t.title,i=t.id,a=t.print_visibility,s=["",r].filter(function(e){return e}).join(" "),c=["ingredients-list"].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:s,id:i},wp.element.createElement("div",{className:"wpzoom-recipe-card-print-link "+a},wp.element.createElement("a",{className:"btn-print-link no-print",href:"#"+i,title:Object(l.__)("Print ingredients...","recipe-card-blocks-by-wpzoom")},wp.element.createElement("img",{className:"icon-print-link",src:k+"dist/assets/images/printer.svg",alt:Object(l.__)("Print","recipe-card-blocks-by-wpzoom")}),Object(l.__)("Print","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(v.RichText,{tagName:"h3",className:"ingredients-title",format:"string",value:o,isSelected:"title"===this.state.focus,setFocusedElement:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(l.__)("Write Ingredients title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:c},this.getItems()),wp.element.createElement("div",{className:"ingredient-buttons"},this.getAddItemButton()),wp.element.createElement(h.a,{attributes:t,setAttributes:n,className:r}))}}]),t}(y.Component);t.a=j,j.propTypes={attributes:c.a.object.isRequired,setAttributes:c.a.func.isRequired,className:c.a.string},j.defaultProps={className:""}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(0),p=(n.n(u),n(5)),f=(n.n(p),n(3)),d=(n.n(f),function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"";if(null===e)return e;var n=f("author"),r=null;return e.map(function(o,i){o.id===n&&(r=""!==t?c()(e,[i,t]):c()(e,[i]))}),r}(k,"name"),C=0;return C=o?c()(r,["id"])||0:E,{media:!!C&&a(C),postTitle:O,postType:g,postAuthor:j,postPermalink:y,categories:w,tags:_,imageSizes:v,maxWidth:m,isRTL:b}})])(Y)},function(e,t,n){var r=n(383),o=n(386),i=o(r);e.exports=i},function(e,t,n){function r(e,t,n){t=i(t,e),e=s(e,t);var r=null==e?e:e[c(a(t))];return null==r?void 0:o(r,e,n)}var o=n(148),i=n(32),a=n(384),s=n(385),c=n(28);e.exports=r},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){function r(e,t){return t.length<2?e:o(e,i(t,0,-1))}var o=n(40),i=n(157);e.exports=r},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(50),i=n(147),a=n(149);e.exports=r},function(e,t){function n(e,t){for(var n in t)e.setAttribute(n,t[n])}function r(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function o(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,i){var a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"===typeof t&&(i=t,t={}),t=t||{},i=i||function(){},s.type=t.type||"text/javascript",s.charset=t.charset||"utf8",s.async=!("async"in t)||!!t.async,s.src=e,t.attrs&&n(s,t.attrs),t.text&&(s.text=""+t.text),("onload"in s?r:o)(s,i),s.onload||r(s,i),a.appendChild(s)}},function(e,t,n){"use strict";function r(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||i(e)}function i(e){return e.$$typeof===g}function a(e){return Array.isArray(e)?[]:{}}function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?m(a(e),e,t):e}function c(e,t,n){return e.concat(t).map(function(e){return s(e,n)})}function l(e,t){if(!t.customMerge)return m;var n=t.customMerge(e);return"function"===typeof n?n:m}function u(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function p(e){return Object.keys(e).concat(u(e))}function f(e,t){try{return t in e}catch(e){return!1}}function d(e,t){return f(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&p(e).forEach(function(t){r[t]=s(e[t],n)}),p(t).forEach(function(o){d(e,o)||(f(e,o)&&n.isMergeableObject(t[o])?r[o]=l(o,n)(e[o],t[o],n):r[o]=s(t[o],n))}),r}function m(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||c,n.isMergeableObject=n.isMergeableObject||b,n.cloneUnlessOtherwiseSpecified=s;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):h(e,t,n):s(t,n)}var b=function(e){return r(e)&&!o(e)},v="function"===typeof Symbol&&Symbol.for,g=v?Symbol.for("react.element"):60103;m.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return m(e,n,t)},{})};var y=m;e.exports=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(93),o=n(95),i=n(96),a=n(159),s=n(160),c=n(161),l=n(162),u=n(97),p=n(163),f=n(164),d=[r.YouTube,o.SoundCloud,i.Vimeo,a.Facebook,s.Streamable,c.Wistia,l.Twitch,u.DailyMotion,p.Mixcloud,f.FilePlayer];t.default=d},function(e,t,n){"use strict";function r(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function o(e){"@babel/helpers - typeof";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 i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function i(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=l.length||l[c].icon===o&&l[c].label===i&&l[c].value===a&&l[c].unit===s&&(l[c]=Object.assign({},l[c],{icon:e,label:t,value:n,unit:r,jsonLabel:Object(p.d)(Object(f.renderToString)(t)),jsonValue:Object(p.d)(Object(f.renderToString)(n)),jsonUnit:Object(p.d)(Object(f.renderToString)(r))}),this.props.setAttributes({details:l}))}},{key:"insertDetail",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],a=this.props.attributes.details?this.props.attributes.details.slice():[];null===e&&(e=a.length-1);for(var s=a.length-1;s>e;)this.editorRefs[s+1+":icon"]=this.editorRefs[s+":icon"],this.editorRefs[s+1+":label"]=this.editorRefs[s+":label"],this.editorRefs[s+1+":value"]=this.editorRefs[s+":value"],this.editorRefs[s+1+":unit"]=this.editorRefs[s+":unit"],s--;a.splice(e+1,0,{id:this.props.generateId("detail-item"),icon:t,label:n,value:r,unit:o,jsonLabel:"",jsonValue:"",jsonUnit:""}),this.props.setAttributes({details:a}),i&&setTimeout(this.setFocus.bind(this,e+1+":label"))}},{key:"removeDetail",value:function(e){var t=this.props.attributes.details?this.props.attributes.details.slice():[];t.splice(e,1),this.props.setAttributes({details:t}),delete this.editorRefs[e+":icon"],delete this.editorRefs[e+":label"],delete this.editorRefs[e+":value"],delete this.editorRefs[e+":unit"];for(var n=e+1;this.editorRefs[n+":icon"]||this.editorRefs[n+":label"]||this.editorRefs[n+":value"];)this.editorRefs[n-1+":icon"]=this.editorRefs[n+":icon"],this.editorRefs[n-1+":label"]=this.editorRefs[n+":label"],this.editorRefs[n-1+":value"]=this.editorRefs[n+":value"],this.editorRefs[n-1+":unit"]=this.editorRefs[n+":unit"],n++;var r=t.length;delete this.editorRefs[r+":icon"],delete this.editorRefs[r+":label"],delete this.editorRefs[r+":value"],delete this.editorRefs[r+":unit"];var o="label";this.editorRefs[e-1+":label"]?o=e-1+":label":this.editorRefs[e-1+":value"]?o=e-1+":value":this.editorRefs[e-1+":unit"]&&(o=e-1+":unit"),this.setFocus(o)}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddDetailButtonClick",value:function(){this.insertDetail(null,null,[],[],[],!0)}},{key:"setFocusToDetail",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setDetailRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"getDetailItems",value:function(){var e=this,t=this.props.attributes,n=t.details,r=t.settings[0],o=r.displayServings,i=r.displayPrepTime,a=r.displayCalories,s=r.displayCookingTime,c=r.displayTotalTime;if(!n)return null;var p=this.state.focus.split(":"),f=h(p,2),m=f[0],b=f[1];return n.map(function(t,r){var p=l()(t,"id"),f=l()(t,"label");if(0===r&&o||1===r&&i||2===r&&s||8===r&&c||3===r&&a||4===r&&f||5===r&&f||6===r&&f||7===r&&f)return wp.element.createElement(u.a,d({key:p,item:t,index:r,editorRef:e.setDetailRef,onChange:e.changeDetail,insertDetail:e.insertDetail,removeDetail:e.removeDetail,onFocus:e.setFocusToDetail,subElement:b,isFirst:0===r,isLast:r===n.length-1,isSelected:m===""+r},e.props))})}},{key:"render",value:function(){var e=["recipe-card-details"].filter(function(e){return e}).join(" "),t=["details-items"].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:e},wp.element.createElement("div",{className:t},this.getDetailItems()))}}]),t}(f.Component);t.a=b,b.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},b.defaultProps={className:""}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(15),p=n.n(u),f=n(9),d=n.n(f),h=n(394),m=n(0),b=(n.n(m),n(3)),v=(n.n(b),function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=this.props.item,r=d()(n,t),o={0:{label:Object(c.__)("Servings","recipe-card-blocks-by-wpzoom"),value:4,unit:Object(c.__)("servings","recipe-card-blocks-by-wpzoom")},1:{label:Object(c.__)("Prep time","recipe-card-blocks-by-wpzoom"),value:30,unit:Object(c.__)("minutes","recipe-card-blocks-by-wpzoom")},2:{label:Object(c.__)("Cooking time","recipe-card-blocks-by-wpzoom"),value:40,unit:Object(c.__)("minutes","recipe-card-blocks-by-wpzoom")},3:{label:Object(c.__)("Calories","recipe-card-blocks-by-wpzoom"),value:300,unit:Object(c.__)("kcal","recipe-card-blocks-by-wpzoom")},8:{label:Object(c.__)("Total time","recipe-card-blocks-by-wpzoom"),value:0,unit:Object(c.__)("minutes","recipe-card-blocks-by-wpzoom")}};return p()(r)?d()(o,[e,t])||d()(o,e)||"":r}},{key:"shouldComponentUpdate",value:function(e){return!Object(l.a)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.index,n=e.item,r=n.id,o=n.icon,i=n.value;return wp.element.createElement("div",{className:"detail-item detail-item-"+t,key:r},o?wp.element.createElement("div",{className:"detail-item-icon"},this.getOpenModalButton(this.props)):wp.element.createElement("div",{className:"detail-open-modal"},this.getOpenModalButton(this.props)),wp.element.createElement("p",{className:"detail-item-label"},this.getPlaceholder(t,"label")),wp.element.createElement(b.TextControl,{instanceId:r+"-"+t+"-item-amount",type:"text",placeholder:this.getPlaceholder(t,"value"),value:i,onChange:this.onChangeValue}),wp.element.createElement("p",{className:"detail-item-unit"},this.getPlaceholder(t,"unit")))}}]),t}(m.Component);t.a=g,g.propTypes={index:s.a.number.isRequired,item:s.a.object.isRequired,onChange:s.a.func.isRequired,onFocus:s.a.func.isRequired,editorRef:s.a.func.isRequired,subElement:s.a.string.isRequired,isSelected:s.a.bool.isRequired,isFirst:s.a.bool.isRequired,isLast:s.a.bool.isRequired}},function(e,t,n){"use strict";function r(e){function t(e){var t={};return""===e?m.a:(u()(m.a,function(n,r){t[r]=n.filter(function(t){return f()(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1})}),t)}function n(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=e.type,i=e.target,a=_.details?_.details.slice():[];s>=a.length||(a[s]=Object.assign({},a[s],{icon:n,iconSet:t,_prefix:r}),O({details:a}),"click"===o&&i.classList.contains("wpzoom-recipe-card-icons__single-element")&&w({isOpen:!1}))}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";return Object.keys(t(l)).map(function(r){return wp.element.createElement("div",{key:r,className:"wpzoom-recipe-card-icon_kit "+r+"-wrapper",style:{display:p===r?"block":"none"}},t(l)[r].map(function(t){var o=["wpzoom-recipe-card-icons__single-element",""+r,r+"-"+t].filter(function(e){return e}).join(" ");if("fa"!==r)return wp.element.createElement("span",{className:o+" "+(R===t?"icon-element-active":""),onClick:function(e){return n(e,r,t)}});var i="solid"==e?"fas":"brands"==e?"fab":"far";return-1!=t.indexOf(i)?(t=h()(t,i+" "+r+"-",""),o=["wpzoom-recipe-card-icons__single-element",i,r+"-"+t].filter(function(e){return e}).join(" "),wp.element.createElement("span",{className:o+" "+(R===t?"icon-element-active":""),onClick:function(e){return n(e,r,t,i)}})):void 0}))})}var i=e.isOpen,s=e.toInsert,l=e.searchIcon,p=e.activeIconSet,d=e.activeTab,y=e.props,w=e.setState,_=y.attributes,O=y.setAttributes,E=y.className,k=y.item,j=_.details,C=_.settings[0].icon_details_color,x=Object(b.a)(E),S=k.icon,T=k.iconSet,P=k._prefix;a()(T)&&(T="oldicon");var z={color:C};"newdesign"===x&&(z={color:"#FFA921"}),P=P||T;var R=c()(j,[s,"icon"]),A=[{label:Object(o.__)("Foodicons","recipe-card-blocks-by-wpzoom"),value:"foodicons"},{label:Object(o.__)("Dashicons","recipe-card-blocks-by-wpzoom"),value:"dashicons"},{label:Object(o.__)("Font Awesome 5","recipe-card-blocks-by-wpzoom"),value:"fa"},{label:Object(o.__)("Genericons","recipe-card-blocks-by-wpzoom"),value:"genericons"},{label:Object(o.__)("Old Food icons","recipe-card-blocks-by-wpzoom"),value:"oldicon"}],M=function(e){var t="regular";"fa"==e&&(t="fas"==P?"solid":"fab"==P?"brands":"regular"),w({activeIconSet:e,activeTab:t})},D=function(){var e="regular";"fa"==y.item.iconSet&&(e="fas"==P?"solid":"fab"==P?"brands":"regular"),w({isOpen:!0,toInsert:y.index,activeIconSet:y.item.iconSet||"foodicons",activeTab:e})},V=function(e){w({activeTab:e})};return wp.element.createElement(g.Fragment,null,wp.element.createElement(v.Button,{icon:!S&&"insert",onClick:D,className:"editor-inserter__toggle",label:Object(o.__)("Add icon","recipe-card-blocks-by-wpzoom")},S&&wp.element.createElement("span",{className:P+" "+T+"-"+S,style:z})),i&&wp.element.createElement(v.Modal,{title:Object(o.__)("Modal with Icons library","recipe-card-blocks-by-wpzoom"),onRequestClose:function(){return w({isOpen:!1})}},wp.element.createElement("div",{className:"wpzoom-recipe-card-modal-form",style:{width:"720px",maxHeight:"525px"}},wp.element.createElement("div",{className:"form-group"},wp.element.createElement(v.TextControl,{label:Object(o.__)("Enter icon name","recipe-card-blocks-by-wpzoom"),value:l,onChange:function(e){return w({searchIcon:e})}}),wp.element.createElement(v.SelectControl,{label:Object(o.__)("Select Icon Kit","recipe-card-blocks-by-wpzoom"),value:p,options:A,onChange:M})),wp.element.createElement("div",{className:"modal-icons-wrapper"},"fa"==p&&wp.element.createElement(v.TabPanel,{className:"modal-icons_kit-tab-panel",activeClass:"active-tab",initialTabName:d,onSelect:V,tabs:[{name:"regular",title:Object(o.__)("Regular","recipe-card-blocks-by-wpzoom"),className:"tab-regular",content:r("regular")},{name:"solid",title:Object(o.__)("Solid","recipe-card-blocks-by-wpzoom"),className:"tab-solid",content:r("solid")}]},function(e){return e.content}),"fa"!=p&&wp.element.createElement(v.TabPanel,{className:"modal-icons_kit-tab-panel",activeClass:"active-tab",initialTabName:d,onSelect:V,tabs:[{name:"regular",title:Object(o.__)("All Icons","recipe-card-blocks-by-wpzoom"),className:"tab-regular",content:r("regular")}]},function(e){return e.content})))))}var o=n(2),i=(n.n(o),n(15)),a=n.n(i),s=n(9),c=n.n(s),l=n(73),u=n.n(l),p=n(14),f=n.n(p),d=n(119),h=n.n(d),m=n(78),b=n(38),v=n(3),g=(n.n(v),n(0)),y=(n.n(g),n(34));t.a=Object(y.b)({searchIcon:"",activeIconSet:"",activeTab:"regular",isOpen:!1,toInsert:0})(r)},function(e,t,n){function r(e,t,n){return n&&"number"!=typeof n&&s(e,t,n)&&(t=n=void 0),(n=void 0===n?p:n>>>0)?(e=u(e),e&&("string"==typeof t||null!=t&&!c(t))&&!(t=o(t))&&a(e)?i(l(e),0,n):e.split(t,n)):[]}var o=n(71),i=n(165),a=n(166),s=n(396),c=n(397),l=n(167),u=n(24),p=4294967295;e.exports=r},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(45),i=n(29),a=n(49),s=n(14);e.exports=r},function(e,t,n){var r=n(398),o=n(114),i=n(115),a=i&&i.isRegExp,s=a?o(a):r;e.exports=s},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(21),i=n(22),a="[object RegExp]";e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(p)||[]}var r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",c="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",l="[\\ufe0e\\ufe0f]?"+s+c,u="(?:"+["[^\\ud800-\\udfff]"+r+"?",r,i,a,"[\\ud800-\\udfff]"].join("|")+")",p=RegExp(o+"(?="+o+")|"+u+l,"g");e.exports=n},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(58)),u=n(27),p=n.n(u),f=n(402),d=n(12),h=n(5),m=(n.n(h),n(3)),b=(n.n(m),n(0)),v=(n.n(b),Object.assign||function(e){for(var t=1;t3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.ingredients?this.props.attributes.ingredients.slice():[];n>=o.length||o[n].name===t&&(o[n]=Object.assign({},o[n],{name:e,jsonName:Object(d.d)(Object(b.renderToString)(e)),isGroup:r}),this.props.setAttributes({ingredients:o}))}},{key:"insertItem",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.ingredients?this.props.attributes.ingredients.slice():[];null===e&&(e=o.length-1);for(var i=o.length-1;i>e;)this.editorRefs[i+1+":name"]=this.editorRefs[i+":name"],i--;if(o.splice(e+1,0,{id:this.props.generateId("ingredient-item"),name:t,jsonName:"",isGroup:r}),this.props.setAttributes({ingredients:o}),n)return void setTimeout(this.setFocus.bind(this,e+1+":name"));Object(l.a)(Object(c.__)("New ingredient added","recipe-card-blocks-by-wpzoom"))}},{key:"swapItem",value:function(e,t){var n=this.props.attributes.ingredients?this.props.attributes.ingredients.slice():[],r=n[e];n[e]=n[t],n[t]=r;var o=this.editorRefs[e+":name"];this.editorRefs[e+":name"]=this.editorRefs[t+":name"],this.editorRefs[t+":name"]=o,this.props.setAttributes({ingredients:n});var i=this.state.focus.split(":"),a=g(i,2),s=a[0],c=a[1];s===""+e&&this.setFocus(t+":"+c),s===""+t&&this.setFocus(e+":"+c)}},{key:"removeItem",value:function(e){var t=this.props.attributes.ingredients?this.props.attributes.ingredients.slice():[];t.splice(e,1),this.props.setAttributes({ingredients:t}),delete this.editorRefs[e+":name"];for(var n=e+1;this.editorRefs[n+":name"];)this.editorRefs[n-1+":name"]=this.editorRefs[n+":name"],n++;var r=t.length;delete this.editorRefs[r+":name"];var o="ingredientsTitle";this.editorRefs[e-1+":name"]&&(o=e-1+":name"),this.setFocus(o),Object(l.a)(Object(c.__)("Ingredient removed","recipe-card-blocks-by-wpzoom"))}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddIngredientButtonClick",value:function(){this.insertItem(null,[],!0)}},{key:"onAddGroupButtonClick",value:function(){var e=this.state.focus.split(":"),t=g(e,2),n=t[0];t[1];n=""!=n&&"ingredientsTitle"!=n?p()(n):null,this.insertItem(n,[],!0,!0)}},{key:"setFocusToIngredient",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("ingredientsTitle")}},{key:"setTitleRef",value:function(e){this.editorRefs.ingredientsTitle=e}},{key:"moveIngredientUp",value:function(e){this.swapItem(e,e-1)}},{key:"moveIngredientDown",value:function(e){this.swapItem(e,e+1)}},{key:"setIngredientRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({ingredientsTitle:e,jsonIngredientsTitle:Object(d.d)(Object(b.renderToString)(e))})}},{key:"getItems",value:function(){var e=this;if(!this.props.attributes.ingredients)return null;var t=this.state.focus.split(":"),n=g(t,2),r=n[0],o=n[1];return this.props.attributes.ingredients.map(function(t,n){return wp.element.createElement(f.a,v({key:t.id,item:t,index:n,editorRef:e.setIngredientRef,onChange:e.changeItem,insertItem:e.insertItem,removeItem:e.removeItem,onFocus:e.setFocusToIngredient,subElement:o,onMoveUp:e.moveIngredientUp,onMoveDown:e.moveIngredientDown,isFirst:0===n,isLast:n===e.props.attributes.ingredients.length-1,isSelected:r===""+n},e.props))})}},{key:"getAddItemButton",value:function(){return wp.element.createElement("div",{className:"ingredients-add-buttons"},wp.element.createElement(m.Button,{icon:"insert",onClick:this.onAddIngredientButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add ingredient","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(m.Button,{icon:"editor-insertmore",onClick:this.onAddGroupButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add ingredient group","recipe-card-blocks-by-wpzoom"))))}},{key:"render",value:function(){var e=this.props.attributes,t=e.ingredientsTitle,n=e.settings[0].ingredientsLayout,r=["recipe-card-ingredients"].filter(function(e){return e}).join(" "),o=["ingredients-list","layout-"+n].filter(function(e){return e}).join(" "),i=Object(d.b)(t);return wp.element.createElement("div",{className:r},wp.element.createElement(h.RichText,{tagName:"h3",className:"ingredients-title",format:"string",value:i,unstableOnFocus:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(c.__)("Write Ingredients title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:o},this.getItems()),wp.element.createElement("div",{className:"ingredient-buttons"},this.getAddItemButton()))}}]),t}(b.Component);t.a=w,w.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},w.defaultProps={className:""}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(61),p=n.n(u),f=n(98),d=n.n(f),h=n(0),m=(n.n(h),n(5)),b=(n.n(m),n(3)),v=(n.n(b),n(37)),g=n(12),y=function(){function e(e,t){for(var n=0;n=55296&&e<=57343||e>1114111)return"\ufffd";e in o&&(e=o[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}var o=n(406);e.exports=r},function(e,t){e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},function(e,t){e.exports={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t){e.exports={Aacute:"\xc1",aacute:"\xe1",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",AElig:"\xc6",aelig:"\xe6",Agrave:"\xc0",agrave:"\xe0",amp:"&",AMP:"&",Aring:"\xc5",aring:"\xe5",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",brvbar:"\xa6",Ccedil:"\xc7",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",Eacute:"\xc9",eacute:"\xe9",Ecirc:"\xca",ecirc:"\xea",Egrave:"\xc8",egrave:"\xe8",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",iquest:"\xbf",Iuml:"\xcf",iuml:"\xef",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",Ntilde:"\xd1",ntilde:"\xf1",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",Ograve:"\xd2",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",THORN:"\xde",thorn:"\xfe",times:"\xd7",Uacute:"\xda",uacute:"\xfa",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",Uuml:"\xdc",uuml:"\xfc",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},function(e,t,n){"use strict";function r(e){console&&console.warn&&console.warn(e)}function o(){o.init.call(this)}function i(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function s(e,t,n,o){var s,c,l;if(i(n),c=e._events,void 0===c?(c=e._events=Object.create(null),e._eventsCount=0):(void 0!==c.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),c=e._events),l=c[t]),void 0===l)l=c[t]=n,++e._eventsCount;else if("function"===typeof l?l=c[t]=o?[n,l]:[l,n]:o?l.unshift(n):l.push(n),(s=a(e))>0&&l.length>s&&!l.warned){l.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=l.length,r(u)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=c.bind(r);return o.listener=n,r.wrapFn=o,o}function u(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?h(o):f(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r0&&(i=t[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var s=o[e];if(void 0===s)return!1;if("function"===typeof s)w(s,this,t);else for(var c=s.length,l=f(s,c),n=0;n=0;a--)if(n[a]===t||n[a].listener===t){s=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():d(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return u(this,e,!0)},o.prototype.rawListeners=function(e){return u(this,e,!1)},o.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?g(this._events):[]}},function(e,t,n){var r=n(172),o=e.exports=Object.create(r),i={tagName:"name"};Object.keys(i).forEach(function(e){var t=i[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},function(e,t,n){function r(e,t){this.init(e,t)}function o(e,t){return l.getElementsByTagName(e,t,!0)}function i(e,t){return l.getElementsByTagName(e,t,!0,1)[0]}function a(e,t,n){return l.getText(l.getElementsByTagName(e,t,n,1)).trim()}function s(e,t,n,r,o){var i=a(n,r,o);i&&(e[t]=i)}var c=n(171),l=n(173);n(62)(r,c),r.prototype.init=c;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};r.prototype.onend=function(){var e,t,n={},r=i(u,this.dom);r&&("feed"===r.name?(t=r.children,n.type="atom",s(n,"id","id",t),s(n,"title","title",t),(e=i("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),s(n,"description","subtitle",t),(e=a("updated",t))&&(n.updated=new Date(e)),s(n,"author","email",t,!0),n.items=o("entry",t).map(function(e){var t,n={};return e=e.children,s(n,"id","id",e),s(n,"title","title",e),(t=i("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=a("summary",e)||a("content",e))&&(n.description=t),(t=a("updated",e))&&(n.pubDate=new Date(t)),n})):(t=i("channel",r.children).children,n.type=r.name.substr(0,3),n.id="",s(n,"title","title",t),s(n,"link","link",t),s(n,"description","description",t),(e=a("lastBuildDate",t))&&(n.updated=new Date(e)),s(n,"author","managingEditor",t,!0),n.items=o("item",r.children).map(function(e){var t,n={};return e=e.children,s(n,"id","guid",e),s(n,"title","title",e),s(n,"link","link",e),s(n,"description","description",e),(t=a("pubDate",e))&&(n.pubDate=new Date(t)),n}))),this.dom=n,c.prototype._handleCallback.call(this,r?null:Error("couldn't find root of feed"))},e.exports=r},function(e,t,n){function r(e,t){return e.children?e.children.map(function(e){return a(e,t)}).join(""):""}function o(e){return Array.isArray(e)?e.map(o).join(""):s(e)?"br"===e.name?"\n":o(e.children):e.type===i.CDATA?o(e.children):e.type===i.Text?e.data:""}var i=n(39),a=n(414),s=i.isTag;e.exports={getInnerHTML:r,getOuterHTML:a,getText:o}},function(e,t,n){function r(e,t){if(e){var n,r="";for(var o in e)n=e[o],r&&(r+=" "),"foreign"===t.xmlMode&&(o=p.attributeNames[o]||o),r+=o,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?u.encodeXML(n):n.replace(/\"/g,"""))+'"');return r}}function o(e,t){"foreign"===t.xmlMode&&(e.name=p.elementNames[e.name]||e.name,e.parent&&m.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var n="<"+e.name,o=r(e.attribs,t);return o&&(n+=" "+o),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=h(e.children,t)),d[e.name]&&!t.xmlMode||(n+="")):n+="/>",n}function i(e){return"<"+e.data+">"}function a(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in f||(n=u.encodeXML(n)),n}function s(e){return""}function c(e){return"\x3c!--"+e.data+"--\x3e"}var l=n(415),u=n(416),p=n(420);p.elementNames.__proto__=null,p.attributeNames.__proto__=null;var f={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},d={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},h=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",r=0;r",GT:">",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",iquest:"\xbf",Iuml:"\xcf",iuml:"\xef",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",Ntilde:"\xd1",ntilde:"\xf1",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",Ograve:"\xd2",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",THORN:"\xde",thorn:"\xfe",times:"\xd7",Uacute:"\xda",uacute:"\xfa",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",Uuml:"\xdc",uuml:"\xfc",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t,n){"use strict";function r(e){return e>=55296&&e<=57343||e>1114111?"\ufffd":(e in i.default&&(e=i.default[e]),a(e))}var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(419)),a=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=r},function(e,t){e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},function(e,t){e.exports={elementNames:{altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},attributeNames:{definitionurl:"definitionURL",attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"}}},function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var o=n.children;o.splice(o.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,n){function r(e,t,n,r){return Array.isArray(t)||(t=[t]),"number"===typeof r&&isFinite(r)||(r=1/0),o(e,t,!1!==n,r)}function o(e,t,n,r){for(var i,a=[],s=0,c=t.length;s0&&(i=o(e,i,n,r),a=a.concat(i),(r-=i.length)<=0)));s++);return a}function i(e,t){for(var n=0,r=t.length;n0&&(n=a(e,t[r].children)));return n}function s(e,t){for(var n=0,r=t.length;n0&&s(e,t[n].children)))return!0;return!1}function c(e,t){for(var n=[],r=t.slice();r.length;){var o=r.shift();l(o)&&(o.children&&o.children.length>0&&r.unshift.apply(r,o.children),e(o)&&n.push(o))}return n}var l=n(39).isTag;e.exports={filter:r,find:o,findOneChild:i,findOne:a,existsOne:s,findAll:c}},function(e,t,n){function r(e,t){return"function"===typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function o(e,t){return function(n){return e(n)||t(n)}}var i=n(39),a=t.isTag=i.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!a(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(a(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var s={tag_name:function(e){return"function"===typeof e?function(t){return a(t)&&e(t.name)}:"*"===e?a:function(t){return a(t)&&t.name===e}},tag_type:function(e){return"function"===typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"===typeof e?function(t){return!a(t)&&e(t.data)}:function(t){return!a(t)&&t.data===e}}};t.getElements=function(e,t,n,i){var a=Object.keys(e).map(function(t){var n=e[t];return t in s?s[t](n):r(t,n)});return 0===a.length?[]:this.filter(a.reduce(o),t,n,i)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(r("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(s.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(s.tag_type(e),t,n,r)}},function(e,t){t.removeSubsets=function(e){for(var t,n,r,o=e.length;--o>-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=n.parent}r&&(e[o]=t)}return e};var n={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},r=t.compareDocumentPosition=function(e,t){var r,o,i,a,s,c,l=[],u=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)u.unshift(r),r=r.parent;for(c=0;l[c]===u[c];)c++;return 0===c?n.DISCONNECTED:(o=l[c-1],i=o.children,a=l[c],s=u[c],i.indexOf(a)>i.indexOf(s)?o===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:o===e?n.PRECEDING|n.CONTAINS:n.PRECEDING)};t.uniqueSort=function(e){var t,o,i=e.length;for(e=e.slice();--i>-1;)t=e[i],(o=e.indexOf(t))>-1&&o>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e,t,n){var r=t.length-1;if(r=0?(o>0&&(e.lastNeed=o-1),o):--r=0?(o>0&&(e.lastNeed=o-2),o):--r=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0)}function c(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}function l(e){var t=this.lastTotal-this.lastNeed,n=c(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t}function f(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function d(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function h(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function b(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}var g=n(429).Buffer,y=g.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function o(e){var t=r(e),n=t[0],o=t[1];return 3*(n+o)/4-o}function i(e,t,n){return 3*(t+n)/4-n}function a(e){var t,n,o=r(e),a=o[0],s=o[1],c=new f(i(e,a,s)),l=0,u=s>0?a-4:a;for(n=0;n>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===s&&(t=p[e.charCodeAt(n)]<<2|p[e.charCodeAt(n+1)]>>4,c[l++]=255&t),1===s&&(t=p[e.charCodeAt(n)]<<10|p[e.charCodeAt(n+1)]<<4|p[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c}function s(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function c(e,t,n){for(var r,o=[],i=t;ia?a:i+16383));return 1===r?(t=e[n-1],o.push(u[t>>2]+u[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(u[t>>10]+u[t>>4&63]+u[t<<2&63]+"=")),o.join("")}t.byteLength=o,t.toByteArray=a,t.fromByteArray=l;for(var u=[],p=[],f="undefined"!==typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,m=d.length;h>1,u=-7,p=n?o-1:0,f=n?-1:1,d=e[t+p];for(p+=f,i=d&(1<<-u)-1,d>>=-u,u+=s;u>0;i=256*i+e[t+p],p+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+p],p+=f,u-=8);if(0===i)i=1-l;else{if(i===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=l}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,c,l=8*i-o-1,u=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+p>=1?f/c:f*Math.pow(2,1-p),t*c>=2&&(a++,c/=2),a+p>=u?(s=0,a=u):a+p>=1?(s=(t*c-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=h,a/=256,l-=8);e[n+d-h]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var o=n(31).EVENTS;Object.keys(o).forEach(function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}})},function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var o=n(31).EVENTS;Object.keys(o).forEach(function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}}),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e=0&&(t=e),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e?{}:e.split(";").reduce(function(e,t){var n=t.split(/^([^:]+):/).filter(function(e,t){return t>0}).map(function(e){return e.trim().toLowerCase()}),r=o(n,2),i=r[0],a=r[1];return void 0===a?e:(i=i.replace(/^-ms-/,"ms-").replace(/-(.)/g,function(e,t){return t.toUpperCase()}),e[i]=a,e)},{})}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=void 0;e.children.length>0&&(n=e.children[0].data);var r=(0,c.default)(e.attribs,t);return a.default.createElement("style",r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(4),a=r(i),s=n(180),c=r(s)},function(e,t,n){"use strict";function r(){return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.decodeEntities,r=void 0===n||n,o=t.transform,i=t.preprocessNodes,s=void 0===i?function(e){return e}:i,l=s(a.default.parseDOM(e,{decodeEntities:r}));return(0,c.default)(l,o)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(31),a=r(i),s=n(99),c=r(s)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(58)),u=n(27),p=n.n(u),f=n(446),d=n(12),h=n(5),m=(n.n(h),n(3)),b=(n.n(m),n(0)),v=(n.n(b),function(){function e(e,t){var n=[],_n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),g=function(){function e(e,t){for(var n=0;n3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.steps?this.props.attributes.steps.slice():[];n>=o.length||o[n].text===t&&(o[n]={id:o[n].id,text:e,jsonText:Object(d.d)(Object(b.renderToString)(e)),isGroup:r},this.props.setAttributes({steps:o}))}},{key:"insertStep",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.props.attributes.steps?this.props.attributes.steps.slice():[];null===e&&(e=o.length-1);for(var i=o.length-1;i>e;)this.editorRefs[i+1+":text"]=this.editorRefs[i+":text"],i--;if(o.splice(e+1,0,{id:this.props.generateId("direction-step"),text:t,jsonText:"",isGroup:r}),this.props.setAttributes({steps:o}),n)return void setTimeout(this.setFocus.bind(this,e+1+":text"));Object(l.a)(Object(c.__)("New step added","recipe-card-blocks-by-wpzoom"))}},{key:"swapSteps",value:function(e,t){var n=this.props.attributes.steps?this.props.attributes.steps.slice():[],r=n[e];n[e]=n[t],n[t]=r;var o=this.editorRefs[e+":text"];this.editorRefs[e+":text"]=this.editorRefs[t+":text"],this.editorRefs[t+":text"]=o,this.props.setAttributes({steps:n});var i=this.state.focus.split(":"),a=v(i,2),s=a[0],c=a[1];s===""+e&&this.setFocus(t+":"+c),s===""+t&&this.setFocus(e+":"+c)}},{key:"removeStep",value:function(e){var t=this.props.attributes.steps?this.props.attributes.steps.slice():[];t.splice(e,1),this.props.setAttributes({steps:t}),delete this.editorRefs[e+":text"];for(var n=e+1;this.editorRefs[n+":text"];)this.editorRefs[n-1+":text"]=this.editorRefs[n+":text"],n++;var r=t.length;delete this.editorRefs[r+":text"];var o="directionsTitle";this.editorRefs[e-1+":text"]&&(o=e-1+":text"),this.setFocus(o)}},{key:"setFocus",value:function(e){e!==this.state.focus&&(this.setState({focus:e}),this.editorRefs[e]&&this.editorRefs[e].focus())}},{key:"onAddStepButtonClick",value:function(){this.insertStep(null,[],!0)}},{key:"onAddGroupButtonClick",value:function(){var e=this.state.focus.split(":"),t=v(e,2),n=t[0];t[1];n=""!=n&&"directionsTitle"!=n?p()(n):null,this.insertStep(n,[],!0,!0)}},{key:"setFocusToStep",value:function(e,t){this.setFocus(e+":"+t)}},{key:"setFocusToTitle",value:function(){this.setFocus("directionsTitle")}},{key:"setTitleRef",value:function(e){this.editorRefs.directionsTitle=e}},{key:"moveStepUp",value:function(e){this.swapSteps(e,e-1)}},{key:"moveStepDown",value:function(e){this.swapSteps(e,e+1)}},{key:"setStepRef",value:function(e,t,n){this.editorRefs[e+":"+t]=n}},{key:"onChangeTitle",value:function(e){this.props.setAttributes({directionsTitle:e,jsonTitle:Object(d.d)(Object(b.renderToString)(e))})}},{key:"getSteps",value:function(){var e=this;if(!this.props.attributes.steps)return null;var t=this.state.focus.split(":"),n=v(t,2),r=n[0],o=n[1];return this.props.attributes.steps.map(function(t,n){return wp.element.createElement(f.a,{key:t.id,step:t,index:n,editorRef:e.setStepRef,onChange:e.changeStep,insertStep:e.insertStep,removeStep:e.removeStep,onFocus:e.setFocusToStep,subElement:o,onMoveUp:e.moveStepUp,onMoveDown:e.moveStepDown,isFirst:0===n,isLast:n===e.props.attributes.steps.length-1,isSelected:r===""+n})})}},{key:"getAddStepButton",value:function(){return wp.element.createElement("div",{className:"directions-add-buttons"},wp.element.createElement(m.Button,{icon:"insert",onClick:this.onAddStepButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add step","recipe-card-blocks-by-wpzoom"))),wp.element.createElement(m.Button,{icon:"editor-insertmore",onClick:this.onAddGroupButtonClick,className:"editor-inserter__toggle"},wp.element.createElement("span",{className:"components-icon-button-text"},Object(c.__)("Add direction group","recipe-card-blocks-by-wpzoom"))))}},{key:"render",value:function(){var e=this.props.attributes,t=e.directionsTitle,n=["recipe-card-directions"].filter(function(e){return e}).join(" "),r=["directions-list"].filter(function(e){return e}).join(" "),o=Object(d.b)(t);return wp.element.createElement("div",{className:n},wp.element.createElement(h.RichText,{tagName:"h3",className:"directions-title",format:"string",value:o,unstableOnFocus:this.setFocusToTitle,onChange:this.onChangeTitle,unstableOnSetup:this.setTitleRef,placeholder:Object(c.__)("Write Directions title","recipe-card-blocks-by-wpzoom"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:r},this.getSteps()),wp.element.createElement("div",{className:"direction-buttons"},this.getAddStepButton()))}}]),t}(b.Component);t.a=y,y.propTypes={attributes:s.a.object.isRequired,setAttributes:s.a.func.isRequired,className:s.a.string},y.defaultProps={className:""}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(7),s=n.n(a),c=n(2),l=(n.n(c),n(17)),u=n(14),p=n.n(u),f=n(61),d=n.n(f),h=n(15),m=n.n(h),b=n(98),v=n.n(b),g=n(37),y=n(12),w=n(0),_=(n.n(w),n(5)),O=(n.n(_),n(3)),E=(n.n(O),function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0,n=!1;return d()(e)&&(n=Object(y.c)(e)),p()(e)&&(n=e.filter(function(e){return e&&e.type&&"img"===e.type})),!(!n||!n[t])&&(m()(n[t].props)?n[t]:n[t].props.src)}}]),t}(w.Component);t.a=x,x.propTypes={index:s.a.number.isRequired,step:s.a.object.isRequired,onChange:s.a.func.isRequired,insertStep:s.a.func.isRequired,removeStep:s.a.func.isRequired,onFocus:s.a.func.isRequired,editorRef:s.a.func.isRequired,onMoveUp:s.a.func.isRequired,onMoveDown:s.a.func.isRequired,subElement:s.a.string.isRequired,isSelected:s.a.bool.isRequired,isFirst:s.a.bool.isRequired,isLast:s.a.bool.isRequired}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),s=(n.n(a),n(17)),c=n(9),l=n.n(c),u=n(90),p=n.n(u),f=n(448),d=n.n(f),h=n(92),m=n.n(h),b=n(59),v=n.n(b),g=n(24),y=n.n(g),w=n(142),_=n.n(w),O=n(15),E=n.n(O),k=n(449),j=n(12),C=n(608),x=n(37),S=n(38),T=n(100),P=n(0),z=(n.n(P),n(5)),R=(n.n(z),n(3)),A=(n.n(R),n(101)),M=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:0,r=this.props,o=r.setAttributes,i=r.attributes.settings,a=i?i.slice():[];l()(a,n)||(a[n]={}),a[n][t]=e,o({settings:a})}},{key:"onChangeDetail",value:function(e,t,n){var r=this.props,o=r.setAttributes,i=r.attributes.details,a=i?i.slice():[],s=l()(a,[t,"id"]),c=l()(a,[t,"icon"]),u=l()(a,[t,"iconSet"]);l()(a,t)||(a[t]={}),s||(a[t].id=_()("detail-item-"+(new Date).getTime())),"icon"===n?a[t].icon=e:c||(a[t].icon="restaurant-utensils"),"iconSet"===n?a[t].iconSet=e:u||(a[t].iconSet="foodicons"),"label"===n&&(a[t][n]=e,a[t].jsonLabel=Object(j.d)(Object(P.renderToString)(e))),"value"===n&&(a[t][n]=e,a[t].jsonValue=Object(j.d)(Object(P.renderToString)(e))),"unit"===n&&(a[t][n]=e,a[t].jsonUnit=Object(j.d)(Object(P.renderToString)(e))),"isRestingTimeField"===n&&(a[t][n]=e),o({details:a})}},{key:"onRemoveRecipeImage",value:function(){(0,this.props.setAttributes)({hasImage:!1,image:null})}},{key:"onUpdateURL",value:function(e){var t=this.props,n=t.setAttributes,r=t.attributes.image;n({hasImage:!0,image:{id:r.id,url:e,alt:r.alt,sizes:r.sizes}})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.media;return d()(p()(t,function(e){var t=e.name,r=e.slug,o=l()(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"errorDetails",value:function(){return y()(this.state.structuredDataNotice.errors).replace(/,/g,", ")}},{key:"warningDetails",value:function(){return y()(this.state.structuredDataNotice.warnings).replace(/,/g,", ")}},{key:"notDisplayDetails",value:function(){return y()(this.state.structuredDataNotice.not_display).replace(/,/g,", ")}},{key:"structuredDataTable",value:function(){var e=this.props.attributes,t=e.ingredients,n=e.steps,r=0,o=0;t.forEach(function(e){var t=l()(e,"jsonName");m()(t)||r++}),n.forEach(function(e){var t=l()(e,"jsonText");m()(t)||o++}),this.setState({structuredDataTable:{recipeIngredients:r,recipeInstructions:o}},this.structuredDataNotice)}},{key:"structuredDataNotice",value:function(){var e=this.state.structuredDataTable,t=this.props.attributes,n=t.hasImage,r=t.details,o=t.course,i=t.cuisine,a=t.keywords,s=t.summary,c=t.hasVideo,u=t.settings[0],p=u.displayPrepTime,f=u.displayCookingTime,d=u.displayCourse,h=u.displayCuisine,b=u.displayCalories,v=[],g=[],y=[];z.RichText.isEmpty(s)&&g.push("summary"),!c&&g.push("video"),!l()(r,[1,"value"])&&g.push("prepTime"),!l()(r,[2,"value"])&&g.push("cookTime"),!l()(r,[3,"value"])&&g.push("calories"),m()(o)&&g.push("course"),m()(i)&&g.push("cuisine"),m()(a)&&g.push("keywords"),!f&&v.push("cookTime"),!p&&v.push("prepTime"),!b&&v.push("calories"),!h&&v.push("cuisine"),!d&&v.push("course"),!n&&y.push("image"),!l()(e,"recipeIngredients")&&y.push("ingredients"),!l()(e,"recipeInstructions")&&y.push("steps"),this.setState({structuredDataNotice:{warnings:g,errors:y,not_display:v}})}},{key:"calculateTotalTime",value:function(){if(!this.state.isCalculatedTotalTime){var e=this.props.attributes.details,t=Object(C.b)(l()(e,[1,"value"])),n=Object(C.b)(l()(e,[2,"value"])),r=Object(C.b)(l()(e,[4,"value"])),o=l()(e,[4,"isRestingTimeField"])||!1,i=t+n;o&&(i=t+n+r);var a=l()(e,[8,"value"]);if(!this.state.isCalculateBtnClick&&!E()(a)&&!m()(a)&&0!=a)return void this.setState({isCalculatedTotalTime:!0,isCalculateBtnClick:!1});""!=t&&""!=n&&i>0&&(this.onChangeDetail(y()(i),8,"value"),this.setState({isCalculatedTotalTime:!0,isCalculateBtnClick:!1}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.attributes,o=t.setAttributes,i=this.state,s=i.structuredDataNotice,c=i.structuredDataTable,u=r.id,p=r.hasImage,f=r.image,d=r.hasVideo,h=r.video,b=r.recipeTitle,v=r.summary,g=r.jsonSummary,y=r.course,w=r.cuisine,_=r.difficulty,O=r.keywords,x=r.details,M=r.settings[0],H=M.hide_header_image,U=M.print_btn,G=M.pin_btn,Z=M.custom_author_name,W=M.displayCourse,K=M.displayCuisine,Y=M.displayDifficulty,$=M.displayAuthor,X=M.displayServings,J=M.displayPrepTime,Q=M.displayCookingTime,ee=M.displayTotalTime,te=M.displayCalories,ne=M.headerAlign,re=M.ingredientsLayout,oe=Object(S.a)(n),ie=this.getImageSizeOptions(),ae="1"===q.wpzoom_rcb_settings_sections_expanded;return wp.element.createElement(z.InspectorControls,null,wp.element.createElement(R.PanelBody,{icon:T.g,className:"wpzoom-recipe-card-settings",initialOpen:ae,title:Object(a.__)("Recipe Card Settings","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.BaseControl,{id:u+"-image",className:"editor-post-featured-image",label:Object(a.__)("Recipe Card Image (required)","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Upload image for Recipe Card.","recipe-card-blocks-by-wpzoom")},!p&&wp.element.createElement(z.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:D,value:l()(f,["id"]),render:function(e){var t=e.open;return wp.element.createElement(R.Button,{className:"editor-post-featured-image__toggle",onClick:t},Object(a.__)("Add Recipe Image","recipe-card-blocks-by-wpzoom"))}}),p&&wp.element.createElement(P.Fragment,null,wp.element.createElement(z.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:D,value:l()(f,["id"]),render:function(e){var t=e.open;return wp.element.createElement(R.Button,{className:"editor-post-featured-image__preview",onClick:t},wp.element.createElement("img",{className:u+"-image",src:l()(f,["sizes","full","url"])||l()(f,["sizes","full","source_url"])||l()(f,["url"])||l()(f,["source_url"]),alt:l()(f,["alt"])||b}))}}),wp.element.createElement(z.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:D,value:l()(f,["id"]),render:function(e){var t=e.open;return wp.element.createElement(R.Button,{isDefault:!0,isLarge:!0,onClick:t},Object(a.__)("Replace Image","recipe-card-blocks-by-wpzoom"))}}),wp.element.createElement(R.Button,{isLink:"true",isDestructive:"true",onClick:this.onRemoveRecipeImage},Object(a.__)("Remove Recipe Image","recipe-card-blocks-by-wpzoom")))),p&&!m()(ie)&&wp.element.createElement(R.SelectControl,{label:Object(a.__)("Image Size","recipe-card-blocks-by-wpzoom"),value:l()(f,["url"]),options:ie,onChange:this.onUpdateURL}),wp.element.createElement(R.BaseControl,{id:u+"-hide-header-image",label:Object(a.__)("Hide Recipe Image in Post","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Hide Image","recipe-card-blocks-by-wpzoom"),checked:H,onChange:function(t){return e.onChangeSettings(t,"hide_header_image")}})),!H&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.BaseControl,{id:u+"-print-btn",label:Object(a.__)("Print Button","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Print Button","recipe-card-blocks-by-wpzoom"),checked:U,onChange:function(t){return e.onChangeSettings(t,"print_btn")}})),wp.element.createElement(R.BaseControl,{id:u+"-pinit-btn",label:Object(a.__)("Pinterest Button","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Pinterest Button","recipe-card-blocks-by-wpzoom"),checked:G,onChange:function(t){return e.onChangeSettings(t,"pin_btn")}}))),"simple"===oe&&wp.element.createElement(R.BaseControl,{id:u+"-heading-align",label:Object(a.__)("Header Content Align","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ButtonGroup,null,wp.element.createElement(R.Button,{isPrimary:"left"===ne,isSecondary:"left"!==ne,icon:A.b,title:Object(a.__)("Left","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("left","headerAlign")}}),wp.element.createElement(R.Button,{isPrimary:"right"===ne,isSecondary:"right"!==ne,icon:A.c,title:Object(a.__)("Right","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("right","headerAlign")}}))),"simple"!==oe&&wp.element.createElement(R.BaseControl,{id:u+"-heading-align",label:Object(a.__)("Header Content Align","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ButtonGroup,null,wp.element.createElement(R.Button,{isPrimary:"left"===ne,isSecondary:"left"!==ne,icon:A.b,title:Object(a.__)("Left","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("left","headerAlign")}}),wp.element.createElement(R.Button,{isPrimary:"center"===ne,isSecondary:"center"!==ne,icon:A.a,title:Object(a.__)("Center","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("center","headerAlign")}}),wp.element.createElement(R.Button,{isPrimary:"right"===ne,isSecondary:"right"!==ne,icon:A.c,title:Object(a.__)("Right","recipe-card-blocks-by-wpzoom"),onClick:function(){return e.onChangeSettings("right","headerAlign")}}))),wp.element.createElement(R.BaseControl,{id:u+"-author",label:Object(a.__)("Author","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Author","recipe-card-blocks-by-wpzoom"),checked:$,onChange:function(t){return e.onChangeSettings(t,"displayAuthor")}}),$&&wp.element.createElement(R.TextControl,{id:u+"-custom-author-name",instanceId:u+"-custom-author-name",type:"text",label:Object(a.__)("Custom author name","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("Default: Author of the post","recipe-card-blocks-by-wpzoom"),value:Z,onChange:function(t){return e.onChangeSettings(t,"custom_author_name")}})),"newdesign"===oe&&wp.element.createElement(R.BaseControl,{id:u+"-ingredients-layout",label:Object(a.__)("Ingredients Layout","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.SelectControl,{label:Object(a.__)("Select Layout","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("This setting is visible only on Front-End. In Editor still appears in one column to prevent floating elements on editing.","recipe-card-blocks-by-wpzoom"),value:re,options:[{label:Object(a.__)("1 column"),value:"1-column"},{label:Object(a.__)("2 columns"),value:"2-columns"}],onChange:function(t){return e.onChangeSettings(t,"ingredientsLayout")}}))),wp.element.createElement(k.a,{attributes:r,setAttributes:o,className:n}),wp.element.createElement(R.PanelBody,{icon:T.f,className:"wpzoom-recipe-card-seo-settings",initialOpen:ae,title:Object(a.__)("Recipe Details","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.BaseControl,{id:u+"-course",label:Object(a.__)("Course (required)","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("The post category is added by default.","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Course","recipe-card-blocks-by-wpzoom"),checked:W,onChange:function(t){return e.onChangeSettings(t,"displayCourse")}}),W&&wp.element.createElement(R.FormTokenField,{label:Object(a.__)("Add course","recipe-card-blocks-by-wpzoom"),value:y,suggestions:L,onChange:function(e){return o({course:e})},placeholder:Object(a.__)("Type course and press Enter","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(R.BaseControl,{id:u+"-cuisine",label:Object(a.__)("Cuisine (required)","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Cuisine","recipe-card-blocks-by-wpzoom"),checked:K,onChange:function(t){return e.onChangeSettings(t,"displayCuisine")}}),K&&wp.element.createElement(R.FormTokenField,{label:Object(a.__)("Add cuisine","recipe-card-blocks-by-wpzoom"),value:w,suggestions:I,onChange:function(e){return o({cuisine:e})},placeholder:Object(a.__)("Type cuisine and press Enter","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(R.BaseControl,{id:u+"-difficulty",label:Object(a.__)("Difficulty","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Difficulty","recipe-card-blocks-by-wpzoom"),checked:Y,onChange:function(t){return e.onChangeSettings(t,"displayDifficulty")}}),Y&&wp.element.createElement(R.FormTokenField,{label:Object(a.__)("Add difficulty level","recipe-card-blocks-by-wpzoom"),value:_,suggestions:B,onChange:function(e){return o({difficulty:e})},placeholder:Object(a.__)("Type difficulty level and press Enter","recipe-card-blocks-by-wpzoom")})),wp.element.createElement(R.BaseControl,{id:u+"-keywords",label:Object(a.__)("Keywords (recommended)","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("For multiple keywords add `,` after each keyword (ex: keyword, keyword, keyword). Note: The post tags is added by default.","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.FormTokenField,{label:Object(a.__)("Add keywords","recipe-card-blocks-by-wpzoom"),value:O,suggestions:F,onChange:function(e){return o({keywords:e})},placeholder:Object(a.__)("Type recipe keywords","recipe-card-blocks-by-wpzoom")}))),wp.element.createElement(R.PanelBody,{icon:T.c,className:"wpzoom-recipe-card-details",initialOpen:ae,title:Object(a.__)("Cooking Details","recipe-card-blocks-by-wpzoom")},!l()(r,["settings",1,"isNoticeDismiss"])&&wp.element.createElement(R.Notice,{status:"info",onRemove:function(){return e.onChangeSettings(!0,"isNoticeDismiss",1)}},wp.element.createElement("p",null,Object(a.__)("The following details are used for Schema Markup (Rich Snippets). If you want to hide some details in the post, just turn them off below.","recipe-card-blocks-by-wpzoom")),wp.element.createElement("p",null,wp.element.createElement("strong",null,Object(a.__)("NEW: you can also add custom details (see next panel below).","recipe-card-blocks-by-wpzoom")))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Servings","recipe-card-blocks-by-wpzoom"),checked:X,onChange:function(t){return e.onChangeSettings(t,"displayServings")}}),wp.element.createElement(R.PanelRow,null,X&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-yield-label",instanceId:u+"-yield-label",type:"text",label:Object(a.__)("Servings Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Servings","recipe-card-blocks-by-wpzoom"),value:l()(x,[0,"label"]),onChange:function(t){return e.onChangeDetail(t,0,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-yield-value",instanceId:u+"-yield-value",type:"number",label:Object(a.__)("Servings Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[0,"value"]),onChange:function(t){return e.onChangeDetail(t,0,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-yield-unit",instanceId:u+"-yield-unit",type:"text",label:Object(a.__)("Servings Unit","recipe-card-blocks-by-wpzoom"),value:l()(x,[0,"unit"]),onChange:function(t){return e.onChangeDetail(t,0,"unit")}}))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Preparation Time","recipe-card-blocks-by-wpzoom"),checked:J,onChange:function(t){return e.onChangeSettings(t,"displayPrepTime")}}),wp.element.createElement(R.PanelRow,null,J&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-preptime-label",instanceId:u+"-preptime-label",type:"text",label:Object(a.__)("Prep Time Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Prep Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[1,"label"]),onChange:function(t){return e.onChangeDetail(t,1,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-preptime-value",instanceId:u+"-preptime-value",type:"number",label:Object(a.__)("Prep Time Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[1,"value"]),onChange:function(t){return e.onChangeDetail(t,1,"value")}}),wp.element.createElement("span",null,l()(x,[1,"unit"])))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Cooking Time","recipe-card-blocks-by-wpzoom"),checked:Q,onChange:function(t){return e.onChangeSettings(t,"displayCookingTime")}}),wp.element.createElement(R.PanelRow,null,Q&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-cookingtime-label",instanceId:u+"-cookingtime-label",type:"text",label:Object(a.__)("Cook Time Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Cooking Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[2,"label"]),onChange:function(t){return e.onChangeDetail(t,2,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-cookingtime-value",instanceId:u+"-cookingtime-value",type:"number",label:Object(a.__)("Cook Time Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[2,"value"]),onChange:function(t){return e.onChangeDetail(t,2,"value")}}),wp.element.createElement("span",null,l()(x,[2,"unit"])))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Total Time","recipe-card-blocks-by-wpzoom"),checked:ee,onChange:function(t){return e.onChangeSettings(t,"displayTotalTime")}}),wp.element.createElement(R.PanelRow,null,ee&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-totaltime-label",instanceId:u+"-totaltime-label",type:"text",label:Object(a.__)("Total Time Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Total Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[8,"label"]),onChange:function(t){return e.onChangeDetail(t,8,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-totaltime-value",instanceId:u+"-totaltime-value",type:"number",label:Object(a.__)("Total Time Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[8,"value"]),onChange:function(t){return e.onChangeDetail(t,8,"value")}}),wp.element.createElement("span",null,l()(x,[8,"unit"])),wp.element.createElement(R.Button,{isDefault:!0,className:"editor-calculate-total-time",onClick:function(){return e.setState({isCalculatedTotalTime:!1,isCalculateBtnClick:!0})}},Object(a.__)("Calculate Total Time","recipe-card-blocks-by-wpzoom")),wp.element.createElement("p",{className:"description"},Object(a.__)("Default value: prepTime + cookTime","recipe-card-blocks-by-wpzoom")))),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Display Calories","recipe-card-blocks-by-wpzoom"),checked:te,onChange:function(t){return e.onChangeSettings(t,"displayCalories")}}),wp.element.createElement(R.PanelRow,null,te&&wp.element.createElement(P.Fragment,null,wp.element.createElement(R.TextControl,{id:u+"-calories-label",instanceId:u+"-calories-label",type:"text",label:Object(a.__)("Calories Label","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Calories","recipe-card-blocks-by-wpzoom"),value:l()(x,[3,"label"]),onChange:function(t){return e.onChangeDetail(t,3,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-calories-value",instanceId:u+"-calories-value",type:"number",label:Object(a.__)("Calories Value","recipe-card-blocks-by-wpzoom"),value:l()(x,[3,"value"]),onChange:function(t){return e.onChangeDetail(t,3,"value")}}),wp.element.createElement("span",null,l()(x,[3,"unit"]))))),wp.element.createElement(R.PanelBody,{icon:T.a,className:"wpzoom-recipe-card-custom-details",initialOpen:ae,title:Object(a.__)("Custom Details","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.PanelRow,null,wp.element.createElement(R.TextControl,{id:u+"-custom-detail-1-label",instanceId:u+"-custom-detail-1-label",type:"text",label:Object(a.__)("Custom Label 1","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Resting Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[4,"label"]),onChange:function(t){return e.onChangeDetail(t,4,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-1-value",instanceId:u+"-custom-detail-1-value",type:"text",label:Object(a.__)("Custom Value 1","recipe-card-blocks-by-wpzoom"),value:l()(x,[4,"value"]),onChange:function(t){return e.onChangeDetail(t,4,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-1-unit",instanceId:u+"-custom-detail-1-unit",type:"text",label:Object(a.__)("Custom Unit 1","recipe-card-blocks-by-wpzoom"),value:l()(x,[4,"unit"]),onChange:function(t){return e.onChangeDetail(t,4,"unit")}}),wp.element.createElement(R.ToggleControl,{label:Object(a.__)("Is Resting Time field?","recipe-card-blocks-by-wpzoom"),help:Object(a.__)("If option is enabled, this means that the value is used to calculate the Total Time. And unit will be converted from minutes to hours if it's needed.","recipe-card-blocks-by-wpzoom"),checked:l()(x,[4,"isRestingTimeField"]),onChange:function(t){return e.onChangeDetail(t,4,"isRestingTimeField")}})),wp.element.createElement(R.PanelRow,null,wp.element.createElement(R.TextControl,{id:u+"-custom-detail-2-label",instanceId:u+"-custom-detail-2-label",type:"text",label:Object(a.__)("Custom Label 2","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Baking Time","recipe-card-blocks-by-wpzoom"),value:l()(x,[5,"label"]),onChange:function(t){return e.onChangeDetail(t,5,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-2-value",instanceId:u+"-custom-detail-2-value",type:"text",label:Object(a.__)("Custom Value 2","recipe-card-blocks-by-wpzoom"),value:l()(x,[5,"value"]),onChange:function(t){return e.onChangeDetail(t,5,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-2-unit",instanceId:u+"-custom-detail-2-unit",type:"text",label:Object(a.__)("Custom Unit 2","recipe-card-blocks-by-wpzoom"),value:l()(x,[5,"unit"]),onChange:function(t){return e.onChangeDetail(t,5,"unit")}})),wp.element.createElement(R.PanelRow,null,wp.element.createElement(R.TextControl,{id:u+"-custom-detail-3-label",instanceId:u+"-custom-detail-3-label",type:"text",label:Object(a.__)("Custom Label 3","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Serving Size","recipe-card-blocks-by-wpzoom"),value:l()(x,[6,"label"]),onChange:function(t){return e.onChangeDetail(t,6,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-3-value",instanceId:u+"-custom-detail-3-value",type:"text",label:Object(a.__)("Custom Value 3","recipe-card-blocks-by-wpzoom"),value:l()(x,[6,"value"]),onChange:function(t){return e.onChangeDetail(t,6,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-3-unit",instanceId:u+"-custom-detail-3-unit",type:"text",label:Object(a.__)("Custom Unit 3","recipe-card-blocks-by-wpzoom"),value:l()(x,[6,"unit"]),onChange:function(t){return e.onChangeDetail(t,6,"unit")}})),wp.element.createElement(R.PanelRow,null,wp.element.createElement(R.TextControl,{id:u+"-custom-detail-4-label",instanceId:u+"-custom-detail-4-label",type:"text",label:Object(a.__)("Custom Label 4","recipe-card-blocks-by-wpzoom"),placeholder:Object(a.__)("Net Carbs","recipe-card-blocks-by-wpzoom"),value:l()(x,[7,"label"]),onChange:function(t){return e.onChangeDetail(t,7,"label")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-4-value",instanceId:u+"-custom-detail-4-value",type:"text",label:Object(a.__)("Custom Value 4","recipe-card-blocks-by-wpzoom"),value:l()(x,[7,"value"]),onChange:function(t){return e.onChangeDetail(t,7,"value")}}),wp.element.createElement(R.TextControl,{id:u+"-custom-detail-4-unit",instanceId:u+"-custom-detail-4-unit",type:"text",label:Object(a.__)("Custom Unit 4","recipe-card-blocks-by-wpzoom"),value:l()(x,[7,"unit"]),onChange:function(t){return e.onChangeDetail(t,7,"unit")}}))),wp.element.createElement(R.PanelBody,{icon:T.b,className:"wpzoom-recipe-card-structured-data-testing",initialOpen:ae,title:Object(a.__)("Structured Data Testing","recipe-card-blocks-by-wpzoom")},wp.element.createElement(R.BaseControl,{id:u+"-counters",help:Object(a.__)("Automatically check Structured Data errors and warnings.","recipe-card-blocks-by-wpzoom")},l()(s,"errors").length>0&&wp.element.createElement(R.Notice,{status:"error",isDismissible:!1},wp.element.createElement("p",null,Object(a.__)("Please enter value for required fields: ","recipe-card-blocks-by-wpzoom")," ",wp.element.createElement("strong",null,this.errorDetails()),".")),l()(s,"warnings").length>0&&wp.element.createElement(R.Notice,{status:"warning",isDismissible:!1},wp.element.createElement("p",null,Object(a.__)("We recommend to add value for following fields: ","recipe-card-blocks-by-wpzoom")," ",wp.element.createElement("strong",null,this.warningDetails()),".")),l()(s,"not_display").length>0&&wp.element.createElement(R.Notice,{status:"warning",isDismissible:!1},wp.element.createElement("p",null,Object(a.__)("We recommend to display following fields: ","recipe-card-blocks-by-wpzoom")," ",wp.element.createElement("strong",null,this.notDisplayDetails()),".")),wp.element.createElement(R.PanelRow,{className:b?"text-color-green":"text-color-red"},wp.element.createElement("span",null,"recipeTitle"),wp.element.createElement("strong",null,b)),wp.element.createElement(R.PanelRow,{className:z.RichText.isEmpty(v)?"text-color-orange":"text-color-green"},wp.element.createElement("span",null,"description"),wp.element.createElement("strong",null,E()(g)?V:Object(j.d)(g))),wp.element.createElement(R.PanelRow,{className:p?"text-color-green":"text-color-red"},wp.element.createElement("span",null,"image"),wp.element.createElement("strong",null,p?l()(f,"url"):V)),wp.element.createElement(R.PanelRow,{className:d?"text-color-green":"text-color-orange"},wp.element.createElement("span",null,"video"),wp.element.createElement("strong",null,d?l()(h,"url"):V)),wp.element.createElement(R.PanelRow,{className:m()(O)?"text-color-orange":"text-color-green"},wp.element.createElement("span",null,"keywords"),wp.element.createElement("strong",null,m()(O)?V:O.filter(function(e){return e}).join(", "))),wp.element.createElement(R.PanelRow,{className:!W||m()(y)?"text-color-orange":"text-color-green"},wp.element.createElement("span",null,"recipeCategory"),W&&wp.element.createElement("strong",null,m()(y)?V:y.filter(function(e){return e}).join(", ")),!W&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:!K||m()(w)?"text-color-orange":"text-color-green"},wp.element.createElement("span",null,"recipeCuisine"),K&&wp.element.createElement("strong",null,m()(w)?V:w.filter(function(e){return e}).join(", ")),!K&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:X&&l()(x,[0,"value"])&&"text-color-green"},wp.element.createElement("span",null,"recipeYield"),X&&wp.element.createElement("strong",null,l()(x,[0,"value"])?l()(x,[0,"value"])+" "+l()(x,[0,"unit"]):V),!X&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:J&&l()(x,[1,"value"])?"text-color-green":"text-color-orange"},wp.element.createElement("span",null,"prepTime"),J&&wp.element.createElement("strong",null,l()(x,[1,"value"])?Object(C.a)(l()(x,[1,"value"])):V),!J&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:Q&&l()(x,[2,"value"])?"text-color-green":"text-color-orange"},wp.element.createElement("span",null,"cookTime"),Q&&wp.element.createElement("strong",null,l()(x,[2,"value"])?Object(C.a)(l()(x,[2,"value"])):V),!Q&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:ee&&l()(x,[8,"value"])&&"text-color-green"},wp.element.createElement("span",null,"totalTime"),ee&&wp.element.createElement("strong",null,l()(x,[8,"value"])?Object(C.a)(l()(x,[8,"value"])):V),!ee&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:te&&l()(x,[3,"value"])?"text-color-green":"text-color-orange"},wp.element.createElement("span",null,"calories"),te&&wp.element.createElement("strong",null,l()(x,[3,"value"])?l()(x,[3,"value"])+" "+l()(x,[3,"unit"]):V),!te&&wp.element.createElement("strong",null,N)),wp.element.createElement(R.PanelRow,{className:l()(c,"recipeIngredients")?"text-color-green":"text-color-red"},wp.element.createElement("span",null,Object(a.__)("Ingredients","recipe-card-blocks-by-wpzoom")),wp.element.createElement("strong",null,l()(c,"recipeIngredients")?l()(c,"recipeIngredients"):V)),wp.element.createElement(R.PanelRow,{className:l()(c,"recipeInstructions")?"text-color-green":"text-color-red"},wp.element.createElement("span",null,Object(a.__)("Steps","recipe-card-blocks-by-wpzoom")),wp.element.createElement("strong",null,l()(c,"recipeInstructions")?l()(c,"recipeInstructions"):V)))))}}]),t}(P.Component);t.a=U},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t-1;);return n}var o=n(63);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i-1;);return n}var o=n(63);e.exports=r},function(e,t,n){function r(e){return null==e?[]:o(e,i(e))}var o=n(457),i=n(47);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(72);e.exports=r},function(e,t,n){"use strict";var r=(n(30),n(184),n(0));n.n(r)},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}t.a=r},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=Object(r.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.a,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=i},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],n="",o={hours:{value:"",unit:""},minutes:{value:"",unit:""}},a=r(e);if(!a)return e;var c=s()(a/60),u=a%60;return t?(c&&(o.hours.value=c,o.hours.unit=Object(i._n)("hour","hours",l()(c),"recipe-card-blocks-by-wpzoom")),u&&(o.minutes.value=u,o.minutes.unit=Object(i._n)("minute","minutes",l()(u),"recipe-card-blocks-by-wpzoom")),o):(c&&(n+=c+" "+Object(i._n)("hour","hours",l()(c),"recipe-card-blocks-by-wpzoom")),u&&(n+=" "+u,n+=" "+Object(i._n)("minute","minutes",l()(u),"recipe-card-blocks-by-wpzoom")),n)}t.b=r,t.a=o;var i=n(2),a=(n.n(i),n(609)),s=n.n(a),c=n(27),l=n.n(c),u=n(59),p=n.n(u)},function(e,t,n){var r=n(185),o=r("floor");e.exports=o},function(e,t,n){"use strict";function r(e){function t(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r(e),o="";return f()(n)||(o=Object(T.d)(Object(P.renderToString)(c()(n)))),t&&(o="**"+o+"**"),f()(o)?"":o+"\n"}function n(e){var t="";return h()(e)&&O()(e,function(e,n){t+=n+": "+e+";"}),b()(e)&&(t=e),t}function r(e){if(b()(e))return e;if(u()(e))return"";var t="";return O()(e,function(e){if(b()(e))t+=e;else{var o=a()(e,["type"])||"",i=a()(e,["props","children"])||"",s=o?"<"+o+">":"",c=o?"":"";if("img"===o){var l=a()(e,["props","src"])||!1;if(l){s="<"+o+' src="'+l+'" alt="'+(a()(e,["props","alt"])||"")+'" class="direction-step-image" style="'+n(a()(e,["props","style"])||"")+'" />'}else s="";c=""}else if("a"===o){var u=a()(e,["props","rel"])||"",p=a()(e,["props","aria-label"])||"",f=a()(e,["props","href"])||"#",d=a()(e,["props","target"])||"_blank";s="<"+o+' rel="'+u+'" aria-label="'+p+'" href="'+f+'" target="'+d+'">'}else"br"===o&&(c="");t+=s+r(i)+c}}),t}function i(){for(var e=[],t=/([^\n\t\r\v\f][\w\W].*)/gim,n=void 0,r=0;null!==(n=t.exec(y));)n.index===t.lastIndex&&t.lastIndex++,O()(n,function(t,o){if("1"==o){var i=C()(t,"**");i&&(t=c()(t,"**"));var a=S()(t);e[r]={id:"ingredient-item-"+n.index,name:a,jsonName:Object(T.d)(Object(P.renderToString)(c()(t))),isGroup:i},r++}});E({ingredients:e})}function s(){for(var e=[],t=/([^.\n\t\r\v\f][a-zA-Z0-9].*)/gim,n=void 0,r=0;null!==(n=t.exec(_));)n.index===t.lastIndex&&t.lastIndex++,O()(n,function(t,o){if("1"==o){var i=C()(t,"**");i&&(t=c()(t,"**"));var a=S()(t);e[r]={id:"direction-step-"+n.index,text:a,jsonText:Object(T.d)(Object(P.renderToString)(c()(t))),isGroup:i},r++}});E({steps:e}),j({isOpen:!1})}var l=e.toToolBar,p=e.isOpen,d=e.isDataSet,m=(e.hasBlocks,e.ingredients),v=e.steps,y=e._ingredients,_=e._directions,E=e.setAttributes,j=e.setState,x=e.onBulkAdd,R=["wpzoom-recipe-card/block-ingredients","wpzoom-recipe-card/block-directions"],D=Object(A.select)("core/block-editor").getBlocks(),V=w()(D,function(e){return-1!==k()(R,e.name)});return d||(m&&m.map(function(e){var n=!g()(e.isGroup)&&e.isGroup;y+=t(e.name,n)}),v&&v.map(function(e){var n=!g()(e.isGroup)&&e.isGroup;_+=t(e.text,n)}),j({isDataSet:!0,_ingredients:y,_directions:_})),wp.element.createElement(P.Fragment,null,l&&wp.element.createElement(z.Toolbar,null,wp.element.createElement(z.Button,{icon:"edit",className:"wpzoom-recipe-card__extra-options",label:Object(o.__)("Recipe Card extra options","recipe-card-blocks-by-wpzoom"),isPrimary:!0,isLarge:!0,onClick:function(e){e.stopPropagation(),j({isOpen:!0,isDataSet:!1,_ingredients:"",_directions:"",hasBlocks:V.length>0})}},Object(o.__)("Bulk Add","recipe-card-blocks-by-wpzoom"))),p&&wp.element.createElement(z.Modal,{title:Object(o.__)("Recipe Card Bulk Add","recipe-card-blocks-by-wpzoom"),onRequestClose:function(){return j({isOpen:!1})}},wp.element.createElement("div",{className:"wpzoom-recipe-card-extra-options",style:{maxWidth:"720px",maxHeight:"525px"}},wp.element.createElement("div",{className:"form-group"},wp.element.createElement("div",{className:"wrap-content"},wp.element.createElement(z.TextareaControl,{label:Object(o.__)("Insert Ingredients","recipe-card-blocks-by-wpzoom"),help:Object(o.__)("Each line break is a new ingredient. Note: To add Ingredient Group Title just type **Group Title** on new line.","recipe-card-blocks-by-wpzoom"),className:"bulk-add-enter-ingredients",rows:"5",value:y,onKeyPress:M,onChange:function(e){return j({_ingredients:e})}}),wp.element.createElement(z.TextareaControl,{label:Object(o.__)("Insert Directions","recipe-card-blocks-by-wpzoom"),help:Object(o.__)("Each line break is a new direction. Note: To add Direction Group Title just type **Group Title** on new line.","recipe-card-blocks-by-wpzoom"),className:"bulk-add-enter-directions",rows:"5",value:_,onKeyPress:M,onChange:function(e){return j({_directions:e})}}))),wp.element.createElement("div",{className:"form-group"},wp.element.createElement(z.Button,{isDefault:!0,onClick:function(){return j({isOpen:!1})}},Object(o.__)("Cancel","recipe-card-blocks-by-wpzoom")),(!f()(y)||!f()(_))&&wp.element.createElement(z.Button,{isPrimary:!0,onClick:function(){i(),s(),x()}},Object(o.__)("Bulk Add","recipe-card-blocks-by-wpzoom"))))))}var o=n(2),i=(n.n(o),n(9)),a=n.n(i),s=n(182),c=n.n(s),l=n(59),u=n.n(l),p=n(92),f=n.n(p),d=n(14),h=n.n(d),m=n(61),b=n.n(m),v=n(15),g=n.n(v),y=n(186),w=n.n(y),_=n(73),O=n.n(_),E=n(612),k=n.n(E),j=n(183),C=n.n(j),x=n(98),S=n.n(x),T=n(12),P=n(0),z=(n.n(P),n(3)),R=(n.n(z),n(34)),A=n(65),M=(n.n(A),function(e){return e.stopPropagation()});t.a=Object(R.b)({toToolBar:!0,isOpen:!1,isDataSet:!1,hasBlocks:!1,_ingredients:"",_directions:""})(r)},function(e,t,n){function r(e,t){var n=[];return o(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}var o=n(74);e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var s=null==n?0:i(n);return s<0&&(s=a(r+s,0)),o(e,t,s)}var o=n(63),i=n(57),a=Math.max;e.exports=r},function(e,t,n){"use strict";var r=n(64),o=n.n(r),i=n(2),a=(n.n(i),o()("wpzoom-recipe-card-print-link")),s=function(e){var t=e.id,n=e.icon;return wp.element.createElement("div",{className:a},wp.element.createElement("a",{className:"btn-print-link no-print",href:"#"+t,title:Object(i.__)("Print directions...","recipe-card-blocks-by-wpzoom")},n,wp.element.createElement("span",null,Object(i.__)("Print","recipe-card-blocks-by-wpzoom"))))};t.a=s},function(e,t,n){"use strict";var r=n(64),o=n.n(r),i=n(2),a=(n.n(i),o()("wpzoom-recipe-card-pinit")),s=function(e){var t=e.icon;return wp.element.createElement("div",{className:a},wp.element.createElement("a",{className:"btn-pinit-link no-print","data-pin-do":"buttonPin",href:"#","data-pin-custom":"true"},t,wp.element.createElement("span",null,Object(i.__)("Pin","recipe-card-blocks-by-wpzoom"))))};t.a=s},function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(e){var t=/^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(e);if(t)return t[1]}t.a=r},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";n(102)},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var n=e,r=e.indexOf("?");return-1!==r&&(t=Object.assign(Object(o.a)(e),t),n=n.substr(0,r)),n+"?"+Object(i.a)(t)}t.a=r;var o=n(66),i=n(103)},function(e,t,n){"use strict";n(189)},function(e,t,n){"use strict";n(66),n(103)},function(e,t,n){"use strict";n(187)},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=n(6);n.n(r)},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(3);n.n(r);t.a=wp.element.createElement("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",{opacity:"0.3"},wp.element.createElement("path",{d:"M19.8276 32.112V29.7576H28.1768V32.112H19.8276Z",fill:"#22BB66"}),wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M36 8H12V40H36V8ZM28.1171 15.6123C27.8869 15.6123 27.6568 15.6391 27.4289 15.6916C26.5558 14.6103 25.3855 14 24.1526 14C22.3597 14 20.7721 15.2252 19.9645 17.1759C17.7565 17.103 16 19.3386 16 22.0996C16 24.0807 16.9358 25.8415 18.3362 26.6076V33.056C18.3362 33.5779 18.6697 34 19.0819 34H28.9225C29.3347 34 29.6682 33.5779 29.6682 33.056V25.0413C31.0657 24.2715 32 22.5116 32 20.5352C32 17.8212 30.2581 15.6123 28.1171 15.6123Z",fill:"#22BB66"})),wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M27.4289 15.6916C27.6568 15.6391 27.887 15.6123 28.1171 15.6123C30.2581 15.6123 32 17.8212 32 20.5352C32 22.5116 31.0657 24.2715 29.6682 25.0413V33.056C29.6682 33.5778 29.3347 34 28.9225 34H19.0819C18.6697 34 18.3362 33.5778 18.3362 33.056V26.6076C16.9358 25.8415 16 24.0807 16 22.0996C16 19.3386 17.7565 17.103 19.9645 17.1759C20.7721 15.2252 22.3597 14 24.1526 14C25.3855 14 26.5558 14.6103 27.4289 15.6916ZM19.8276 29.7576V32.112H28.1768V29.7576H19.8276Z",fill:"#22BB66"}),wp.element.createElement("path",{d:"M36 4.02L12 4C9.78 4 8 5.78 8 8V40C8 42.22 9.78 44 12 44H36C38.22 44 40 42.22 40 40V8C40 5.78 38.22 4.02 36 4.02ZM36 40H12L11.98 8H36V40Z",fill:"#22BB66"}))},function(e,t,n){"use strict";var r=n(639),o=n(2),i=(n.n(o),n(640)),a=n(19);n.n(a);Object(a.registerBlockType)("wpzoom-recipe-card/block-nutrition",{title:Object(o.__)("Nutrition Facts","recipe-card-blocks-by-wpzoom"),description:Object(o.__)("Display Nutrition Facts for your recipe.","recipe-card-blocks-by-wpzoom"),icon:{foreground:"#FDA921",src:r.a},category:"wpzoom-recipe-card",supports:{multiple:!1},keywords:[Object(o.__)("Recipe Card","recipe-card-blocks-by-wpzoom"),Object(o.__)("Nutrition","recipe-card-blocks-by-wpzoom"),Object(o.__)("WPZOOM","recipe-card-blocks-by-wpzoom")],edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.clientId;return wp.element.createElement(i.a,{attributes:t,setAttributes:n,className:r,clientId:o})},save:function(){return null}})},function(e,t,n){"use strict";var r=n(3);n.n(r);t.a=wp.element.createElement("svg",{width:"20",height:"20",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{opacity:"0.3",d:"M38 18V22H18V18H38ZM26 30V26H30V30H26ZM30 34V38H26V34H30ZM22 30H18V26H22V30ZM34 26H38V30H34V26ZM18 34H22V38H18V34ZM34 38V34H38V38H34Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M38 14H18C15.8 14 14 15.8 14 18V38C14 40.2 15.8 42 18 42H38C40.2 42 42 40.2 42 38V18C42 15.8 40.2 14 38 14ZM38 18V22H18V18H38ZM26 30V26H30V30H26ZM30 34V38H26V34H30ZM22 30H18V26H22V30ZM34 26H38V30H34V26ZM18 34H22V38H18V34ZM34 38V34H38V38H34ZM12 34H10C7.8 34 6 32.2 6 30V10C6 7.8 7.8 6 10 6H30C32.2 6 34 7.8 34 10V12H30V10H10V30H12V34Z",fill:"#E1581A"}))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(2),s=(n.n(a),n(9)),c=n.n(s),l=n(641),u=n.n(l),p=n(186),f=n.n(p),d=n(642),h=n.n(d),m=n(38),b=n(0),v=(n.n(b),n(65)),g=(n.n(v),n(34)),y=n(3),w=(n.n(y),n(5)),_=(n.n(w),n(644)),O=(n.n(_),n(645)),E=(n.n(O),function(){function e(e,t){for(var n=0;n0?n.map(function(e){return{value:e.id,label:e.title.raw}}):[],h=wp.element.createElement(f.a,{className:"wpzoom-select-cpt-recipe-cards","aria-labelledby":"cpt-select",options:d,value:u,onChange:function(e){return a({postId:String(e)})},simpleValue:!0,clearable:!0}),m=r(u),v=wp.element.createElement("p",{className:"wpzoom-edit-link-description"},Object(p.__)("Edit the recipe post","recipe-card-blocks-by-wpzoom")," ",wp.element.createElement("a",{href:m},Object(p.__)("here","recipe-card-blocks-by-wpzoom")));return wp.element.createElement(React.Fragment,null,wp.element.createElement(i.InspectorControls,null,wp.element.createElement(s.PanelBody,{title:Object(p.__)("Options","recipe-card-blocks-by-wpzoom")},d.length>0?h:wp.element.createElement(s.Disabled,null,h),v)),wp.element.createElement(l.Fragment,null,"-1"!=u?wp.element.createElement(b,{block:"wpzoom-recipe-card/recipe-block-from-posts",attributes:t}):wp.element.createElement(s.Placeholder,{icon:o.a,label:Object(p.__)("Insert Existing Recipe","recipe-card-blocks-by-wpzoom")},d.length>0?h:wp.element.createElement(s.Disabled,null,h))))})})},function(e,t,n){"use strict";var r=n(3);n.n(r);t.a=wp.element.createElement("svg",{width:"20",height:"20",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{opacity:"0.3","fill-rule":"evenodd","clip-rule":"evenodd",d:"M26.2 8C26.0689 8.64622 26 9.31507 26 10C26 11.8078 26.4797 13.5035 27.3187 14.9668C26.3296 15.6946 25.7 16.7148 25.7 17.6V24.8H28.4V34H30.2V18.1471C31.3176 18.9442 32.6062 19.517 34 19.8V40H10V8H26.2ZM21.2 20.3H19.4V14H17.6V20.3H15.8V14H14V20.3C14 22.289 15.611 23.9 17.6 23.9V34H19.4V23.9C21.389 23.9 23 22.289 23 20.3V14H21.2V20.3Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M27.3187 14.9668C26.3296 15.6946 25.7 16.7148 25.7 17.6V24.8H28.4V34H30.2V18.1471C29.0253 17.3093 28.0394 16.2238 27.3187 14.9668Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M19.4 20.3H21.2V14H23V20.3C23 22.289 21.389 23.9 19.4 23.9V34H17.6V23.9C15.611 23.9 14 22.289 14 20.3V14H15.8V20.3H17.6V14H19.4V20.3Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M34 19.8V40H10L9.98 8H26.2C26.4987 6.52859 27.1205 5.1745 27.988 4.01499L10 4C7.78 4 6 5.78 6 8V40C6 42.22 7.78 44 10 44H34C36.22 44 38 42.22 38 40V19.8C37.3538 19.9311 36.6849 20 36 20C35.3151 20 34.6462 19.9311 34 19.8Z",fill:"#E1581A"}),wp.element.createElement("path",{d:"M38 4H34V10H30L36 16L42 10H38V4Z",fill:"#E1581A"}))},function(e,t,n){"use strict";var r=n(649),o=n.n(r),i=n(64),a=n.n(i),s=n(7),c=n.n(s),l=n(4),u=n.n(l),p=n(650),f=(n.n(p),function(e){var t=e.onMouseDown;return u.a.createElement("span",{className:"Select-arrow",onMouseDown:t})});f.propTypes={onMouseDown:c.a.func};var d=function(){return u.a.createElement("span",{className:"Select-clear",dangerouslySetInnerHTML:{__html:"×"}})},h=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],m=function(e){for(var t=0;t-1)return!1;if(r.filterOption)return r.filterOption.call(void 0,e,t);if(!t)return!0;var o=e[r.valueKey],i=e[r.labelKey],a=v(o),s=v(i);if(!a&&!s)return!1;var c=a?String(o):null,l=s?String(i):null;return r.ignoreAccents&&(c&&"label"!==r.matchProp&&(c=m(c)),l&&"value"!==r.matchProp&&(l=m(l))),r.ignoreCase&&(c&&"label"!==r.matchProp&&(c=c.toLowerCase()),l&&"value"!==r.matchProp&&(l=l.toLowerCase())),"start"===r.matchPos?c&&"label"!==r.matchProp&&c.substr(0,t.length)===t||l&&"value"!==r.matchProp&&l.substr(0,t.length)===t:c&&"label"!==r.matchProp&&c.indexOf(t)>=0||l&&"value"!==r.matchProp&&l.indexOf(t)>=0})},y=function(e){var t=e.focusedOption,n=e.focusOption,r=e.inputValue,o=e.instancePrefix,i=e.onFocus,s=e.onOptionRef,c=e.onSelect,l=e.optionClassName,p=e.optionComponent,f=e.optionRenderer,d=e.options,h=e.removeValue,m=e.selectValue,b=e.valueArray,v=e.valueKey,g=p;return d.map(function(e,p){var d=b&&b.some(function(t){return t[v]===e[v]}),y=e===t,w=a()(l,{"Select-option":!0,"is-selected":d,"is-focused":y,"is-disabled":e.disabled});return u.a.createElement(g,{className:w,focusOption:n,inputValue:r,instancePrefix:o,isDisabled:e.disabled,isFocused:y,isSelected:d,key:"option-"+p+"-"+e[v],onFocus:i,onSelect:c,option:e,optionIndex:p,ref:function(e){s(e,y)},removeValue:h,selectValue:m},f(e,p,r))})};y.propTypes={focusOption:c.a.func,focusedOption:c.a.object,inputValue:c.a.string,instancePrefix:c.a.string,onFocus:c.a.func,onOptionRef:c.a.func,onSelect:c.a.func,optionClassName:c.a.string,optionComponent:c.a.func,optionRenderer:c.a.func,options:c.a.array,removeValue:c.a.func,selectValue:c.a.func,valueArray:c.a.array,valueKey:c.a.string};var w=function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)},_="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},O=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var s={key:e,arg:t,resolve:n,reject:o,next:null};a?a=a.next=s:(i=a=s,r(e,t))})}function r(n,i){try{var a=t[n](i),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(a.done?"return":"normal",a.value)}catch(e){o("throw",e)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):a=null}var i,a;this._invoke=n,"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),E=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},S=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},T=function(e){function t(e){O(this,t);var n=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.handleMouseEnter=n.handleMouseEnter.bind(n),n.handleMouseMove=n.handleMouseMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.onFocus=n.onFocus.bind(n),n}return C(t,e),E(t,[{key:"handleMouseDown",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)}},{key:"handleMouseEnter",value:function(e){this.onFocus(e)}},{key:"handleMouseMove",value:function(e){this.onFocus(e)}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"onFocus",value:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)}},{key:"render",value:function(){var e=this.props,t=e.option,n=e.instancePrefix,r=e.optionIndex,o=a()(this.props.className,t.className);return t.disabled?u.a.createElement("div",{className:o,onMouseDown:w,onClick:w},this.props.children):u.a.createElement("div",{className:o,style:t.style,role:"option","aria-label":t.label,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+r,title:t.title},this.props.children)}}]),t}(u.a.Component);T.propTypes={children:c.a.node,className:c.a.string,instancePrefix:c.a.string.isRequired,isDisabled:c.a.bool,isFocused:c.a.bool,isSelected:c.a.bool,onFocus:c.a.func,onSelect:c.a.func,onUnfocus:c.a.func,option:c.a.object.isRequired,optionIndex:c.a.number};var P=function(e){function t(e){O(this,t);var n=S(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.onRemove=n.onRemove.bind(n),n.handleTouchEndRemove=n.handleTouchEndRemove.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n}return C(t,e),E(t,[{key:"handleMouseDown",value:function(e){if("mousedown"!==e.type||0===e.button)return this.props.onClick?(e.stopPropagation(),void this.props.onClick(this.props.value,e)):void(this.props.value.href&&e.stopPropagation())}},{key:"onRemove",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onRemove(this.props.value)}},{key:"handleTouchEndRemove",value:function(e){this.dragging||this.onRemove(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"renderRemoveIcon",value:function(){if(!this.props.disabled&&this.props.onRemove)return u.a.createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"\xd7")}},{key:"renderLabel",value:function(){return this.props.onClick||this.props.value.href?u.a.createElement("a",{className:"Select-value-label",href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):u.a.createElement("span",{className:"Select-value-label",role:"option","aria-selected":"true",id:this.props.id},this.props.children)}},{key:"render",value:function(){return u.a.createElement("div",{className:a()("Select-value",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}}]),t}(u.a.Component);P.propTypes={children:c.a.node,disabled:c.a.bool,id:c.a.string,onClick:c.a.func,onRemove:c.a.func,value:c.a.object.isRequired};var z=function(e){return"string"===typeof e?e:null!==e&&JSON.stringify(e)||""},R=c.a.oneOfType([c.a.string,c.a.node]),A=c.a.oneOfType([c.a.string,c.a.number]),M=1,D=function(e,t){var n=e.inputValue,r=e.isPseudoFocused,o=e.isFocused,i=t.onSelectResetsInput;return!n||!i&&!(!o&&r||o&&!r)},V=function(e,t,n){var r=e.inputValue,o=e.isPseudoFocused,i=e.isFocused,a=t.onSelectResetsInput;return!r||!a&&!n&&!o&&!i},N=function(e,t){var n="undefined"===typeof e?"undefined":_(e);if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var r=t.options,o=t.valueKey;if(r)for(var i=0;ia||if.bottom?l.scrollTop=c.offsetTop+c.clientHeight-l.offsetHeight:u.topt.offsetHeight&&t.scrollHeight-t.offsetHeight-t.scrollTop<=0&&this.props.onMenuScrollToBottom()}}},{key:"getOptionLabel",value:function(e){return e[this.props.labelKey]}},{key:"getValueArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n="object"===("undefined"===typeof t?"undefined":_(t))?t:this.props;if(n.multi){if("string"===typeof e&&(e=e.split(n.delimiter)),!Array.isArray(e)){if(null===e||void 0===e)return[];e=[e]}return e.map(function(e){return N(e,n)}).filter(function(e){return e})}var r=N(e,n);return r?[r]:[]}},{key:"setValue",value:function(e){var t=this;if(this.props.autoBlur&&this.blurInput(),this.props.required){var n=L(e,this.props.multi);this.setState({required:n})}this.props.simpleValue&&e&&(e=this.props.multi?e.map(function(e){return e[t.props.valueKey]}).join(this.props.delimiter):e[this.props.valueKey]),this.props.onChange&&this.props.onChange(e)}},{key:"selectValue",value:function(e){var t=this;this.props.closeOnSelect&&(this.hasScrolledToOption=!1);var n=this.props.onSelectResetsInput?"":this.state.inputValue;this.props.multi?this.setState({focusedIndex:null,inputValue:this.handleInputValueChange(n),isOpen:!this.props.closeOnSelect},function(){t.getValueArray(t.props.value).some(function(n){return n[t.props.valueKey]===e[t.props.valueKey]})?t.removeValue(e):t.addValue(e)}):this.setState({inputValue:this.handleInputValueChange(n),isOpen:!this.props.closeOnSelect,isPseudoFocused:this.state.isFocused},function(){t.setValue(e)})}},{key:"addValue",value:function(e){var t=this.getValueArray(this.props.value),n=this._visibleOptions.filter(function(e){return!e.disabled}),r=n.indexOf(e);this.setValue(t.concat(e)),n.length-1===r?this.focusOption(n[r-1]):n.length>r&&this.focusOption(n[r+1])}},{key:"popValue",value:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(this.props.multi?e.slice(0,e.length-1):null)}},{key:"removeValue",value:function(e){var t=this,n=this.getValueArray(this.props.value);this.setValue(n.filter(function(n){return n[t.props.valueKey]!==e[t.props.valueKey]})),this.focus()}},{key:"clearValue",value:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.preventDefault(),this.setValue(this.getResetValue()),this.setState({inputValue:this.handleInputValueChange(""),isOpen:!1},this.focus),this._focusAfterClear=!0)}},{key:"getResetValue",value:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null}},{key:"focusOption",value:function(e){this.setState({focusedOption:e})}},{key:"focusNextOption",value:function(){this.focusAdjacentOption("next")}},{key:"focusPreviousOption",value:function(){this.focusAdjacentOption("previous")}},{key:"focusPageUpOption",value:function(){this.focusAdjacentOption("page_up")}},{key:"focusPageDownOption",value:function(){this.focusAdjacentOption("page_down")}},{key:"focusStartOption",value:function(){this.focusAdjacentOption("start")}},{key:"focusEndOption",value:function(){this.focusAdjacentOption("end")}},{key:"focusAdjacentOption",value:function(e){var t=this._visibleOptions.map(function(e,t){return{option:e,index:t}}).filter(function(e){return!e.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen){var n={focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null),isOpen:!0};return this.props.onSelectResetsInput&&(n.inputValue=""),void this.setState(n)}if(t.length){for(var r=-1,o=0;o0?r-=1:r=t.length-1;else if("start"===e)r=0;else if("end"===e)r=t.length-1;else if("page_up"===e){var i=r-this.props.pageSize;r=i<0?0:i}else if("page_down"===e){var a=r+this.props.pageSize;r=a>t.length-1?t.length-1:a}-1===r&&(r=0),this.setState({focusedIndex:t[r].index,focusedOption:t[r].option})}}},{key:"getFocusedOption",value:function(){return this._focusedOption}},{key:"selectFocusedOption",value:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)}},{key:"renderLoading",value:function(){if(this.props.isLoading)return u.a.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},u.a.createElement("span",{className:"Select-loading"}))}},{key:"renderValue",value:function(e,t){var n=this,r=this.props.valueRenderer||this.getOptionLabel,o=this.props.valueComponent;if(!e.length){return V(this.state,this.props,t)?u.a.createElement("div",{className:"Select-placeholder"},this.props.placeholder):null}var i=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map(function(e,t){return u.a.createElement(o,{disabled:n.props.disabled||!1===e.clearableValue,id:n._instancePrefix+"-value-"+t,instancePrefix:n._instancePrefix,key:"value-"+t+"-"+e[n.props.valueKey],onClick:i,onRemove:n.removeValue,placeholder:n.props.placeholder,value:e},r(e,t),u.a.createElement("span",{className:"Select-aria-only"},"\xa0"))}):D(this.state,this.props)?(t&&(i=null),u.a.createElement(o,{disabled:this.props.disabled,id:this._instancePrefix+"-value-item",instancePrefix:this._instancePrefix,onClick:i,placeholder:this.props.placeholder,value:e[0]},r(e[0]))):void 0}},{key:"renderInput",value:function(e,t){var n,r=this,i=a()("Select-input",this.props.inputProps.className),s=this.state.isOpen,c=a()((n={},k(n,this._instancePrefix+"-list",s),k(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),l=this.state.inputValue;!l||this.props.onSelectResetsInput||this.state.isFocused||(l="");var p=j({},this.props.inputProps,{"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-expanded":""+s,"aria-haspopup":""+s,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-owns":c,className:i,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},role:"combobox",required:this.state.required,tabIndex:this.props.tabIndex,value:l});if(this.props.inputRenderer)return this.props.inputRenderer(p);if(this.props.disabled||!this.props.searchable){var f=x(this.props.inputProps,[]),d=a()(k({},this._instancePrefix+"-list",s));return u.a.createElement("div",j({},f,{"aria-expanded":s,"aria-owns":d,"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-disabled":""+this.props.disabled,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],className:i,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},role:"combobox",style:{border:0,width:1,display:"inline-block"},tabIndex:this.props.tabIndex||0}))}return this.props.autosize?u.a.createElement(o.a,j({id:this.props.id},p,{minWidth:"5"})):u.a.createElement("div",{className:i,key:"input-wrap",style:{display:"inline-block"}},u.a.createElement("input",j({id:this.props.id},p)))}},{key:"renderClear",value:function(){var e=this.getValueArray(this.props.value);if(this.props.clearable&&e.length&&!this.props.disabled&&!this.props.isLoading){var t=this.props.multi?this.props.clearAllText:this.props.clearValueText,n=this.props.clearRenderer();return u.a.createElement("span",{"aria-label":t,className:"Select-clear-zone",onMouseDown:this.clearValue,onTouchEnd:this.handleTouchEndClearValue,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,title:t},n)}}},{key:"renderArrow",value:function(){if(this.props.arrowRenderer){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return n?u.a.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},n):null}}},{key:"filterOptions",value:function(e){var t=this.state.inputValue,n=this.props.options||[];if(this.props.filterOptions){return("function"===typeof this.props.filterOptions?this.props.filterOptions:g)(n,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,trimFilter:this.props.trimFilter,valueKey:this.props.valueKey})}return n}},{key:"onOptionRef",value:function(e,t){t&&(this.focused=e)}},{key:"renderMenu",value:function(e,t,n){return e&&e.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,inputValue:this.state.inputValue,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onOptionRef:this.onOptionRef,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,removeValue:this.removeValue,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey}):this.props.noResultsText?u.a.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null}},{key:"renderHiddenField",value:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var n=e.map(function(e){return z(e[t.props.valueKey])}).join(this.props.delimiter);return u.a.createElement("input",{disabled:this.props.disabled,name:this.props.name,ref:function(e){return t.value=e},type:"hidden",value:n})}return e.map(function(e,n){return u.a.createElement("input",{disabled:t.props.disabled,key:"hidden."+n,name:t.props.name,ref:"value"+n,type:"hidden",value:z(e[t.props.valueKey])})})}}},{key:"getFocusableOptionIndex",value:function(e){var t=this._visibleOptions;if(!t.length)return null;var n=this.props.valueKey,r=this.state.focusedOption||e;if(r&&!r.disabled){var o=-1;if(t.some(function(e,t){var i=e[n]===r[n];return i&&(o=t),i}),-1!==o)return o}for(var i=0;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t